Skip to content

Commit

Permalink
Changing dependencies for Rails 5 and Globalize
Browse files Browse the repository at this point in the history
Issue #19
  • Loading branch information
brenes committed Jun 7, 2016
1 parent bca71f8 commit 3023b5b
Show file tree
Hide file tree
Showing 18 changed files with 975 additions and 38 deletions.
24 changes: 24 additions & 0 deletions Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,14 @@ appraise "rails-4-2-mysql" do
gem "rails", "4.2.5"
end

appraise "rails-5-rc1-mysql" do
gem "mysql2"
gem "rails", "5.0.0.rc1"
gem "globalize", git: '[email protected]:globalize/globalize.git', branch: 'master'
gem 'rails-observers', github: 'rails/rails-observers'
gem 'activeresource', github: 'rails/activeresource'
end

appraise "rails-4-0-pgsql" do
gem "pg"
gem "rails", "4.0.13"
Expand All @@ -28,6 +36,14 @@ appraise "rails-4-2-pgsql" do
gem "rails", "4.2.5"
end

appraise "rails-5-rc1-pgsql" do
gem "pg"
gem "rails", "5.0.0.rc1"
gem "globalize", git: '[email protected]:globalize/globalize.git', branch: 'master'
gem 'rails-observers', github: 'rails/rails-observers'
gem 'activeresource', github: 'rails/activeresource'
end

appraise "rails-4-0-sqlite" do
gem "sqlite3"
gem "rails", "4.0.13"
Expand All @@ -42,3 +58,11 @@ appraise "rails-4-2-sqlite" do
gem "sqlite3"
gem "rails", "4.2.5"
end

appraise "rails-5-rc1-sqlite" do
gem "sqlite3"
gem "rails", "5.0.0.rc1"
gem "globalize", git: '[email protected]:globalize/globalize.git', branch: 'master'
gem 'rails-observers', github: 'rails/rails-observers'
gem 'activeresource', github: 'rails/activeresource'
end
19 changes: 11 additions & 8 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ PATH
remote: .
specs:
nocms-blocks (1.1.3)
activeresource (~> 4.0, <= 4.1)
activeresource (>= 4.0.0, < 5.1)
awesome_nested_set (~> 3.0.0)
globalize (>= 4.0.0, < 5.1)
rails (~> 4.0, < 4.3)
globalize (>= 4.0.0, < 5.2)
rails (>= 4.0.0, < 5.1)

GEM
remote: https://rubygems.org/
Expand Down Expand Up @@ -75,7 +75,7 @@ GEM
json (>= 1.7)
mime-types (>= 1.16)
coderay (1.1.0)
concurrent-ruby (1.0.0)
concurrent-ruby (1.0.2)
database_cleaner (1.4.1)
debug_inspector (0.0.2)
diff-lcs (1.2.5)
Expand All @@ -100,8 +100,8 @@ GEM
addressable (~> 2.3)
loofah (2.0.3)
nokogiri (>= 1.5.9)
mail (2.6.3)
mime-types (>= 1.16, < 3)
mail (2.6.4)
mime-types (>= 1.16, < 4)
method_source (0.8.2)
mime-types (2.6.1)
mini_portile (0.6.2)
Expand Down Expand Up @@ -178,10 +178,10 @@ GEM
json
simplecov
slop (3.6.0)
sprockets (3.5.2)
sprockets (3.6.0)
concurrent-ruby (~> 1.0)
rack (> 1, < 3)
sprockets-rails (3.0.2)
sprockets-rails (3.0.4)
actionpack (>= 4.0)
activesupport (>= 4.0)
sprockets (>= 3.0.0)
Expand Down Expand Up @@ -214,3 +214,6 @@ DEPENDENCIES
simplecov
simplecov-json
sqlite3

BUNDLED WITH
1.12.5
6 changes: 3 additions & 3 deletions blocks.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ Gem::Specification.new do |s|
s.files = Dir["{app,config,db,lib}/**/*", "CHANGELOG", "LICENSE", "Rakefile", "README.md"]
s.test_files = Dir["spec/**/*"]

s.add_dependency "rails", "~> 4.0", '< 4.3'
s.add_dependency "activeresource", "~> 4.0", '<= 4.1'
s.add_dependency "globalize", '>= 4.0.0', '< 5.1'
s.add_dependency "rails", ">= 4.0.0", '< 5.1'
s.add_dependency "activeresource", ">= 4.0.0", '< 5.1'
s.add_dependency "globalize", '>= 4.0.0', '< 5.2'
s.add_dependency "awesome_nested_set", '~> 3.0.0'

s.add_development_dependency "sqlite3"
Expand Down
9 changes: 6 additions & 3 deletions gemfiles/rails_4_0_mysql.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ PATH
remote: ../
specs:
nocms-blocks (1.1.3)
activeresource (~> 4.0, <= 4.1)
activeresource (>= 4.0.0, < 5.1)
awesome_nested_set (~> 3.0.0)
globalize (>= 4.0.0, < 5.1)
rails (~> 4.0, < 4.3)
globalize (>= 4.0.0, < 5.2)
rails (>= 4.0.0, < 5.1)

GEM
remote: https://rubygems.org/
Expand Down Expand Up @@ -188,3 +188,6 @@ DEPENDENCIES
simplecov
simplecov-json
sqlite3

BUNDLED WITH
1.12.5
9 changes: 6 additions & 3 deletions gemfiles/rails_4_0_pgsql.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ PATH
remote: ../
specs:
nocms-blocks (1.1.3)
activeresource (~> 4.0, <= 4.1)
activeresource (>= 4.0.0, < 5.1)
awesome_nested_set (~> 3.0.0)
globalize (>= 4.0.0, < 5.1)
rails (~> 4.0, < 4.3)
globalize (>= 4.0.0, < 5.2)
rails (>= 4.0.0, < 5.1)

GEM
remote: https://rubygems.org/
Expand Down Expand Up @@ -190,3 +190,6 @@ DEPENDENCIES
simplecov
simplecov-json
sqlite3

BUNDLED WITH
1.12.5
9 changes: 6 additions & 3 deletions gemfiles/rails_4_0_sqlite.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ PATH
remote: ../
specs:
nocms-blocks (1.1.3)
activeresource (~> 4.0, <= 4.1)
activeresource (>= 4.0.0, < 5.1)
awesome_nested_set (~> 3.0.0)
globalize (>= 4.0.0, < 5.1)
rails (~> 4.0, < 4.3)
globalize (>= 4.0.0, < 5.2)
rails (>= 4.0.0, < 5.1)

GEM
remote: https://rubygems.org/
Expand Down Expand Up @@ -188,3 +188,6 @@ DEPENDENCIES
simplecov
simplecov-json
sqlite3

BUNDLED WITH
1.12.5
9 changes: 6 additions & 3 deletions gemfiles/rails_4_1_mysql.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ PATH
remote: ../
specs:
nocms-blocks (1.1.3)
activeresource (~> 4.0, <= 4.1)
activeresource (>= 4.0.0, < 5.1)
awesome_nested_set (~> 3.0.0)
globalize (>= 4.0.0, < 5.1)
rails (~> 4.0, < 4.3)
globalize (>= 4.0.0, < 5.2)
rails (>= 4.0.0, < 5.1)

GEM
remote: https://rubygems.org/
Expand Down Expand Up @@ -194,3 +194,6 @@ DEPENDENCIES
simplecov
simplecov-json
sqlite3

BUNDLED WITH
1.12.5
9 changes: 6 additions & 3 deletions gemfiles/rails_4_1_pgsql.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ PATH
remote: ../
specs:
nocms-blocks (1.1.3)
activeresource (~> 4.0, <= 4.1)
activeresource (>= 4.0.0, < 5.1)
awesome_nested_set (~> 3.0.0)
globalize (>= 4.0.0, < 5.1)
rails (~> 4.0, < 4.3)
globalize (>= 4.0.0, < 5.2)
rails (>= 4.0.0, < 5.1)

GEM
remote: https://rubygems.org/
Expand Down Expand Up @@ -194,3 +194,6 @@ DEPENDENCIES
simplecov
simplecov-json
sqlite3

BUNDLED WITH
1.12.5
9 changes: 6 additions & 3 deletions gemfiles/rails_4_1_sqlite.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ PATH
remote: ../
specs:
nocms-blocks (1.1.3)
activeresource (~> 4.0, <= 4.1)
activeresource (>= 4.0.0, < 5.1)
awesome_nested_set (~> 3.0.0)
globalize (>= 4.0.0, < 5.1)
rails (~> 4.0, < 4.3)
globalize (>= 4.0.0, < 5.2)
rails (>= 4.0.0, < 5.1)

GEM
remote: https://rubygems.org/
Expand Down Expand Up @@ -192,3 +192,6 @@ DEPENDENCIES
simplecov
simplecov-json
sqlite3

BUNDLED WITH
1.12.5
9 changes: 6 additions & 3 deletions gemfiles/rails_4_2_mysql.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ PATH
remote: ../
specs:
nocms-blocks (1.1.3)
activeresource (~> 4.0, <= 4.1)
activeresource (>= 4.0.0, < 5.1)
awesome_nested_set (~> 3.0.0)
globalize (>= 4.0.0, < 5.1)
rails (~> 4.0, < 4.3)
globalize (>= 4.0.0, < 5.2)
rails (>= 4.0.0, < 5.1)

GEM
remote: https://rubygems.org/
Expand Down Expand Up @@ -216,3 +216,6 @@ DEPENDENCIES
simplecov
simplecov-json
sqlite3

BUNDLED WITH
1.12.5
9 changes: 6 additions & 3 deletions gemfiles/rails_4_2_pgsql.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ PATH
remote: ../
specs:
nocms-blocks (1.1.3)
activeresource (~> 4.0, <= 4.1)
activeresource (>= 4.0.0, < 5.1)
awesome_nested_set (~> 3.0.0)
globalize (>= 4.0.0, < 5.1)
rails (~> 4.0, < 4.3)
globalize (>= 4.0.0, < 5.2)
rails (>= 4.0.0, < 5.1)

GEM
remote: https://rubygems.org/
Expand Down Expand Up @@ -216,3 +216,6 @@ DEPENDENCIES
simplecov
simplecov-json
sqlite3

BUNDLED WITH
1.12.5
9 changes: 6 additions & 3 deletions gemfiles/rails_4_2_sqlite.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ PATH
remote: ../
specs:
nocms-blocks (1.1.3)
activeresource (~> 4.0, <= 4.1)
activeresource (>= 4.0.0, < 5.1)
awesome_nested_set (~> 3.0.0)
globalize (>= 4.0.0, < 5.1)
rails (~> 4.0, < 4.3)
globalize (>= 4.0.0, < 5.2)
rails (>= 4.0.0, < 5.1)

GEM
remote: https://rubygems.org/
Expand Down Expand Up @@ -214,3 +214,6 @@ DEPENDENCIES
simplecov
simplecov-json
sqlite3

BUNDLED WITH
1.12.5
32 changes: 32 additions & 0 deletions gemfiles/rails_5_rc1_mysql.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# This file was generated by Appraisal

source "https://rubygems.org"

gem "mysql2"
gem "rails", "5.0.0.rc1"
gem "globalize", :git => "[email protected]:globalize/globalize.git", :branch => "master"
gem "rails-observers", :github => "rails/rails-observers"
gem "activeresource", :github => "rails/activeresource"

group :development, :test do
gem "pry-rails"
gem "pry-nav"
gem "pry-remote"
gem "pry-stack_explorer"
end

group :test do
gem "rspec-rails", "~> 3.0"
gem "capybara-screenshot"
gem "factory_girl"
gem "capybara"
gem "database_cleaner"
gem "faker"
gem "carrierwave"
gem "appraisal"
gem "simplecov"
gem "simplecov-json"
gem "generator_spec"
end

gemspec :path => "../"
Loading

0 comments on commit 3023b5b

Please sign in to comment.