# HG changeset patch # User edogawaconan # Date 1418279594 -32400 # Node ID e679ce4f73dd8140c0dd0869da9b884ed6afe922 # Parent 9defe1ae5814924d1a72e66a2f32568392212ce9 Remove main rails dependency. Depend on its components instead. Trims out a lot of gems. diff -r 9defe1ae5814 -r e679ce4f73dd Gemfile --- a/Gemfile Thu Dec 11 15:32:26 2014 +0900 +++ b/Gemfile Thu Dec 11 15:33:14 2014 +0900 @@ -1,21 +1,27 @@ source "https://rubygems.org" # Bundle edge Rails instead: gem 'rails', github: 'rails/rails' -gem "rails", "~> 4.1.4" +# gem "rails", "~> 4.1.4" + +rails_ver = "~> 4.1.4" +gem "actionview", rails_ver +gem "railties", rails_ver +gem "actionpack", rails_ver + # Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder # gem 'jbuilder', '~> 2.0' # bundle exec rake doc:rails generates the API under doc/api. -gem "sdoc", "~> 0.4.0", :group => :doc +# gem "sdoc", "~> 0.4.0", :group => :doc # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring -gem "spring", :group => :development +# gem "spring", :group => :development # Use ActiveModel has_secure_password # gem 'bcrypt', '~> 3.1.7' # Use unicorn as the app server -gem "unicorn", :platforms => :mri, :require => false -gem "puma", :platforms => [:jruby, :rbx, :mswin], :require => false +# gem "unicorn", :platforms => :mri, :require => false +# gem "puma", :platforms => [:jruby, :rbx, :mswin], :require => false # Use Capistrano for deployment # gem 'capistrano-rails', group: :development diff -r 9defe1ae5814 -r e679ce4f73dd Gemfile.lock --- a/Gemfile.lock Thu Dec 11 15:32:26 2014 +0900 +++ b/Gemfile.lock Thu Dec 11 15:33:14 2014 +0900 @@ -1,10 +1,6 @@ GEM remote: https://rubygems.org/ specs: - actionmailer (4.1.7) - actionpack (= 4.1.7) - actionview (= 4.1.7) - mail (~> 2.5, >= 2.5.4) actionpack (4.1.7) actionview (= 4.1.7) activesupport (= 4.1.7) @@ -14,13 +10,6 @@ activesupport (= 4.1.7) builder (~> 3.1) erubis (~> 2.7.0) - activemodel (4.1.7) - activesupport (= 4.1.7) - builder (~> 3.1) - activerecord (4.1.7) - activemodel (= 4.1.7) - activesupport (= 4.1.7) - arel (~> 5.0.0) activesupport (4.1.7) i18n (~> 0.6, >= 0.6.9) json (~> 1.7, >= 1.7.7) @@ -28,7 +17,6 @@ thread_safe (~> 0.1) tzinfo (~> 1.1) addressable (2.3.6) - arel (5.0.1.20140414130214) buftok (0.2.0) builder (3.2.2) dalli (2.7.2) @@ -36,7 +24,6 @@ erubis (2.7.0) faraday (0.9.0) multipart-post (>= 1.2, < 3) - hike (1.2.3) http (0.6.2) http_parser.rb (~> 0.6.0) http_parser.rb (0.6.0) @@ -44,60 +31,24 @@ i18n (0.6.11) json (1.8.1) json (1.8.1-java) - kgio (2.9.2) - mail (2.6.3) - mime-types (>= 1.16, < 3) memoizable (0.4.2) thread_safe (~> 0.3, >= 0.3.1) - mime-types (2.4.3) minitest (5.4.2) - multi_json (1.10.1) multipart-post (2.0.0) naught (1.0.0) - puma (2.9.2) - rack (>= 1.1, < 2.0) - puma (2.9.2-java) - rack (>= 1.1, < 2.0) rack (1.5.2) rack-test (0.6.2) rack (>= 1.0) - rails (4.1.7) - actionmailer (= 4.1.7) - actionpack (= 4.1.7) - actionview (= 4.1.7) - activemodel (= 4.1.7) - activerecord (= 4.1.7) - activesupport (= 4.1.7) - bundler (>= 1.3.0, < 2.0) - railties (= 4.1.7) - sprockets-rails (~> 2.0) railties (4.1.7) actionpack (= 4.1.7) activesupport (= 4.1.7) rake (>= 0.8.7) thor (>= 0.18.1, < 2.0) - raindrops (0.13.0) rake (10.3.2) - rdoc (4.1.2) - json (~> 1.4) - sdoc (0.4.1) - json (~> 1.7, >= 1.7.7) - rdoc (~> 4.0) simple_oauth (0.3.0) - spring (1.1.3) - sprockets (2.12.3) - hike (~> 1.2) - multi_json (~> 1.0) - rack (~> 1.0) - tilt (~> 1.1, != 1.3.0) - sprockets-rails (2.2.0) - actionpack (>= 3.0) - activesupport (>= 3.0) - sprockets (>= 2.8, < 4.0) thor (0.19.1) thread_safe (0.3.4) thread_safe (0.3.4-java) - tilt (1.4.1) twitter (5.13.0) addressable (~> 2.3) buftok (~> 0.2.0) @@ -118,10 +69,6 @@ unf (0.1.4-java) unf_ext (0.0.6) unf_ext (0.0.6-x86-mingw32) - unicorn (4.8.3) - kgio (~> 2.6) - rack - raindrops (~> 0.7) PLATFORMS java @@ -129,11 +76,9 @@ x86-mingw32 DEPENDENCIES + actionpack (~> 4.1.4) + actionview (~> 4.1.4) dalli - puma - rails (~> 4.1.4) - sdoc (~> 0.4.0) - spring + railties (~> 4.1.4) twitter twitter-text - unicorn