edge_rider 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (130) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +1 -2
  3. data/.ruby-version +1 -1
  4. data/.travis.yml +61 -10
  5. data/README.md +7 -8
  6. data/Rakefile +5 -61
  7. data/edge_rider.gemspec +2 -3
  8. data/gemfiles/Gemfile.2.3.mysql2 +16 -0
  9. data/gemfiles/Gemfile.2.3.mysql2.lock +37 -0
  10. data/gemfiles/Gemfile.3.2.mysql2 +16 -0
  11. data/gemfiles/Gemfile.3.2.mysql2.lock +62 -0
  12. data/gemfiles/Gemfile.4.2.mysql2 +15 -0
  13. data/gemfiles/Gemfile.4.2.mysql2.lock +66 -0
  14. data/gemfiles/Gemfile.4.2.pg +15 -0
  15. data/gemfiles/Gemfile.4.2.pg.lock +66 -0
  16. data/gemfiles/Gemfile.5.1.mysql2 +15 -0
  17. data/gemfiles/Gemfile.5.1.mysql2.lock +63 -0
  18. data/gemfiles/Gemfile.5.1.pg +15 -0
  19. data/gemfiles/Gemfile.5.1.pg.lock +63 -0
  20. data/lib/edge_rider.rb +2 -0
  21. data/lib/edge_rider/collect_column.rb +7 -1
  22. data/lib/edge_rider/collect_ids.rb +3 -3
  23. data/lib/edge_rider/development.rb +2 -15
  24. data/lib/edge_rider/util.rb +31 -2
  25. data/lib/edge_rider/version.rb +1 -1
  26. data/spec/{shared/spec/edge_rider → edge_rider}/collect_column_spec.rb +0 -0
  27. data/spec/{shared/spec/edge_rider → edge_rider}/collect_ids_spec.rb +2 -2
  28. data/spec/{shared/spec/edge_rider → edge_rider}/origin_class_spec.rb +0 -0
  29. data/spec/{shared/spec/edge_rider → edge_rider}/preload_associations_spec.rb +0 -0
  30. data/spec/{shared/spec/edge_rider → edge_rider}/scoped_spec.rb +2 -1
  31. data/spec/{shared/spec/edge_rider → edge_rider}/to_id_query_spec.rb +3 -3
  32. data/spec/{shared/spec/edge_rider → edge_rider}/to_sql_spec.rb +1 -1
  33. data/spec/{shared/spec/edge_rider → edge_rider}/traverse_association_spec.rb +0 -0
  34. data/spec/{shared/spec/edge_rider → edge_rider}/util_spec.rb +0 -0
  35. data/spec/spec_helper.rb +12 -0
  36. data/spec/support/database.rb +34 -0
  37. data/spec/{shared/app_root/config → support}/database.sample.yml +6 -2
  38. data/spec/support/database.travis.yml +9 -0
  39. data/spec/support/models.rb +92 -0
  40. metadata +60 -155
  41. data/spec/rails-2.3/.ruby-version +0 -1
  42. data/spec/rails-2.3/Gemfile +0 -17
  43. data/spec/rails-2.3/Gemfile.lock +0 -66
  44. data/spec/rails-2.3/Rakefile +0 -11
  45. data/spec/rails-2.3/app_root/config/boot.rb +0 -130
  46. data/spec/rails-2.3/app_root/config/environment.rb +0 -16
  47. data/spec/rails-2.3/app_root/config/environments/test.rb +0 -0
  48. data/spec/rails-2.3/app_root/config/initializers/fix_missing_source_file.rb +0 -1
  49. data/spec/rails-2.3/app_root/config/preinitializer.rb +0 -22
  50. data/spec/rails-2.3/app_root/config/routes.rb +0 -15
  51. data/spec/rails-2.3/app_root/log/.gitignore +0 -1
  52. data/spec/rails-2.3/rcov.opts +0 -2
  53. data/spec/rails-2.3/spec.opts +0 -5
  54. data/spec/rails-2.3/spec/spec_helper.rb +0 -25
  55. data/spec/rails-3.0/.rspec +0 -2
  56. data/spec/rails-3.0/.ruby-version +0 -1
  57. data/spec/rails-3.0/Gemfile +0 -12
  58. data/spec/rails-3.0/Gemfile.lock +0 -120
  59. data/spec/rails-3.0/Rakefile +0 -11
  60. data/spec/rails-3.0/app_root/.gitignore +0 -4
  61. data/spec/rails-3.0/app_root/config/application.rb +0 -33
  62. data/spec/rails-3.0/app_root/config/boot.rb +0 -15
  63. data/spec/rails-3.0/app_root/config/environment.rb +0 -7
  64. data/spec/rails-3.0/app_root/config/environments/test.rb +0 -37
  65. data/spec/rails-3.0/app_root/config/initializers/backtrace_silencers.rb +0 -9
  66. data/spec/rails-3.0/app_root/config/initializers/inflections.rb +0 -12
  67. data/spec/rails-3.0/app_root/config/initializers/mime_types.rb +0 -7
  68. data/spec/rails-3.0/app_root/config/initializers/secret_token.rb +0 -9
  69. data/spec/rails-3.0/app_root/config/initializers/session_store.rb +0 -10
  70. data/spec/rails-3.0/app_root/config/routes.rb +0 -5
  71. data/spec/rails-3.0/app_root/lib/tasks/.gitkeep +0 -0
  72. data/spec/rails-3.0/app_root/log/.gitkeep +0 -0
  73. data/spec/rails-3.0/app_root/script/rails +0 -6
  74. data/spec/rails-3.0/rcov.opts +0 -2
  75. data/spec/rails-3.0/spec/spec_helper.rb +0 -23
  76. data/spec/rails-3.2/.rspec +0 -2
  77. data/spec/rails-3.2/.ruby-version +0 -1
  78. data/spec/rails-3.2/Gemfile +0 -16
  79. data/spec/rails-3.2/Gemfile.lock +0 -135
  80. data/spec/rails-3.2/Rakefile +0 -12
  81. data/spec/rails-3.2/app_root/.gitignore +0 -4
  82. data/spec/rails-3.2/app_root/config/application.rb +0 -33
  83. data/spec/rails-3.2/app_root/config/boot.rb +0 -15
  84. data/spec/rails-3.2/app_root/config/environment.rb +0 -7
  85. data/spec/rails-3.2/app_root/config/environments/test.rb +0 -37
  86. data/spec/rails-3.2/app_root/config/initializers/backtrace_silencers.rb +0 -9
  87. data/spec/rails-3.2/app_root/config/initializers/inflections.rb +0 -12
  88. data/spec/rails-3.2/app_root/config/initializers/mime_types.rb +0 -7
  89. data/spec/rails-3.2/app_root/config/initializers/secret_token.rb +0 -9
  90. data/spec/rails-3.2/app_root/config/initializers/session_store.rb +0 -10
  91. data/spec/rails-3.2/app_root/config/routes.rb +0 -5
  92. data/spec/rails-3.2/app_root/log/.gitignore +0 -1
  93. data/spec/rails-3.2/rcov.opts +0 -2
  94. data/spec/rails-3.2/spec/spec_helper.rb +0 -25
  95. data/spec/rails-4.1/.rspec +0 -2
  96. data/spec/rails-4.1/.ruby-version +0 -1
  97. data/spec/rails-4.1/Gemfile +0 -17
  98. data/spec/rails-4.1/Gemfile.lock +0 -138
  99. data/spec/rails-4.1/Rakefile +0 -12
  100. data/spec/rails-4.1/app_root/.gitignore +0 -16
  101. data/spec/rails-4.1/app_root/bin/bundle +0 -3
  102. data/spec/rails-4.1/app_root/bin/rails +0 -8
  103. data/spec/rails-4.1/app_root/bin/rake +0 -8
  104. data/spec/rails-4.1/app_root/bin/spring +0 -18
  105. data/spec/rails-4.1/app_root/config/application.rb +0 -28
  106. data/spec/rails-4.1/app_root/config/boot.rb +0 -4
  107. data/spec/rails-4.1/app_root/config/environment.rb +0 -5
  108. data/spec/rails-4.1/app_root/config/environments/development.rb +0 -37
  109. data/spec/rails-4.1/app_root/config/environments/production.rb +0 -83
  110. data/spec/rails-4.1/app_root/config/environments/test.rb +0 -39
  111. data/spec/rails-4.1/app_root/config/initializers/backtrace_silencers.rb +0 -7
  112. data/spec/rails-4.1/app_root/config/initializers/cookies_serializer.rb +0 -3
  113. data/spec/rails-4.1/app_root/config/initializers/filter_parameter_logging.rb +0 -4
  114. data/spec/rails-4.1/app_root/config/initializers/inflections.rb +0 -16
  115. data/spec/rails-4.1/app_root/config/initializers/mime_types.rb +0 -4
  116. data/spec/rails-4.1/app_root/config/initializers/session_store.rb +0 -3
  117. data/spec/rails-4.1/app_root/config/initializers/wrap_parameters.rb +0 -14
  118. data/spec/rails-4.1/app_root/config/routes.rb +0 -3
  119. data/spec/rails-4.1/app_root/config/secrets.yml +0 -22
  120. data/spec/rails-4.1/rcov.opts +0 -2
  121. data/spec/rails-4.1/spec/spec_helper.rb +0 -31
  122. data/spec/shared/app_root/app/controllers/application_controller.rb +0 -5
  123. data/spec/shared/app_root/app/models/allow_setting_id_on_create.rb +0 -21
  124. data/spec/shared/app_root/app/models/forum.rb +0 -11
  125. data/spec/shared/app_root/app/models/post.rb +0 -11
  126. data/spec/shared/app_root/app/models/profile.rb +0 -8
  127. data/spec/shared/app_root/app/models/topic.rb +0 -14
  128. data/spec/shared/app_root/app/models/user.rb +0 -13
  129. data/spec/shared/app_root/config/database.travis_ci.yml +0 -6
  130. data/spec/shared/app_root/db/migrate/001_create_test_tables.rb +0 -45
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: c06662e9706f085023e24d24a60f9b966e2b6976
4
+ data.tar.gz: 1e294dc9431870a9db9430671a823dd64d8cedd0
5
+ SHA512:
6
+ metadata.gz: 5aaeb7c80c0c64a523787c4ed2a5c99acf1564cec2f7b74252bc58e796d8ecafd3113ba6d6cc4ea553b79118de5bc03dcbccca3de97ae20db331e81beb860c6c
7
+ data.tar.gz: bbcd4ea9a827837f07dc65d1269fd8f0de9a3c433caf59b42bb1e7d1fd6945482be708095aa5b0c6a85e829ce230908577190ca3691743a19534eb0809d574b8
data/.gitignore CHANGED
@@ -4,6 +4,5 @@ pkg
4
4
  .idea
5
5
  app_root/log/*
6
6
  spec/shared/app_root/db/*.db
7
- spec/shared/app_root/config/database.yml
7
+ spec/support/database.yml
8
8
  spec/*/.bundle
9
-
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 1.9.3
1
+ 2.2.4
data/.travis.yml CHANGED
@@ -1,17 +1,68 @@
1
1
  language: ruby
2
+
2
3
  rvm:
3
- - "1.8.7"
4
- - "1.9.3"
5
- - "2.1.0"
6
- - ree
4
+ - '1.8.7'
5
+ - '2.1.8'
6
+ - '2.2.4'
7
+ - '2.3.1'
8
+ - '2.4.1'
9
+
10
+ gemfile:
11
+ - 'gemfiles/Gemfile.2.3.mysql2'
12
+ - 'gemfiles/Gemfile.3.2.mysql2'
13
+ - 'gemfiles/Gemfile.4.2.mysql2'
14
+ - 'gemfiles/Gemfile.4.2.pg'
15
+ - 'gemfiles/Gemfile.5.1.mysql2'
16
+ - 'gemfiles/Gemfile.5.1.pg'
17
+
18
+ matrix:
19
+ exclude:
20
+ - gemfile: 'gemfiles/Gemfile.2.3.mysql2'
21
+ rvm: '2.1.8'
22
+ - gemfile: 'gemfiles/Gemfile.2.3.mysql2'
23
+ rvm: '2.2.4'
24
+ - gemfile: 'gemfiles/Gemfile.3.2.mysql2'
25
+ rvm: '2.3.1'
26
+ - gemfile: 'gemfiles/Gemfile.2.3.mysql2'
27
+ rvm: '2.3.1'
28
+ - gemfile: 'gemfiles/Gemfile.2.3.mysql2'
29
+ rvm: '2.4.1'
30
+ - gemfile: 'gemfiles/Gemfile.3.2.mysql2'
31
+ rvm: '2.4.1'
32
+ - gemfile: 'gemfiles/Gemfile.4.2.mysql2'
33
+ rvm: '1.8.7'
34
+ - gemfile: 'gemfiles/Gemfile.4.2.pg'
35
+ rvm: '1.8.7'
36
+ - gemfile: 'gemfiles/Gemfile.4.2.mysql2'
37
+ rvm: '2.4.1'
38
+ - gemfile: 'gemfiles/Gemfile.4.2.pg'
39
+ rvm: '2.4.1'
40
+ - gemfile: 'gemfiles/Gemfile.5.1.mysql2'
41
+ rvm: '1.8.7'
42
+ - gemfile: 'gemfiles/Gemfile.5.1.mysql2'
43
+ rvm: '2.1.8'
44
+ - gemfile: 'gemfiles/Gemfile.5.1.pg'
45
+ rvm: '1.8.7'
46
+ - gemfile: 'gemfiles/Gemfile.5.1.pg'
47
+ rvm: '2.1.8'
48
+
7
49
  services:
8
50
  - mysql
9
- before_script: rake travis_ci:prepare
10
- script: rake all:bundle all:spec
51
+
52
+ install:
53
+ # Shave yaks
54
+ - gem uninstall bundler -I -x --force
55
+ # Old Travis CI bundler explodes when lockfile version doesn't match recently bumped version
56
+ - gem install bundler --version='=1.12.5'
57
+ # This is the default Travis CI install step
58
+ - bundle install --jobs=3 --retry=3 --deployment --path=${BUNDLE_PATH:-vendor/bundle}
59
+
60
+ before_script:
61
+ - psql -c 'create database edge_rider_test;' -U postgres
62
+ - mysql -e 'create database IF NOT EXISTS edge_rider_test;'
63
+
64
+ script: bundle exec rake current_rspec
65
+
11
66
  notifications:
12
67
  email:
13
68
  - fail@makandra.de
14
- branches:
15
- only:
16
- - master
17
- - travis-testing
data/README.md CHANGED
@@ -14,8 +14,6 @@ Edge Rider was created with two intents:
14
14
  2. Provide a stable API for working with relations across multiple versions of Rails (since
15
15
  Rails has a tradition of breaking details of its relation API every other release).
16
16
 
17
- It is tested with Rails 2.3, 3.0, 3.2 and 4.1, and on Ruby 1.8.7, 1.9.3 and 2.1.0.
18
-
19
17
 
20
18
  Usage
21
19
  -----
@@ -228,10 +226,13 @@ Now run `bundle install` and restart your server.
228
226
  Development
229
227
  -----------
230
228
 
231
- - Test applications for various Rails versions lives in `spec`.
232
- - You need to create a MySQL database and put credentials into `spec/shared/app_root/config/database.yml`.
233
- - You can bundle all test applications by saying `bundle exec rake all:bundle`
234
- - You can run specs from the project root by saying `bundle exec rake all:spec`.
229
+ - There are tests in `spec`. We only accept PRs with tests.
230
+ - We currently develop using Ruby 2.2.4 (see `.ruby-version`) since that version works for all versions of ActiveRecord that we support. Travis CI will test additional Ruby versions (2.1.8 and 2.3.1).
231
+ - Put your database credentials into `spec/support/database.yml`. There's a `database.sample.yml` you can use as a template.
232
+ - Create a database `edge_rider_test` in both MySQL and PostgreSQL.
233
+ - There are gem bundles in `gemfiles` for each combination of ActiveRecord version and database type that we support.
234
+ - You can bundle all test applications by saying `bundle exec rake matrix:install`
235
+ - You can run specs from the project root by saying `bundle exec rake matrix:spec`. This will run all gemfiles compatible with your current Ruby.
235
236
 
236
237
  If you would like to contribute:
237
238
 
@@ -239,8 +240,6 @@ If you would like to contribute:
239
240
  - Push your changes **with passing specs**.
240
241
  - Send me a pull request.
241
242
 
242
- I'm very eager to keep this gem leightweight and on topic. If you're unsure whether a change would make it into the gem, [talk to me beforehand](mailto:henning.koch@makandra.de).
243
-
244
243
 
245
244
  Credits
246
245
  -------
data/Rakefile CHANGED
@@ -1,66 +1,10 @@
1
1
  require 'rake'
2
2
  require 'bundler/gem_tasks'
3
3
 
4
- desc 'Default: Run all specs.'
5
- task :default => 'all:spec'
6
-
7
- namespace :travis_ci do
8
-
9
- desc 'Things to do before Travis CI begins'
10
- task :prepare => [:compatible_rubygems, :create_database, :create_database_yml]
11
-
12
- desc 'Ensure compatible Rubygems version for Ruby 1.8'
13
- task :compatible_rubygems do
14
- if RUBY_VERSION == '1.8.7'
15
- system "rvm rubygems latest-1.8 --force"
16
- end
17
- end
18
-
19
- desc 'Creates a test database'
20
- task :create_database do
21
- system("mysql -e 'create database edge_rider_test;'")
22
- end
23
-
24
- desc 'Creates a database.yml'
25
- task :create_database_yml do
26
- config_dir = "spec/shared/app_root/config"
27
- system("cp #{config_dir}/database.travis_ci.yml #{config_dir}/database.yml")
28
- end
29
-
4
+ begin
5
+ require 'gemika/tasks'
6
+ rescue LoadError
7
+ puts 'Run `gem install gemika` for additional tasks'
30
8
  end
31
9
 
32
- namespace :all do
33
-
34
- desc "Run specs on all spec apps"
35
- task :spec do
36
- success = true
37
- for_each_directory_of('spec/**/Rakefile') do |directory|
38
- env = "SPEC=../../#{ENV['SPEC']} " if ENV['SPEC']
39
- success &= system("cd #{directory} && #{env} bundle exec rake spec")
40
- end
41
- fail "Tests failed" unless success
42
- end
43
-
44
- desc "Bundle all spec apps"
45
- task :bundle do
46
- for_each_directory_of('spec/**/Gemfile') do |directory|
47
- system("cd #{directory} && bundle install --without development")
48
- end
49
- end
50
-
51
- end
52
-
53
- def for_each_directory_of(path, &block)
54
- Dir[path].sort.each do |rakefile|
55
- directory = File.dirname(rakefile)
56
- puts '', "\033[4;34m# #{directory}\033[0m", '' # blue underline
57
-
58
- if directory.include?('rails-2.3') and RUBY_VERSION != '1.8.7'
59
- puts 'Skipping - Rails 2.3 requires Ruby 1.8.7'
60
- elsif directory.include?('rails-4.1') and RUBY_VERSION == '1.8.7'
61
- puts 'Skipping - Rails 4.1 does not support Ruby 1.8'
62
- else
63
- block.call(directory)
64
- end
65
- end
66
- end
10
+ task :default => 'matrix:spec'
data/edge_rider.gemspec CHANGED
@@ -11,11 +11,10 @@ Gem::Specification.new do |s|
11
11
  s.description = s.summary
12
12
  s.license = 'MIT'
13
13
 
14
- s.files = `git ls-files`.split("\n").reject { |path| File.lstat(path).symlink? }
15
- s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n").reject { |path| File.lstat(path).symlink? }
14
+ s.files = `git ls-files`.split("\n").select { |path| File.exist?(path) && !File.symlink?(path) }
15
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n").select { |path| File.exist?(path) && !File.symlink?(path) }
16
16
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
17
17
  s.require_paths = ["lib"]
18
18
 
19
19
  s.add_dependency('activerecord')
20
-
21
20
  end
@@ -0,0 +1,16 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Runtime dependencies
4
+ gem 'activerecord', '=2.3.18'
5
+ gem 'mysql2', '= 0.2.20'
6
+ gem 'i18n', '=0.6.11' # 0.7 no longer builds for Ruby 1.8.7
7
+
8
+ # Development dependencies
9
+ gem 'rake', '=10.0.4'
10
+ gem 'database_cleaner'
11
+ gem 'rspec', '~> 1.3.0'
12
+ gem 'has_defaults' # used by test models
13
+ gem 'gemika', '>= 0.2.0'
14
+
15
+ # Gem under test
16
+ gem 'edge_rider', :path => '..'
@@ -0,0 +1,37 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ edge_rider (0.3.2)
5
+ activerecord
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ activerecord (2.3.18)
11
+ activesupport (= 2.3.18)
12
+ activesupport (2.3.18)
13
+ database_cleaner (1.0.1)
14
+ gemika (0.3.2)
15
+ has_defaults (0.4.4)
16
+ activerecord
17
+ i18n (0.6.11)
18
+ mysql2 (0.2.20)
19
+ rake (10.0.4)
20
+ rspec (1.3.2)
21
+
22
+ PLATFORMS
23
+ ruby
24
+
25
+ DEPENDENCIES
26
+ activerecord (= 2.3.18)
27
+ database_cleaner
28
+ edge_rider!
29
+ gemika (>= 0.2.0)
30
+ has_defaults
31
+ i18n (= 0.6.11)
32
+ mysql2 (= 0.2.20)
33
+ rake (= 10.0.4)
34
+ rspec (~> 1.3.0)
35
+
36
+ BUNDLED WITH
37
+ 1.12.5
@@ -0,0 +1,16 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Runtime dependencies
4
+ gem 'activerecord', '=3.2.22'
5
+ gem 'mysql2', '= 0.3.17'
6
+ gem 'i18n', '=0.6.11' # 0.7 no longer builds for Ruby 1.8.7
7
+
8
+ # Development dependencies
9
+ gem 'rake', '=10.0.4'
10
+ gem 'database_cleaner'
11
+ gem 'rspec', '~> 3.4'
12
+ gem 'has_defaults' # used by test models
13
+ gem 'gemika', '>= 0.2.0'
14
+
15
+ # Gem under test
16
+ gem 'edge_rider', :path => '..'
@@ -0,0 +1,62 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ edge_rider (0.3.2)
5
+ activerecord
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ activemodel (3.2.22)
11
+ activesupport (= 3.2.22)
12
+ builder (~> 3.0.0)
13
+ activerecord (3.2.22)
14
+ activemodel (= 3.2.22)
15
+ activesupport (= 3.2.22)
16
+ arel (~> 3.0.2)
17
+ tzinfo (~> 0.3.29)
18
+ activesupport (3.2.22)
19
+ i18n (~> 0.6, >= 0.6.4)
20
+ multi_json (~> 1.0)
21
+ arel (3.0.3)
22
+ builder (3.0.4)
23
+ database_cleaner (1.0.1)
24
+ diff-lcs (1.2.5)
25
+ gemika (0.3.2)
26
+ has_defaults (0.4.4)
27
+ activerecord
28
+ i18n (0.6.11)
29
+ multi_json (1.12.1)
30
+ mysql2 (0.3.17)
31
+ rake (10.0.4)
32
+ rspec (3.5.0)
33
+ rspec-core (~> 3.5.0)
34
+ rspec-expectations (~> 3.5.0)
35
+ rspec-mocks (~> 3.5.0)
36
+ rspec-core (3.5.3)
37
+ rspec-support (~> 3.5.0)
38
+ rspec-expectations (3.5.0)
39
+ diff-lcs (>= 1.2.0, < 2.0)
40
+ rspec-support (~> 3.5.0)
41
+ rspec-mocks (3.5.0)
42
+ diff-lcs (>= 1.2.0, < 2.0)
43
+ rspec-support (~> 3.5.0)
44
+ rspec-support (3.5.0)
45
+ tzinfo (0.3.51)
46
+
47
+ PLATFORMS
48
+ ruby
49
+
50
+ DEPENDENCIES
51
+ activerecord (= 3.2.22)
52
+ database_cleaner
53
+ edge_rider!
54
+ gemika (>= 0.2.0)
55
+ has_defaults
56
+ i18n (= 0.6.11)
57
+ mysql2 (= 0.3.17)
58
+ rake (= 10.0.4)
59
+ rspec (~> 3.4)
60
+
61
+ BUNDLED WITH
62
+ 1.12.5
@@ -0,0 +1,15 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Runtime dependencies
4
+ gem 'activerecord', '~>4.2.0'
5
+ gem 'mysql2', '~> 0.3.17'
6
+
7
+ # Development dependencies
8
+ gem 'rake'
9
+ gem 'database_cleaner'
10
+ gem 'has_defaults' # used by test models
11
+ gem 'rspec'
12
+ gem 'gemika'
13
+
14
+ # Gem under test
15
+ gem 'edge_rider', :path => '..'
@@ -0,0 +1,66 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ edge_rider (0.3.2)
5
+ activerecord
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ activemodel (4.2.7.1)
11
+ activesupport (= 4.2.7.1)
12
+ builder (~> 3.1)
13
+ activerecord (4.2.7.1)
14
+ activemodel (= 4.2.7.1)
15
+ activesupport (= 4.2.7.1)
16
+ arel (~> 6.0)
17
+ activesupport (4.2.7.1)
18
+ i18n (~> 0.7)
19
+ json (~> 1.7, >= 1.7.7)
20
+ minitest (~> 5.1)
21
+ thread_safe (~> 0.3, >= 0.3.4)
22
+ tzinfo (~> 1.1)
23
+ arel (6.0.3)
24
+ builder (3.2.2)
25
+ database_cleaner (1.0.1)
26
+ diff-lcs (1.2.5)
27
+ gemika (0.3.2)
28
+ has_defaults (0.4.4)
29
+ activerecord
30
+ i18n (0.7.0)
31
+ json (1.8.3)
32
+ minitest (5.9.1)
33
+ mysql2 (0.3.21)
34
+ rake (11.3.0)
35
+ rspec (3.5.0)
36
+ rspec-core (~> 3.5.0)
37
+ rspec-expectations (~> 3.5.0)
38
+ rspec-mocks (~> 3.5.0)
39
+ rspec-core (3.5.3)
40
+ rspec-support (~> 3.5.0)
41
+ rspec-expectations (3.5.0)
42
+ diff-lcs (>= 1.2.0, < 2.0)
43
+ rspec-support (~> 3.5.0)
44
+ rspec-mocks (3.5.0)
45
+ diff-lcs (>= 1.2.0, < 2.0)
46
+ rspec-support (~> 3.5.0)
47
+ rspec-support (3.5.0)
48
+ thread_safe (0.3.5)
49
+ tzinfo (1.2.2)
50
+ thread_safe (~> 0.1)
51
+
52
+ PLATFORMS
53
+ ruby
54
+
55
+ DEPENDENCIES
56
+ activerecord (~> 4.2.0)
57
+ database_cleaner
58
+ edge_rider!
59
+ gemika
60
+ has_defaults
61
+ mysql2 (~> 0.3.17)
62
+ rake
63
+ rspec
64
+
65
+ BUNDLED WITH
66
+ 1.12.5