shoulda 3.4.0 → 4.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +9 -7
  3. data/.hound.yml +3 -0
  4. data/.rubocop.yml +192 -0
  5. data/.ruby-version +1 -0
  6. data/.travis.yml +33 -2
  7. data/Appraisals +109 -8
  8. data/CHANGELOG.md +10 -0
  9. data/CONTRIBUTING.md +6 -1
  10. data/Gemfile +13 -0
  11. data/README.md +67 -74
  12. data/Rakefile +24 -10
  13. data/gemfiles/rails_4_2.gemfile +34 -0
  14. data/gemfiles/rails_4_2.gemfile.lock +240 -0
  15. data/gemfiles/rails_5_0.gemfile +32 -0
  16. data/gemfiles/rails_5_0.gemfile.lock +232 -0
  17. data/gemfiles/rails_5_1.gemfile +33 -0
  18. data/gemfiles/rails_5_1.gemfile.lock +247 -0
  19. data/gemfiles/rails_5_2.gemfile +35 -0
  20. data/gemfiles/rails_5_2.gemfile.lock +266 -0
  21. data/gemfiles/rails_6_0.gemfile +37 -0
  22. data/gemfiles/rails_6_0.gemfile.lock +291 -0
  23. data/lib/shoulda/version.rb +1 -1
  24. data/script/install_gems_in_all_appraisals +16 -0
  25. data/script/run_all_tests +16 -0
  26. data/script/supported_ruby_versions +7 -0
  27. data/script/update_gem_in_all_appraisals +17 -0
  28. data/script/update_gems_in_all_appraisals +16 -0
  29. data/shoulda.gemspec +23 -23
  30. data/test/acceptance/integrates_with_rails_test.rb +580 -0
  31. data/test/acceptance_test_helper.rb +43 -0
  32. data/test/support/acceptance/add_shoulda_to_project.rb +73 -0
  33. data/test/support/acceptance/helpers/array_helpers.rb +13 -0
  34. data/test/support/acceptance/helpers/pluralization_helpers.rb +13 -0
  35. data/test/support/acceptance/matchers/have_output.rb +33 -0
  36. data/test/support/acceptance/matchers/indicate_that_tests_were_run.rb +109 -0
  37. data/test/support/acceptance/rails_application_with_shoulda.rb +47 -0
  38. data/test/support/current_bundle.rb +61 -0
  39. data/test/support/snowglobe.rb +5 -0
  40. data/test/test_helper.rb +23 -0
  41. metadata +61 -153
  42. data/features/rails_integration.feature +0 -87
  43. data/features/step_definitions/rails_steps.rb +0 -77
  44. data/features/support/env.rb +0 -14
  45. data/gemfiles/3.0.gemfile +0 -7
  46. data/gemfiles/3.0.gemfile.lock +0 -127
  47. data/gemfiles/3.1.gemfile +0 -9
  48. data/gemfiles/3.1.gemfile.lock +0 -149
  49. data/gemfiles/3.2.gemfile +0 -9
  50. data/gemfiles/3.2.gemfile.lock +0 -146
@@ -1,9 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "http://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/draper/Dropbox/Development/shoulda
3
- specs:
4
- shoulda (3.3.1)
5
- shoulda-context (~> 1.0.1)
6
- shoulda-matchers (~> 1.4.1)
7
-
8
- GEM
9
- remote: http://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.6)
49
- ffi (~> 1.0, >= 1.0.6)
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.1.5)
59
- gherkin (2.9.3)
60
- json (>= 1.4.6)
61
- hike (1.2.1)
62
- i18n (0.6.1)
63
- journey (1.0.4)
64
- jquery-rails (2.1.3)
65
- railties (>= 3.1.0, < 5.0)
66
- thor (~> 0.14)
67
- json (1.7.5)
68
- mail (2.4.4)
69
- i18n (>= 0.4.0)
70
- mime-types (~> 1.16)
71
- treetop (~> 1.4.8)
72
- mime-types (1.19)
73
- multi_json (1.3.6)
74
- polyglot (0.3.3)
75
- rack (1.4.1)
76
- rack-cache (1.2)
77
- rack (>= 0.4)
78
- rack-ssl (1.3.2)
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 (0.9.2.2)
98
- rdoc (3.12)
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.1)
114
- sass-rails (3.2.5)
115
- railties (~> 3.2.0)
116
- sass (>= 3.1.10)
117
- tilt (~> 1.3)
118
- shoulda-context (1.0.1)
119
- shoulda-matchers (1.4.1)
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.6)
126
- term-ansicolor (1.0.7)
127
- thor (0.14.6)
128
- tilt (1.3.3)
129
- treetop (1.4.11)
130
- polyglot
131
- polyglot (>= 0.3.1)
132
- tzinfo (0.3.33)
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)