rspec-resembles_json_matchers 0.7.0 → 0.7.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 41ce9ddec87f87a2b3bbdca185b9987b6b61c89813c1e1a4b5a23f5af677d636
4
- data.tar.gz: 1f04f3a51ffd0c508a551661946466f1910eb22e427205b49fb87e689e7d24a9
3
+ metadata.gz: 6612696280e9b977e59184e86033a0ef42982e8ef61147514cff914c4e17b7e1
4
+ data.tar.gz: b86d4381ce1929169024daf614a433912c383a62b932dd3150f48001699d9d83
5
5
  SHA512:
6
- metadata.gz: 4bff40b1f820583202eecfc003676f46e63533ab9c8dc635a87616b95ce5169a478ed0cad7c2aa692717859320ad0d66a1d8cb898eec091aa955537155091d44
7
- data.tar.gz: 725fc52f95deab1a7fb909191b9b1ca14c5f19f1f45316bcd59b5aa014e419cfaee0c7cb865620a79faea9e28bd9b48910b7d4c1aef435fb1806dc689bbf7ba8
6
+ metadata.gz: d0be14a070bfc0c5489df05d310f458507360838492bb6b74d1195cf731d1ff03fe91aad61a8f88f212ef170f618929a248c7b8b50585d0880a5cb473acdb321
7
+ data.tar.gz: 7b4be74ca0a2456ca97983ec84187ea6dd93d562fe638bebf2ee9de3027c1b8f33b4e05480a4b7401f1ac93fc46ad291333bc3578bf35360585e8469e2fb3e7d
data/.travis.yml CHANGED
@@ -1,8 +1,8 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.3.1
4
- - ruby-head
5
- before_install: gem install bundler -v 1.11.2
3
+ - 2.4.2
4
+ - 2.5.0
5
+ before_install: gem install bundler
6
6
  gemfile:
7
7
  - gemfiles/rails_32.gemfile
8
8
  - gemfiles/rails_42.gemfile
@@ -10,7 +10,5 @@ gemfile:
10
10
  - gemfiles/rails_5.gemfile
11
11
  matrix:
12
12
  fast_finish: true
13
- allow_failures:
14
- - rvm: ruby-head
15
13
  notifications:
16
14
  email: false
data/Appraisals CHANGED
@@ -1,18 +1,9 @@
1
- appraise "rails-32" do
2
- gem "rails", "~> 3.2.0"
3
- end
4
-
5
1
  appraise "rails-42" do
6
- gem "rails", "~> 4.2.0"
7
- gem "rspec", "~> 3.4.0"
8
- end
9
-
10
- appraise "rails-42-rspec-33" do
11
- gem "rails", "~> 4.2.0"
12
- gem "rspec", "~> 3.3.0"
2
+ gem "rails", "~> 4.2"
3
+ gem "rspec", "~> 3.4"
13
4
  end
14
5
 
15
6
  appraise "rails-5" do
16
- gem "rails", "~> 5.0.0.beta2"
17
- gem "rspec", "~> 3.5.0.beta1"
7
+ gem "rails", "~> 5.1.0"
8
+ gem "rspec", "~> 3.6.0"
18
9
  end
data/Changelog.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 0.7.1
2
+
3
+ - Handle rendering when matcher value is null
4
+
1
5
  # 0.7.0
2
6
 
3
7
  - Change the output to be a diff-like view rather than verbose prose
@@ -2,7 +2,7 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "rails", "~> 4.2.0"
6
- gem "rspec", "~> 3.4.0"
5
+ gem "rails", "~> 4.2"
6
+ gem "rspec", "~> 3.4"
7
7
 
8
8
  gemspec :path => "../"
@@ -1,67 +1,69 @@
1
1
  PATH
2
- remote: ../
2
+ remote: ..
3
3
  specs:
4
- rspec-resembles_json_matchers (0.1.0)
5
- activesupport (>= 4.0)
4
+ rspec-resembles_json_matchers (0.7.0)
5
+ activesupport (>= 3.0)
6
6
  rspec (>= 2.0, < 4.0.0.a)
7
7
  rspec-expectations (>= 2.0, < 4.0.0.a)
8
+ rspec-support (>= 2.0, < 4.0.0.a)
8
9
 
9
10
  GEM
10
11
  remote: https://rubygems.org/
11
12
  specs:
12
- actionmailer (4.2.5.1)
13
- actionpack (= 4.2.5.1)
14
- actionview (= 4.2.5.1)
15
- activejob (= 4.2.5.1)
13
+ actionmailer (4.2.10)
14
+ actionpack (= 4.2.10)
15
+ actionview (= 4.2.10)
16
+ activejob (= 4.2.10)
16
17
  mail (~> 2.5, >= 2.5.4)
17
18
  rails-dom-testing (~> 1.0, >= 1.0.5)
18
- actionpack (4.2.5.1)
19
- actionview (= 4.2.5.1)
20
- activesupport (= 4.2.5.1)
19
+ actionpack (4.2.10)
20
+ actionview (= 4.2.10)
21
+ activesupport (= 4.2.10)
21
22
  rack (~> 1.6)
22
23
  rack-test (~> 0.6.2)
23
24
  rails-dom-testing (~> 1.0, >= 1.0.5)
24
25
  rails-html-sanitizer (~> 1.0, >= 1.0.2)
25
- actionview (4.2.5.1)
26
- activesupport (= 4.2.5.1)
26
+ actionview (4.2.10)
27
+ activesupport (= 4.2.10)
27
28
  builder (~> 3.1)
28
29
  erubis (~> 2.7.0)
29
30
  rails-dom-testing (~> 1.0, >= 1.0.5)
30
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
31
- activejob (4.2.5.1)
32
- activesupport (= 4.2.5.1)
31
+ rails-html-sanitizer (~> 1.0, >= 1.0.3)
32
+ activejob (4.2.10)
33
+ activesupport (= 4.2.10)
33
34
  globalid (>= 0.3.0)
34
- activemodel (4.2.5.1)
35
- activesupport (= 4.2.5.1)
35
+ activemodel (4.2.10)
36
+ activesupport (= 4.2.10)
36
37
  builder (~> 3.1)
37
- activerecord (4.2.5.1)
38
- activemodel (= 4.2.5.1)
39
- activesupport (= 4.2.5.1)
38
+ activerecord (4.2.10)
39
+ activemodel (= 4.2.10)
40
+ activesupport (= 4.2.10)
40
41
  arel (~> 6.0)
41
- activesupport (4.2.5.1)
42
+ activesupport (4.2.10)
42
43
  i18n (~> 0.7)
43
- json (~> 1.7, >= 1.7.7)
44
44
  minitest (~> 5.1)
45
45
  thread_safe (~> 0.3, >= 0.3.4)
46
46
  tzinfo (~> 1.1)
47
- appraisal (2.1.0)
47
+ appraisal (2.2.0)
48
48
  bundler
49
49
  rake
50
50
  thor (>= 0.14.0)
51
- arel (6.0.3)
52
- awesome_print (1.6.1)
53
- builder (3.2.2)
54
- coderay (1.1.1)
55
- concurrent-ruby (1.0.0)
56
- diff-lcs (1.2.5)
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)
57
59
  erubis (2.7.0)
58
- ffi (1.9.10)
60
+ ffi (1.9.18)
59
61
  formatador (0.2.5)
60
- globalid (0.3.6)
61
- activesupport (>= 4.1.0)
62
- guard (2.13.0)
62
+ globalid (0.4.1)
63
+ activesupport (>= 4.2.0)
64
+ guard (2.14.1)
63
65
  formatador (>= 0.2.4)
64
- listen (>= 2.7, <= 4.0)
66
+ listen (>= 2.7, < 4.0)
65
67
  lumberjack (~> 1.0)
66
68
  nenv (~> 0.1)
67
69
  notiffany (~> 0.0)
@@ -69,90 +71,96 @@ GEM
69
71
  shellany (~> 0.0)
70
72
  thor (>= 0.18.1)
71
73
  guard-compat (1.2.1)
72
- guard-rspec (4.6.4)
74
+ guard-rspec (4.7.3)
73
75
  guard (~> 2.1)
74
76
  guard-compat (~> 1.1)
75
77
  rspec (>= 2.99.0, < 4.0)
76
- i18n (0.7.0)
77
- json (1.8.3)
78
- listen (3.0.6)
79
- rb-fsevent (>= 0.9.3)
80
- rb-inotify (>= 0.9.7)
81
- loofah (2.0.3)
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)
82
86
  nokogiri (>= 1.5.9)
83
- lumberjack (1.0.10)
84
- mail (2.6.3)
85
- mime-types (>= 1.16, < 3)
86
- method_source (0.8.2)
87
- mime-types (2.99)
88
- mini_portile2 (2.0.0)
89
- minitest (5.8.4)
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)
90
94
  nenv (0.3.0)
91
- nokogiri (1.6.7.2)
92
- mini_portile2 (~> 2.0.0.rc2)
93
- notiffany (0.0.8)
95
+ nokogiri (1.8.1)
96
+ mini_portile2 (~> 2.3.0)
97
+ notiffany (0.1.1)
94
98
  nenv (~> 0.1)
95
99
  shellany (~> 0.0)
96
- pry (0.10.3)
100
+ pry (0.11.3)
97
101
  coderay (~> 1.1.0)
98
- method_source (~> 0.8.1)
99
- slop (~> 3.4)
100
- rack (1.6.4)
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)
101
109
  rack-test (0.6.3)
102
110
  rack (>= 1.0)
103
- rails (4.2.5.1)
104
- actionmailer (= 4.2.5.1)
105
- actionpack (= 4.2.5.1)
106
- actionview (= 4.2.5.1)
107
- activejob (= 4.2.5.1)
108
- activemodel (= 4.2.5.1)
109
- activerecord (= 4.2.5.1)
110
- activesupport (= 4.2.5.1)
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)
111
119
  bundler (>= 1.3.0, < 2.0)
112
- railties (= 4.2.5.1)
120
+ railties (= 4.2.10)
113
121
  sprockets-rails
114
122
  rails-deprecated_sanitizer (1.0.3)
115
123
  activesupport (>= 4.2.0.alpha)
116
- rails-dom-testing (1.0.7)
117
- activesupport (>= 4.2.0.beta, < 5.0)
118
- nokogiri (~> 1.6.0)
124
+ rails-dom-testing (1.0.9)
125
+ activesupport (>= 4.2.0, < 5.0)
126
+ nokogiri (~> 1.6)
119
127
  rails-deprecated_sanitizer (>= 1.0.1)
120
128
  rails-html-sanitizer (1.0.3)
121
129
  loofah (~> 2.0)
122
- railties (4.2.5.1)
123
- actionpack (= 4.2.5.1)
124
- activesupport (= 4.2.5.1)
130
+ railties (4.2.10)
131
+ actionpack (= 4.2.10)
132
+ activesupport (= 4.2.10)
125
133
  rake (>= 0.8.7)
126
134
  thor (>= 0.18.1, < 2.0)
127
- rake (10.5.0)
128
- rb-fsevent (0.9.7)
129
- rb-inotify (0.9.7)
130
- ffi (>= 0.5.0)
131
- rspec (3.4.0)
132
- rspec-core (~> 3.4.0)
133
- rspec-expectations (~> 3.4.0)
134
- rspec-mocks (~> 3.4.0)
135
- rspec-core (3.4.1)
136
- rspec-support (~> 3.4.0)
137
- rspec-expectations (3.4.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)
138
146
  diff-lcs (>= 1.2.0, < 2.0)
139
- rspec-support (~> 3.4.0)
140
- rspec-mocks (3.4.1)
147
+ rspec-support (~> 3.7.0)
148
+ rspec-mocks (3.7.0)
141
149
  diff-lcs (>= 1.2.0, < 2.0)
142
- rspec-support (~> 3.4.0)
143
- rspec-support (3.4.1)
150
+ rspec-support (~> 3.7.0)
151
+ rspec-support (3.7.0)
152
+ ruby_dep (1.5.0)
144
153
  shellany (0.0.1)
145
- slop (3.6.0)
146
- sprockets (3.5.2)
154
+ sprockets (3.7.1)
147
155
  concurrent-ruby (~> 1.0)
148
156
  rack (> 1, < 3)
149
- sprockets-rails (3.0.1)
157
+ sprockets-rails (3.2.1)
150
158
  actionpack (>= 4.0)
151
159
  activesupport (>= 4.0)
152
160
  sprockets (>= 3.0.0)
153
- thor (0.19.1)
154
- thread_safe (0.3.5)
155
- tzinfo (1.2.2)
161
+ thor (0.20.0)
162
+ thread_safe (0.3.6)
163
+ tzinfo (1.2.4)
156
164
  thread_safe (~> 0.1)
157
165
 
158
166
  PLATFORMS
@@ -164,10 +172,12 @@ DEPENDENCIES
164
172
  bundler (~> 1.11)
165
173
  guard
166
174
  guard-rspec
167
- rails (~> 4.2.0)
168
- rake (~> 10.0)
169
- rspec (~> 3.4.0)
175
+ pry-byebug
176
+ pry-state
177
+ rails (~> 4.2)
178
+ rake
179
+ rspec (~> 3.4)
170
180
  rspec-resembles_json_matchers!
171
181
 
172
182
  BUNDLED WITH
173
- 1.11.2
183
+ 1.16.1
@@ -2,7 +2,7 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "rails", "~> 5.0.0.beta2"
6
- gem "rspec", "~> 3.5.0.beta1"
5
+ gem "rails", "~> 5.1.0"
6
+ gem "rspec", "~> 3.6.0"
7
7
 
8
8
  gemspec :path => "../"
@@ -1,71 +1,72 @@
1
1
  PATH
2
- remote: ../
2
+ remote: ..
3
3
  specs:
4
- rspec-resembles_json_matchers (0.1.0)
5
- activesupport (>= 4.0)
4
+ rspec-resembles_json_matchers (0.7.0)
5
+ activesupport (>= 3.0)
6
6
  rspec (>= 2.0, < 4.0.0.a)
7
7
  rspec-expectations (>= 2.0, < 4.0.0.a)
8
+ rspec-support (>= 2.0, < 4.0.0.a)
8
9
 
9
10
  GEM
10
11
  remote: https://rubygems.org/
11
12
  specs:
12
- actioncable (5.0.0.beta2)
13
- actionpack (= 5.0.0.beta2)
14
- nio4r (~> 1.2)
13
+ actioncable (5.1.4)
14
+ actionpack (= 5.1.4)
15
+ nio4r (~> 2.0)
15
16
  websocket-driver (~> 0.6.1)
16
- actionmailer (5.0.0.beta2)
17
- actionpack (= 5.0.0.beta2)
18
- actionview (= 5.0.0.beta2)
19
- activejob (= 5.0.0.beta2)
17
+ actionmailer (5.1.4)
18
+ actionpack (= 5.1.4)
19
+ actionview (= 5.1.4)
20
+ activejob (= 5.1.4)
20
21
  mail (~> 2.5, >= 2.5.4)
21
- rails-dom-testing (~> 1.0, >= 1.0.5)
22
- actionpack (5.0.0.beta2)
23
- actionview (= 5.0.0.beta2)
24
- activesupport (= 5.0.0.beta2)
25
- rack (~> 2.x)
26
- rack-test (~> 0.6.3)
27
- rails-dom-testing (~> 1.0, >= 1.0.5)
22
+ rails-dom-testing (~> 2.0)
23
+ actionpack (5.1.4)
24
+ actionview (= 5.1.4)
25
+ activesupport (= 5.1.4)
26
+ rack (~> 2.0)
27
+ rack-test (>= 0.6.3)
28
+ rails-dom-testing (~> 2.0)
28
29
  rails-html-sanitizer (~> 1.0, >= 1.0.2)
29
- actionview (5.0.0.beta2)
30
- activesupport (= 5.0.0.beta2)
30
+ actionview (5.1.4)
31
+ activesupport (= 5.1.4)
31
32
  builder (~> 3.1)
32
- erubis (~> 2.7.0)
33
- rails-dom-testing (~> 1.0, >= 1.0.5)
34
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
35
- activejob (5.0.0.beta2)
36
- activesupport (= 5.0.0.beta2)
33
+ erubi (~> 1.4)
34
+ rails-dom-testing (~> 2.0)
35
+ rails-html-sanitizer (~> 1.0, >= 1.0.3)
36
+ activejob (5.1.4)
37
+ activesupport (= 5.1.4)
37
38
  globalid (>= 0.3.6)
38
- activemodel (5.0.0.beta2)
39
- activesupport (= 5.0.0.beta2)
40
- activerecord (5.0.0.beta2)
41
- activemodel (= 5.0.0.beta2)
42
- activesupport (= 5.0.0.beta2)
43
- arel (~> 7.0)
44
- activesupport (5.0.0.beta2)
45
- concurrent-ruby (~> 1.0)
39
+ activemodel (5.1.4)
40
+ activesupport (= 5.1.4)
41
+ activerecord (5.1.4)
42
+ activemodel (= 5.1.4)
43
+ activesupport (= 5.1.4)
44
+ arel (~> 8.0)
45
+ activesupport (5.1.4)
46
+ concurrent-ruby (~> 1.0, >= 1.0.2)
46
47
  i18n (~> 0.7)
47
- json (~> 1.7, >= 1.7.7)
48
- method_source
49
48
  minitest (~> 5.1)
50
49
  tzinfo (~> 1.1)
51
- appraisal (2.1.0)
50
+ appraisal (2.2.0)
52
51
  bundler
53
52
  rake
54
53
  thor (>= 0.14.0)
55
- arel (7.0.0)
56
- awesome_print (1.6.1)
57
- builder (3.2.2)
58
- coderay (1.1.1)
59
- concurrent-ruby (1.0.0)
60
- diff-lcs (1.2.5)
61
- erubis (2.7.0)
62
- ffi (1.9.10)
54
+ arel (8.0.0)
55
+ awesome_print (1.8.0)
56
+ builder (3.2.3)
57
+ byebug (9.1.0)
58
+ coderay (1.1.2)
59
+ concurrent-ruby (1.0.5)
60
+ crass (1.0.3)
61
+ diff-lcs (1.3)
62
+ erubi (1.7.0)
63
+ ffi (1.9.18)
63
64
  formatador (0.2.5)
64
- globalid (0.3.6)
65
- activesupport (>= 4.1.0)
66
- guard (2.13.0)
65
+ globalid (0.4.1)
66
+ activesupport (>= 4.2.0)
67
+ guard (2.14.1)
67
68
  formatador (>= 0.2.4)
68
- listen (>= 2.7, <= 4.0)
69
+ listen (>= 2.7, < 4.0)
69
70
  lumberjack (~> 1.0)
70
71
  nenv (~> 0.1)
71
72
  notiffany (~> 0.0)
@@ -73,98 +74,100 @@ GEM
73
74
  shellany (~> 0.0)
74
75
  thor (>= 0.18.1)
75
76
  guard-compat (1.2.1)
76
- guard-rspec (4.6.4)
77
+ guard-rspec (4.7.3)
77
78
  guard (~> 2.1)
78
79
  guard-compat (~> 1.1)
79
80
  rspec (>= 2.99.0, < 4.0)
80
- i18n (0.7.0)
81
- json (1.8.3)
82
- listen (3.0.6)
83
- rb-fsevent (>= 0.9.3)
84
- rb-inotify (>= 0.9.7)
85
- loofah (2.0.3)
81
+ i18n (0.9.1)
82
+ concurrent-ruby (~> 1.0)
83
+ listen (3.1.5)
84
+ rb-fsevent (~> 0.9, >= 0.9.4)
85
+ rb-inotify (~> 0.9, >= 0.9.7)
86
+ ruby_dep (~> 1.2)
87
+ loofah (2.1.1)
88
+ crass (~> 1.0.2)
86
89
  nokogiri (>= 1.5.9)
87
- lumberjack (1.0.10)
88
- mail (2.6.3)
89
- mime-types (>= 1.16, < 3)
90
- method_source (0.8.2)
91
- mime-types (2.99)
92
- mini_portile2 (2.0.0)
93
- minitest (5.8.4)
90
+ lumberjack (1.0.12)
91
+ mail (2.7.0)
92
+ mini_mime (>= 0.1.1)
93
+ method_source (0.9.0)
94
+ mini_mime (1.0.0)
95
+ mini_portile2 (2.3.0)
96
+ minitest (5.10.3)
94
97
  nenv (0.3.0)
95
- nio4r (1.2.1)
96
- nokogiri (1.6.7.2)
97
- mini_portile2 (~> 2.0.0.rc2)
98
- notiffany (0.0.8)
98
+ nio4r (2.2.0)
99
+ nokogiri (1.8.1)
100
+ mini_portile2 (~> 2.3.0)
101
+ notiffany (0.1.1)
99
102
  nenv (~> 0.1)
100
103
  shellany (~> 0.0)
101
- pry (0.10.3)
104
+ pry (0.11.3)
102
105
  coderay (~> 1.1.0)
103
- method_source (~> 0.8.1)
104
- slop (~> 3.4)
105
- rack (2.0.0.alpha)
106
- json
107
- rack-test (0.6.3)
108
- rack (>= 1.0)
109
- rails (5.0.0.beta2)
110
- actioncable (= 5.0.0.beta2)
111
- actionmailer (= 5.0.0.beta2)
112
- actionpack (= 5.0.0.beta2)
113
- actionview (= 5.0.0.beta2)
114
- activejob (= 5.0.0.beta2)
115
- activemodel (= 5.0.0.beta2)
116
- activerecord (= 5.0.0.beta2)
117
- activesupport (= 5.0.0.beta2)
118
- bundler (>= 1.3.0, < 2.0)
119
- railties (= 5.0.0.beta2)
106
+ method_source (~> 0.9.0)
107
+ pry-byebug (3.5.1)
108
+ byebug (~> 9.1)
109
+ pry (~> 0.10)
110
+ pry-state (0.1.10)
111
+ pry (>= 0.9.10, < 0.12.0)
112
+ rack (2.0.3)
113
+ rack-test (0.8.2)
114
+ rack (>= 1.0, < 3)
115
+ rails (5.1.4)
116
+ actioncable (= 5.1.4)
117
+ actionmailer (= 5.1.4)
118
+ actionpack (= 5.1.4)
119
+ actionview (= 5.1.4)
120
+ activejob (= 5.1.4)
121
+ activemodel (= 5.1.4)
122
+ activerecord (= 5.1.4)
123
+ activesupport (= 5.1.4)
124
+ bundler (>= 1.3.0)
125
+ railties (= 5.1.4)
120
126
  sprockets-rails (>= 2.0.0)
121
- rails-deprecated_sanitizer (1.0.3)
122
- activesupport (>= 4.2.0.alpha)
123
- rails-dom-testing (1.0.7)
124
- activesupport (>= 4.2.0.beta, < 5.0)
125
- nokogiri (~> 1.6.0)
126
- rails-deprecated_sanitizer (>= 1.0.1)
127
+ rails-dom-testing (2.0.3)
128
+ activesupport (>= 4.2.0)
129
+ nokogiri (>= 1.6)
127
130
  rails-html-sanitizer (1.0.3)
128
131
  loofah (~> 2.0)
129
- railties (5.0.0.beta2)
130
- actionpack (= 5.0.0.beta2)
131
- activesupport (= 5.0.0.beta2)
132
+ railties (5.1.4)
133
+ actionpack (= 5.1.4)
134
+ activesupport (= 5.1.4)
132
135
  method_source
133
136
  rake (>= 0.8.7)
134
137
  thor (>= 0.18.1, < 2.0)
135
- rake (10.5.0)
136
- rb-fsevent (0.9.7)
137
- rb-inotify (0.9.7)
138
- ffi (>= 0.5.0)
139
- rspec (3.5.0.beta1)
140
- rspec-core (= 3.5.0.beta1)
141
- rspec-expectations (= 3.5.0.beta1)
142
- rspec-mocks (= 3.5.0.beta1)
143
- rspec-core (3.5.0.beta1)
144
- rspec-support (= 3.5.0.beta1)
145
- rspec-expectations (3.5.0.beta1)
138
+ rake (12.3.0)
139
+ rb-fsevent (0.10.2)
140
+ rb-inotify (0.9.10)
141
+ ffi (>= 0.5.0, < 2)
142
+ rspec (3.6.0)
143
+ rspec-core (~> 3.6.0)
144
+ rspec-expectations (~> 3.6.0)
145
+ rspec-mocks (~> 3.6.0)
146
+ rspec-core (3.6.0)
147
+ rspec-support (~> 3.6.0)
148
+ rspec-expectations (3.6.0)
146
149
  diff-lcs (>= 1.2.0, < 2.0)
147
- rspec-support (= 3.5.0.beta1)
148
- rspec-mocks (3.5.0.beta1)
150
+ rspec-support (~> 3.6.0)
151
+ rspec-mocks (3.6.0)
149
152
  diff-lcs (>= 1.2.0, < 2.0)
150
- rspec-support (= 3.5.0.beta1)
151
- rspec-support (3.5.0.beta1)
153
+ rspec-support (~> 3.6.0)
154
+ rspec-support (3.6.0)
155
+ ruby_dep (1.5.0)
152
156
  shellany (0.0.1)
153
- slop (3.6.0)
154
- sprockets (3.5.2)
157
+ sprockets (3.7.1)
155
158
  concurrent-ruby (~> 1.0)
156
159
  rack (> 1, < 3)
157
- sprockets-rails (3.0.1)
160
+ sprockets-rails (3.2.1)
158
161
  actionpack (>= 4.0)
159
162
  activesupport (>= 4.0)
160
163
  sprockets (>= 3.0.0)
161
- thor (0.19.1)
162
- thread_safe (0.3.5)
163
- tzinfo (1.2.2)
164
+ thor (0.20.0)
165
+ thread_safe (0.3.6)
166
+ tzinfo (1.2.4)
164
167
  thread_safe (~> 0.1)
165
- websocket-driver (0.6.3)
168
+ websocket-driver (0.6.5)
166
169
  websocket-extensions (>= 0.1.0)
167
- websocket-extensions (0.1.2)
170
+ websocket-extensions (0.1.3)
168
171
 
169
172
  PLATFORMS
170
173
  ruby
@@ -175,10 +178,12 @@ DEPENDENCIES
175
178
  bundler (~> 1.11)
176
179
  guard
177
180
  guard-rspec
178
- rails (~> 5.0.0.beta2)
179
- rake (~> 10.0)
180
- rspec (~> 3.5.0.beta1)
181
+ pry-byebug
182
+ pry-state
183
+ rails (~> 5.1.0)
184
+ rake
185
+ rspec (~> 3.6.0)
181
186
  rspec-resembles_json_matchers!
182
187
 
183
188
  BUNDLED WITH
184
- 1.11.2
189
+ 1.16.1
@@ -123,6 +123,10 @@ module RSpec::ResemblesJsonMatchers
123
123
  @buffer.print matcher.expected.inspect
124
124
  end
125
125
 
126
+ def render_ResemblesNilMatcher(matcher, **opts)
127
+ @buffer.print "null"
128
+ end
129
+
126
130
  def method_missing(method_name, *args, &block)
127
131
  if method_name.to_s.start_with?("render_")
128
132
  raise NoMethodError, method_name if method_name.to_s.end_with?("Matcher")
@@ -1,5 +1,5 @@
1
1
  module Rspec
2
2
  module ResemblesJsonMatchers
3
- VERSION = "0.7.0"
3
+ VERSION = "0.7.1"
4
4
  end
5
5
  end
@@ -26,7 +26,7 @@ Gem::Specification.new do |spec|
26
26
  spec.require_paths = ["lib"]
27
27
 
28
28
  spec.add_development_dependency "bundler", "~> 1.11"
29
- spec.add_development_dependency "rake", "~> 10.0"
29
+ spec.add_development_dependency "rake"
30
30
  spec.add_development_dependency "rspec", "~> 3.0"
31
31
  spec.add_development_dependency "appraisal"
32
32
  spec.add_development_dependency "guard"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-resembles_json_matchers
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul Sadauskas
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-12-26 00:00:00.000000000 Z
11
+ date: 2018-01-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -28,16 +28,16 @@ dependencies:
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '10.0'
33
+ version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: '10.0'
40
+ version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rspec
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -228,12 +228,8 @@ files:
228
228
  - Rakefile
229
229
  - bin/rspec
230
230
  - examples/example_spec.rb
231
- - gemfiles/rails_32.gemfile
232
- - gemfiles/rails_32.gemfile.lock
233
231
  - gemfiles/rails_42.gemfile
234
232
  - gemfiles/rails_42.gemfile.lock
235
- - gemfiles/rails_42_rspec_33.gemfile
236
- - gemfiles/rails_42_rspec_33.gemfile.lock
237
233
  - gemfiles/rails_5.gemfile
238
234
  - gemfiles/rails_5.gemfile.lock
239
235
  - lib/rspec/resembles_json_matchers.rb
@@ -1,7 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "rails", "~> 3.2.0"
6
-
7
- gemspec :path => "../"
@@ -1,160 +0,0 @@
1
- PATH
2
- remote: ../
3
- specs:
4
- rspec-resembles_json_matchers (0.5.0)
5
- activesupport (>= 3.0)
6
- rspec (>= 2.0, < 4.0.0.a)
7
- rspec-expectations (>= 2.0, < 4.0.0.a)
8
-
9
- GEM
10
- remote: https://rubygems.org/
11
- specs:
12
- actionmailer (3.2.22.2)
13
- actionpack (= 3.2.22.2)
14
- mail (~> 2.5.4)
15
- actionpack (3.2.22.2)
16
- activemodel (= 3.2.22.2)
17
- activesupport (= 3.2.22.2)
18
- builder (~> 3.0.0)
19
- erubis (~> 2.7.0)
20
- journey (~> 1.0.4)
21
- rack (~> 1.4.5)
22
- rack-cache (~> 1.2)
23
- rack-test (~> 0.6.1)
24
- sprockets (~> 2.2.1)
25
- activemodel (3.2.22.2)
26
- activesupport (= 3.2.22.2)
27
- builder (~> 3.0.0)
28
- activerecord (3.2.22.2)
29
- activemodel (= 3.2.22.2)
30
- activesupport (= 3.2.22.2)
31
- arel (~> 3.0.2)
32
- tzinfo (~> 0.3.29)
33
- activeresource (3.2.22.2)
34
- activemodel (= 3.2.22.2)
35
- activesupport (= 3.2.22.2)
36
- activesupport (3.2.22.2)
37
- i18n (~> 0.6, >= 0.6.4)
38
- multi_json (~> 1.0)
39
- appraisal (2.1.0)
40
- bundler
41
- rake
42
- thor (>= 0.14.0)
43
- arel (3.0.3)
44
- awesome_print (1.7.0)
45
- builder (3.0.4)
46
- coderay (1.1.1)
47
- diff-lcs (1.2.5)
48
- erubis (2.7.0)
49
- ffi (1.9.14)
50
- formatador (0.2.5)
51
- guard (2.14.0)
52
- formatador (>= 0.2.4)
53
- listen (>= 2.7, < 4.0)
54
- lumberjack (~> 1.0)
55
- nenv (~> 0.1)
56
- notiffany (~> 0.0)
57
- pry (>= 0.9.12)
58
- shellany (~> 0.0)
59
- thor (>= 0.18.1)
60
- guard-compat (1.2.1)
61
- guard-rspec (4.7.3)
62
- guard (~> 2.1)
63
- guard-compat (~> 1.1)
64
- rspec (>= 2.99.0, < 4.0)
65
- hike (1.2.3)
66
- i18n (0.7.0)
67
- journey (1.0.4)
68
- json (1.8.3)
69
- listen (3.1.5)
70
- rb-fsevent (~> 0.9, >= 0.9.4)
71
- rb-inotify (~> 0.9, >= 0.9.7)
72
- ruby_dep (~> 1.2)
73
- lumberjack (1.0.10)
74
- mail (2.5.4)
75
- mime-types (~> 1.16)
76
- treetop (~> 1.4.8)
77
- method_source (0.8.2)
78
- mime-types (1.25.1)
79
- multi_json (1.12.1)
80
- nenv (0.3.0)
81
- notiffany (0.1.1)
82
- nenv (~> 0.1)
83
- shellany (~> 0.0)
84
- polyglot (0.3.5)
85
- pry (0.10.4)
86
- coderay (~> 1.1.0)
87
- method_source (~> 0.8.1)
88
- slop (~> 3.4)
89
- rack (1.4.7)
90
- rack-cache (1.6.1)
91
- rack (>= 0.4)
92
- rack-ssl (1.3.4)
93
- rack
94
- rack-test (0.6.3)
95
- rack (>= 1.0)
96
- rails (3.2.22.2)
97
- actionmailer (= 3.2.22.2)
98
- actionpack (= 3.2.22.2)
99
- activerecord (= 3.2.22.2)
100
- activeresource (= 3.2.22.2)
101
- activesupport (= 3.2.22.2)
102
- bundler (~> 1.0)
103
- railties (= 3.2.22.2)
104
- railties (3.2.22.2)
105
- actionpack (= 3.2.22.2)
106
- activesupport (= 3.2.22.2)
107
- rack-ssl (~> 1.3.2)
108
- rake (>= 0.8.7)
109
- rdoc (~> 3.4)
110
- thor (>= 0.14.6, < 2.0)
111
- rake (10.5.0)
112
- rb-fsevent (0.9.7)
113
- rb-inotify (0.9.7)
114
- ffi (>= 0.5.0)
115
- rdoc (3.12.2)
116
- json (~> 1.4)
117
- rspec (3.5.0)
118
- rspec-core (~> 3.5.0)
119
- rspec-expectations (~> 3.5.0)
120
- rspec-mocks (~> 3.5.0)
121
- rspec-core (3.5.3)
122
- rspec-support (~> 3.5.0)
123
- rspec-expectations (3.5.0)
124
- diff-lcs (>= 1.2.0, < 2.0)
125
- rspec-support (~> 3.5.0)
126
- rspec-mocks (3.5.0)
127
- diff-lcs (>= 1.2.0, < 2.0)
128
- rspec-support (~> 3.5.0)
129
- rspec-support (3.5.0)
130
- ruby_dep (1.4.0)
131
- shellany (0.0.1)
132
- slop (3.6.0)
133
- sprockets (2.2.3)
134
- hike (~> 1.2)
135
- multi_json (~> 1.0)
136
- rack (~> 1.0)
137
- tilt (~> 1.1, != 1.3.0)
138
- thor (0.19.1)
139
- tilt (1.4.1)
140
- treetop (1.4.15)
141
- polyglot
142
- polyglot (>= 0.3.1)
143
- tzinfo (0.3.46)
144
-
145
- PLATFORMS
146
- ruby
147
-
148
- DEPENDENCIES
149
- appraisal
150
- awesome_print
151
- bundler (~> 1.11)
152
- guard
153
- guard-rspec
154
- rails (~> 3.2.0)
155
- rake (~> 10.0)
156
- rspec (~> 3.0)
157
- rspec-resembles_json_matchers!
158
-
159
- BUNDLED WITH
160
- 1.12.5
@@ -1,8 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "rails", "~> 4.2.0"
6
- gem "rspec", "~> 3.3.0"
7
-
8
- gemspec :path => "../"
@@ -1,173 +0,0 @@
1
- PATH
2
- remote: ../
3
- specs:
4
- rspec-resembles_json_matchers (0.1.0)
5
- activesupport (>= 4.0)
6
- rspec (>= 2.0, < 4.0.0.a)
7
- rspec-expectations (>= 2.0, < 4.0.0.a)
8
-
9
- GEM
10
- remote: https://rubygems.org/
11
- specs:
12
- actionmailer (4.2.5.1)
13
- actionpack (= 4.2.5.1)
14
- actionview (= 4.2.5.1)
15
- activejob (= 4.2.5.1)
16
- mail (~> 2.5, >= 2.5.4)
17
- rails-dom-testing (~> 1.0, >= 1.0.5)
18
- actionpack (4.2.5.1)
19
- actionview (= 4.2.5.1)
20
- activesupport (= 4.2.5.1)
21
- rack (~> 1.6)
22
- rack-test (~> 0.6.2)
23
- rails-dom-testing (~> 1.0, >= 1.0.5)
24
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
25
- actionview (4.2.5.1)
26
- activesupport (= 4.2.5.1)
27
- builder (~> 3.1)
28
- erubis (~> 2.7.0)
29
- rails-dom-testing (~> 1.0, >= 1.0.5)
30
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
31
- activejob (4.2.5.1)
32
- activesupport (= 4.2.5.1)
33
- globalid (>= 0.3.0)
34
- activemodel (4.2.5.1)
35
- activesupport (= 4.2.5.1)
36
- builder (~> 3.1)
37
- activerecord (4.2.5.1)
38
- activemodel (= 4.2.5.1)
39
- activesupport (= 4.2.5.1)
40
- arel (~> 6.0)
41
- activesupport (4.2.5.1)
42
- i18n (~> 0.7)
43
- json (~> 1.7, >= 1.7.7)
44
- minitest (~> 5.1)
45
- thread_safe (~> 0.3, >= 0.3.4)
46
- tzinfo (~> 1.1)
47
- appraisal (2.1.0)
48
- bundler
49
- rake
50
- thor (>= 0.14.0)
51
- arel (6.0.3)
52
- awesome_print (1.6.1)
53
- builder (3.2.2)
54
- coderay (1.1.1)
55
- concurrent-ruby (1.0.0)
56
- diff-lcs (1.2.5)
57
- erubis (2.7.0)
58
- ffi (1.9.10)
59
- formatador (0.2.5)
60
- globalid (0.3.6)
61
- activesupport (>= 4.1.0)
62
- guard (2.13.0)
63
- formatador (>= 0.2.4)
64
- listen (>= 2.7, <= 4.0)
65
- lumberjack (~> 1.0)
66
- nenv (~> 0.1)
67
- notiffany (~> 0.0)
68
- pry (>= 0.9.12)
69
- shellany (~> 0.0)
70
- thor (>= 0.18.1)
71
- guard-compat (1.2.1)
72
- guard-rspec (4.6.4)
73
- guard (~> 2.1)
74
- guard-compat (~> 1.1)
75
- rspec (>= 2.99.0, < 4.0)
76
- i18n (0.7.0)
77
- json (1.8.3)
78
- listen (3.0.6)
79
- rb-fsevent (>= 0.9.3)
80
- rb-inotify (>= 0.9.7)
81
- loofah (2.0.3)
82
- nokogiri (>= 1.5.9)
83
- lumberjack (1.0.10)
84
- mail (2.6.3)
85
- mime-types (>= 1.16, < 3)
86
- method_source (0.8.2)
87
- mime-types (2.99)
88
- mini_portile2 (2.0.0)
89
- minitest (5.8.4)
90
- nenv (0.3.0)
91
- nokogiri (1.6.7.2)
92
- mini_portile2 (~> 2.0.0.rc2)
93
- notiffany (0.0.8)
94
- nenv (~> 0.1)
95
- shellany (~> 0.0)
96
- pry (0.10.3)
97
- coderay (~> 1.1.0)
98
- method_source (~> 0.8.1)
99
- slop (~> 3.4)
100
- rack (1.6.4)
101
- rack-test (0.6.3)
102
- rack (>= 1.0)
103
- rails (4.2.5.1)
104
- actionmailer (= 4.2.5.1)
105
- actionpack (= 4.2.5.1)
106
- actionview (= 4.2.5.1)
107
- activejob (= 4.2.5.1)
108
- activemodel (= 4.2.5.1)
109
- activerecord (= 4.2.5.1)
110
- activesupport (= 4.2.5.1)
111
- bundler (>= 1.3.0, < 2.0)
112
- railties (= 4.2.5.1)
113
- sprockets-rails
114
- rails-deprecated_sanitizer (1.0.3)
115
- activesupport (>= 4.2.0.alpha)
116
- rails-dom-testing (1.0.7)
117
- activesupport (>= 4.2.0.beta, < 5.0)
118
- nokogiri (~> 1.6.0)
119
- rails-deprecated_sanitizer (>= 1.0.1)
120
- rails-html-sanitizer (1.0.3)
121
- loofah (~> 2.0)
122
- railties (4.2.5.1)
123
- actionpack (= 4.2.5.1)
124
- activesupport (= 4.2.5.1)
125
- rake (>= 0.8.7)
126
- thor (>= 0.18.1, < 2.0)
127
- rake (10.5.0)
128
- rb-fsevent (0.9.7)
129
- rb-inotify (0.9.7)
130
- ffi (>= 0.5.0)
131
- rspec (3.3.0)
132
- rspec-core (~> 3.3.0)
133
- rspec-expectations (~> 3.3.0)
134
- rspec-mocks (~> 3.3.0)
135
- rspec-core (3.3.2)
136
- rspec-support (~> 3.3.0)
137
- rspec-expectations (3.3.1)
138
- diff-lcs (>= 1.2.0, < 2.0)
139
- rspec-support (~> 3.3.0)
140
- rspec-mocks (3.3.2)
141
- diff-lcs (>= 1.2.0, < 2.0)
142
- rspec-support (~> 3.3.0)
143
- rspec-support (3.3.0)
144
- shellany (0.0.1)
145
- slop (3.6.0)
146
- sprockets (3.5.2)
147
- concurrent-ruby (~> 1.0)
148
- rack (> 1, < 3)
149
- sprockets-rails (3.0.1)
150
- actionpack (>= 4.0)
151
- activesupport (>= 4.0)
152
- sprockets (>= 3.0.0)
153
- thor (0.19.1)
154
- thread_safe (0.3.5)
155
- tzinfo (1.2.2)
156
- thread_safe (~> 0.1)
157
-
158
- PLATFORMS
159
- ruby
160
-
161
- DEPENDENCIES
162
- appraisal
163
- awesome_print
164
- bundler (~> 1.11)
165
- guard
166
- guard-rspec
167
- rails (~> 4.2.0)
168
- rake (~> 10.0)
169
- rspec (~> 3.3.0)
170
- rspec-resembles_json_matchers!
171
-
172
- BUNDLED WITH
173
- 1.11.2