shoulda-matchers 2.8.0 → 3.0.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (171) hide show
  1. checksums.yaml +4 -4
  2. data/.hound_config/ruby.yml +7 -0
  3. data/.travis.yml +11 -54
  4. data/Appraisals +45 -100
  5. data/CONTRIBUTING.md +51 -7
  6. data/Gemfile +7 -19
  7. data/Gemfile.lock +60 -134
  8. data/Guardfile +5 -0
  9. data/NEWS.md +203 -0
  10. data/README.md +95 -50
  11. data/Rakefile +1 -0
  12. data/doc_config/yard/templates/default/layout/html/setup.rb +1 -1
  13. data/gemfiles/4.0.0.gemfile +10 -7
  14. data/gemfiles/4.0.0.gemfile.lock +103 -79
  15. data/gemfiles/4.0.1.gemfile +10 -7
  16. data/gemfiles/4.0.1.gemfile.lock +109 -83
  17. data/gemfiles/4.1.gemfile +10 -7
  18. data/gemfiles/4.1.gemfile.lock +109 -85
  19. data/gemfiles/4.2.gemfile +10 -9
  20. data/gemfiles/4.2.gemfile.lock +86 -78
  21. data/lib/shoulda/matchers.rb +13 -18
  22. data/lib/shoulda/matchers/action_controller.rb +4 -1
  23. data/lib/shoulda/matchers/action_controller/flash_store.rb +95 -0
  24. data/lib/shoulda/matchers/action_controller/{strong_parameters_matcher.rb → permit_matcher.rb} +147 -30
  25. data/lib/shoulda/matchers/action_controller/redirect_to_matcher.rb +1 -1
  26. data/lib/shoulda/matchers/action_controller/render_template_matcher.rb +1 -1
  27. data/lib/shoulda/matchers/action_controller/render_with_layout_matcher.rb +1 -1
  28. data/lib/shoulda/matchers/action_controller/rescue_from_matcher.rb +1 -1
  29. data/lib/shoulda/matchers/action_controller/route_matcher.rb +5 -1
  30. data/lib/shoulda/matchers/action_controller/route_params.rb +15 -6
  31. data/lib/shoulda/matchers/action_controller/session_store.rb +34 -0
  32. data/lib/shoulda/matchers/action_controller/set_flash_matcher.rb +30 -136
  33. data/lib/shoulda/matchers/action_controller/set_session_matcher.rb +28 -109
  34. data/lib/shoulda/matchers/action_controller/set_session_or_flash_matcher.rb +103 -0
  35. data/lib/shoulda/matchers/active_model/allow_mass_assignment_of_matcher.rb +1 -12
  36. data/lib/shoulda/matchers/active_model/allow_value_matcher.rb +79 -10
  37. data/lib/shoulda/matchers/active_model/numericality_matchers/numeric_type_matcher.rb +10 -0
  38. data/lib/shoulda/matchers/active_model/validate_absence_of_matcher.rb +21 -0
  39. data/lib/shoulda/matchers/active_model/validate_acceptance_of_matcher.rb +24 -0
  40. data/lib/shoulda/matchers/active_model/validate_confirmation_of_matcher.rb +22 -5
  41. data/lib/shoulda/matchers/active_model/validate_exclusion_of_matcher.rb +29 -10
  42. data/lib/shoulda/matchers/active_model/validate_inclusion_of_matcher.rb +27 -10
  43. data/lib/shoulda/matchers/active_model/validate_length_of_matcher.rb +27 -12
  44. data/lib/shoulda/matchers/active_model/validate_numericality_of_matcher.rb +56 -20
  45. data/lib/shoulda/matchers/active_model/validate_presence_of_matcher.rb +3 -11
  46. data/lib/shoulda/matchers/active_model/validation_message_finder.rb +65 -0
  47. data/lib/shoulda/matchers/active_record/association_matcher.rb +40 -6
  48. data/lib/shoulda/matchers/active_record/association_matchers/join_table_matcher.rb +21 -7
  49. data/lib/shoulda/matchers/active_record/association_matchers/model_reflection.rb +11 -40
  50. data/lib/shoulda/matchers/active_record/association_matchers/model_reflector.rb +1 -1
  51. data/lib/shoulda/matchers/active_record/define_enum_for_matcher.rb +2 -6
  52. data/lib/shoulda/matchers/active_record/validate_uniqueness_of_matcher.rb +137 -22
  53. data/lib/shoulda/matchers/configuration.rb +20 -0
  54. data/lib/shoulda/matchers/doublespeak.rb +11 -1
  55. data/lib/shoulda/matchers/doublespeak/double.rb +29 -11
  56. data/lib/shoulda/matchers/doublespeak/double_collection.rb +4 -3
  57. data/lib/shoulda/matchers/doublespeak/method_call.rb +35 -0
  58. data/lib/shoulda/matchers/doublespeak/object_double.rb +7 -2
  59. data/lib/shoulda/matchers/doublespeak/proxy_implementation.rb +4 -3
  60. data/lib/shoulda/matchers/doublespeak/stub_implementation.rb +3 -3
  61. data/lib/shoulda/matchers/doublespeak/world.rb +21 -1
  62. data/lib/shoulda/matchers/integrations.rb +43 -0
  63. data/lib/shoulda/matchers/integrations/configuration.rb +68 -0
  64. data/lib/shoulda/matchers/integrations/configuration_error.rb +9 -0
  65. data/lib/shoulda/matchers/integrations/inclusion.rb +20 -0
  66. data/lib/shoulda/matchers/integrations/libraries.rb +15 -0
  67. data/lib/shoulda/matchers/integrations/libraries/action_controller.rb +31 -0
  68. data/lib/shoulda/matchers/integrations/libraries/active_model.rb +26 -0
  69. data/lib/shoulda/matchers/integrations/libraries/active_record.rb +26 -0
  70. data/lib/shoulda/matchers/integrations/libraries/missing_library.rb +19 -0
  71. data/lib/shoulda/matchers/integrations/libraries/rails.rb +30 -0
  72. data/lib/shoulda/matchers/integrations/rails.rb +12 -0
  73. data/lib/shoulda/matchers/integrations/registry.rb +28 -0
  74. data/lib/shoulda/matchers/integrations/test_frameworks.rb +16 -0
  75. data/lib/shoulda/matchers/integrations/test_frameworks/active_support_test_case.rb +37 -0
  76. data/lib/shoulda/matchers/integrations/test_frameworks/minitest_4.rb +36 -0
  77. data/lib/shoulda/matchers/integrations/test_frameworks/minitest_5.rb +37 -0
  78. data/lib/shoulda/matchers/integrations/test_frameworks/missing_test_framework.rb +40 -0
  79. data/lib/shoulda/matchers/integrations/test_frameworks/rspec.rb +29 -0
  80. data/lib/shoulda/matchers/integrations/test_frameworks/test_unit.rb +36 -0
  81. data/lib/shoulda/matchers/rails_shim.rb +0 -40
  82. data/lib/shoulda/matchers/version.rb +1 -1
  83. data/script/SUPPORTED_VERSIONS +1 -1
  84. data/script/update_gems_in_all_appraisals +14 -0
  85. data/shoulda-matchers.gemspec +2 -2
  86. data/spec/acceptance/active_model_integration_spec.rb +4 -1
  87. data/spec/acceptance/independent_matchers_spec.rb +6 -6
  88. data/spec/acceptance/multiple_libraries_integration_spec.rb +52 -0
  89. data/spec/acceptance/rails_integration_spec.rb +15 -5
  90. data/spec/acceptance_spec_helper.rb +8 -0
  91. data/spec/doublespeak_spec_helper.rb +14 -0
  92. data/spec/support/acceptance/adds_shoulda_matchers_to_project.rb +110 -0
  93. data/spec/support/acceptance/helpers.rb +2 -0
  94. data/spec/support/acceptance/helpers/base_helpers.rb +6 -1
  95. data/spec/support/acceptance/helpers/command_helpers.rb +6 -2
  96. data/spec/support/acceptance/helpers/minitest_helpers.rb +0 -8
  97. data/spec/support/acceptance/helpers/n_unit_helpers.rb +25 -0
  98. data/spec/support/acceptance/helpers/rspec_helpers.rb +2 -0
  99. data/spec/support/acceptance/helpers/step_helpers.rb +13 -19
  100. data/spec/support/acceptance/matchers/have_output.rb +1 -1
  101. data/spec/support/tests/bundle.rb +1 -1
  102. data/spec/support/tests/command_runner.rb +25 -13
  103. data/spec/support/tests/current_bundle.rb +47 -0
  104. data/spec/support/tests/database.rb +28 -0
  105. data/spec/support/tests/database_adapters/postgresql.rb +25 -0
  106. data/spec/support/tests/database_adapters/sqlite3.rb +26 -0
  107. data/spec/support/tests/database_configuration.rb +33 -0
  108. data/spec/support/tests/database_configuration_registry.rb +28 -0
  109. data/spec/support/tests/filesystem.rb +25 -2
  110. data/spec/support/unit/helpers/active_record_versions.rb +12 -0
  111. data/spec/support/unit/helpers/class_builder.rb +6 -2
  112. data/spec/support/unit/helpers/column_type_helpers.rb +26 -0
  113. data/spec/support/unit/helpers/controller_builder.rb +0 -28
  114. data/spec/support/unit/helpers/database_helpers.rb +18 -0
  115. data/spec/support/unit/helpers/model_builder.rb +38 -6
  116. data/spec/support/unit/helpers/rails_versions.rb +2 -2
  117. data/spec/support/unit/matchers/fail_with_message_including_matcher.rb +9 -8
  118. data/spec/support/unit/matchers/fail_with_message_matcher.rb +1 -1
  119. data/spec/support/unit/rails_application.rb +29 -13
  120. data/spec/support/unit/record_validating_confirmation_builder.rb +1 -2
  121. data/spec/support/unit/shared_examples/set_session_or_flash.rb +355 -0
  122. data/spec/unit/shoulda/matchers/action_controller/permit_matcher_spec.rb +433 -0
  123. data/spec/unit/shoulda/matchers/action_controller/render_with_layout_matcher_spec.rb +1 -5
  124. data/spec/unit/shoulda/matchers/action_controller/route_matcher_spec.rb +37 -0
  125. data/spec/unit/shoulda/matchers/action_controller/set_flash_matcher_spec.rb +23 -147
  126. data/spec/unit/shoulda/matchers/action_controller/set_session_matcher_spec.rb +8 -285
  127. data/spec/unit/shoulda/matchers/action_controller/set_session_or_flash_matcher_spec.rb +562 -0
  128. data/spec/unit/shoulda/matchers/active_model/allow_value_matcher_spec.rb +81 -14
  129. data/spec/unit/shoulda/matchers/active_model/disallow_value_matcher_spec.rb +16 -8
  130. data/spec/unit/shoulda/matchers/active_model/numericality_matchers/comparison_matcher_spec.rb +101 -9
  131. data/spec/unit/shoulda/matchers/active_model/numericality_matchers/even_number_matcher_spec.rb +39 -1
  132. data/spec/unit/shoulda/matchers/active_model/numericality_matchers/odd_number_matcher_spec.rb +39 -1
  133. data/spec/unit/shoulda/matchers/active_model/numericality_matchers/only_integer_matcher_spec.rb +39 -0
  134. data/spec/unit/shoulda/matchers/active_model/validate_exclusion_of_matcher_spec.rb +0 -17
  135. data/spec/unit/shoulda/matchers/active_model/validate_inclusion_of_matcher_spec.rb +0 -17
  136. data/spec/unit/shoulda/matchers/active_model/validate_length_of_matcher_spec.rb +0 -17
  137. data/spec/unit/shoulda/matchers/active_model/validate_numericality_of_matcher_spec.rb +838 -271
  138. data/spec/unit/shoulda/matchers/active_model/validate_presence_of_matcher_spec.rb +0 -19
  139. data/spec/unit/shoulda/matchers/active_record/association_matcher_spec.rb +93 -0
  140. data/spec/unit/shoulda/matchers/active_record/association_matchers/model_reflection_spec.rb +3 -3
  141. data/spec/unit/shoulda/matchers/active_record/define_enum_for_matcher_spec.rb +25 -0
  142. data/spec/unit/shoulda/matchers/active_record/validate_uniqueness_of_matcher_spec.rb +905 -0
  143. data/spec/unit/shoulda/matchers/doublespeak/double_collection_spec.rb +17 -11
  144. data/spec/unit/shoulda/matchers/doublespeak/double_implementation_registry_spec.rb +1 -1
  145. data/spec/unit/shoulda/matchers/doublespeak/double_spec.rb +144 -43
  146. data/spec/unit/shoulda/matchers/doublespeak/object_double_spec.rb +1 -1
  147. data/spec/unit/shoulda/matchers/doublespeak/proxy_implementation_spec.rb +36 -11
  148. data/spec/unit/shoulda/matchers/doublespeak/stub_implementation_spec.rb +29 -16
  149. data/spec/unit/shoulda/matchers/doublespeak/world_spec.rb +8 -5
  150. data/spec/unit/shoulda/matchers/doublespeak_spec.rb +1 -1
  151. data/spec/unit_spec_helper.rb +15 -14
  152. data/spec/warnings_spy.rb +1 -1
  153. metadata +68 -29
  154. data/docs.watchr +0 -5
  155. data/gemfiles/3.0.gemfile +0 -26
  156. data/gemfiles/3.0.gemfile.lock +0 -173
  157. data/gemfiles/3.1.gemfile +0 -32
  158. data/gemfiles/3.1.gemfile.lock +0 -212
  159. data/gemfiles/3.1_1.9.2.gemfile +0 -32
  160. data/gemfiles/3.1_1.9.2.gemfile.lock +0 -212
  161. data/gemfiles/3.2.gemfile +0 -33
  162. data/gemfiles/3.2.gemfile.lock +0 -212
  163. data/gemfiles/3.2_1.9.2.gemfile +0 -31
  164. data/gemfiles/3.2_1.9.2.gemfile.lock +0 -207
  165. data/lib/shoulda/matchers/assertion_error.rb +0 -27
  166. data/lib/shoulda/matchers/doublespeak/structs.rb +0 -10
  167. data/lib/shoulda/matchers/integrations/nunit_test_case_detection.rb +0 -39
  168. data/lib/shoulda/matchers/integrations/rspec.rb +0 -19
  169. data/lib/shoulda/matchers/integrations/test_unit.rb +0 -34
  170. data/spec/unit/shoulda/matchers/action_controller/strong_parameters_matcher_spec.rb +0 -331
  171. data/spec/unit/shoulda/matchers/active_model/validate_uniqueness_of_matcher_spec.rb +0 -564
@@ -3,19 +3,21 @@
3
3
  source "https://rubygems.org"
4
4
 
5
5
  gem "appraisal", "~> 1.0"
6
- gem "aruba"
7
- gem "bourne", "~> 1.3"
8
6
  gem "bundler", "~> 1.1"
9
- gem "pry-nav"
10
- gem "rails", "~> 4.1.0"
11
- gem "rake", ">= 0.9.2"
12
- gem "rspec-rails", "~> 3.0.1"
7
+ gem "pry", :github => "pry/pry"
8
+ gem "pry-byebug"
9
+ gem "rake", "~> 10.0"
10
+ gem "rspec-core", ">= 3.2.0", "< 4"
11
+ gem "rspec-expectations", ">= 3.2.0", "< 4"
13
12
  gem "yard"
14
13
  gem "redcarpet"
15
14
  gem "pygments.rb"
16
- gem "watchr"
15
+ gem "guard"
16
+ gem "guard-yard"
17
+ gem "rspec-rails", ">= 3.2.0", "< 4"
17
18
  gem "shoulda-context", "~> 1.2.0"
18
19
  gem "sqlite3", :platform => :ruby
20
+ gem "pg", :platform => :ruby
19
21
  gem "activerecord-jdbc-adapter", :platform => :jruby
20
22
  gem "activerecord-jdbcsqlite3-adapter", :platform => :jruby
21
23
  gem "jdbc-sqlite3", :platform => :jruby
@@ -31,6 +33,7 @@ gem "sdoc", "~> 0.4.0"
31
33
  gem "activeresource", "4.0.0"
32
34
  gem "protected_attributes", "~> 1.0.6"
33
35
  gem "minitest-reporters"
36
+ gem "rails", "~> 4.1.0"
34
37
  gem "jbuilder", "~> 2.0"
35
38
  gem "sass-rails", "~> 4.0.3"
36
39
  gem "bcrypt", "~> 3.1.7"
@@ -1,3 +1,12 @@
1
+ GIT
2
+ remote: git://github.com/pry/pry.git
3
+ revision: f0cbec507111743fdbc273735ea4f0f6164a5b21
4
+ specs:
5
+ pry (0.10.1)
6
+ coderay (~> 1.1.0)
7
+ method_source (~> 0.8.1)
8
+ slop (~> 3.4)
9
+
1
10
  GEM
2
11
  remote: https://rubygems.org/
3
12
  specs:
@@ -31,80 +40,86 @@ GEM
31
40
  minitest (~> 5.1)
32
41
  thread_safe (~> 0.1)
33
42
  tzinfo (~> 1.1)
34
- ansi (1.4.3)
43
+ ansi (1.5.0)
35
44
  appraisal (1.0.2)
36
45
  bundler
37
46
  rake
38
47
  thor (>= 0.14.0)
39
48
  arel (5.0.1.20140414130214)
40
- aruba (0.6.0)
41
- childprocess (>= 0.3.6)
42
- cucumber (>= 1.1.1)
43
- rspec-expectations (>= 2.7.0)
44
- bcrypt (3.1.7)
45
- bourne (1.5.0)
46
- mocha (>= 0.13.2, < 0.15)
49
+ bcrypt (3.1.10)
47
50
  builder (3.2.2)
48
- childprocess (0.5.3)
49
- ffi (~> 1.0, >= 1.0.11)
51
+ byebug (4.0.4)
52
+ columnize (= 0.9.0)
53
+ celluloid (0.16.0)
54
+ timers (~> 4.0.0)
50
55
  coderay (1.1.0)
51
56
  coffee-rails (4.0.1)
52
57
  coffee-script (>= 2.2.0)
53
58
  railties (>= 4.0.0, < 5.0)
54
- coffee-script (2.2.0)
59
+ coffee-script (2.3.0)
55
60
  coffee-script-source
56
61
  execjs
57
- coffee-script-source (1.7.0)
58
- cucumber (1.3.16)
59
- builder (>= 2.1.2)
60
- diff-lcs (>= 1.1.3)
61
- gherkin (~> 2.12)
62
- multi_json (>= 1.7.5, < 2.0)
63
- multi_test (>= 0.1.1)
62
+ coffee-script-source (1.9.0)
63
+ columnize (0.9.0)
64
64
  diff-lcs (1.2.5)
65
65
  erubis (2.7.0)
66
- execjs (2.0.2)
67
- ffi (1.9.3)
68
- gherkin (2.12.2)
69
- multi_json (~> 1.3)
66
+ execjs (2.3.0)
67
+ ffi (1.9.8)
68
+ formatador (0.2.5)
69
+ guard (2.12.5)
70
+ formatador (>= 0.2.4)
71
+ listen (~> 2.7)
72
+ lumberjack (~> 1.0)
73
+ nenv (~> 0.1)
74
+ notiffany (~> 0.0)
75
+ pry (>= 0.9.12)
76
+ shellany (~> 0.0)
77
+ thor (>= 0.18.1)
78
+ guard-yard (2.1.4)
79
+ guard (>= 1.1.0)
80
+ yard (>= 0.7.0)
70
81
  hike (1.2.3)
71
- i18n (0.6.11)
72
- jbuilder (2.0.6)
82
+ hitimes (1.2.2)
83
+ i18n (0.7.0)
84
+ jbuilder (2.2.6)
73
85
  activesupport (>= 3.0.0, < 5)
74
86
  multi_json (~> 1.2)
75
- jquery-rails (3.1.0)
87
+ jquery-rails (3.1.2)
76
88
  railties (>= 3.0, < 5.0)
77
89
  thor (>= 0.14, < 2.0)
78
- json (1.8.1)
90
+ json (1.8.2)
91
+ listen (2.10.0)
92
+ celluloid (~> 0.16.0)
93
+ rb-fsevent (>= 0.9.3)
94
+ rb-inotify (>= 0.9)
95
+ lumberjack (1.0.9)
79
96
  mail (2.6.3)
80
97
  mime-types (>= 1.16, < 3)
81
- metaclass (0.0.2)
82
98
  method_source (0.8.2)
83
99
  mime-types (2.4.3)
84
- minitest (5.4.2)
85
- minitest-reporters (1.0.5)
100
+ minitest (5.5.1)
101
+ minitest-reporters (1.0.10)
86
102
  ansi
87
103
  builder
88
104
  minitest (>= 5.0)
89
105
  ruby-progressbar
90
- mocha (0.14.0)
91
- metaclass (~> 0.0.1)
92
106
  multi_json (1.10.1)
93
- multi_test (0.1.1)
94
- posix-spawn (0.3.8)
95
- protected_attributes (1.0.7)
107
+ nenv (0.2.0)
108
+ notiffany (0.0.6)
109
+ nenv (~> 0.1)
110
+ shellany (~> 0.0)
111
+ pg (0.18.1)
112
+ posix-spawn (0.3.9)
113
+ protected_attributes (1.0.8)
96
114
  activemodel (>= 4.0.1, < 5.0)
97
- pry (0.10.1)
98
- coderay (~> 1.1.0)
99
- method_source (~> 0.8.1)
100
- slop (~> 3.4)
101
- pry-nav (0.2.4)
102
- pry (>= 0.9.10, < 0.11.0)
103
- pygments.rb (0.6.0)
115
+ pry-byebug (3.1.0)
116
+ byebug (~> 4.0)
117
+ pry (~> 0.10)
118
+ pygments.rb (0.6.2)
104
119
  posix-spawn (~> 0.3.6)
105
- yajl-ruby (~> 1.1.0)
120
+ yajl-ruby (~> 1.2.0)
106
121
  rack (1.5.2)
107
- rack-test (0.6.2)
122
+ rack-test (0.6.3)
108
123
  rack (>= 1.0)
109
124
  rails (4.1.7)
110
125
  actionmailer (= 4.1.7)
@@ -123,64 +138,70 @@ GEM
123
138
  activesupport (= 4.1.7)
124
139
  rake (>= 0.8.7)
125
140
  thor (>= 0.18.1, < 2.0)
126
- rake (10.3.2)
127
- rdoc (4.1.1)
141
+ rake (10.4.2)
142
+ rb-fsevent (0.9.4)
143
+ rb-inotify (0.9.5)
144
+ ffi (>= 0.5.0)
145
+ rdoc (4.2.0)
128
146
  json (~> 1.4)
129
- redcarpet (3.1.2)
130
- rspec-core (3.0.3)
131
- rspec-support (~> 3.0.0)
132
- rspec-expectations (3.0.3)
147
+ redcarpet (3.2.2)
148
+ rspec-core (3.2.0)
149
+ rspec-support (~> 3.2.0)
150
+ rspec-expectations (3.2.0)
133
151
  diff-lcs (>= 1.2.0, < 2.0)
134
- rspec-support (~> 3.0.0)
135
- rspec-mocks (3.0.3)
136
- rspec-support (~> 3.0.0)
137
- rspec-rails (3.0.2)
138
- actionpack (>= 3.0)
139
- activesupport (>= 3.0)
140
- railties (>= 3.0)
141
- rspec-core (~> 3.0.0)
142
- rspec-expectations (~> 3.0.0)
143
- rspec-mocks (~> 3.0.0)
144
- rspec-support (~> 3.0.0)
145
- rspec-support (3.0.3)
146
- ruby-progressbar (1.5.1)
152
+ rspec-support (~> 3.2.0)
153
+ rspec-mocks (3.2.0)
154
+ diff-lcs (>= 1.2.0, < 2.0)
155
+ rspec-support (~> 3.2.0)
156
+ rspec-rails (3.2.0)
157
+ actionpack (>= 3.0, <= 4.2)
158
+ activesupport (>= 3.0, <= 4.2)
159
+ railties (>= 3.0, <= 4.2)
160
+ rspec-core (~> 3.2.0)
161
+ rspec-expectations (~> 3.2.0)
162
+ rspec-mocks (~> 3.2.0)
163
+ rspec-support (~> 3.2.0)
164
+ rspec-support (3.2.1)
165
+ ruby-progressbar (1.7.1)
147
166
  sass (3.2.19)
148
- sass-rails (4.0.3)
167
+ sass-rails (4.0.5)
149
168
  railties (>= 4.0.0, < 5.0)
150
- sass (~> 3.2.0)
151
- sprockets (~> 2.8, <= 2.11.0)
169
+ sass (~> 3.2.2)
170
+ sprockets (~> 2.8, < 3.0)
152
171
  sprockets-rails (~> 2.0)
153
- sdoc (0.4.0)
154
- json (~> 1.8)
155
- rdoc (~> 4.0, < 5.0)
156
- shoulda-context (1.2.0)
172
+ sdoc (0.4.1)
173
+ json (~> 1.7, >= 1.7.7)
174
+ rdoc (~> 4.0)
175
+ shellany (0.0.1)
176
+ shoulda-context (1.2.1)
157
177
  slop (3.6.0)
158
- spring (1.1.2)
159
- spring-commands-rspec (1.0.2)
178
+ spring (1.2.0)
179
+ spring-commands-rspec (1.0.4)
160
180
  spring (>= 0.9.1)
161
- sprockets (2.11.0)
181
+ sprockets (2.12.3)
162
182
  hike (~> 1.2)
163
183
  multi_json (~> 1.0)
164
184
  rack (~> 1.0)
165
185
  tilt (~> 1.1, != 1.3.0)
166
- sprockets-rails (2.2.0)
186
+ sprockets-rails (2.2.4)
167
187
  actionpack (>= 3.0)
168
188
  activesupport (>= 3.0)
169
189
  sprockets (>= 2.8, < 4.0)
170
- sqlite3 (1.3.9)
190
+ sqlite3 (1.3.10)
171
191
  thor (0.19.1)
172
192
  thread_safe (0.3.4)
173
193
  tilt (1.4.1)
174
- turbolinks (2.2.2)
194
+ timers (4.0.1)
195
+ hitimes
196
+ turbolinks (2.5.3)
175
197
  coffee-rails
176
198
  tzinfo (1.2.2)
177
199
  thread_safe (~> 0.1)
178
- uglifier (2.5.0)
200
+ uglifier (2.7.0)
179
201
  execjs (>= 0.3.0)
180
202
  json (>= 1.8.0)
181
- watchr (0.7)
182
- yajl-ruby (1.1.0)
183
- yard (0.8.7.3)
203
+ yajl-ruby (1.2.1)
204
+ yard (0.8.7.6)
184
205
 
185
206
  PLATFORMS
186
207
  ruby
@@ -190,23 +211,27 @@ DEPENDENCIES
190
211
  activerecord-jdbcsqlite3-adapter
191
212
  activeresource (= 4.0.0)
192
213
  appraisal (~> 1.0)
193
- aruba
194
214
  bcrypt (~> 3.1.7)
195
- bourne (~> 1.3)
196
215
  bundler (~> 1.1)
197
216
  coffee-rails (~> 4.0.0)
217
+ guard
218
+ guard-yard
198
219
  jbuilder (~> 2.0)
199
220
  jdbc-sqlite3
200
221
  jquery-rails
201
222
  jruby-openssl
202
223
  minitest-reporters
224
+ pg
203
225
  protected_attributes (~> 1.0.6)
204
- pry-nav
226
+ pry!
227
+ pry-byebug
205
228
  pygments.rb
206
229
  rails (~> 4.1.0)
207
- rake (>= 0.9.2)
230
+ rake (~> 10.0)
208
231
  redcarpet
209
- rspec-rails (~> 3.0.1)
232
+ rspec-core (>= 3.2.0, < 4)
233
+ rspec-expectations (>= 3.2.0, < 4)
234
+ rspec-rails (>= 3.2.0, < 4)
210
235
  sass-rails (~> 4.0.3)
211
236
  sdoc (~> 0.4.0)
212
237
  shoulda-context (~> 1.2.0)
@@ -216,5 +241,4 @@ DEPENDENCIES
216
241
  therubyrhino
217
242
  turbolinks
218
243
  uglifier (>= 1.3.0)
219
- watchr
220
244
  yard
@@ -3,19 +3,21 @@
3
3
  source "https://rubygems.org"
4
4
 
5
5
  gem "appraisal", "~> 1.0"
6
- gem "aruba"
7
- gem "bourne", "~> 1.3"
8
6
  gem "bundler", "~> 1.1"
9
- gem "pry-nav"
10
- gem "rails", "~> 4.2.0"
11
- gem "rake", ">= 0.9.2"
12
- gem "rspec-rails", "~> 3.0.1"
7
+ gem "pry", :github => "pry/pry"
8
+ gem "pry-byebug"
9
+ gem "rake", "~> 10.0"
10
+ gem "rspec-core", ">= 3.2.0", "< 4"
11
+ gem "rspec-expectations", ">= 3.2.0", "< 4"
13
12
  gem "yard"
14
13
  gem "redcarpet"
15
14
  gem "pygments.rb"
16
- gem "watchr"
15
+ gem "guard"
16
+ gem "guard-yard"
17
+ gem "rspec-rails", ">= 3.2.0", "< 4"
17
18
  gem "shoulda-context", "~> 1.2.0"
18
19
  gem "sqlite3", :platform => :ruby
20
+ gem "pg", :platform => :ruby
19
21
  gem "activerecord-jdbc-adapter", :platform => :jruby
20
22
  gem "activerecord-jdbcsqlite3-adapter", :platform => :jruby
21
23
  gem "jdbc-sqlite3", :platform => :jruby
@@ -31,8 +33,7 @@ gem "sdoc", "~> 0.4.0"
31
33
  gem "activeresource", "4.0.0"
32
34
  gem "protected_attributes", "~> 1.0.6"
33
35
  gem "minitest-reporters"
36
+ gem "rails", "~> 4.2.0"
34
37
  gem "sass-rails", "~> 5.0"
35
38
  gem "jbuilder", "~> 2.0"
36
39
  gem "bcrypt", "~> 3.1.7"
37
- gem "byebug"
38
- gem "web-console", "~> 2.0"
@@ -1,3 +1,12 @@
1
+ GIT
2
+ remote: git://github.com/pry/pry.git
3
+ revision: f0cbec507111743fdbc273735ea4f0f6164a5b21
4
+ specs:
5
+ pry (0.10.1)
6
+ coderay (~> 1.1.0)
7
+ method_source (~> 0.8.1)
8
+ slop (~> 3.4)
9
+
1
10
  GEM
2
11
  remote: https://rubygems.org/
3
12
  specs:
@@ -40,28 +49,18 @@ GEM
40
49
  minitest (~> 5.1)
41
50
  thread_safe (~> 0.3, >= 0.3.4)
42
51
  tzinfo (~> 1.1)
43
- ansi (1.4.3)
52
+ ansi (1.5.0)
44
53
  appraisal (1.0.2)
45
54
  bundler
46
55
  rake
47
56
  thor (>= 0.14.0)
48
57
  arel (6.0.0)
49
- aruba (0.6.1)
50
- childprocess (>= 0.3.6)
51
- cucumber (>= 1.1.1)
52
- rspec-expectations (>= 2.7.0)
53
- bcrypt (3.1.9)
54
- binding_of_caller (0.7.2)
55
- debug_inspector (>= 0.0.1)
56
- bourne (1.6.0)
57
- mocha (~> 1.1)
58
+ bcrypt (3.1.10)
58
59
  builder (3.2.2)
59
- byebug (3.5.1)
60
- columnize (~> 0.8)
61
- debugger-linecache (~> 1.2)
62
- slop (~> 3.6)
63
- childprocess (0.5.5)
64
- ffi (~> 1.0, >= 1.0.11)
60
+ byebug (4.0.4)
61
+ columnize (= 0.9.0)
62
+ celluloid (0.16.0)
63
+ timers (~> 4.0.0)
65
64
  coderay (1.1.0)
66
65
  coffee-rails (4.1.0)
67
66
  coffee-script (>= 2.2.0)
@@ -69,66 +68,73 @@ GEM
69
68
  coffee-script (2.3.0)
70
69
  coffee-script-source
71
70
  execjs
72
- coffee-script-source (1.8.0)
71
+ coffee-script-source (1.9.0)
73
72
  columnize (0.9.0)
74
- cucumber (1.3.17)
75
- builder (>= 2.1.2)
76
- diff-lcs (>= 1.1.3)
77
- gherkin (~> 2.12)
78
- multi_json (>= 1.7.5, < 2.0)
79
- multi_test (>= 0.1.1)
80
- debug_inspector (0.0.2)
81
- debugger-linecache (1.2.0)
82
73
  diff-lcs (1.2.5)
83
74
  erubis (2.7.0)
84
- execjs (2.2.2)
85
- ffi (1.9.6)
86
- gherkin (2.12.2)
87
- multi_json (~> 1.3)
75
+ execjs (2.3.0)
76
+ ffi (1.9.8)
77
+ formatador (0.2.5)
88
78
  globalid (0.3.0)
89
79
  activesupport (>= 4.1.0)
80
+ guard (2.12.5)
81
+ formatador (>= 0.2.4)
82
+ listen (~> 2.7)
83
+ lumberjack (~> 1.0)
84
+ nenv (~> 0.1)
85
+ notiffany (~> 0.0)
86
+ pry (>= 0.9.12)
87
+ shellany (~> 0.0)
88
+ thor (>= 0.18.1)
89
+ guard-yard (2.1.4)
90
+ guard (>= 1.1.0)
91
+ yard (>= 0.7.0)
90
92
  hike (1.2.3)
93
+ hitimes (1.2.2)
91
94
  i18n (0.7.0)
92
95
  jbuilder (2.2.6)
93
96
  activesupport (>= 3.0.0, < 5)
94
97
  multi_json (~> 1.2)
95
- jquery-rails (4.0.2)
98
+ jquery-rails (4.0.3)
96
99
  rails-dom-testing (~> 1.0)
97
100
  railties (>= 4.2.0)
98
101
  thor (>= 0.14, < 2.0)
99
102
  json (1.8.2)
103
+ listen (2.10.0)
104
+ celluloid (~> 0.16.0)
105
+ rb-fsevent (>= 0.9.3)
106
+ rb-inotify (>= 0.9)
100
107
  loofah (2.0.1)
101
108
  nokogiri (>= 1.5.9)
109
+ lumberjack (1.0.9)
102
110
  mail (2.6.3)
103
111
  mime-types (>= 1.16, < 3)
104
- metaclass (0.0.4)
105
112
  method_source (0.8.2)
106
113
  mime-types (2.4.3)
107
114
  mini_portile (0.6.2)
108
115
  minitest (5.5.1)
109
- minitest-reporters (1.0.8)
116
+ minitest-reporters (1.0.10)
110
117
  ansi
111
118
  builder
112
119
  minitest (>= 5.0)
113
120
  ruby-progressbar
114
- mocha (1.1.0)
115
- metaclass (~> 0.0.1)
116
121
  multi_json (1.10.1)
117
- multi_test (0.1.1)
118
- nokogiri (1.6.6.1)
122
+ nenv (0.2.0)
123
+ nokogiri (1.6.6.2)
119
124
  mini_portile (~> 0.6.0)
125
+ notiffany (0.0.6)
126
+ nenv (~> 0.1)
127
+ shellany (~> 0.0)
128
+ pg (0.18.1)
120
129
  posix-spawn (0.3.9)
121
130
  protected_attributes (1.0.8)
122
131
  activemodel (>= 4.0.1, < 5.0)
123
- pry (0.10.1)
124
- coderay (~> 1.1.0)
125
- method_source (~> 0.8.1)
126
- slop (~> 3.4)
127
- pry-nav (0.2.4)
128
- pry (>= 0.9.10, < 0.11.0)
129
- pygments.rb (0.6.0)
132
+ pry-byebug (3.1.0)
133
+ byebug (~> 4.0)
134
+ pry (~> 0.10)
135
+ pygments.rb (0.6.2)
130
136
  posix-spawn (~> 0.3.6)
131
- yajl-ruby (~> 1.1.0)
137
+ yajl-ruby (~> 1.2.0)
132
138
  rack (1.6.0)
133
139
  rack-test (0.6.3)
134
140
  rack (>= 1.0)
@@ -159,28 +165,32 @@ GEM
159
165
  rake (>= 0.8.7)
160
166
  thor (>= 0.18.1, < 2.0)
161
167
  rake (10.4.2)
168
+ rb-fsevent (0.9.4)
169
+ rb-inotify (0.9.5)
170
+ ffi (>= 0.5.0)
162
171
  rdoc (4.2.0)
163
172
  json (~> 1.4)
164
173
  redcarpet (3.2.2)
165
- rspec-core (3.0.4)
166
- rspec-support (~> 3.0.0)
167
- rspec-expectations (3.0.4)
174
+ rspec-core (3.2.0)
175
+ rspec-support (~> 3.2.0)
176
+ rspec-expectations (3.2.0)
168
177
  diff-lcs (>= 1.2.0, < 2.0)
169
- rspec-support (~> 3.0.0)
170
- rspec-mocks (3.0.4)
171
- rspec-support (~> 3.0.0)
172
- rspec-rails (3.0.2)
173
- actionpack (>= 3.0)
174
- activesupport (>= 3.0)
175
- railties (>= 3.0)
176
- rspec-core (~> 3.0.0)
177
- rspec-expectations (~> 3.0.0)
178
- rspec-mocks (~> 3.0.0)
179
- rspec-support (~> 3.0.0)
180
- rspec-support (3.0.4)
178
+ rspec-support (~> 3.2.0)
179
+ rspec-mocks (3.2.0)
180
+ diff-lcs (>= 1.2.0, < 2.0)
181
+ rspec-support (~> 3.2.0)
182
+ rspec-rails (3.2.0)
183
+ actionpack (>= 3.0, <= 4.2)
184
+ activesupport (>= 3.0, <= 4.2)
185
+ railties (>= 3.0, <= 4.2)
186
+ rspec-core (~> 3.2.0)
187
+ rspec-expectations (~> 3.2.0)
188
+ rspec-mocks (~> 3.2.0)
189
+ rspec-support (~> 3.2.0)
190
+ rspec-support (3.2.1)
181
191
  ruby-progressbar (1.7.1)
182
- sass (3.4.9)
183
- sass-rails (5.0.0)
192
+ sass (3.4.11)
193
+ sass-rails (5.0.1)
184
194
  railties (>= 4.0.0, < 5.0)
185
195
  sass (~> 3.1)
186
196
  sprockets (>= 2.8, < 4.0)
@@ -189,6 +199,7 @@ GEM
189
199
  sdoc (0.4.1)
190
200
  json (~> 1.7, >= 1.7.7)
191
201
  rdoc (~> 4.0)
202
+ shellany (0.0.1)
192
203
  shoulda-context (1.2.1)
193
204
  slop (3.6.0)
194
205
  spring (1.2.0)
@@ -199,7 +210,7 @@ GEM
199
210
  multi_json (~> 1.0)
200
211
  rack (~> 1.0)
201
212
  tilt (~> 1.1, != 1.3.0)
202
- sprockets-rails (2.2.2)
213
+ sprockets-rails (2.2.4)
203
214
  actionpack (>= 3.0)
204
215
  activesupport (>= 3.0)
205
216
  sprockets (>= 2.8, < 4.0)
@@ -207,20 +218,16 @@ GEM
207
218
  thor (0.19.1)
208
219
  thread_safe (0.3.4)
209
220
  tilt (1.4.1)
221
+ timers (4.0.1)
222
+ hitimes
210
223
  turbolinks (2.5.3)
211
224
  coffee-rails
212
225
  tzinfo (1.2.2)
213
226
  thread_safe (~> 0.1)
214
- uglifier (2.6.0)
227
+ uglifier (2.7.0)
215
228
  execjs (>= 0.3.0)
216
229
  json (>= 1.8.0)
217
- watchr (0.7)
218
- web-console (2.0.0)
219
- activemodel (~> 4.0)
220
- binding_of_caller (>= 0.7.2)
221
- railties (~> 4.0)
222
- sprockets-rails (>= 2.0, < 4.0)
223
- yajl-ruby (1.1.0)
230
+ yajl-ruby (1.2.1)
224
231
  yard (0.8.7.6)
225
232
 
226
233
  PLATFORMS
@@ -231,24 +238,27 @@ DEPENDENCIES
231
238
  activerecord-jdbcsqlite3-adapter
232
239
  activeresource (= 4.0.0)
233
240
  appraisal (~> 1.0)
234
- aruba
235
241
  bcrypt (~> 3.1.7)
236
- bourne (~> 1.3)
237
242
  bundler (~> 1.1)
238
- byebug
239
243
  coffee-rails (~> 4.1.0)
244
+ guard
245
+ guard-yard
240
246
  jbuilder (~> 2.0)
241
247
  jdbc-sqlite3
242
248
  jquery-rails
243
249
  jruby-openssl
244
250
  minitest-reporters
251
+ pg
245
252
  protected_attributes (~> 1.0.6)
246
- pry-nav
253
+ pry!
254
+ pry-byebug
247
255
  pygments.rb
248
256
  rails (~> 4.2.0)
249
- rake (>= 0.9.2)
257
+ rake (~> 10.0)
250
258
  redcarpet
251
- rspec-rails (~> 3.0.1)
259
+ rspec-core (>= 3.2.0, < 4)
260
+ rspec-expectations (>= 3.2.0, < 4)
261
+ rspec-rails (>= 3.2.0, < 4)
252
262
  sass-rails (~> 5.0)
253
263
  sdoc (~> 0.4.0)
254
264
  shoulda-context (~> 1.2.0)
@@ -258,6 +268,4 @@ DEPENDENCIES
258
268
  therubyrhino
259
269
  turbolinks
260
270
  uglifier (>= 1.3.0)
261
- watchr
262
- web-console (~> 2.0)
263
271
  yard