rspec-twirp 0.4.1 → 0.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile +0 -4
- data/Gemfile.lock +65 -35
- data/gemfiles/protobuf_3.gemfile +5 -0
- data/gemfiles/protobuf_3.gemfile.lock +87 -0
- data/lib/rspec/twirp/version.rb +1 -1
- data/rspec-twirp.gemspec +9 -7
- metadata +25 -13
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 27a443979c3fa1c8591e6f8488c8f31ef1aa1d529266ad169f313671443ba7c7
|
|
4
|
+
data.tar.gz: f7b6e33db8c18c0ebae82986a364df9b4b69bcc7dc5db2926cbb8c333081ae01
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 50280ef3fb874553884f6af0e139056af4445f9b765ae023b6513f2b0e8997482a7d1b1757d5459cc3538b694485d7bb22375c7d2995c86828ddafd0f768118b
|
|
7
|
+
data.tar.gz: b8caa0d591932ce8532ce4156dde60d00b7c808fce11a15f985fa95a65b0200b879fad0ae7432418489191cdd7ed59ae9f36e2a44e30c33d7808a628bc715975
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
### 0.4.2 (2026-11-08)
|
|
2
|
+
- Fix nested matchers on google-protobuf 4, e.g. `be_a_twirp_message(request: include(count: 0))`: protobuf 4's `to_h` drops default-valued fields, so these silently failed. Requires rspec-protobuf >= 0.4.1.
|
|
3
|
+
- Requires Ruby >= 3.3 (rspec-protobuf 0.4 does). Ruby 3.2 users stay on rspec-twirp 0.4.1.
|
|
4
|
+
|
|
1
5
|
### v0.4.1 (2023-03-28)
|
|
2
6
|
- bump gems
|
|
3
7
|
- simplify (#17)
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,56 +1,86 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
rspec-twirp (0.4.
|
|
4
|
+
rspec-twirp (0.4.2)
|
|
5
5
|
rspec-expectations (>= 3)
|
|
6
|
-
rspec-protobuf (>= 0.
|
|
7
|
-
twirp (>= 1)
|
|
6
|
+
rspec-protobuf (>= 0.4.1)
|
|
7
|
+
twirp (>= 1.11)
|
|
8
8
|
|
|
9
9
|
GEM
|
|
10
10
|
remote: https://rubygems.org/
|
|
11
11
|
specs:
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
12
|
+
bigdecimal (4.1.2)
|
|
13
|
+
date (3.5.1)
|
|
14
|
+
debug (1.11.1)
|
|
15
|
+
irb (~> 1.10)
|
|
16
|
+
reline (>= 0.3.8)
|
|
17
|
+
diff-lcs (1.6.2)
|
|
18
|
+
erb (6.0.4)
|
|
19
|
+
faraday (2.14.3)
|
|
20
|
+
faraday-net_http (>= 2.0, < 3.5)
|
|
21
|
+
json
|
|
22
|
+
logger
|
|
23
|
+
faraday-net_http (3.4.4)
|
|
24
|
+
net-http (~> 0.5)
|
|
25
|
+
google-protobuf (4.35.0)
|
|
26
|
+
bigdecimal
|
|
27
|
+
rake (~> 13.3)
|
|
28
|
+
io-console (0.8.2)
|
|
29
|
+
irb (1.18.0)
|
|
30
|
+
pp (>= 0.6.0)
|
|
31
|
+
prism (>= 1.3.0)
|
|
32
|
+
rdoc (>= 4.0.0)
|
|
33
|
+
reline (>= 0.4.2)
|
|
34
|
+
json (2.21.2)
|
|
35
|
+
logger (1.7.0)
|
|
36
|
+
net-http (0.9.1)
|
|
37
|
+
uri (>= 0.11.1)
|
|
38
|
+
pp (0.6.3)
|
|
39
|
+
prettyprint
|
|
40
|
+
prettyprint (0.2.0)
|
|
41
|
+
prism (1.9.0)
|
|
42
|
+
psych (5.3.1)
|
|
43
|
+
date
|
|
44
|
+
stringio
|
|
45
|
+
rack (3.2.6)
|
|
46
|
+
rake (13.4.2)
|
|
47
|
+
rdoc (7.2.0)
|
|
48
|
+
erb
|
|
49
|
+
psych (>= 4.0.0)
|
|
50
|
+
tsort
|
|
51
|
+
reline (0.6.3)
|
|
52
|
+
io-console (~> 0.5)
|
|
53
|
+
rspec (3.13.2)
|
|
54
|
+
rspec-core (~> 3.13.0)
|
|
55
|
+
rspec-expectations (~> 3.13.0)
|
|
56
|
+
rspec-mocks (~> 3.13.0)
|
|
57
|
+
rspec-core (3.13.6)
|
|
58
|
+
rspec-support (~> 3.13.0)
|
|
59
|
+
rspec-expectations (3.13.5)
|
|
28
60
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
29
|
-
rspec-support (~> 3.
|
|
30
|
-
rspec-mocks (3.
|
|
61
|
+
rspec-support (~> 3.13.0)
|
|
62
|
+
rspec-mocks (3.13.6)
|
|
31
63
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
32
|
-
rspec-support (~> 3.
|
|
33
|
-
rspec-protobuf (0.
|
|
64
|
+
rspec-support (~> 3.13.0)
|
|
65
|
+
rspec-protobuf (0.4.1)
|
|
34
66
|
google-protobuf (>= 3)
|
|
35
67
|
rspec-expectations (>= 3)
|
|
36
|
-
rspec-support (3.
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
simplecov_json_formatter (~> 0.1)
|
|
42
|
-
simplecov-html (0.12.3)
|
|
43
|
-
simplecov_json_formatter (0.1.4)
|
|
44
|
-
twirp (1.10.0)
|
|
68
|
+
rspec-support (3.13.6)
|
|
69
|
+
simplecov (1.2.0)
|
|
70
|
+
stringio (3.2.0)
|
|
71
|
+
tsort (0.2.0)
|
|
72
|
+
twirp (1.13.1)
|
|
45
73
|
faraday (< 3)
|
|
46
|
-
google-protobuf (
|
|
74
|
+
google-protobuf (>= 3.25, < 5.a)
|
|
75
|
+
rack (>= 2.2.3)
|
|
76
|
+
uri (1.1.1)
|
|
47
77
|
|
|
48
78
|
PLATFORMS
|
|
49
79
|
ruby
|
|
50
80
|
|
|
51
81
|
DEPENDENCIES
|
|
52
|
-
|
|
53
|
-
|
|
82
|
+
debug
|
|
83
|
+
rake
|
|
54
84
|
rspec (>= 3)
|
|
55
85
|
rspec-twirp!
|
|
56
86
|
simplecov
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
PATH
|
|
2
|
+
remote: ..
|
|
3
|
+
specs:
|
|
4
|
+
rspec-twirp (0.4.2)
|
|
5
|
+
rspec-expectations (>= 3)
|
|
6
|
+
rspec-protobuf (>= 0.4.1)
|
|
7
|
+
twirp (>= 1.11)
|
|
8
|
+
|
|
9
|
+
GEM
|
|
10
|
+
remote: https://rubygems.org/
|
|
11
|
+
specs:
|
|
12
|
+
date (3.5.1)
|
|
13
|
+
debug (1.11.1)
|
|
14
|
+
irb (~> 1.10)
|
|
15
|
+
reline (>= 0.3.8)
|
|
16
|
+
diff-lcs (1.6.2)
|
|
17
|
+
erb (6.0.4)
|
|
18
|
+
faraday (2.14.3)
|
|
19
|
+
faraday-net_http (>= 2.0, < 3.5)
|
|
20
|
+
json
|
|
21
|
+
logger
|
|
22
|
+
faraday-net_http (3.4.4)
|
|
23
|
+
net-http (~> 0.5)
|
|
24
|
+
google-protobuf (3.25.8)
|
|
25
|
+
io-console (0.8.2)
|
|
26
|
+
irb (1.18.0)
|
|
27
|
+
pp (>= 0.6.0)
|
|
28
|
+
prism (>= 1.3.0)
|
|
29
|
+
rdoc (>= 4.0.0)
|
|
30
|
+
reline (>= 0.4.2)
|
|
31
|
+
json (2.21.2)
|
|
32
|
+
logger (1.7.0)
|
|
33
|
+
net-http (0.9.1)
|
|
34
|
+
uri (>= 0.11.1)
|
|
35
|
+
pp (0.6.3)
|
|
36
|
+
prettyprint
|
|
37
|
+
prettyprint (0.2.0)
|
|
38
|
+
prism (1.9.0)
|
|
39
|
+
psych (5.3.1)
|
|
40
|
+
date
|
|
41
|
+
stringio
|
|
42
|
+
rack (3.2.6)
|
|
43
|
+
rake (13.4.2)
|
|
44
|
+
rdoc (7.2.0)
|
|
45
|
+
erb
|
|
46
|
+
psych (>= 4.0.0)
|
|
47
|
+
tsort
|
|
48
|
+
reline (0.6.3)
|
|
49
|
+
io-console (~> 0.5)
|
|
50
|
+
rspec (3.13.2)
|
|
51
|
+
rspec-core (~> 3.13.0)
|
|
52
|
+
rspec-expectations (~> 3.13.0)
|
|
53
|
+
rspec-mocks (~> 3.13.0)
|
|
54
|
+
rspec-core (3.13.6)
|
|
55
|
+
rspec-support (~> 3.13.0)
|
|
56
|
+
rspec-expectations (3.13.5)
|
|
57
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
|
58
|
+
rspec-support (~> 3.13.0)
|
|
59
|
+
rspec-mocks (3.13.6)
|
|
60
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
|
61
|
+
rspec-support (~> 3.13.0)
|
|
62
|
+
rspec-protobuf (0.4.1)
|
|
63
|
+
google-protobuf (>= 3)
|
|
64
|
+
rspec-expectations (>= 3)
|
|
65
|
+
rspec-support (3.13.6)
|
|
66
|
+
simplecov (1.2.0)
|
|
67
|
+
stringio (3.2.0)
|
|
68
|
+
tsort (0.2.0)
|
|
69
|
+
twirp (1.13.1)
|
|
70
|
+
faraday (< 3)
|
|
71
|
+
google-protobuf (>= 3.25, < 5.a)
|
|
72
|
+
rack (>= 2.2.3)
|
|
73
|
+
uri (1.1.1)
|
|
74
|
+
|
|
75
|
+
PLATFORMS
|
|
76
|
+
ruby
|
|
77
|
+
|
|
78
|
+
DEPENDENCIES
|
|
79
|
+
debug
|
|
80
|
+
google-protobuf (~> 3.25)
|
|
81
|
+
rake
|
|
82
|
+
rspec (>= 3)
|
|
83
|
+
rspec-twirp!
|
|
84
|
+
simplecov
|
|
85
|
+
|
|
86
|
+
BUNDLED WITH
|
|
87
|
+
2.3.9
|
data/lib/rspec/twirp/version.rb
CHANGED
data/rspec-twirp.gemspec
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
require_relative "lib/rspec/twirp/version"
|
|
2
|
-
package = RSpec::Twirp
|
|
3
2
|
|
|
4
3
|
Gem::Specification.new do |s|
|
|
5
4
|
s.authors = ["Daniel Pepper"]
|
|
@@ -7,15 +6,18 @@ Gem::Specification.new do |s|
|
|
|
7
6
|
s.files = `git ls-files * ':!:spec'`.split("\n")
|
|
8
7
|
s.homepage = "https://github.com/dpep/rspec-twirp"
|
|
9
8
|
s.license = "MIT"
|
|
10
|
-
s.name =
|
|
11
|
-
s.summary =
|
|
12
|
-
s.version =
|
|
9
|
+
s.name = "rspec-twirp"
|
|
10
|
+
s.summary = "RSpec::Twirp"
|
|
11
|
+
s.version = RSpec::Twirp::VERSION
|
|
12
|
+
|
|
13
|
+
s.required_ruby_version = ">= 3.3"
|
|
13
14
|
|
|
14
15
|
s.add_dependency "rspec-expectations", ">= 3"
|
|
15
|
-
s.add_dependency "rspec-protobuf", ">= 0.
|
|
16
|
-
s.add_dependency "twirp", ">= 1"
|
|
16
|
+
s.add_dependency "rspec-protobuf", ">= 0.4.1"
|
|
17
|
+
s.add_dependency "twirp", ">= 1.11"
|
|
17
18
|
|
|
18
|
-
s.add_development_dependency "
|
|
19
|
+
s.add_development_dependency "debug"
|
|
20
|
+
s.add_development_dependency "rake"
|
|
19
21
|
s.add_development_dependency "rspec", ">= 3"
|
|
20
22
|
s.add_development_dependency "simplecov"
|
|
21
23
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rspec-twirp
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Daniel Pepper
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: bin
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
14
13
|
name: rspec-expectations
|
|
@@ -30,30 +29,44 @@ dependencies:
|
|
|
30
29
|
requirements:
|
|
31
30
|
- - ">="
|
|
32
31
|
- !ruby/object:Gem::Version
|
|
33
|
-
version:
|
|
32
|
+
version: 0.4.1
|
|
34
33
|
type: :runtime
|
|
35
34
|
prerelease: false
|
|
36
35
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
36
|
requirements:
|
|
38
37
|
- - ">="
|
|
39
38
|
- !ruby/object:Gem::Version
|
|
40
|
-
version:
|
|
39
|
+
version: 0.4.1
|
|
41
40
|
- !ruby/object:Gem::Dependency
|
|
42
41
|
name: twirp
|
|
43
42
|
requirement: !ruby/object:Gem::Requirement
|
|
44
43
|
requirements:
|
|
45
44
|
- - ">="
|
|
46
45
|
- !ruby/object:Gem::Version
|
|
47
|
-
version: '1'
|
|
46
|
+
version: '1.11'
|
|
48
47
|
type: :runtime
|
|
49
48
|
prerelease: false
|
|
50
49
|
version_requirements: !ruby/object:Gem::Requirement
|
|
51
50
|
requirements:
|
|
52
51
|
- - ">="
|
|
53
52
|
- !ruby/object:Gem::Version
|
|
54
|
-
version: '1'
|
|
53
|
+
version: '1.11'
|
|
55
54
|
- !ruby/object:Gem::Dependency
|
|
56
|
-
name:
|
|
55
|
+
name: debug
|
|
56
|
+
requirement: !ruby/object:Gem::Requirement
|
|
57
|
+
requirements:
|
|
58
|
+
- - ">="
|
|
59
|
+
- !ruby/object:Gem::Version
|
|
60
|
+
version: '0'
|
|
61
|
+
type: :development
|
|
62
|
+
prerelease: false
|
|
63
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
64
|
+
requirements:
|
|
65
|
+
- - ">="
|
|
66
|
+
- !ruby/object:Gem::Version
|
|
67
|
+
version: '0'
|
|
68
|
+
- !ruby/object:Gem::Dependency
|
|
69
|
+
name: rake
|
|
57
70
|
requirement: !ruby/object:Gem::Requirement
|
|
58
71
|
requirements:
|
|
59
72
|
- - ">="
|
|
@@ -95,7 +108,6 @@ dependencies:
|
|
|
95
108
|
- !ruby/object:Gem::Version
|
|
96
109
|
version: '0'
|
|
97
110
|
description: Twirp RSpec matchers
|
|
98
|
-
email:
|
|
99
111
|
executables: []
|
|
100
112
|
extensions: []
|
|
101
113
|
extra_rdoc_files: []
|
|
@@ -105,6 +117,8 @@ files:
|
|
|
105
117
|
- Gemfile.lock
|
|
106
118
|
- LICENSE.txt
|
|
107
119
|
- README.md
|
|
120
|
+
- gemfiles/protobuf_3.gemfile
|
|
121
|
+
- gemfiles/protobuf_3.gemfile.lock
|
|
108
122
|
- lib/rspec-twirp.rb
|
|
109
123
|
- lib/rspec/twirp.rb
|
|
110
124
|
- lib/rspec/twirp/error_matcher.rb
|
|
@@ -117,7 +131,6 @@ homepage: https://github.com/dpep/rspec-twirp
|
|
|
117
131
|
licenses:
|
|
118
132
|
- MIT
|
|
119
133
|
metadata: {}
|
|
120
|
-
post_install_message:
|
|
121
134
|
rdoc_options: []
|
|
122
135
|
require_paths:
|
|
123
136
|
- lib
|
|
@@ -125,15 +138,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
125
138
|
requirements:
|
|
126
139
|
- - ">="
|
|
127
140
|
- !ruby/object:Gem::Version
|
|
128
|
-
version: '
|
|
141
|
+
version: '3.3'
|
|
129
142
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
130
143
|
requirements:
|
|
131
144
|
- - ">="
|
|
132
145
|
- !ruby/object:Gem::Version
|
|
133
146
|
version: '0'
|
|
134
147
|
requirements: []
|
|
135
|
-
rubygems_version: 3.
|
|
136
|
-
signing_key:
|
|
148
|
+
rubygems_version: 3.6.9
|
|
137
149
|
specification_version: 4
|
|
138
150
|
summary: RSpec::Twirp
|
|
139
151
|
test_files: []
|