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.
- checksums.yaml +7 -0
- data/.gitignore +1 -2
- data/.ruby-version +1 -1
- data/.travis.yml +61 -10
- data/README.md +7 -8
- data/Rakefile +5 -61
- data/edge_rider.gemspec +2 -3
- data/gemfiles/Gemfile.2.3.mysql2 +16 -0
- data/gemfiles/Gemfile.2.3.mysql2.lock +37 -0
- data/gemfiles/Gemfile.3.2.mysql2 +16 -0
- data/gemfiles/Gemfile.3.2.mysql2.lock +62 -0
- data/gemfiles/Gemfile.4.2.mysql2 +15 -0
- data/gemfiles/Gemfile.4.2.mysql2.lock +66 -0
- data/gemfiles/Gemfile.4.2.pg +15 -0
- data/gemfiles/Gemfile.4.2.pg.lock +66 -0
- data/gemfiles/Gemfile.5.1.mysql2 +15 -0
- data/gemfiles/Gemfile.5.1.mysql2.lock +63 -0
- data/gemfiles/Gemfile.5.1.pg +15 -0
- data/gemfiles/Gemfile.5.1.pg.lock +63 -0
- data/lib/edge_rider.rb +2 -0
- data/lib/edge_rider/collect_column.rb +7 -1
- data/lib/edge_rider/collect_ids.rb +3 -3
- data/lib/edge_rider/development.rb +2 -15
- data/lib/edge_rider/util.rb +31 -2
- data/lib/edge_rider/version.rb +1 -1
- data/spec/{shared/spec/edge_rider → edge_rider}/collect_column_spec.rb +0 -0
- data/spec/{shared/spec/edge_rider → edge_rider}/collect_ids_spec.rb +2 -2
- data/spec/{shared/spec/edge_rider → edge_rider}/origin_class_spec.rb +0 -0
- data/spec/{shared/spec/edge_rider → edge_rider}/preload_associations_spec.rb +0 -0
- data/spec/{shared/spec/edge_rider → edge_rider}/scoped_spec.rb +2 -1
- data/spec/{shared/spec/edge_rider → edge_rider}/to_id_query_spec.rb +3 -3
- data/spec/{shared/spec/edge_rider → edge_rider}/to_sql_spec.rb +1 -1
- data/spec/{shared/spec/edge_rider → edge_rider}/traverse_association_spec.rb +0 -0
- data/spec/{shared/spec/edge_rider → edge_rider}/util_spec.rb +0 -0
- data/spec/spec_helper.rb +12 -0
- data/spec/support/database.rb +34 -0
- data/spec/{shared/app_root/config → support}/database.sample.yml +6 -2
- data/spec/support/database.travis.yml +9 -0
- data/spec/support/models.rb +92 -0
- metadata +60 -155
- data/spec/rails-2.3/.ruby-version +0 -1
- data/spec/rails-2.3/Gemfile +0 -17
- data/spec/rails-2.3/Gemfile.lock +0 -66
- data/spec/rails-2.3/Rakefile +0 -11
- data/spec/rails-2.3/app_root/config/boot.rb +0 -130
- data/spec/rails-2.3/app_root/config/environment.rb +0 -16
- data/spec/rails-2.3/app_root/config/environments/test.rb +0 -0
- data/spec/rails-2.3/app_root/config/initializers/fix_missing_source_file.rb +0 -1
- data/spec/rails-2.3/app_root/config/preinitializer.rb +0 -22
- data/spec/rails-2.3/app_root/config/routes.rb +0 -15
- data/spec/rails-2.3/app_root/log/.gitignore +0 -1
- data/spec/rails-2.3/rcov.opts +0 -2
- data/spec/rails-2.3/spec.opts +0 -5
- data/spec/rails-2.3/spec/spec_helper.rb +0 -25
- data/spec/rails-3.0/.rspec +0 -2
- data/spec/rails-3.0/.ruby-version +0 -1
- data/spec/rails-3.0/Gemfile +0 -12
- data/spec/rails-3.0/Gemfile.lock +0 -120
- data/spec/rails-3.0/Rakefile +0 -11
- data/spec/rails-3.0/app_root/.gitignore +0 -4
- data/spec/rails-3.0/app_root/config/application.rb +0 -33
- data/spec/rails-3.0/app_root/config/boot.rb +0 -15
- data/spec/rails-3.0/app_root/config/environment.rb +0 -7
- data/spec/rails-3.0/app_root/config/environments/test.rb +0 -37
- data/spec/rails-3.0/app_root/config/initializers/backtrace_silencers.rb +0 -9
- data/spec/rails-3.0/app_root/config/initializers/inflections.rb +0 -12
- data/spec/rails-3.0/app_root/config/initializers/mime_types.rb +0 -7
- data/spec/rails-3.0/app_root/config/initializers/secret_token.rb +0 -9
- data/spec/rails-3.0/app_root/config/initializers/session_store.rb +0 -10
- data/spec/rails-3.0/app_root/config/routes.rb +0 -5
- data/spec/rails-3.0/app_root/lib/tasks/.gitkeep +0 -0
- data/spec/rails-3.0/app_root/log/.gitkeep +0 -0
- data/spec/rails-3.0/app_root/script/rails +0 -6
- data/spec/rails-3.0/rcov.opts +0 -2
- data/spec/rails-3.0/spec/spec_helper.rb +0 -23
- data/spec/rails-3.2/.rspec +0 -2
- data/spec/rails-3.2/.ruby-version +0 -1
- data/spec/rails-3.2/Gemfile +0 -16
- data/spec/rails-3.2/Gemfile.lock +0 -135
- data/spec/rails-3.2/Rakefile +0 -12
- data/spec/rails-3.2/app_root/.gitignore +0 -4
- data/spec/rails-3.2/app_root/config/application.rb +0 -33
- data/spec/rails-3.2/app_root/config/boot.rb +0 -15
- data/spec/rails-3.2/app_root/config/environment.rb +0 -7
- data/spec/rails-3.2/app_root/config/environments/test.rb +0 -37
- data/spec/rails-3.2/app_root/config/initializers/backtrace_silencers.rb +0 -9
- data/spec/rails-3.2/app_root/config/initializers/inflections.rb +0 -12
- data/spec/rails-3.2/app_root/config/initializers/mime_types.rb +0 -7
- data/spec/rails-3.2/app_root/config/initializers/secret_token.rb +0 -9
- data/spec/rails-3.2/app_root/config/initializers/session_store.rb +0 -10
- data/spec/rails-3.2/app_root/config/routes.rb +0 -5
- data/spec/rails-3.2/app_root/log/.gitignore +0 -1
- data/spec/rails-3.2/rcov.opts +0 -2
- data/spec/rails-3.2/spec/spec_helper.rb +0 -25
- data/spec/rails-4.1/.rspec +0 -2
- data/spec/rails-4.1/.ruby-version +0 -1
- data/spec/rails-4.1/Gemfile +0 -17
- data/spec/rails-4.1/Gemfile.lock +0 -138
- data/spec/rails-4.1/Rakefile +0 -12
- data/spec/rails-4.1/app_root/.gitignore +0 -16
- data/spec/rails-4.1/app_root/bin/bundle +0 -3
- data/spec/rails-4.1/app_root/bin/rails +0 -8
- data/spec/rails-4.1/app_root/bin/rake +0 -8
- data/spec/rails-4.1/app_root/bin/spring +0 -18
- data/spec/rails-4.1/app_root/config/application.rb +0 -28
- data/spec/rails-4.1/app_root/config/boot.rb +0 -4
- data/spec/rails-4.1/app_root/config/environment.rb +0 -5
- data/spec/rails-4.1/app_root/config/environments/development.rb +0 -37
- data/spec/rails-4.1/app_root/config/environments/production.rb +0 -83
- data/spec/rails-4.1/app_root/config/environments/test.rb +0 -39
- data/spec/rails-4.1/app_root/config/initializers/backtrace_silencers.rb +0 -7
- data/spec/rails-4.1/app_root/config/initializers/cookies_serializer.rb +0 -3
- data/spec/rails-4.1/app_root/config/initializers/filter_parameter_logging.rb +0 -4
- data/spec/rails-4.1/app_root/config/initializers/inflections.rb +0 -16
- data/spec/rails-4.1/app_root/config/initializers/mime_types.rb +0 -4
- data/spec/rails-4.1/app_root/config/initializers/session_store.rb +0 -3
- data/spec/rails-4.1/app_root/config/initializers/wrap_parameters.rb +0 -14
- data/spec/rails-4.1/app_root/config/routes.rb +0 -3
- data/spec/rails-4.1/app_root/config/secrets.yml +0 -22
- data/spec/rails-4.1/rcov.opts +0 -2
- data/spec/rails-4.1/spec/spec_helper.rb +0 -31
- data/spec/shared/app_root/app/controllers/application_controller.rb +0 -5
- data/spec/shared/app_root/app/models/allow_setting_id_on_create.rb +0 -21
- data/spec/shared/app_root/app/models/forum.rb +0 -11
- data/spec/shared/app_root/app/models/post.rb +0 -11
- data/spec/shared/app_root/app/models/profile.rb +0 -8
- data/spec/shared/app_root/app/models/topic.rb +0 -14
- data/spec/shared/app_root/app/models/user.rb +0 -13
- data/spec/shared/app_root/config/database.travis_ci.yml +0 -6
- 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
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
2.2.4
|
data/.travis.yml
CHANGED
@@ -1,17 +1,68 @@
|
|
1
1
|
language: ruby
|
2
|
+
|
2
3
|
rvm:
|
3
|
-
-
|
4
|
-
-
|
5
|
-
-
|
6
|
-
-
|
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
|
-
|
10
|
-
|
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
|
-
-
|
232
|
-
-
|
233
|
-
-
|
234
|
-
-
|
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
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
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
|
-
|
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").
|
15
|
-
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n").
|
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
|