assignable_values 0.11.3 → 0.12.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (105) hide show
  1. data/.gitignore +1 -0
  2. data/.ruby-version +1 -1
  3. data/.travis.yml +41 -9
  4. data/Gemfile +16 -0
  5. data/Gemfile.lock +70 -0
  6. data/README.md +16 -5
  7. data/Rakefile +5 -69
  8. data/assignable_values.gemspec +2 -7
  9. data/gemfiles/Gemfile.2.3 +16 -0
  10. data/gemfiles/Gemfile.2.3.lock +40 -0
  11. data/gemfiles/Gemfile.3.2 +16 -0
  12. data/gemfiles/Gemfile.3.2.lock +65 -0
  13. data/gemfiles/Gemfile.4.2 +16 -0
  14. data/gemfiles/Gemfile.4.2.lock +70 -0
  15. data/gemfiles/Gemfile.5.0 +16 -0
  16. data/gemfiles/Gemfile.5.0.lock +67 -0
  17. data/lib/assignable_values/active_record/restriction/base.rb +5 -5
  18. data/lib/assignable_values/active_record/restriction/belongs_to_association.rb +1 -1
  19. data/lib/assignable_values/active_record/restriction/scalar_attribute.rb +4 -4
  20. data/lib/assignable_values/version.rb +1 -1
  21. data/spec/{shared/assignable_values → assignable_values}/active_record_spec.rb +3 -1
  22. data/spec/{shared/assignable_values → assignable_values}/humanized_value_spec.rb +0 -0
  23. data/spec/spec_helper.rb +19 -0
  24. data/spec/support/database.rb +16 -0
  25. data/spec/support/database.sample.yml +5 -0
  26. data/spec/support/database.travis.yml +4 -0
  27. data/spec/{shared/app_root/config/locales/en.yml → support/i18n.yml} +0 -0
  28. data/spec/support/models.rb +20 -0
  29. metadata +36 -226
  30. data/spec/rails-2.3/.bundle/config +0 -2
  31. data/spec/rails-2.3/Gemfile +0 -14
  32. data/spec/rails-2.3/Gemfile.lock +0 -68
  33. data/spec/rails-2.3/Rakefile +0 -11
  34. data/spec/rails-2.3/app_root/config/boot.rb +0 -129
  35. data/spec/rails-2.3/app_root/config/database.yml +0 -4
  36. data/spec/rails-2.3/app_root/config/environment.rb +0 -14
  37. data/spec/rails-2.3/app_root/config/environments/test.rb +0 -28
  38. data/spec/rails-2.3/app_root/config/preinitializer.rb +0 -20
  39. data/spec/rails-2.3/app_root/config/routes.rb +0 -4
  40. data/spec/rails-2.3/app_root/lib/console_with_fixtures.rb +0 -4
  41. data/spec/rails-2.3/app_root/log/.gitignore +0 -1
  42. data/spec/rails-2.3/app_root/script/console +0 -7
  43. data/spec/rails-2.3/rcov.opts +0 -2
  44. data/spec/rails-2.3/spec.opts +0 -4
  45. data/spec/rails-2.3/spec/spec_helper.rb +0 -25
  46. data/spec/rails-3.2/.bundle/config +0 -2
  47. data/spec/rails-3.2/.rspec +0 -2
  48. data/spec/rails-3.2/Gemfile +0 -10
  49. data/spec/rails-3.2/Gemfile.lock +0 -132
  50. data/spec/rails-3.2/Rakefile +0 -10
  51. data/spec/rails-3.2/app_root/.gitignore +0 -4
  52. data/spec/rails-3.2/app_root/config/application.rb +0 -32
  53. data/spec/rails-3.2/app_root/config/boot.rb +0 -13
  54. data/spec/rails-3.2/app_root/config/database.yml +0 -4
  55. data/spec/rails-3.2/app_root/config/environment.rb +0 -5
  56. data/spec/rails-3.2/app_root/config/environments/test.rb +0 -35
  57. data/spec/rails-3.2/app_root/config/initializers/backtrace_silencers.rb +0 -7
  58. data/spec/rails-3.2/app_root/config/initializers/inflections.rb +0 -10
  59. data/spec/rails-3.2/app_root/config/initializers/mime_types.rb +0 -5
  60. data/spec/rails-3.2/app_root/config/initializers/secret_token.rb +0 -7
  61. data/spec/rails-3.2/app_root/config/initializers/session_store.rb +0 -8
  62. data/spec/rails-3.2/app_root/config/routes.rb +0 -58
  63. data/spec/rails-3.2/app_root/lib/tasks/.gitkeep +0 -0
  64. data/spec/rails-3.2/app_root/log/.gitkeep +0 -0
  65. data/spec/rails-3.2/app_root/script/rails +0 -6
  66. data/spec/rails-3.2/rcov.opts +0 -2
  67. data/spec/rails-3.2/spec/spec_helper.rb +0 -25
  68. data/spec/rails-4.1/.bundle/config +0 -2
  69. data/spec/rails-4.1/.rspec +0 -2
  70. data/spec/rails-4.1/.ruby-version +0 -1
  71. data/spec/rails-4.1/Gemfile +0 -16
  72. data/spec/rails-4.1/Gemfile.lock +0 -146
  73. data/spec/rails-4.1/Rakefile +0 -12
  74. data/spec/rails-4.1/app_root/.gitignore +0 -16
  75. data/spec/rails-4.1/app_root/bin/bundle +0 -3
  76. data/spec/rails-4.1/app_root/bin/rails +0 -8
  77. data/spec/rails-4.1/app_root/bin/rake +0 -8
  78. data/spec/rails-4.1/app_root/bin/spring +0 -18
  79. data/spec/rails-4.1/app_root/config/application.rb +0 -28
  80. data/spec/rails-4.1/app_root/config/boot.rb +0 -4
  81. data/spec/rails-4.1/app_root/config/database.yml +0 -4
  82. data/spec/rails-4.1/app_root/config/environment.rb +0 -5
  83. data/spec/rails-4.1/app_root/config/environments/development.rb +0 -37
  84. data/spec/rails-4.1/app_root/config/environments/production.rb +0 -83
  85. data/spec/rails-4.1/app_root/config/environments/test.rb +0 -39
  86. data/spec/rails-4.1/app_root/config/initializers/backtrace_silencers.rb +0 -7
  87. data/spec/rails-4.1/app_root/config/initializers/cookies_serializer.rb +0 -3
  88. data/spec/rails-4.1/app_root/config/initializers/filter_parameter_logging.rb +0 -4
  89. data/spec/rails-4.1/app_root/config/initializers/inflections.rb +0 -16
  90. data/spec/rails-4.1/app_root/config/initializers/mime_types.rb +0 -4
  91. data/spec/rails-4.1/app_root/config/initializers/session_store.rb +0 -3
  92. data/spec/rails-4.1/app_root/config/initializers/wrap_parameters.rb +0 -14
  93. data/spec/rails-4.1/app_root/config/routes.rb +0 -3
  94. data/spec/rails-4.1/app_root/config/secrets.yml +0 -22
  95. data/spec/rails-4.1/rcov.opts +0 -2
  96. data/spec/rails-4.1/spec/spec_helper.rb +0 -25
  97. data/spec/shared/app_root/app/controllers/application_controller.rb +0 -2
  98. data/spec/shared/app_root/app/helpers/application_helper.rb +0 -3
  99. data/spec/shared/app_root/app/models/artist.rb +0 -5
  100. data/spec/shared/app_root/app/models/recording/vinyl.rb +0 -5
  101. data/spec/shared/app_root/app/models/song.rb +0 -7
  102. data/spec/shared/app_root/config/database.yml +0 -4
  103. data/spec/shared/app_root/db/migrate/001_create_artists.rb +0 -11
  104. data/spec/shared/app_root/db/migrate/002_create_songs.rb +0 -16
  105. data/spec/shared/app_root/db/migrate/003_create_recordings.rb +0 -13
data/.gitignore CHANGED
@@ -3,3 +3,4 @@ pkg
3
3
  *.gem
4
4
  .idea
5
5
  spec/*/log/*
6
+ spec/support/database.yml
@@ -1 +1 @@
1
- 1.9.3
1
+ 2.1.8
@@ -1,14 +1,46 @@
1
1
  language: ruby
2
+
2
3
  rvm:
3
- - "1.8.7"
4
- - "2.1.0"
5
- services:
6
- - mysql
7
- script: rake travis:run
4
+ - 1.8.7
5
+ - 2.1.8
6
+ - 2.3.1
7
+
8
+ gemfile:
9
+ - gemfiles/Gemfile.2.3
10
+ - gemfiles/Gemfile.3.2
11
+ - gemfiles/Gemfile.4.2
12
+ - gemfiles/Gemfile.5.0
13
+
14
+ matrix:
15
+ exclude:
16
+ - gemfile: gemfiles/Gemfile.2.3
17
+ rvm: 2.1.8
18
+ - gemfile: gemfiles/Gemfile.2.3
19
+ rvm: 2.3.1
20
+ - gemfile: gemfiles/Gemfile.3.2
21
+ rvm: 2.3.1
22
+ - gemfile: gemfiles/Gemfile.4.2
23
+ rvm: 1.8.7
24
+ - gemfile: gemfiles/Gemfile.5.0
25
+ rvm: 2.1.8
26
+ - gemfile: gemfiles/Gemfile.5.0
27
+ rvm: 1.8.7
28
+
29
+ sudo: false
30
+
31
+ cache: bundler
32
+
8
33
  notifications:
9
34
  email:
10
35
  - fail@makandra.de
11
- branches:
12
- only:
13
- - master
14
- - travis-testing
36
+
37
+ before_script:
38
+ - mysql -e 'create database IF NOT EXISTS assignable_values_test;'
39
+
40
+ install:
41
+ # Old Travis CI bundler explodes when lockfile version doesn't match recently bumped version
42
+ - gem install bundler --version='=1.12.5'
43
+ # This is the default Travis CI install step
44
+ - bundle install --jobs=3 --retry=3 --deployment --path=${BUNDLE_PATH:-vendor/bundle}
45
+
46
+ script: bundle exec rake current_rspec
data/Gemfile ADDED
@@ -0,0 +1,16 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Runtime dependencies
4
+ gem 'activerecord', '~>4.2.0'
5
+ gem 'i18n', '~>0.7.0'
6
+ gem 'mysql2', '~> 0.3.17'
7
+
8
+ # Development dependencies
9
+ gem 'rake'
10
+ gem 'database_cleaner'
11
+ gem 'rspec', '~> 3.4'
12
+ gem 'rspec_candy'
13
+ gem 'gemika'
14
+
15
+ # Gem under test
16
+ gem 'assignable_values', :path => '..'
@@ -0,0 +1,70 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ assignable_values (0.11.3)
5
+ activerecord (>= 2.3)
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.5.3)
26
+ diff-lcs (1.2.5)
27
+ gemika (0.3.2)
28
+ i18n (0.7.0)
29
+ json (1.8.3)
30
+ minitest (5.9.1)
31
+ mysql2 (0.3.20)
32
+ rake (10.3.2)
33
+ rspec (3.5.0)
34
+ rspec-core (~> 3.5.0)
35
+ rspec-expectations (~> 3.5.0)
36
+ rspec-mocks (~> 3.5.0)
37
+ rspec-core (3.5.4)
38
+ rspec-support (~> 3.5.0)
39
+ rspec-expectations (3.5.0)
40
+ diff-lcs (>= 1.2.0, < 2.0)
41
+ rspec-support (~> 3.5.0)
42
+ rspec-mocks (3.5.0)
43
+ diff-lcs (>= 1.2.0, < 2.0)
44
+ rspec-support (~> 3.5.0)
45
+ rspec-support (3.5.0)
46
+ rspec_candy (0.3.1)
47
+ rspec
48
+ sneaky-save
49
+ sneaky-save (0.0.5)
50
+ activerecord (>= 3.2.0)
51
+ thread_safe (0.3.5)
52
+ tzinfo (1.2.2)
53
+ thread_safe (~> 0.1)
54
+
55
+ PLATFORMS
56
+ ruby
57
+
58
+ DEPENDENCIES
59
+ activerecord (~> 4.2.0)
60
+ assignable_values!
61
+ database_cleaner
62
+ gemika
63
+ i18n (~> 0.7.0)
64
+ mysql2 (~> 0.3.17)
65
+ rake
66
+ rspec (~> 3.4)
67
+ rspec_candy
68
+
69
+ BUNDLED WITH
70
+ 1.12.5
data/README.md CHANGED
@@ -1,11 +1,11 @@
1
- assignable_values - Enums on vitamins [![Build Status](https://secure.travis-ci.org/makandra/assignable_values.png?branch=master)](https://travis-ci.org/makandra/assignable_values) [![Code Climate](https://codeclimate.com/github/makandra/assignable_values.png)](https://codeclimate.com/github/makandra/assignable_values)
1
+ assignable_values - Enums on vitamins [![Build Status](https://secure.travis-ci.org/makandra/assignable_values.png?branch=master)](https://travis-ci.org/makandra/assignable_values)
2
2
  =====================================
3
3
 
4
4
  `assignable_values` lets you restrict the values that can be assigned to attributes or associations of ActiveRecord models. You can think of it as enums where the list of allowed values is generated at runtime and the value is checked during validation.
5
5
 
6
6
  We carefully enhanced the core enum functionality with small tweaks that are useful for web forms, internationalized applications and common authorization patterns.
7
7
 
8
- `assignable_values` is tested with Rails 2.3, 3.2 and 4.1 on Ruby 1.8.7 and 2.1.0.
8
+ `assignable_values` is tested with Rails 2.3, 3.2, 4.2 and 5.0 on Ruby 1.8.7, 2.1 and 2.3.
9
9
 
10
10
 
11
11
  Restricting scalar attributes
@@ -332,9 +332,20 @@ Now run `bundle install` and restart your server. Done.
332
332
  Development
333
333
  -----------
334
334
 
335
- - Fork the repository.
336
- - Push your changes with specs. There is a Rails 3 test application in `spec/app_root` if you need to test integration with a live Rails app.
337
- - Send me a pull request.
335
+ There are tests in `spec`. We only accept PRs with tests. To run tests:
336
+
337
+ - Install Ruby 2.1.8
338
+ - Create a local test database `assignable_values_test` in both MySQL and PostgreSQL
339
+ - Copy `spec/support/database.sample.yml` to `spec/support/database.yml` and enter your local credentials for the test database
340
+ - Install development dependencies using `bundle install`
341
+ - Run tests using `bundle exec rspec`
342
+
343
+ We recommend to test large changes against multiple versions of Ruby and multiple dependency sets. Supported combinations are configured in `.travis.yml`. We provide some rake tasks to help with this:
344
+
345
+ - Install development dependencies using `bundle matrix:install`
346
+ - Run tests using `bundle matrix:spec`
347
+
348
+ Note that we have configured Travis CI to automatically run tests in all supported Ruby versions and dependency sets after each push. We will only merge pull requests after a green Travis build.
338
349
 
339
350
  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).
340
351
 
data/Rakefile CHANGED
@@ -1,74 +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
-
8
- namespace :travis do
9
-
10
- desc 'Run tests on Travis CI'
11
- task :run => [:compatible_rubygems, 'all:bundle:install', 'all:spec']
12
-
13
- desc 'Ensure compatible Rubygems version for Ruby 1.8'
14
- task :compatible_rubygems do
15
- if RUBY_VERSION == '1.8.7'
16
- system "rvm rubygems latest-1.8 --force"
17
- end
18
- end
19
-
20
- end
21
-
22
- namespace :all do
23
-
24
- desc "Run specs on all spec apps"
25
- task :spec do
26
- success = true
27
- for_each_directory_of('spec/**/Rakefile') do |directory|
28
- env = "SPEC=../../#{ENV['SPEC']} " if ENV['SPEC']
29
- success &= system("cd #{directory} && #{env} bundle exec rake spec")
30
- end
31
- fail "Tests failed" unless success
32
- end
33
-
34
-
35
- task :bundle => 'bundle:install'
36
-
37
- namespace :bundle do
38
-
39
- desc "Bundle all spec apps"
40
- task :install do
41
- for_each_directory_of('spec/**/Gemfile') do |directory|
42
- Bundler.with_clean_env do
43
- system("cd #{directory} && bundle install --without development")
44
- end
45
- end
46
- end
47
-
48
- desc "Update all gems, or a list of gem given by the GEM environment variable"
49
- task :update do
50
- for_each_directory_of('spec/**/Gemfile') do |directory|
51
- Bundler.with_clean_env do
52
- system("cd #{directory} && bundle update #{ENV['GEM']}")
53
- end
54
- end
55
- end
56
-
57
- end
58
-
4
+ begin
5
+ require 'gemika/tasks'
6
+ rescue LoadError
7
+ puts 'Run `gem install gemika` for additional tasks'
59
8
  end
60
9
 
61
- def for_each_directory_of(path, &block)
62
- Dir[path].sort.each do |rakefile|
63
- directory = File.dirname(rakefile)
64
- puts '', "\033[4;34m# #{directory}\033[0m" # blue underline
65
-
66
- if directory.include?('rails-2.3') and RUBY_VERSION != '1.8.7'
67
- puts 'Skipping - Rails 2.3 requires Ruby 1.8.7'
68
- elsif directory.include?('rails-4.1') and RUBY_VERSION == '1.8.7'
69
- puts 'Skipping - Rails 4.1 does not support Ruby 1.8'
70
- else
71
- block.call(directory)
72
- end
73
- end
74
- end
10
+ task :default => 'matrix:spec'
@@ -7,7 +7,7 @@ Gem::Specification.new do |s|
7
7
  s.authors = ["Henning Koch"]
8
8
  s.email = 'henning.koch@makandra.de'
9
9
  s.homepage = 'https://github.com/makandra/assignable_values'
10
- s.summary = 'Restrict the values assignable to ActiveRecord attributes or associations. Or enums on steroids.'
10
+ s.summary = 'Restrict the values assignable to ActiveRecord attributes or associations'
11
11
  s.description = s.summary
12
12
  s.license = 'MIT'
13
13
 
@@ -15,10 +15,5 @@ Gem::Specification.new do |s|
15
15
  s.test_files = s.files.grep(%r{^spec/})
16
16
  s.require_paths = ["lib"]
17
17
 
18
- s.add_dependency('activerecord')
19
-
20
- s.add_development_dependency('rails', '~>3.1')
21
- s.add_development_dependency('rspec', '~>2.8')
22
- s.add_development_dependency('rspec-rails', '~>2.8')
23
- s.add_development_dependency('sqlite3')
18
+ s.add_dependency('activerecord', '>=2.3')
24
19
  end
@@ -0,0 +1,16 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Runtime dependencies
4
+ gem 'activerecord', '~>2.3.0'
5
+ gem 'i18n', '<0.7' # 0.7 no longer builds for Ruby 1.8.7
6
+ gem 'mysql2', '= 0.2.20'
7
+
8
+ # Development dependencies
9
+ gem 'rake', '=10.0.4'
10
+ gem 'database_cleaner', '~> 1.0.0'
11
+ gem 'rspec', '~> 1.3.0'
12
+ gem 'rspec_candy'
13
+ gem 'gemika'
14
+
15
+ # Gem under test
16
+ gem 'assignable_values', :path => '..'
@@ -0,0 +1,40 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ assignable_values (0.11.3)
5
+ activerecord (>= 2.3)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ activerecord (2.3.17)
11
+ activesupport (= 2.3.17)
12
+ activesupport (2.3.17)
13
+ database_cleaner (1.0.1)
14
+ gemika (0.3.2)
15
+ i18n (0.6.11)
16
+ mysql2 (0.2.20)
17
+ rake (10.0.4)
18
+ rspec (1.3.2)
19
+ rspec_candy (0.2.8)
20
+ rspec
21
+ sneaky-save
22
+ sneaky-save (0.0.2)
23
+ activerecord (>= 2.3.2)
24
+
25
+ PLATFORMS
26
+ ruby
27
+
28
+ DEPENDENCIES
29
+ activerecord (~> 2.3.0)
30
+ assignable_values!
31
+ database_cleaner (~> 1.0.0)
32
+ gemika
33
+ i18n (< 0.7)
34
+ mysql2 (= 0.2.20)
35
+ rake (= 10.0.4)
36
+ rspec (~> 1.3.0)
37
+ rspec_candy
38
+
39
+ BUNDLED WITH
40
+ 1.12.5
@@ -0,0 +1,16 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Runtime dependencies
4
+ gem 'activerecord', '~>3.2.0'
5
+ gem 'i18n', '<0.7'
6
+ gem 'mysql2', '= 0.3.17'
7
+
8
+ # Development dependencies
9
+ gem 'rake'
10
+ gem 'database_cleaner', '~> 1.0.0'
11
+ gem 'rspec', '~> 3.4'
12
+ gem 'rspec_candy'
13
+ gem 'gemika'
14
+
15
+ # Gem under test
16
+ gem 'assignable_values', :path => '..'
@@ -0,0 +1,65 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ assignable_values (0.11.3)
5
+ activerecord (>= 2.3)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ activemodel (3.2.22.5)
11
+ activesupport (= 3.2.22.5)
12
+ builder (~> 3.0.0)
13
+ activerecord (3.2.22.5)
14
+ activemodel (= 3.2.22.5)
15
+ activesupport (= 3.2.22.5)
16
+ arel (~> 3.0.2)
17
+ tzinfo (~> 0.3.29)
18
+ activesupport (3.2.22.5)
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
+ i18n (0.6.11)
27
+ multi_json (1.12.1)
28
+ mysql2 (0.3.17)
29
+ rake (10.0.3)
30
+ rspec (3.5.0)
31
+ rspec-core (~> 3.5.0)
32
+ rspec-expectations (~> 3.5.0)
33
+ rspec-mocks (~> 3.5.0)
34
+ rspec-core (3.5.4)
35
+ rspec-support (~> 3.5.0)
36
+ rspec-expectations (3.5.0)
37
+ diff-lcs (>= 1.2.0, < 2.0)
38
+ rspec-support (~> 3.5.0)
39
+ rspec-mocks (3.5.0)
40
+ diff-lcs (>= 1.2.0, < 2.0)
41
+ rspec-support (~> 3.5.0)
42
+ rspec-support (3.5.0)
43
+ rspec_candy (0.2.8)
44
+ rspec
45
+ sneaky-save
46
+ sneaky-save (0.0.4)
47
+ activerecord (>= 3.2.0)
48
+ tzinfo (0.3.52)
49
+
50
+ PLATFORMS
51
+ ruby
52
+
53
+ DEPENDENCIES
54
+ activerecord (~> 3.2.0)
55
+ assignable_values!
56
+ database_cleaner (~> 1.0.0)
57
+ gemika
58
+ i18n (< 0.7)
59
+ mysql2 (= 0.3.17)
60
+ rake
61
+ rspec (~> 3.4)
62
+ rspec_candy
63
+
64
+ BUNDLED WITH
65
+ 1.12.5
@@ -0,0 +1,16 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Runtime dependencies
4
+ gem 'activerecord', '~>4.2.0'
5
+ gem 'i18n', '~>0.7.0'
6
+ gem 'mysql2', '~> 0.3.17'
7
+
8
+ # Development dependencies
9
+ gem 'rake'
10
+ gem 'database_cleaner'
11
+ gem 'rspec', '~> 3.4'
12
+ gem 'rspec_candy'
13
+ gem 'gemika'
14
+
15
+ # Gem under test
16
+ gem 'assignable_values', :path => '..'