rspec-resembles_json_matchers 0.7.2 → 0.9.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/.rubocop.yml +155 -0
  4. data/.travis.yml +5 -6
  5. data/Appraisals +7 -5
  6. data/Changelog.md +16 -0
  7. data/Gemfile +3 -1
  8. data/Guardfile +6 -5
  9. data/LICENSE.txt +13 -0
  10. data/README.md +5 -0
  11. data/Rakefile +2 -0
  12. data/examples/example_spec.rb +67 -63
  13. data/gemfiles/.bundle/config +5 -0
  14. data/gemfiles/rails_5.gemfile +2 -2
  15. data/gemfiles/rails_5.gemfile.lock +100 -67
  16. data/gemfiles/{rails_42.gemfile → rails_6.gemfile} +3 -3
  17. data/gemfiles/rails_6.gemfile.lock +236 -0
  18. data/lib/rspec/resembles_json_matchers.rb +16 -15
  19. data/lib/rspec/resembles_json_matchers/attribute_differ.rb +75 -55
  20. data/lib/rspec/resembles_json_matchers/attribute_matcher.rb +38 -18
  21. data/lib/rspec/resembles_json_matchers/helpers.rb +4 -3
  22. data/lib/rspec/resembles_json_matchers/json_matcher.rb +22 -33
  23. data/lib/rspec/resembles_json_matchers/matcherizer.rb +2 -3
  24. data/lib/rspec/resembles_json_matchers/resembles_any_of_matcher.rb +16 -15
  25. data/lib/rspec/resembles_json_matchers/resembles_array_matcher.rb +2 -4
  26. data/lib/rspec/resembles_json_matchers/resembles_boolean_matcher.rb +4 -1
  27. data/lib/rspec/resembles_json_matchers/resembles_class_matcher.rb +2 -1
  28. data/lib/rspec/resembles_json_matchers/resembles_date_matcher.rb +2 -0
  29. data/lib/rspec/resembles_json_matchers/resembles_hash_matcher.rb +11 -11
  30. data/lib/rspec/resembles_json_matchers/resembles_matcher.rb +8 -16
  31. data/lib/rspec/resembles_json_matchers/resembles_nil_matcher.rb +1 -0
  32. data/lib/rspec/resembles_json_matchers/resembles_numeric_matcher.rb +2 -1
  33. data/lib/rspec/resembles_json_matchers/resembles_route_matcher.rb +6 -3
  34. data/lib/rspec/resembles_json_matchers/resembles_string_matcher.rb +1 -0
  35. data/lib/rspec/resembles_json_matchers/string_indent.rb +4 -2
  36. data/lib/rspec/resembles_json_matchers/version.rb +3 -1
  37. data/rspec-resembles_json_matchers.gemspec +14 -9
  38. metadata +68 -24
  39. data/gemfiles/rails_42.gemfile.lock +0 -183
@@ -1,183 +0,0 @@
1
- PATH
2
- remote: ..
3
- specs:
4
- rspec-resembles_json_matchers (0.7.0)
5
- activesupport (>= 3.0)
6
- rspec (>= 2.0, < 4.0.0.a)
7
- rspec-expectations (>= 2.0, < 4.0.0.a)
8
- rspec-support (>= 2.0, < 4.0.0.a)
9
-
10
- GEM
11
- remote: https://rubygems.org/
12
- specs:
13
- actionmailer (4.2.10)
14
- actionpack (= 4.2.10)
15
- actionview (= 4.2.10)
16
- activejob (= 4.2.10)
17
- mail (~> 2.5, >= 2.5.4)
18
- rails-dom-testing (~> 1.0, >= 1.0.5)
19
- actionpack (4.2.10)
20
- actionview (= 4.2.10)
21
- activesupport (= 4.2.10)
22
- rack (~> 1.6)
23
- rack-test (~> 0.6.2)
24
- rails-dom-testing (~> 1.0, >= 1.0.5)
25
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
26
- actionview (4.2.10)
27
- activesupport (= 4.2.10)
28
- builder (~> 3.1)
29
- erubis (~> 2.7.0)
30
- rails-dom-testing (~> 1.0, >= 1.0.5)
31
- rails-html-sanitizer (~> 1.0, >= 1.0.3)
32
- activejob (4.2.10)
33
- activesupport (= 4.2.10)
34
- globalid (>= 0.3.0)
35
- activemodel (4.2.10)
36
- activesupport (= 4.2.10)
37
- builder (~> 3.1)
38
- activerecord (4.2.10)
39
- activemodel (= 4.2.10)
40
- activesupport (= 4.2.10)
41
- arel (~> 6.0)
42
- activesupport (4.2.10)
43
- i18n (~> 0.7)
44
- minitest (~> 5.1)
45
- thread_safe (~> 0.3, >= 0.3.4)
46
- tzinfo (~> 1.1)
47
- appraisal (2.2.0)
48
- bundler
49
- rake
50
- thor (>= 0.14.0)
51
- arel (6.0.4)
52
- awesome_print (1.8.0)
53
- builder (3.2.3)
54
- byebug (9.1.0)
55
- coderay (1.1.2)
56
- concurrent-ruby (1.0.5)
57
- crass (1.0.3)
58
- diff-lcs (1.3)
59
- erubis (2.7.0)
60
- ffi (1.9.18)
61
- formatador (0.2.5)
62
- globalid (0.4.1)
63
- activesupport (>= 4.2.0)
64
- guard (2.14.1)
65
- formatador (>= 0.2.4)
66
- listen (>= 2.7, < 4.0)
67
- lumberjack (~> 1.0)
68
- nenv (~> 0.1)
69
- notiffany (~> 0.0)
70
- pry (>= 0.9.12)
71
- shellany (~> 0.0)
72
- thor (>= 0.18.1)
73
- guard-compat (1.2.1)
74
- guard-rspec (4.7.3)
75
- guard (~> 2.1)
76
- guard-compat (~> 1.1)
77
- rspec (>= 2.99.0, < 4.0)
78
- i18n (0.9.1)
79
- concurrent-ruby (~> 1.0)
80
- listen (3.1.5)
81
- rb-fsevent (~> 0.9, >= 0.9.4)
82
- rb-inotify (~> 0.9, >= 0.9.7)
83
- ruby_dep (~> 1.2)
84
- loofah (2.1.1)
85
- crass (~> 1.0.2)
86
- nokogiri (>= 1.5.9)
87
- lumberjack (1.0.12)
88
- mail (2.7.0)
89
- mini_mime (>= 0.1.1)
90
- method_source (0.9.0)
91
- mini_mime (1.0.0)
92
- mini_portile2 (2.3.0)
93
- minitest (5.10.3)
94
- nenv (0.3.0)
95
- nokogiri (1.8.1)
96
- mini_portile2 (~> 2.3.0)
97
- notiffany (0.1.1)
98
- nenv (~> 0.1)
99
- shellany (~> 0.0)
100
- pry (0.11.3)
101
- coderay (~> 1.1.0)
102
- method_source (~> 0.9.0)
103
- pry-byebug (3.5.1)
104
- byebug (~> 9.1)
105
- pry (~> 0.10)
106
- pry-state (0.1.10)
107
- pry (>= 0.9.10, < 0.12.0)
108
- rack (1.6.8)
109
- rack-test (0.6.3)
110
- rack (>= 1.0)
111
- rails (4.2.10)
112
- actionmailer (= 4.2.10)
113
- actionpack (= 4.2.10)
114
- actionview (= 4.2.10)
115
- activejob (= 4.2.10)
116
- activemodel (= 4.2.10)
117
- activerecord (= 4.2.10)
118
- activesupport (= 4.2.10)
119
- bundler (>= 1.3.0, < 2.0)
120
- railties (= 4.2.10)
121
- sprockets-rails
122
- rails-deprecated_sanitizer (1.0.3)
123
- activesupport (>= 4.2.0.alpha)
124
- rails-dom-testing (1.0.9)
125
- activesupport (>= 4.2.0, < 5.0)
126
- nokogiri (~> 1.6)
127
- rails-deprecated_sanitizer (>= 1.0.1)
128
- rails-html-sanitizer (1.0.3)
129
- loofah (~> 2.0)
130
- railties (4.2.10)
131
- actionpack (= 4.2.10)
132
- activesupport (= 4.2.10)
133
- rake (>= 0.8.7)
134
- thor (>= 0.18.1, < 2.0)
135
- rake (12.3.0)
136
- rb-fsevent (0.10.2)
137
- rb-inotify (0.9.10)
138
- ffi (>= 0.5.0, < 2)
139
- rspec (3.7.0)
140
- rspec-core (~> 3.7.0)
141
- rspec-expectations (~> 3.7.0)
142
- rspec-mocks (~> 3.7.0)
143
- rspec-core (3.7.0)
144
- rspec-support (~> 3.7.0)
145
- rspec-expectations (3.7.0)
146
- diff-lcs (>= 1.2.0, < 2.0)
147
- rspec-support (~> 3.7.0)
148
- rspec-mocks (3.7.0)
149
- diff-lcs (>= 1.2.0, < 2.0)
150
- rspec-support (~> 3.7.0)
151
- rspec-support (3.7.0)
152
- ruby_dep (1.5.0)
153
- shellany (0.0.1)
154
- sprockets (3.7.1)
155
- concurrent-ruby (~> 1.0)
156
- rack (> 1, < 3)
157
- sprockets-rails (3.2.1)
158
- actionpack (>= 4.0)
159
- activesupport (>= 4.0)
160
- sprockets (>= 3.0.0)
161
- thor (0.20.0)
162
- thread_safe (0.3.6)
163
- tzinfo (1.2.4)
164
- thread_safe (~> 0.1)
165
-
166
- PLATFORMS
167
- ruby
168
-
169
- DEPENDENCIES
170
- appraisal
171
- awesome_print
172
- bundler (~> 1.11)
173
- guard
174
- guard-rspec
175
- pry-byebug
176
- pry-state
177
- rails (~> 4.2)
178
- rake
179
- rspec (~> 3.4)
180
- rspec-resembles_json_matchers!
181
-
182
- BUNDLED WITH
183
- 1.16.1