shoulda-matchers 3.0.1 → 3.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (112) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/.travis.yml +3 -3
  4. data/CONTRIBUTING.md +60 -28
  5. data/Gemfile +1 -0
  6. data/Gemfile.lock +15 -12
  7. data/NEWS.md +111 -0
  8. data/README.md +94 -6
  9. data/Rakefile +10 -8
  10. data/custom_plan.rb +88 -0
  11. data/gemfiles/4.0.0.gemfile +1 -0
  12. data/gemfiles/4.0.0.gemfile.lock +21 -18
  13. data/gemfiles/4.0.1.gemfile +1 -0
  14. data/gemfiles/4.0.1.gemfile.lock +21 -18
  15. data/gemfiles/4.1.gemfile +1 -0
  16. data/gemfiles/4.1.gemfile.lock +21 -18
  17. data/gemfiles/4.2.gemfile +1 -0
  18. data/gemfiles/4.2.gemfile.lock +24 -21
  19. data/lib/shoulda/matchers/action_controller/permit_matcher.rb +6 -11
  20. data/lib/shoulda/matchers/active_model.rb +10 -1
  21. data/lib/shoulda/matchers/active_model/allow_value_matcher.rb +258 -180
  22. data/lib/shoulda/matchers/active_model/allow_value_matcher/attribute_changed_value_error.rb +45 -0
  23. data/lib/shoulda/matchers/active_model/allow_value_matcher/attribute_does_not_exist_error.rb +23 -0
  24. data/lib/shoulda/matchers/active_model/allow_value_matcher/attribute_setter.rb +236 -0
  25. data/lib/shoulda/matchers/active_model/allow_value_matcher/attribute_setter_and_validator.rb +62 -0
  26. data/lib/shoulda/matchers/active_model/allow_value_matcher/attribute_setters.rb +40 -0
  27. data/lib/shoulda/matchers/active_model/allow_value_matcher/attribute_setters_and_validators.rb +48 -0
  28. data/lib/shoulda/matchers/active_model/allow_value_matcher/successful_check.rb +14 -0
  29. data/lib/shoulda/matchers/active_model/allow_value_matcher/successful_setting.rb +14 -0
  30. data/lib/shoulda/matchers/active_model/disallow_value_matcher.rb +34 -14
  31. data/lib/shoulda/matchers/active_model/helpers.rb +9 -17
  32. data/lib/shoulda/matchers/active_model/numericality_matchers/comparison_matcher.rb +13 -6
  33. data/lib/shoulda/matchers/active_model/numericality_matchers/even_number_matcher.rb +13 -2
  34. data/lib/shoulda/matchers/active_model/numericality_matchers/numeric_type_matcher.rb +19 -35
  35. data/lib/shoulda/matchers/active_model/numericality_matchers/odd_number_matcher.rb +13 -2
  36. data/lib/shoulda/matchers/active_model/numericality_matchers/only_integer_matcher.rb +12 -2
  37. data/lib/shoulda/matchers/active_model/qualifiers.rb +12 -0
  38. data/lib/shoulda/matchers/active_model/qualifiers/ignore_interference_by_writer.rb +101 -0
  39. data/lib/shoulda/matchers/active_model/qualifiers/ignoring_interference_by_writer.rb +21 -0
  40. data/lib/shoulda/matchers/active_model/validate_absence_of_matcher.rb +30 -32
  41. data/lib/shoulda/matchers/active_model/validate_acceptance_of_matcher.rb +5 -8
  42. data/lib/shoulda/matchers/active_model/validate_confirmation_of_matcher.rb +22 -22
  43. data/lib/shoulda/matchers/active_model/validate_exclusion_of_matcher.rb +27 -16
  44. data/lib/shoulda/matchers/active_model/validate_inclusion_of_matcher.rb +58 -15
  45. data/lib/shoulda/matchers/active_model/validate_length_of_matcher.rb +22 -12
  46. data/lib/shoulda/matchers/active_model/validate_numericality_of_matcher.rb +165 -87
  47. data/lib/shoulda/matchers/active_model/validate_presence_of_matcher.rb +7 -9
  48. data/lib/shoulda/matchers/active_model/validation_matcher.rb +111 -49
  49. data/lib/shoulda/matchers/active_model/validation_matcher/build_description.rb +60 -0
  50. data/lib/shoulda/matchers/active_model/validator.rb +71 -52
  51. data/lib/shoulda/matchers/active_record/define_enum_for_matcher.rb +19 -5
  52. data/lib/shoulda/matchers/active_record/validate_uniqueness_of_matcher.rb +450 -124
  53. data/lib/shoulda/matchers/util.rb +43 -0
  54. data/lib/shoulda/matchers/util/word_wrap.rb +59 -31
  55. data/lib/shoulda/matchers/version.rb +1 -1
  56. data/script/update_gem_in_all_appraisals +1 -1
  57. data/script/update_gems_in_all_appraisals +1 -1
  58. data/spec/acceptance/multiple_libraries_integration_spec.rb +5 -2
  59. data/spec/acceptance/rails_integration_spec.rb +6 -2
  60. data/spec/spec_helper.rb +1 -3
  61. data/spec/support/acceptance/helpers/step_helpers.rb +4 -1
  62. data/spec/support/tests/current_bundle.rb +21 -7
  63. data/spec/support/unit/active_record/create_table.rb +54 -0
  64. data/spec/support/unit/attribute.rb +47 -0
  65. data/spec/support/unit/capture.rb +6 -0
  66. data/spec/support/unit/change_value.rb +111 -0
  67. data/spec/support/unit/create_model_arguments/basic.rb +135 -0
  68. data/spec/support/unit/create_model_arguments/has_many.rb +15 -0
  69. data/spec/support/unit/create_model_arguments/uniqueness_matcher.rb +74 -0
  70. data/spec/support/unit/helpers/active_record_versions.rb +1 -1
  71. data/spec/support/unit/helpers/class_builder.rb +61 -47
  72. data/spec/support/unit/helpers/database_helpers.rb +5 -3
  73. data/spec/support/unit/helpers/model_builder.rb +77 -97
  74. data/spec/support/unit/helpers/validation_matcher_scenario_helpers.rb +44 -0
  75. data/spec/support/unit/load_environment.rb +12 -0
  76. data/spec/support/unit/matchers/fail_with_message_including_matcher.rb +2 -2
  77. data/spec/support/unit/matchers/fail_with_message_matcher.rb +12 -1
  78. data/spec/support/unit/model_creation_strategies/active_model.rb +111 -0
  79. data/spec/support/unit/model_creation_strategies/active_record.rb +77 -0
  80. data/spec/support/unit/model_creators.rb +19 -0
  81. data/spec/support/unit/model_creators/active_model.rb +39 -0
  82. data/spec/support/unit/model_creators/active_record.rb +43 -0
  83. data/spec/support/unit/model_creators/active_record/has_and_belongs_to_many.rb +95 -0
  84. data/spec/support/unit/model_creators/active_record/has_many.rb +67 -0
  85. data/spec/support/unit/model_creators/active_record/uniqueness_matcher.rb +42 -0
  86. data/spec/support/unit/model_creators/basic.rb +97 -0
  87. data/spec/support/unit/rails_application.rb +1 -1
  88. data/spec/support/unit/record_validating_confirmation_builder.rb +3 -7
  89. data/spec/support/unit/shared_examples/ignoring_interference_by_writer.rb +79 -0
  90. data/spec/support/unit/validation_matcher_scenario.rb +62 -0
  91. data/spec/unit/shoulda/matchers/active_model/allow_mass_assignment_of_matcher_spec.rb +4 -0
  92. data/spec/unit/shoulda/matchers/active_model/allow_value_matcher_spec.rb +575 -140
  93. data/spec/unit/shoulda/matchers/active_model/validate_absence_of_matcher_spec.rb +115 -15
  94. data/spec/unit/shoulda/matchers/active_model/validate_acceptance_of_matcher_spec.rb +42 -4
  95. data/spec/unit/shoulda/matchers/active_model/validate_confirmation_of_matcher_spec.rb +92 -6
  96. data/spec/unit/shoulda/matchers/active_model/validate_exclusion_of_matcher_spec.rb +122 -10
  97. data/spec/unit/shoulda/matchers/active_model/validate_inclusion_of_matcher_spec.rb +306 -58
  98. data/spec/unit/shoulda/matchers/active_model/validate_length_of_matcher_spec.rb +122 -3
  99. data/spec/unit/shoulda/matchers/active_model/validate_numericality_of_matcher_spec.rb +805 -131
  100. data/spec/unit/shoulda/matchers/active_model/validate_presence_of_matcher_spec.rb +196 -29
  101. data/spec/unit/shoulda/matchers/active_record/define_enum_for_matcher_spec.rb +82 -40
  102. data/spec/unit/shoulda/matchers/active_record/validate_uniqueness_of_matcher_spec.rb +600 -101
  103. data/spec/unit/shoulda/matchers/util/word_wrap_spec.rb +88 -33
  104. data/spec/unit_spec_helper.rb +10 -22
  105. data/zeus.json +11 -0
  106. metadata +64 -23
  107. data/lib/shoulda/matchers/active_model/strict_validator.rb +0 -51
  108. data/spec/support/unit/shared_examples/numerical_type_submatcher.rb +0 -15
  109. data/spec/unit/shoulda/matchers/active_model/numericality_matchers/comparison_matcher_spec.rb +0 -288
  110. data/spec/unit/shoulda/matchers/active_model/numericality_matchers/even_number_matcher_spec.rb +0 -100
  111. data/spec/unit/shoulda/matchers/active_model/numericality_matchers/odd_number_matcher_spec.rb +0 -100
  112. data/spec/unit/shoulda/matchers/active_model/numericality_matchers/only_integer_matcher_spec.rb +0 -100
data/Rakefile CHANGED
@@ -4,6 +4,7 @@ require 'rspec/core/rake_task'
4
4
  require 'appraisal'
5
5
  require_relative 'tasks/documentation'
6
6
  require_relative 'spec/support/tests/database'
7
+ require_relative 'spec/support/tests/current_bundle'
7
8
 
8
9
  RSpec::Core::RakeTask.new('spec:unit') do |t|
9
10
  t.ruby_opts = '-w -r ./spec/report_warnings'
@@ -20,18 +21,19 @@ RSpec::Core::RakeTask.new('spec:acceptance') do |t|
20
21
  end
21
22
 
22
23
  task :default do
23
- if ENV['BUNDLE_GEMFILE'] =~ /gemfiles/
24
- sh 'rake spec:unit'
25
- sh 'rake spec:acceptance'
24
+ if Tests::CurrentBundle.instance.appraisal_in_use?
25
+ sh 'rake spec:unit --trace'
26
+ sh 'rake spec:acceptance --trace'
26
27
  else
27
- Rake::Task['appraise'].invoke
28
+ if ENV['CI']
29
+ exec "appraisal install && appraisal rake --trace"
30
+ else
31
+ appraisal = Tests::CurrentBundle.instance.latest_appraisal
32
+ exec "appraisal install && appraisal #{appraisal} rake --trace"
33
+ end
28
34
  end
29
35
  end
30
36
 
31
- task :appraise do
32
- exec 'appraisal install && appraisal rake'
33
- end
34
-
35
37
  Shoulda::Matchers::DocumentationTasks.create
36
38
 
37
39
  task release: 'docs:publish_latest'
@@ -0,0 +1,88 @@
1
+ require 'zeus/rails'
2
+ require_relative 'spec/support/tests/current_bundle'
3
+
4
+ class CustomPlan < Zeus::Plan
5
+ def initialize
6
+ super
7
+ @rails_plan = Zeus::Rails.new
8
+ end
9
+
10
+ def boot
11
+ ENV['BUNDLE_GEMFILE'] = File.expand_path(
12
+ "../gemfiles/#{latest_appraisal}.gemfile",
13
+ __FILE__
14
+ )
15
+
16
+ require 'bundler/setup'
17
+
18
+ $LOAD_PATH << File.expand_path('../lib', __FILE__)
19
+ $LOAD_PATH << File.expand_path('../spec', __FILE__)
20
+
21
+ require_relative 'spec/support/unit/load_environment'
22
+ end
23
+
24
+ def after_fork
25
+ # @rails_plan.reconnect_activerecord
26
+ end
27
+
28
+ def test_environment
29
+ require_relative 'spec/unit_spec_helper'
30
+ end
31
+
32
+ def rspec
33
+ ARGV.replace(file_paths_to_run)
34
+ RSpec::Core::Runner.invoke
35
+ end
36
+
37
+ private
38
+
39
+ def latest_appraisal
40
+ current_bundle.latest_appraisal
41
+ end
42
+
43
+ def current_bundle
44
+ Tests::CurrentBundle.instance
45
+ end
46
+
47
+ def file_paths_to_run
48
+ if given_file_paths.empty?
49
+ ['spec/unit']
50
+ else
51
+ given_file_paths.map do |given_path|
52
+ determine_file_path_to_run(given_path)
53
+ end
54
+ end
55
+ end
56
+
57
+ def determine_file_path_to_run(given_rspec_argument)
58
+ expanded_file_path, location =
59
+ expand_rspec_argument(given_rspec_argument)
60
+
61
+ if File.exist?(expanded_file_path)
62
+ if location
63
+ expanded_file_path + location
64
+ else
65
+ expanded_file_path
66
+ end
67
+ else
68
+ given_rspec_argument
69
+ end
70
+ end
71
+
72
+ def expand_rspec_argument(rspec_argument)
73
+ match = rspec_argument.match(/\A(.+?)(:\d+|\[[\d:]+\])?\Z/)
74
+ file_path, location = match.captures
75
+ expanded_file_path = File.expand_path(
76
+ "../spec/unit/shoulda/matchers/#{file_path}",
77
+ __FILE__
78
+ )
79
+
80
+ [expanded_file_path, location]
81
+ end
82
+
83
+ def given_file_paths
84
+ ARGV
85
+ end
86
+ end
87
+
88
+ Zeus.plan = CustomPlan.new
@@ -8,6 +8,7 @@ gem "pry", :github => "pry/pry"
8
8
  gem "pry-byebug"
9
9
  gem "rake", "~> 10.0"
10
10
  gem "rspec", "~> 3.2"
11
+ gem "zeus"
11
12
  gem "yard"
12
13
  gem "redcarpet"
13
14
  gem "pygments.rb"
@@ -118,27 +118,27 @@ GEM
118
118
  rake (10.4.2)
119
119
  rdoc (4.2.0)
120
120
  redcarpet (3.3.2)
121
- rspec (3.3.0)
122
- rspec-core (~> 3.3.0)
123
- rspec-expectations (~> 3.3.0)
124
- rspec-mocks (~> 3.3.0)
125
- rspec-core (3.3.2)
126
- rspec-support (~> 3.3.0)
127
- rspec-expectations (3.3.1)
121
+ rspec (3.4.0)
122
+ rspec-core (~> 3.4.0)
123
+ rspec-expectations (~> 3.4.0)
124
+ rspec-mocks (~> 3.4.0)
125
+ rspec-core (3.4.1)
126
+ rspec-support (~> 3.4.0)
127
+ rspec-expectations (3.4.0)
128
128
  diff-lcs (>= 1.2.0, < 2.0)
129
- rspec-support (~> 3.3.0)
130
- rspec-mocks (3.3.2)
129
+ rspec-support (~> 3.4.0)
130
+ rspec-mocks (3.4.0)
131
131
  diff-lcs (>= 1.2.0, < 2.0)
132
- rspec-support (~> 3.3.0)
133
- rspec-rails (3.3.3)
132
+ rspec-support (~> 3.4.0)
133
+ rspec-rails (3.4.0)
134
134
  actionpack (>= 3.0, < 4.3)
135
135
  activesupport (>= 3.0, < 4.3)
136
136
  railties (>= 3.0, < 4.3)
137
- rspec-core (~> 3.3.0)
138
- rspec-expectations (~> 3.3.0)
139
- rspec-mocks (~> 3.3.0)
140
- rspec-support (~> 3.3.0)
141
- rspec-support (3.3.0)
137
+ rspec-core (~> 3.4.0)
138
+ rspec-expectations (~> 3.4.0)
139
+ rspec-mocks (~> 3.4.0)
140
+ rspec-support (~> 3.4.0)
141
+ rspec-support (3.4.1)
142
142
  sass (3.2.19)
143
143
  sass-rails (4.0.5)
144
144
  railties (>= 4.0.0, < 5.0)
@@ -171,12 +171,14 @@ GEM
171
171
  polyglot (>= 0.3.1)
172
172
  turbolinks (2.5.3)
173
173
  coffee-rails
174
- tzinfo (0.3.44)
174
+ tzinfo (0.3.46)
175
175
  uglifier (2.7.2)
176
176
  execjs (>= 0.3.0)
177
177
  json (>= 1.8.0)
178
178
  yajl-ruby (1.2.1)
179
179
  yard (0.8.7.6)
180
+ zeus (0.15.4)
181
+ method_source (>= 0.6.7)
180
182
 
181
183
  PLATFORMS
182
184
  ruby
@@ -215,6 +217,7 @@ DEPENDENCIES
215
217
  turbolinks
216
218
  uglifier (>= 1.3.0)
217
219
  yard
220
+ zeus
218
221
 
219
222
  BUNDLED WITH
220
- 1.10.6
223
+ 1.11.1
@@ -8,6 +8,7 @@ gem "pry", :github => "pry/pry"
8
8
  gem "pry-byebug"
9
9
  gem "rake", "~> 10.0"
10
10
  gem "rspec", "~> 3.2"
11
+ gem "zeus"
11
12
  gem "yard"
12
13
  gem "redcarpet"
13
14
  gem "pygments.rb"
@@ -120,27 +120,27 @@ GEM
120
120
  rake (10.4.2)
121
121
  rdoc (4.2.0)
122
122
  redcarpet (3.3.2)
123
- rspec (3.3.0)
124
- rspec-core (~> 3.3.0)
125
- rspec-expectations (~> 3.3.0)
126
- rspec-mocks (~> 3.3.0)
127
- rspec-core (3.3.2)
128
- rspec-support (~> 3.3.0)
129
- rspec-expectations (3.3.1)
123
+ rspec (3.4.0)
124
+ rspec-core (~> 3.4.0)
125
+ rspec-expectations (~> 3.4.0)
126
+ rspec-mocks (~> 3.4.0)
127
+ rspec-core (3.4.1)
128
+ rspec-support (~> 3.4.0)
129
+ rspec-expectations (3.4.0)
130
130
  diff-lcs (>= 1.2.0, < 2.0)
131
- rspec-support (~> 3.3.0)
132
- rspec-mocks (3.3.2)
131
+ rspec-support (~> 3.4.0)
132
+ rspec-mocks (3.4.0)
133
133
  diff-lcs (>= 1.2.0, < 2.0)
134
- rspec-support (~> 3.3.0)
135
- rspec-rails (3.3.3)
134
+ rspec-support (~> 3.4.0)
135
+ rspec-rails (3.4.0)
136
136
  actionpack (>= 3.0, < 4.3)
137
137
  activesupport (>= 3.0, < 4.3)
138
138
  railties (>= 3.0, < 4.3)
139
- rspec-core (~> 3.3.0)
140
- rspec-expectations (~> 3.3.0)
141
- rspec-mocks (~> 3.3.0)
142
- rspec-support (~> 3.3.0)
143
- rspec-support (3.3.0)
139
+ rspec-core (~> 3.4.0)
140
+ rspec-expectations (~> 3.4.0)
141
+ rspec-mocks (~> 3.4.0)
142
+ rspec-support (~> 3.4.0)
143
+ rspec-support (3.4.1)
144
144
  sass (3.2.19)
145
145
  sass-rails (4.0.5)
146
146
  railties (>= 4.0.0, < 5.0)
@@ -173,12 +173,14 @@ GEM
173
173
  polyglot (>= 0.3.1)
174
174
  turbolinks (2.5.3)
175
175
  coffee-rails
176
- tzinfo (0.3.44)
176
+ tzinfo (0.3.46)
177
177
  uglifier (2.7.2)
178
178
  execjs (>= 0.3.0)
179
179
  json (>= 1.8.0)
180
180
  yajl-ruby (1.2.1)
181
181
  yard (0.8.7.6)
182
+ zeus (0.15.4)
183
+ method_source (>= 0.6.7)
182
184
 
183
185
  PLATFORMS
184
186
  ruby
@@ -217,6 +219,7 @@ DEPENDENCIES
217
219
  turbolinks
218
220
  uglifier (>= 1.3.0)
219
221
  yard
222
+ zeus
220
223
 
221
224
  BUNDLED WITH
222
- 1.10.6
225
+ 1.11.1
@@ -8,6 +8,7 @@ gem "pry", :github => "pry/pry"
8
8
  gem "pry-byebug"
9
9
  gem "rake", "~> 10.0"
10
10
  gem "rspec", "~> 3.2"
11
+ gem "zeus"
11
12
  gem "yard"
12
13
  gem "redcarpet"
13
14
  gem "pygments.rb"
@@ -76,7 +76,7 @@ GEM
76
76
  mime-types (>= 1.16, < 3)
77
77
  method_source (0.8.2)
78
78
  mime-types (2.6.2)
79
- minitest (5.8.1)
79
+ minitest (5.8.3)
80
80
  minitest-reporters (1.1.2)
81
81
  ansi
82
82
  builder
@@ -116,27 +116,27 @@ GEM
116
116
  rake (10.4.2)
117
117
  rdoc (4.2.0)
118
118
  redcarpet (3.3.2)
119
- rspec (3.3.0)
120
- rspec-core (~> 3.3.0)
121
- rspec-expectations (~> 3.3.0)
122
- rspec-mocks (~> 3.3.0)
123
- rspec-core (3.3.2)
124
- rspec-support (~> 3.3.0)
125
- rspec-expectations (3.3.1)
119
+ rspec (3.4.0)
120
+ rspec-core (~> 3.4.0)
121
+ rspec-expectations (~> 3.4.0)
122
+ rspec-mocks (~> 3.4.0)
123
+ rspec-core (3.4.1)
124
+ rspec-support (~> 3.4.0)
125
+ rspec-expectations (3.4.0)
126
126
  diff-lcs (>= 1.2.0, < 2.0)
127
- rspec-support (~> 3.3.0)
128
- rspec-mocks (3.3.2)
127
+ rspec-support (~> 3.4.0)
128
+ rspec-mocks (3.4.0)
129
129
  diff-lcs (>= 1.2.0, < 2.0)
130
- rspec-support (~> 3.3.0)
131
- rspec-rails (3.3.3)
130
+ rspec-support (~> 3.4.0)
131
+ rspec-rails (3.4.0)
132
132
  actionpack (>= 3.0, < 4.3)
133
133
  activesupport (>= 3.0, < 4.3)
134
134
  railties (>= 3.0, < 4.3)
135
- rspec-core (~> 3.3.0)
136
- rspec-expectations (~> 3.3.0)
137
- rspec-mocks (~> 3.3.0)
138
- rspec-support (~> 3.3.0)
139
- rspec-support (3.3.0)
135
+ rspec-core (~> 3.4.0)
136
+ rspec-expectations (~> 3.4.0)
137
+ rspec-mocks (~> 3.4.0)
138
+ rspec-support (~> 3.4.0)
139
+ rspec-support (3.4.1)
140
140
  ruby-progressbar (1.7.5)
141
141
  sass (3.2.19)
142
142
  sass-rails (4.0.5)
@@ -174,6 +174,8 @@ GEM
174
174
  json (>= 1.8.0)
175
175
  yajl-ruby (1.2.1)
176
176
  yard (0.8.7.6)
177
+ zeus (0.15.4)
178
+ method_source (>= 0.6.7)
177
179
 
178
180
  PLATFORMS
179
181
  ruby
@@ -212,6 +214,7 @@ DEPENDENCIES
212
214
  turbolinks
213
215
  uglifier (>= 1.3.0)
214
216
  yard
217
+ zeus
215
218
 
216
219
  BUNDLED WITH
217
- 1.10.6
220
+ 1.11.1
@@ -8,6 +8,7 @@ gem "pry", :github => "pry/pry"
8
8
  gem "pry-byebug"
9
9
  gem "rake", "~> 10.0"
10
10
  gem "rspec", "~> 3.2"
11
+ gem "zeus"
11
12
  gem "yard"
12
13
  gem "redcarpet"
13
14
  gem "pygments.rb"
@@ -89,16 +89,16 @@ GEM
89
89
  mime-types (>= 1.16, < 3)
90
90
  method_source (0.8.2)
91
91
  mime-types (2.6.2)
92
- mini_portile (0.6.2)
93
- minitest (5.8.1)
92
+ mini_portile2 (2.0.0)
93
+ minitest (5.8.3)
94
94
  minitest-reporters (1.1.2)
95
95
  ansi
96
96
  builder
97
97
  minitest (>= 5.0)
98
98
  ruby-progressbar
99
99
  multi_json (1.11.2)
100
- nokogiri (1.6.6.2)
101
- mini_portile (~> 0.6.0)
100
+ nokogiri (1.6.7.1)
101
+ mini_portile2 (~> 2.0.0.rc2)
102
102
  pg (0.18.3)
103
103
  posix-spawn (0.3.11)
104
104
  protected_attributes (1.0.9)
@@ -141,27 +141,27 @@ GEM
141
141
  rake (10.4.2)
142
142
  rdoc (4.2.0)
143
143
  redcarpet (3.3.2)
144
- rspec (3.3.0)
145
- rspec-core (~> 3.3.0)
146
- rspec-expectations (~> 3.3.0)
147
- rspec-mocks (~> 3.3.0)
148
- rspec-core (3.3.2)
149
- rspec-support (~> 3.3.0)
150
- rspec-expectations (3.3.1)
144
+ rspec (3.4.0)
145
+ rspec-core (~> 3.4.0)
146
+ rspec-expectations (~> 3.4.0)
147
+ rspec-mocks (~> 3.4.0)
148
+ rspec-core (3.4.1)
149
+ rspec-support (~> 3.4.0)
150
+ rspec-expectations (3.4.0)
151
151
  diff-lcs (>= 1.2.0, < 2.0)
152
- rspec-support (~> 3.3.0)
153
- rspec-mocks (3.3.2)
152
+ rspec-support (~> 3.4.0)
153
+ rspec-mocks (3.4.0)
154
154
  diff-lcs (>= 1.2.0, < 2.0)
155
- rspec-support (~> 3.3.0)
156
- rspec-rails (3.3.3)
155
+ rspec-support (~> 3.4.0)
156
+ rspec-rails (3.4.0)
157
157
  actionpack (>= 3.0, < 4.3)
158
158
  activesupport (>= 3.0, < 4.3)
159
159
  railties (>= 3.0, < 4.3)
160
- rspec-core (~> 3.3.0)
161
- rspec-expectations (~> 3.3.0)
162
- rspec-mocks (~> 3.3.0)
163
- rspec-support (~> 3.3.0)
164
- rspec-support (3.3.0)
160
+ rspec-core (~> 3.4.0)
161
+ rspec-expectations (~> 3.4.0)
162
+ rspec-mocks (~> 3.4.0)
163
+ rspec-support (~> 3.4.0)
164
+ rspec-support (3.4.1)
165
165
  ruby-progressbar (1.7.5)
166
166
  sass (3.4.18)
167
167
  sass-rails (5.0.4)
@@ -197,6 +197,8 @@ GEM
197
197
  json (>= 1.8.0)
198
198
  yajl-ruby (1.2.1)
199
199
  yard (0.8.7.6)
200
+ zeus (0.15.4)
201
+ method_source (>= 0.6.7)
200
202
 
201
203
  PLATFORMS
202
204
  ruby
@@ -235,6 +237,7 @@ DEPENDENCIES
235
237
  turbolinks
236
238
  uglifier (>= 1.3.0)
237
239
  yard
240
+ zeus
238
241
 
239
242
  BUNDLED WITH
240
- 1.10.6
243
+ 1.11.1