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
@@ -21,7 +21,7 @@ def diskfile
21
21
  end
22
22
 
23
23
  def preprocess_index(contents)
24
- regex = /\[ (\w+) \] \( lib\/([^()]+)\.rb \)/x
24
+ regex = /\[ (\w+) \] \( lib \/ ([^()]+) \.rb (?:\#L\d+)? \)/x
25
25
 
26
26
  contents.gsub(regex) do
27
27
  method_name, file_path = $1, $2
@@ -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.0.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"
31
33
  gem "activeresource", "4.0.0"
32
34
  gem "protected_attributes"
33
35
  gem "minitest-reporters"
36
+ gem "rails", "4.0.0"
34
37
  gem "jbuilder", "~> 1.2"
35
38
  gem "sass-rails", "~> 4.0.0"
36
39
  gem "bcrypt-ruby", "~> 3.0.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:
@@ -35,50 +44,57 @@ GEM
35
44
  rake
36
45
  thor (>= 0.14.0)
37
46
  arel (4.0.2)
38
- aruba (0.6.0)
39
- childprocess (>= 0.3.6)
40
- cucumber (>= 1.1.1)
41
- rspec-expectations (>= 2.7.0)
42
47
  bcrypt-ruby (3.0.1)
43
- bourne (1.5.0)
44
- mocha (>= 0.13.2, < 0.15)
45
48
  builder (3.1.4)
46
- childprocess (0.5.3)
47
- ffi (~> 1.0, >= 1.0.11)
49
+ byebug (4.0.4)
50
+ columnize (= 0.9.0)
51
+ celluloid (0.16.0)
52
+ timers (~> 4.0.0)
48
53
  coderay (1.1.0)
49
54
  coffee-rails (4.0.1)
50
55
  coffee-script (>= 2.2.0)
51
56
  railties (>= 4.0.0, < 5.0)
52
- coffee-script (2.2.0)
57
+ coffee-script (2.3.0)
53
58
  coffee-script-source
54
59
  execjs
55
- coffee-script-source (1.7.0)
56
- cucumber (1.3.16)
57
- builder (>= 2.1.2)
58
- diff-lcs (>= 1.1.3)
59
- gherkin (~> 2.12)
60
- multi_json (>= 1.7.5, < 2.0)
61
- multi_test (>= 0.1.1)
60
+ coffee-script-source (1.9.0)
61
+ columnize (0.9.0)
62
62
  diff-lcs (1.2.5)
63
63
  erubis (2.7.0)
64
- execjs (2.0.2)
65
- ffi (1.9.3)
66
- gherkin (2.12.2)
67
- multi_json (~> 1.3)
68
- hashie (3.3.1)
64
+ execjs (2.3.0)
65
+ ffi (1.9.8)
66
+ formatador (0.2.5)
67
+ guard (2.12.5)
68
+ formatador (>= 0.2.4)
69
+ listen (~> 2.7)
70
+ lumberjack (~> 1.0)
71
+ nenv (~> 0.1)
72
+ notiffany (~> 0.0)
73
+ pry (>= 0.9.12)
74
+ shellany (~> 0.0)
75
+ thor (>= 0.18.1)
76
+ guard-yard (2.1.4)
77
+ guard (>= 1.1.0)
78
+ yard (>= 0.7.0)
79
+ hashie (3.3.2)
69
80
  hike (1.2.3)
70
- i18n (0.6.11)
81
+ hitimes (1.2.2)
82
+ i18n (0.7.0)
71
83
  jbuilder (1.5.3)
72
84
  activesupport (>= 3.0.0)
73
85
  multi_json (>= 1.2.0)
74
- jquery-rails (3.0.4)
86
+ jquery-rails (3.1.2)
75
87
  railties (>= 3.0, < 5.0)
76
88
  thor (>= 0.14, < 2.0)
77
- json (1.8.1)
89
+ json (1.8.2)
90
+ listen (2.10.0)
91
+ celluloid (~> 0.16.0)
92
+ rb-fsevent (>= 0.9.3)
93
+ rb-inotify (>= 0.9)
94
+ lumberjack (1.0.9)
78
95
  mail (2.5.4)
79
96
  mime-types (~> 1.16)
80
97
  treetop (~> 1.4.8)
81
- metaclass (0.0.1)
82
98
  method_source (0.8.2)
83
99
  mime-types (1.25.1)
84
100
  minitest (4.7.5)
@@ -87,28 +103,27 @@ GEM
87
103
  builder
88
104
  minitest (>= 2.12, < 5.0)
89
105
  powerbar
90
- mocha (0.14.0)
91
- metaclass (~> 0.0.1)
92
106
  multi_json (1.10.1)
93
- multi_test (0.1.1)
107
+ nenv (0.2.0)
108
+ notiffany (0.0.6)
109
+ nenv (~> 0.1)
110
+ shellany (~> 0.0)
111
+ pg (0.18.1)
94
112
  polyglot (0.3.5)
95
- posix-spawn (0.3.8)
113
+ posix-spawn (0.3.9)
96
114
  powerbar (1.0.11)
97
115
  ansi (~> 1.4.0)
98
116
  hashie (>= 1.1.0)
99
117
  protected_attributes (1.0.3)
100
118
  activemodel (>= 4.0.0, < 5.0)
101
- pry (0.10.1)
102
- coderay (~> 1.1.0)
103
- method_source (~> 0.8.1)
104
- slop (~> 3.4)
105
- pry-nav (0.2.4)
106
- pry (>= 0.9.10, < 0.11.0)
107
- pygments.rb (0.6.0)
119
+ pry-byebug (3.1.0)
120
+ byebug (~> 4.0)
121
+ pry (~> 0.10)
122
+ pygments.rb (0.6.2)
108
123
  posix-spawn (~> 0.3.6)
109
- yajl-ruby (~> 1.1.0)
124
+ yajl-ruby (~> 1.2.0)
110
125
  rack (1.5.2)
111
- rack-test (0.6.2)
126
+ rack-test (0.6.3)
112
127
  rack (>= 1.0)
113
128
  rails (4.0.0)
114
129
  actionmailer (= 4.0.0)
@@ -125,41 +140,46 @@ GEM
125
140
  activesupport (= 4.0.0)
126
141
  rake (>= 0.8.7)
127
142
  thor (>= 0.18.1, < 2.0)
128
- rake (10.3.2)
129
- rdoc (4.1.1)
143
+ rake (10.4.2)
144
+ rb-fsevent (0.9.4)
145
+ rb-inotify (0.9.5)
146
+ ffi (>= 0.5.0)
147
+ rdoc (4.2.0)
130
148
  json (~> 1.4)
131
- redcarpet (3.1.2)
132
- rspec-core (3.0.3)
133
- rspec-support (~> 3.0.0)
134
- rspec-expectations (3.0.3)
149
+ redcarpet (3.2.2)
150
+ rspec-core (3.2.0)
151
+ rspec-support (~> 3.2.0)
152
+ rspec-expectations (3.2.0)
135
153
  diff-lcs (>= 1.2.0, < 2.0)
136
- rspec-support (~> 3.0.0)
137
- rspec-mocks (3.0.3)
138
- rspec-support (~> 3.0.0)
139
- rspec-rails (3.0.2)
140
- actionpack (>= 3.0)
141
- activesupport (>= 3.0)
142
- railties (>= 3.0)
143
- rspec-core (~> 3.0.0)
144
- rspec-expectations (~> 3.0.0)
145
- rspec-mocks (~> 3.0.0)
146
- rspec-support (~> 3.0.0)
147
- rspec-support (3.0.3)
154
+ rspec-support (~> 3.2.0)
155
+ rspec-mocks (3.2.0)
156
+ diff-lcs (>= 1.2.0, < 2.0)
157
+ rspec-support (~> 3.2.0)
158
+ rspec-rails (3.2.0)
159
+ actionpack (>= 3.0, <= 4.2)
160
+ activesupport (>= 3.0, <= 4.2)
161
+ railties (>= 3.0, <= 4.2)
162
+ rspec-core (~> 3.2.0)
163
+ rspec-expectations (~> 3.2.0)
164
+ rspec-mocks (~> 3.2.0)
165
+ rspec-support (~> 3.2.0)
166
+ rspec-support (3.2.1)
148
167
  sass (3.2.19)
149
- sass-rails (4.0.3)
168
+ sass-rails (4.0.5)
150
169
  railties (>= 4.0.0, < 5.0)
151
- sass (~> 3.2.0)
152
- sprockets (~> 2.8, <= 2.11.0)
170
+ sass (~> 3.2.2)
171
+ sprockets (~> 2.8, < 3.0)
153
172
  sprockets-rails (~> 2.0)
154
- sdoc (0.4.0)
155
- json (~> 1.8)
156
- rdoc (~> 4.0, < 5.0)
157
- shoulda-context (1.2.0)
173
+ sdoc (0.4.1)
174
+ json (~> 1.7, >= 1.7.7)
175
+ rdoc (~> 4.0)
176
+ shellany (0.0.1)
177
+ shoulda-context (1.2.1)
158
178
  slop (3.6.0)
159
- spring (1.1.3)
160
- spring-commands-rspec (1.0.2)
179
+ spring (1.2.0)
180
+ spring-commands-rspec (1.0.4)
161
181
  spring (>= 0.9.1)
162
- sprockets (2.11.0)
182
+ sprockets (2.12.3)
163
183
  hike (~> 1.2)
164
184
  multi_json (~> 1.0)
165
185
  rack (~> 1.0)
@@ -168,22 +188,23 @@ GEM
168
188
  actionpack (>= 3.0)
169
189
  activesupport (>= 3.0)
170
190
  sprockets (~> 2.8)
171
- sqlite3 (1.3.8)
191
+ sqlite3 (1.3.10)
172
192
  thor (0.19.1)
173
193
  thread_safe (0.3.4)
174
194
  tilt (1.4.1)
195
+ timers (4.0.1)
196
+ hitimes
175
197
  treetop (1.4.15)
176
198
  polyglot
177
199
  polyglot (>= 0.3.1)
178
- turbolinks (2.2.2)
200
+ turbolinks (2.5.3)
179
201
  coffee-rails
180
- tzinfo (0.3.41)
181
- uglifier (2.5.0)
202
+ tzinfo (0.3.43)
203
+ uglifier (2.7.0)
182
204
  execjs (>= 0.3.0)
183
205
  json (>= 1.8.0)
184
- watchr (0.7)
185
- yajl-ruby (1.1.0)
186
- yard (0.8.7.3)
206
+ yajl-ruby (1.2.1)
207
+ yard (0.8.7.6)
187
208
 
188
209
  PLATFORMS
189
210
  ruby
@@ -193,23 +214,27 @@ DEPENDENCIES
193
214
  activerecord-jdbcsqlite3-adapter
194
215
  activeresource (= 4.0.0)
195
216
  appraisal (~> 1.0)
196
- aruba
197
217
  bcrypt-ruby (~> 3.0.0)
198
- bourne (~> 1.3)
199
218
  bundler (~> 1.1)
200
219
  coffee-rails (~> 4.0.0)
220
+ guard
221
+ guard-yard
201
222
  jbuilder (~> 1.2)
202
223
  jdbc-sqlite3
203
224
  jquery-rails
204
225
  jruby-openssl
205
226
  minitest-reporters
227
+ pg
206
228
  protected_attributes
207
- pry-nav
229
+ pry!
230
+ pry-byebug
208
231
  pygments.rb
209
232
  rails (= 4.0.0)
210
- rake (>= 0.9.2)
233
+ rake (~> 10.0)
211
234
  redcarpet
212
- rspec-rails (~> 3.0.1)
235
+ rspec-core (>= 3.2.0, < 4)
236
+ rspec-expectations (>= 3.2.0, < 4)
237
+ rspec-rails (>= 3.2.0, < 4)
213
238
  sass-rails (~> 4.0.0)
214
239
  sdoc
215
240
  shoulda-context (~> 1.2.0)
@@ -219,5 +244,4 @@ DEPENDENCIES
219
244
  therubyrhino
220
245
  turbolinks
221
246
  uglifier (>= 1.3.0)
222
- watchr
223
247
  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.0.1"
11
- gem "rake", ">= 0.9.2"
12
- gem "rspec-rails", "2.99.0"
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"
31
33
  gem "activeresource", "4.0.0"
32
34
  gem "protected_attributes"
33
35
  gem "minitest-reporters"
36
+ gem "rails", "4.0.1"
34
37
  gem "jbuilder", "~> 1.2"
35
38
  gem "sass-rails", "~> 4.0.0"
36
39
  gem "bcrypt-ruby", "~> 3.1.2"
@@ -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:
@@ -34,51 +43,58 @@ GEM
34
43
  bundler
35
44
  rake
36
45
  thor (>= 0.14.0)
37
- arel (4.0.1)
38
- aruba (0.6.0)
39
- childprocess (>= 0.3.6)
40
- cucumber (>= 1.1.1)
41
- rspec-expectations (>= 2.7.0)
46
+ arel (4.0.2)
42
47
  bcrypt-ruby (3.1.2)
43
- bourne (1.5.0)
44
- mocha (>= 0.13.2, < 0.15)
45
48
  builder (3.1.4)
46
- childprocess (0.5.3)
47
- ffi (~> 1.0, >= 1.0.11)
49
+ byebug (4.0.4)
50
+ columnize (= 0.9.0)
51
+ celluloid (0.16.0)
52
+ timers (~> 4.0.0)
48
53
  coderay (1.1.0)
49
54
  coffee-rails (4.0.1)
50
55
  coffee-script (>= 2.2.0)
51
56
  railties (>= 4.0.0, < 5.0)
52
- coffee-script (2.2.0)
57
+ coffee-script (2.3.0)
53
58
  coffee-script-source
54
59
  execjs
55
- coffee-script-source (1.7.0)
56
- cucumber (1.3.16)
57
- builder (>= 2.1.2)
58
- diff-lcs (>= 1.1.3)
59
- gherkin (~> 2.12)
60
- multi_json (>= 1.7.5, < 2.0)
61
- multi_test (>= 0.1.1)
60
+ coffee-script-source (1.9.0)
61
+ columnize (0.9.0)
62
62
  diff-lcs (1.2.5)
63
63
  erubis (2.7.0)
64
- execjs (2.0.2)
65
- ffi (1.9.3)
66
- gherkin (2.12.2)
67
- multi_json (~> 1.3)
68
- hashie (3.3.1)
64
+ execjs (2.3.0)
65
+ ffi (1.9.8)
66
+ formatador (0.2.5)
67
+ guard (2.12.5)
68
+ formatador (>= 0.2.4)
69
+ listen (~> 2.7)
70
+ lumberjack (~> 1.0)
71
+ nenv (~> 0.1)
72
+ notiffany (~> 0.0)
73
+ pry (>= 0.9.12)
74
+ shellany (~> 0.0)
75
+ thor (>= 0.18.1)
76
+ guard-yard (2.1.4)
77
+ guard (>= 1.1.0)
78
+ yard (>= 0.7.0)
79
+ hashie (3.3.2)
69
80
  hike (1.2.3)
70
- i18n (0.6.11)
81
+ hitimes (1.2.2)
82
+ i18n (0.7.0)
71
83
  jbuilder (1.5.3)
72
84
  activesupport (>= 3.0.0)
73
85
  multi_json (>= 1.2.0)
74
- jquery-rails (3.0.4)
86
+ jquery-rails (3.1.2)
75
87
  railties (>= 3.0, < 5.0)
76
88
  thor (>= 0.14, < 2.0)
77
- json (1.8.1)
89
+ json (1.8.2)
90
+ listen (2.10.0)
91
+ celluloid (~> 0.16.0)
92
+ rb-fsevent (>= 0.9.3)
93
+ rb-inotify (>= 0.9)
94
+ lumberjack (1.0.9)
78
95
  mail (2.5.4)
79
96
  mime-types (~> 1.16)
80
97
  treetop (~> 1.4.8)
81
- metaclass (0.0.1)
82
98
  method_source (0.8.2)
83
99
  mime-types (1.25.1)
84
100
  minitest (4.7.5)
@@ -87,28 +103,27 @@ GEM
87
103
  builder
88
104
  minitest (>= 2.12, < 5.0)
89
105
  powerbar
90
- mocha (0.14.0)
91
- metaclass (~> 0.0.1)
92
106
  multi_json (1.10.1)
93
- multi_test (0.1.1)
94
- polyglot (0.3.3)
95
- posix-spawn (0.3.8)
107
+ nenv (0.2.0)
108
+ notiffany (0.0.6)
109
+ nenv (~> 0.1)
110
+ shellany (~> 0.0)
111
+ pg (0.18.1)
112
+ polyglot (0.3.5)
113
+ posix-spawn (0.3.9)
96
114
  powerbar (1.0.11)
97
115
  ansi (~> 1.4.0)
98
116
  hashie (>= 1.1.0)
99
- protected_attributes (1.0.5)
117
+ protected_attributes (1.0.8)
100
118
  activemodel (>= 4.0.1, < 5.0)
101
- pry (0.10.1)
102
- coderay (~> 1.1.0)
103
- method_source (~> 0.8.1)
104
- slop (~> 3.4)
105
- pry-nav (0.2.4)
106
- pry (>= 0.9.10, < 0.11.0)
107
- pygments.rb (0.6.0)
119
+ pry-byebug (3.1.0)
120
+ byebug (~> 4.0)
121
+ pry (~> 0.10)
122
+ pygments.rb (0.6.2)
108
123
  posix-spawn (~> 0.3.6)
109
- yajl-ruby (~> 1.1.0)
124
+ yajl-ruby (~> 1.2.0)
110
125
  rack (1.5.2)
111
- rack-test (0.6.2)
126
+ rack-test (0.6.3)
112
127
  rack (>= 1.0)
113
128
  rails (4.0.1)
114
129
  actionmailer (= 4.0.1)
@@ -125,39 +140,46 @@ GEM
125
140
  activesupport (= 4.0.1)
126
141
  rake (>= 0.8.7)
127
142
  thor (>= 0.18.1, < 2.0)
128
- rake (10.3.2)
129
- rdoc (4.1.1)
143
+ rake (10.4.2)
144
+ rb-fsevent (0.9.4)
145
+ rb-inotify (0.9.5)
146
+ ffi (>= 0.5.0)
147
+ rdoc (4.2.0)
130
148
  json (~> 1.4)
131
- redcarpet (3.1.2)
132
- rspec-collection_matchers (1.0.0)
133
- rspec-expectations (>= 2.99.0.beta1)
134
- rspec-core (2.99.1)
135
- rspec-expectations (2.99.2)
136
- diff-lcs (>= 1.1.3, < 2.0)
137
- rspec-mocks (2.99.2)
138
- rspec-rails (2.99.0)
139
- actionpack (>= 3.0)
140
- activemodel (>= 3.0)
141
- activesupport (>= 3.0)
142
- railties (>= 3.0)
143
- rspec-collection_matchers
144
- rspec-core (~> 2.99.0)
145
- rspec-expectations (~> 2.99.0)
146
- rspec-mocks (~> 2.99.0)
147
- sass (3.2.12)
148
- sass-rails (4.0.1)
149
+ redcarpet (3.2.2)
150
+ rspec-core (3.2.0)
151
+ rspec-support (~> 3.2.0)
152
+ rspec-expectations (3.2.0)
153
+ diff-lcs (>= 1.2.0, < 2.0)
154
+ rspec-support (~> 3.2.0)
155
+ rspec-mocks (3.2.0)
156
+ diff-lcs (>= 1.2.0, < 2.0)
157
+ rspec-support (~> 3.2.0)
158
+ rspec-rails (3.2.0)
159
+ actionpack (>= 3.0, <= 4.2)
160
+ activesupport (>= 3.0, <= 4.2)
161
+ railties (>= 3.0, <= 4.2)
162
+ rspec-core (~> 3.2.0)
163
+ rspec-expectations (~> 3.2.0)
164
+ rspec-mocks (~> 3.2.0)
165
+ rspec-support (~> 3.2.0)
166
+ rspec-support (3.2.1)
167
+ sass (3.2.19)
168
+ sass-rails (4.0.5)
149
169
  railties (>= 4.0.0, < 5.0)
150
- sass (>= 3.1.10)
151
- sprockets-rails (~> 2.0.0)
152
- sdoc (0.4.0)
153
- json (~> 1.8)
154
- rdoc (~> 4.0, < 5.0)
155
- shoulda-context (1.2.0)
170
+ sass (~> 3.2.2)
171
+ sprockets (~> 2.8, < 3.0)
172
+ sprockets-rails (~> 2.0)
173
+ sdoc (0.4.1)
174
+ json (~> 1.7, >= 1.7.7)
175
+ rdoc (~> 4.0)
176
+ shellany (0.0.1)
177
+ shoulda-context (1.2.1)
156
178
  slop (3.6.0)
157
- spring (1.1.3)
158
- spring-commands-rspec (1.0.2)
179
+ spring (1.2.0)
180
+ spring-commands-rspec (1.0.4)
159
181
  spring (>= 0.9.1)
160
- sprockets (2.10.1)
182
+ sprockets (2.12.3)
161
183
  hike (~> 1.2)
162
184
  multi_json (~> 1.0)
163
185
  rack (~> 1.0)
@@ -166,22 +188,23 @@ GEM
166
188
  actionpack (>= 3.0)
167
189
  activesupport (>= 3.0)
168
190
  sprockets (~> 2.8)
169
- sqlite3 (1.3.8)
191
+ sqlite3 (1.3.10)
170
192
  thor (0.19.1)
171
193
  thread_safe (0.3.4)
172
194
  tilt (1.4.1)
195
+ timers (4.0.1)
196
+ hitimes
173
197
  treetop (1.4.15)
174
198
  polyglot
175
199
  polyglot (>= 0.3.1)
176
- turbolinks (2.2.2)
200
+ turbolinks (2.5.3)
177
201
  coffee-rails
178
- tzinfo (0.3.41)
179
- uglifier (2.5.0)
202
+ tzinfo (0.3.43)
203
+ uglifier (2.7.0)
180
204
  execjs (>= 0.3.0)
181
205
  json (>= 1.8.0)
182
- watchr (0.7)
183
- yajl-ruby (1.1.0)
184
- yard (0.8.7.3)
206
+ yajl-ruby (1.2.1)
207
+ yard (0.8.7.6)
185
208
 
186
209
  PLATFORMS
187
210
  ruby
@@ -191,23 +214,27 @@ DEPENDENCIES
191
214
  activerecord-jdbcsqlite3-adapter
192
215
  activeresource (= 4.0.0)
193
216
  appraisal (~> 1.0)
194
- aruba
195
217
  bcrypt-ruby (~> 3.1.2)
196
- bourne (~> 1.3)
197
218
  bundler (~> 1.1)
198
219
  coffee-rails (~> 4.0.0)
220
+ guard
221
+ guard-yard
199
222
  jbuilder (~> 1.2)
200
223
  jdbc-sqlite3
201
224
  jquery-rails
202
225
  jruby-openssl
203
226
  minitest-reporters
227
+ pg
204
228
  protected_attributes
205
- pry-nav
229
+ pry!
230
+ pry-byebug
206
231
  pygments.rb
207
232
  rails (= 4.0.1)
208
- rake (>= 0.9.2)
233
+ rake (~> 10.0)
209
234
  redcarpet
210
- rspec-rails (= 2.99.0)
235
+ rspec-core (>= 3.2.0, < 4)
236
+ rspec-expectations (>= 3.2.0, < 4)
237
+ rspec-rails (>= 3.2.0, < 4)
211
238
  sass-rails (~> 4.0.0)
212
239
  sdoc
213
240
  shoulda-context (~> 1.2.0)
@@ -217,5 +244,4 @@ DEPENDENCIES
217
244
  therubyrhino
218
245
  turbolinks
219
246
  uglifier (>= 1.3.0)
220
- watchr
221
247
  yard