From c285aa3576469199df4a424a287b6e5529307cfb Mon Sep 17 00:00:00 2001 From: yafeilee Date: Tue, 8 Mar 2016 23:26:55 +0800 Subject: [PATCH] Fixed deprecated info --- .gitignore | 9 --------- LICENSE | 1 + Rakefile | 1 - config.ru | 1 + db/seeds.rb | 2 ++ doc/.gitkeep | 1 + log/.gitkeep | 1 + script/rails | 1 - vendor/plugins/.gitkeep | 1 + 9 files changed, 7 insertions(+), 11 deletions(-) diff --git a/.gitignore b/.gitignore index 6c88013..cc8ff91 100644 --- a/.gitignore +++ b/.gitignore @@ -1,16 +1,7 @@ -# See http://help.github.com/ignore-files/ for more about ignoring files. -# -# If you find yourself ignoring temporary files generated by your text editor -# or operating system, you probably want to add a global ignore instead: -# git config --global core.excludesfile ~/.gitignore_global - -# Ignore bundler config /.bundle -# Ignore the default SQLite database. /db/*.sqlite3 -# Ignore all logfiles and tempfiles. /log/*.log /tmp diff --git a/LICENSE b/LICENSE index dcb9b99..0036546 100644 --- a/LICENSE +++ b/LICENSE @@ -19,3 +19,4 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + diff --git a/Rakefile b/Rakefile index 143c763..43ae83f 100644 --- a/Rakefile +++ b/Rakefile @@ -1,5 +1,4 @@ #!/usr/bin/env rake require File.expand_path('../config/application', __FILE__) - WBlog::Application.load_tasks diff --git a/config.ru b/config.ru index 07aa3e9..18a8ecb 100644 --- a/config.ru +++ b/config.ru @@ -1,2 +1,3 @@ require ::File.expand_path('../config/environment', __FILE__) run WBlog::Application + diff --git a/db/seeds.rb b/db/seeds.rb index e69de29..139597f 100644 --- a/db/seeds.rb +++ b/db/seeds.rb @@ -0,0 +1,2 @@ + + diff --git a/doc/.gitkeep b/doc/.gitkeep index e69de29..8b13789 100644 --- a/doc/.gitkeep +++ b/doc/.gitkeep @@ -0,0 +1 @@ + diff --git a/log/.gitkeep b/log/.gitkeep index e69de29..8b13789 100644 --- a/log/.gitkeep +++ b/log/.gitkeep @@ -0,0 +1 @@ + diff --git a/script/rails b/script/rails index c8cbfcf..7e3d686 100755 --- a/script/rails +++ b/script/rails @@ -1,5 +1,4 @@ #!/usr/bin/env ruby - APP_PATH = File.expand_path('../../config/application', __FILE__) require File.expand_path('../../config/boot', __FILE__) require 'rails/commands' diff --git a/vendor/plugins/.gitkeep b/vendor/plugins/.gitkeep index e69de29..8b13789 100644 --- a/vendor/plugins/.gitkeep +++ b/vendor/plugins/.gitkeep @@ -0,0 +1 @@ +