shoulda 3.5.0 → 3.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (54) hide show
  1. checksums.yaml +6 -14
  2. data/.gitignore +7 -7
  3. data/.hound.yml +3 -0
  4. data/.hound/ruby.yml +1042 -0
  5. data/.rubocop.yml +13 -0
  6. data/.travis.yml +11 -7
  7. data/Appraisals +13 -10
  8. data/CONTRIBUTING.md +6 -1
  9. data/Gemfile +8 -1
  10. data/README.md +58 -73
  11. data/Rakefile +21 -12
  12. data/gemfiles/4.2.gemfile +17 -0
  13. data/gemfiles/4.2.gemfile.lock +174 -0
  14. data/gemfiles/5.0.gemfile +17 -0
  15. data/gemfiles/5.0.gemfile.lock +179 -0
  16. data/lib/shoulda/version.rb +1 -1
  17. data/shoulda.gemspec +23 -23
  18. data/test/acceptance/rails_integration_test.rb +76 -0
  19. data/test/acceptance_test_helper.rb +17 -0
  20. data/test/report_warnings.rb +7 -0
  21. data/test/support/acceptance/add_shoulda_to_project.rb +78 -0
  22. data/test/support/acceptance/helpers.rb +19 -0
  23. data/test/support/acceptance/helpers/active_model_helpers.rb +11 -0
  24. data/test/support/acceptance/helpers/array_helpers.rb +13 -0
  25. data/test/support/acceptance/helpers/base_helpers.rb +14 -0
  26. data/test/support/acceptance/helpers/command_helpers.rb +54 -0
  27. data/test/support/acceptance/helpers/file_helpers.rb +19 -0
  28. data/test/support/acceptance/helpers/gem_helpers.rb +31 -0
  29. data/test/support/acceptance/helpers/pluralization_helpers.rb +13 -0
  30. data/test/support/acceptance/helpers/step_helpers.rb +69 -0
  31. data/test/support/acceptance/matchers/have_output.rb +31 -0
  32. data/test/support/acceptance/matchers/indicate_number_of_tests_was_run_matcher.rb +54 -0
  33. data/test/support/acceptance/matchers/indicate_that_tests_were_run_matcher.rb +75 -0
  34. data/test/support/tests/bundle.rb +94 -0
  35. data/test/support/tests/command_runner.rb +230 -0
  36. data/test/support/tests/current_bundle.rb +61 -0
  37. data/test/support/tests/filesystem.rb +100 -0
  38. data/test/support/tests/version.rb +45 -0
  39. data/test/test_helper.rb +18 -0
  40. data/test/warnings_spy.rb +62 -0
  41. data/test/warnings_spy/filesystem.rb +45 -0
  42. data/test/warnings_spy/partitioner.rb +36 -0
  43. data/test/warnings_spy/reader.rb +53 -0
  44. data/test/warnings_spy/reporter.rb +88 -0
  45. metadata +80 -121
  46. data/features/rails_integration.feature +0 -87
  47. data/features/step_definitions/rails_steps.rb +0 -77
  48. data/features/support/env.rb +0 -14
  49. data/gemfiles/3.0.gemfile +0 -7
  50. data/gemfiles/3.0.gemfile.lock +0 -127
  51. data/gemfiles/3.1.gemfile +0 -9
  52. data/gemfiles/3.1.gemfile.lock +0 -148
  53. data/gemfiles/3.2.gemfile +0 -9
  54. data/gemfiles/3.2.gemfile.lock +0 -146
@@ -1,9 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "rails", "3.2.3"
6
- gem "jquery-rails"
7
- gem "sass-rails"
8
-
9
- gemspec :path=>"../"
@@ -1,146 +0,0 @@
1
- PATH
2
- remote: /Users/rmcgeary/work/oss/shoulda
3
- specs:
4
- shoulda (3.5.0)
5
- shoulda-context (~> 1.0, >= 1.0.1)
6
- shoulda-matchers (>= 1.4.1, < 3.0)
7
-
8
- GEM
9
- remote: https://rubygems.org/
10
- specs:
11
- actionmailer (3.2.3)
12
- actionpack (= 3.2.3)
13
- mail (~> 2.4.4)
14
- actionpack (3.2.3)
15
- activemodel (= 3.2.3)
16
- activesupport (= 3.2.3)
17
- builder (~> 3.0.0)
18
- erubis (~> 2.7.0)
19
- journey (~> 1.0.1)
20
- rack (~> 1.4.0)
21
- rack-cache (~> 1.2)
22
- rack-test (~> 0.6.1)
23
- sprockets (~> 2.1.2)
24
- activemodel (3.2.3)
25
- activesupport (= 3.2.3)
26
- builder (~> 3.0.0)
27
- activerecord (3.2.3)
28
- activemodel (= 3.2.3)
29
- activesupport (= 3.2.3)
30
- arel (~> 3.0.2)
31
- tzinfo (~> 0.3.29)
32
- activeresource (3.2.3)
33
- activemodel (= 3.2.3)
34
- activesupport (= 3.2.3)
35
- activesupport (3.2.3)
36
- i18n (~> 0.6)
37
- multi_json (~> 1.0)
38
- appraisal (0.4.1)
39
- bundler
40
- rake
41
- arel (3.0.2)
42
- aruba (0.4.11)
43
- childprocess (>= 0.2.3)
44
- cucumber (>= 1.1.1)
45
- ffi (>= 1.0.11)
46
- rspec (>= 2.7.0)
47
- builder (3.0.4)
48
- childprocess (0.3.9)
49
- ffi (~> 1.0, >= 1.0.11)
50
- cucumber (1.1.9)
51
- builder (>= 2.1.2)
52
- diff-lcs (>= 1.1.2)
53
- gherkin (~> 2.9.0)
54
- json (>= 1.4.6)
55
- term-ansicolor (>= 1.0.6)
56
- diff-lcs (1.1.3)
57
- erubis (2.7.0)
58
- ffi (1.8.1)
59
- gherkin (2.9.3)
60
- json (>= 1.4.6)
61
- hike (1.2.2)
62
- i18n (0.6.4)
63
- journey (1.0.4)
64
- jquery-rails (2.2.1)
65
- railties (>= 3.0, < 5.0)
66
- thor (>= 0.14, < 2.0)
67
- json (1.7.7)
68
- mail (2.4.4)
69
- i18n (>= 0.4.0)
70
- mime-types (~> 1.16)
71
- treetop (~> 1.4.8)
72
- mime-types (1.23)
73
- multi_json (1.7.3)
74
- polyglot (0.3.3)
75
- rack (1.4.5)
76
- rack-cache (1.2)
77
- rack (>= 0.4)
78
- rack-ssl (1.3.3)
79
- rack
80
- rack-test (0.6.2)
81
- rack (>= 1.0)
82
- rails (3.2.3)
83
- actionmailer (= 3.2.3)
84
- actionpack (= 3.2.3)
85
- activerecord (= 3.2.3)
86
- activeresource (= 3.2.3)
87
- activesupport (= 3.2.3)
88
- bundler (~> 1.0)
89
- railties (= 3.2.3)
90
- railties (3.2.3)
91
- actionpack (= 3.2.3)
92
- activesupport (= 3.2.3)
93
- rack-ssl (~> 1.3.2)
94
- rake (>= 0.8.7)
95
- rdoc (~> 3.4)
96
- thor (~> 0.14.6)
97
- rake (10.0.4)
98
- rdoc (3.12.2)
99
- json (~> 1.4)
100
- rspec (2.7.0)
101
- rspec-core (~> 2.7.0)
102
- rspec-expectations (~> 2.7.0)
103
- rspec-mocks (~> 2.7.0)
104
- rspec-core (2.7.1)
105
- rspec-expectations (2.7.0)
106
- diff-lcs (~> 1.1.2)
107
- rspec-mocks (2.7.0)
108
- rspec-rails (2.7.0)
109
- actionpack (~> 3.0)
110
- activesupport (~> 3.0)
111
- railties (~> 3.0)
112
- rspec (~> 2.7.0)
113
- sass (3.2.8)
114
- sass-rails (3.2.6)
115
- railties (~> 3.2.0)
116
- sass (>= 3.1.10)
117
- tilt (~> 1.3)
118
- shoulda-context (1.1.1)
119
- shoulda-matchers (2.1.0)
120
- activesupport (>= 3.0.0)
121
- sprockets (2.1.3)
122
- hike (~> 1.2)
123
- rack (~> 1.0)
124
- tilt (~> 1.1, != 1.3.0)
125
- sqlite3 (1.3.7)
126
- term-ansicolor (1.1.5)
127
- thor (0.14.6)
128
- tilt (1.4.0)
129
- treetop (1.4.12)
130
- polyglot
131
- polyglot (>= 0.3.1)
132
- tzinfo (0.3.37)
133
-
134
- PLATFORMS
135
- ruby
136
-
137
- DEPENDENCIES
138
- appraisal (~> 0.4.0)
139
- aruba (~> 0.4.11)
140
- cucumber (~> 1.1.0)
141
- jquery-rails
142
- rails (= 3.2.3)
143
- rspec-rails (~> 2.7.0)
144
- sass-rails
145
- shoulda!
146
- sqlite3 (~> 1.3.2)