rspec-apib 1.0.0 → 1.1.0

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: af61cba41fc7d42b9a828a055945480941bf1e0add8c5490e9402857ccd7dc47
4
- data.tar.gz: b5920b60da5aabc1d475d1c57fff2b2ae2fc23eac2567842c69319ccce6b32c0
3
+ metadata.gz: 26808709aea326712fc538ae00846a5004584e5c381b1bce4b651a0d3af5e5aa
4
+ data.tar.gz: 7f6a4e287c88410a387d07c5ea4724ac0b90f092cf215251f305492ebbbab6a6
5
5
  SHA512:
6
- metadata.gz: 4060750d0e1c51d6d4ed880843722aa4fc783b3fbe3d851e0573c96a8572e6c66cb4a7008af50d769ef5d2b90560aba2e8f30e01b430973dd4ffa8b2a6d542e9
7
- data.tar.gz: a80439c31649971a7cd0279feef7c377304a6267810dce7547e4dd5969438068e7fc56f4e82b290e4ba96155fb821835f2d4fb1eb253d4d1f71b69a15d2efd3f
6
+ metadata.gz: 86ec2a27b570442fca01a9ed68091773fc6a27673005e20b2b39c79fe5d3e614bda7bb81f83c1dc09af7d4e463c5f746a23a2a51adf01361f9312a02f76cc635
7
+ data.tar.gz: a78ef6411fc0cf064d153d168b6268642f69939c07338400591fb14ac63e302660ba0e5eba48d0d4ed60f3681ab151e46acec008e43b184f78346779ac76572d
@@ -0,0 +1,64 @@
1
+ name: Main
2
+
3
+ on: [push]
4
+
5
+ jobs:
6
+ test:
7
+ runs-on: ubuntu-latest
8
+
9
+ env:
10
+ RAILS_ENV: test
11
+
12
+ steps:
13
+ - uses: actions/checkout@v2
14
+
15
+ - name: Set up Ruby
16
+ uses: ruby/setup-ruby@v1
17
+ with:
18
+ ruby-version: 2.7
19
+
20
+ - name: Run tests (rails5, rspec3)
21
+ env:
22
+ RAILS_VERSION: '~> 5.0'
23
+ RSPEC_VERSION: '~> 3.0'
24
+ run: |
25
+ gem install bundler -v 1
26
+ rm Gemfile.lock
27
+ bundle install
28
+ bundle exec rspec
29
+
30
+ - name: Run tests (rails6, rspec3)
31
+ env:
32
+ RAILS_VERSION: '~> 6.0'
33
+ RSPEC_VERSION: '~> 3.0'
34
+ run: |
35
+ gem install bundler -v 1
36
+ rm Gemfile.lock
37
+ bundle install
38
+ bundle exec rspec
39
+
40
+ - name: Run tests (rails5, rspec4)
41
+ env:
42
+ RAILS_VERSION: '~> 5.0'
43
+ RSPEC_VERSION: '~> 4.0'
44
+ run: |
45
+ gem install bundler -v 1
46
+ rm Gemfile.lock
47
+ bundle install
48
+ bundle exec rspec
49
+
50
+ - name: Run tests (rails6, rspec4)
51
+ env:
52
+ RAILS_VERSION: '~> 6.0'
53
+ RSPEC_VERSION: '~> 4.0'
54
+ run: |
55
+ gem install bundler -v 1
56
+ rm Gemfile.lock
57
+ bundle install
58
+ bundle exec rspec
59
+
60
+ - name: Run tests (as locked)
61
+ run: |
62
+ gem install bundler -v 1
63
+ bundle install
64
+ bundle exec rspec
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.2
1
+ 2.7.2
data/Gemfile.lock CHANGED
@@ -1,65 +1,82 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rspec-apib (0.5.0)
5
- rails (>= 4.2)
6
- rspec-rails (~> 3.4)
4
+ rspec-apib (1.0.0)
5
+ rails (>= 6.0.0)
6
+ rspec-rails (~> 4.0)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- actioncable (5.2.4.3)
12
- actionpack (= 5.2.4.3)
11
+ actioncable (6.1.4)
12
+ actionpack (= 6.1.4)
13
+ activesupport (= 6.1.4)
13
14
  nio4r (~> 2.0)
14
15
  websocket-driver (>= 0.6.1)
15
- actionmailer (5.2.4.3)
16
- actionpack (= 5.2.4.3)
17
- actionview (= 5.2.4.3)
18
- activejob (= 5.2.4.3)
16
+ actionmailbox (6.1.4)
17
+ actionpack (= 6.1.4)
18
+ activejob (= 6.1.4)
19
+ activerecord (= 6.1.4)
20
+ activestorage (= 6.1.4)
21
+ activesupport (= 6.1.4)
22
+ mail (>= 2.7.1)
23
+ actionmailer (6.1.4)
24
+ actionpack (= 6.1.4)
25
+ actionview (= 6.1.4)
26
+ activejob (= 6.1.4)
27
+ activesupport (= 6.1.4)
19
28
  mail (~> 2.5, >= 2.5.4)
20
29
  rails-dom-testing (~> 2.0)
21
- actionpack (5.2.4.3)
22
- actionview (= 5.2.4.3)
23
- activesupport (= 5.2.4.3)
24
- rack (~> 2.0, >= 2.0.8)
30
+ actionpack (6.1.4)
31
+ actionview (= 6.1.4)
32
+ activesupport (= 6.1.4)
33
+ rack (~> 2.0, >= 2.0.9)
25
34
  rack-test (>= 0.6.3)
26
35
  rails-dom-testing (~> 2.0)
27
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
28
- actionview (5.2.4.3)
29
- activesupport (= 5.2.4.3)
36
+ rails-html-sanitizer (~> 1.0, >= 1.2.0)
37
+ actiontext (6.1.4)
38
+ actionpack (= 6.1.4)
39
+ activerecord (= 6.1.4)
40
+ activestorage (= 6.1.4)
41
+ activesupport (= 6.1.4)
42
+ nokogiri (>= 1.8.5)
43
+ actionview (6.1.4)
44
+ activesupport (= 6.1.4)
30
45
  builder (~> 3.1)
31
46
  erubi (~> 1.4)
32
47
  rails-dom-testing (~> 2.0)
33
- rails-html-sanitizer (~> 1.0, >= 1.0.3)
34
- activejob (5.2.4.3)
35
- activesupport (= 5.2.4.3)
48
+ rails-html-sanitizer (~> 1.1, >= 1.2.0)
49
+ activejob (6.1.4)
50
+ activesupport (= 6.1.4)
36
51
  globalid (>= 0.3.6)
37
- activemodel (5.2.4.3)
38
- activesupport (= 5.2.4.3)
39
- activerecord (5.2.4.3)
40
- activemodel (= 5.2.4.3)
41
- activesupport (= 5.2.4.3)
42
- arel (>= 9.0)
43
- activestorage (5.2.4.3)
44
- actionpack (= 5.2.4.3)
45
- activerecord (= 5.2.4.3)
46
- marcel (~> 0.3.1)
47
- activesupport (5.2.4.3)
52
+ activemodel (6.1.4)
53
+ activesupport (= 6.1.4)
54
+ activerecord (6.1.4)
55
+ activemodel (= 6.1.4)
56
+ activesupport (= 6.1.4)
57
+ activestorage (6.1.4)
58
+ actionpack (= 6.1.4)
59
+ activejob (= 6.1.4)
60
+ activerecord (= 6.1.4)
61
+ activesupport (= 6.1.4)
62
+ marcel (~> 1.0.0)
63
+ mini_mime (>= 1.1.0)
64
+ activesupport (6.1.4)
48
65
  concurrent-ruby (~> 1.0, >= 1.0.2)
49
- i18n (>= 0.7, < 2)
50
- minitest (~> 5.1)
51
- tzinfo (~> 1.1)
52
- arel (9.0.0)
66
+ i18n (>= 1.6, < 2)
67
+ minitest (>= 5.1)
68
+ tzinfo (~> 2.0)
69
+ zeitwerk (~> 2.3)
53
70
  builder (3.2.4)
54
71
  coderay (1.1.2)
55
- concurrent-ruby (1.1.6)
72
+ concurrent-ruby (1.1.9)
56
73
  crass (1.0.6)
57
- diff-lcs (1.3)
58
- erubi (1.9.0)
74
+ diff-lcs (1.4.4)
75
+ erubi (1.10.0)
59
76
  ffi (1.12.2)
60
77
  formatador (0.2.5)
61
- globalid (0.4.2)
62
- activesupport (>= 4.2.0)
78
+ globalid (0.5.2)
79
+ activesupport (>= 5.0)
63
80
  guard (2.16.2)
64
81
  formatador (>= 0.2.4)
65
82
  listen (>= 2.7, < 4.0)
@@ -74,62 +91,64 @@ GEM
74
91
  guard (~> 2.1)
75
92
  guard-compat (~> 1.1)
76
93
  rspec (>= 2.99.0, < 4.0)
77
- i18n (1.5.1)
94
+ i18n (1.8.10)
78
95
  concurrent-ruby (~> 1.0)
79
96
  listen (3.2.1)
80
97
  rb-fsevent (~> 0.10, >= 0.10.3)
81
98
  rb-inotify (~> 0.9, >= 0.9.10)
82
- loofah (2.5.0)
99
+ loofah (2.12.0)
83
100
  crass (~> 1.0.2)
84
101
  nokogiri (>= 1.5.9)
85
102
  lumberjack (1.0.13)
86
103
  mail (2.7.1)
87
104
  mini_mime (>= 0.1.1)
88
- marcel (0.3.3)
89
- mimemagic (~> 0.3.2)
105
+ marcel (1.0.1)
90
106
  method_source (1.0.0)
91
- mimemagic (0.3.5)
92
- mini_mime (1.0.2)
93
- mini_portile2 (2.4.0)
94
- minitest (5.14.1)
107
+ mini_mime (1.1.0)
108
+ mini_portile2 (2.6.1)
109
+ minitest (5.14.4)
95
110
  nenv (0.3.0)
96
- nio4r (2.3.1)
97
- nokogiri (1.10.9)
98
- mini_portile2 (~> 2.4.0)
111
+ nio4r (2.5.8)
112
+ nokogiri (1.12.3)
113
+ mini_portile2 (~> 2.6.1)
114
+ racc (~> 1.4)
99
115
  notiffany (0.1.3)
100
116
  nenv (~> 0.1)
101
117
  shellany (~> 0.0)
102
118
  pry (0.13.1)
103
119
  coderay (~> 1.1)
104
120
  method_source (~> 1.0)
105
- rack (2.1.3)
121
+ racc (1.5.2)
122
+ rack (2.2.3)
106
123
  rack-test (1.1.0)
107
124
  rack (>= 1.0, < 3)
108
- rails (5.2.4.3)
109
- actioncable (= 5.2.4.3)
110
- actionmailer (= 5.2.4.3)
111
- actionpack (= 5.2.4.3)
112
- actionview (= 5.2.4.3)
113
- activejob (= 5.2.4.3)
114
- activemodel (= 5.2.4.3)
115
- activerecord (= 5.2.4.3)
116
- activestorage (= 5.2.4.3)
117
- activesupport (= 5.2.4.3)
118
- bundler (>= 1.3.0)
119
- railties (= 5.2.4.3)
125
+ rails (6.1.4)
126
+ actioncable (= 6.1.4)
127
+ actionmailbox (= 6.1.4)
128
+ actionmailer (= 6.1.4)
129
+ actionpack (= 6.1.4)
130
+ actiontext (= 6.1.4)
131
+ actionview (= 6.1.4)
132
+ activejob (= 6.1.4)
133
+ activemodel (= 6.1.4)
134
+ activerecord (= 6.1.4)
135
+ activestorage (= 6.1.4)
136
+ activesupport (= 6.1.4)
137
+ bundler (>= 1.15.0)
138
+ railties (= 6.1.4)
120
139
  sprockets-rails (>= 2.0.0)
121
140
  rails-dom-testing (2.0.3)
122
141
  activesupport (>= 4.2.0)
123
142
  nokogiri (>= 1.6)
124
143
  rails-html-sanitizer (1.3.0)
125
144
  loofah (~> 2.3)
126
- railties (5.2.4.3)
127
- actionpack (= 5.2.4.3)
128
- activesupport (= 5.2.4.3)
145
+ railties (6.1.4)
146
+ actionpack (= 6.1.4)
147
+ activesupport (= 6.1.4)
129
148
  method_source
130
- rake (>= 0.8.7)
131
- thor (>= 0.19.0, < 2.0)
132
- rake (13.0.1)
149
+ rake (>= 0.13)
150
+ thor (~> 1.0)
151
+ rake (13.0.6)
133
152
  rb-fsevent (0.10.4)
134
153
  rb-inotify (0.10.1)
135
154
  ffi (~> 1.0)
@@ -137,49 +156,49 @@ GEM
137
156
  rspec-core (~> 3.9.0)
138
157
  rspec-expectations (~> 3.9.0)
139
158
  rspec-mocks (~> 3.9.0)
140
- rspec-core (3.9.2)
159
+ rspec-core (3.9.3)
141
160
  rspec-support (~> 3.9.3)
142
- rspec-expectations (3.9.2)
161
+ rspec-expectations (3.9.4)
143
162
  diff-lcs (>= 1.2.0, < 2.0)
144
163
  rspec-support (~> 3.9.0)
145
164
  rspec-mocks (3.9.1)
146
165
  diff-lcs (>= 1.2.0, < 2.0)
147
166
  rspec-support (~> 3.9.0)
148
- rspec-rails (3.9.1)
149
- actionpack (>= 3.0)
150
- activesupport (>= 3.0)
151
- railties (>= 3.0)
152
- rspec-core (~> 3.9.0)
153
- rspec-expectations (~> 3.9.0)
154
- rspec-mocks (~> 3.9.0)
155
- rspec-support (~> 3.9.0)
156
- rspec-support (3.9.3)
167
+ rspec-rails (4.0.1)
168
+ actionpack (>= 4.2)
169
+ activesupport (>= 4.2)
170
+ railties (>= 4.2)
171
+ rspec-core (~> 3.9)
172
+ rspec-expectations (~> 3.9)
173
+ rspec-mocks (~> 3.9)
174
+ rspec-support (~> 3.9)
175
+ rspec-support (3.9.4)
157
176
  shellany (0.0.1)
158
- sprockets (3.7.2)
177
+ sprockets (4.0.2)
159
178
  concurrent-ruby (~> 1.0)
160
179
  rack (> 1, < 3)
161
- sprockets-rails (3.2.1)
180
+ sprockets-rails (3.2.2)
162
181
  actionpack (>= 4.0)
163
182
  activesupport (>= 4.0)
164
183
  sprockets (>= 3.0.0)
165
- thor (1.0.1)
166
- thread_safe (0.3.6)
167
- tzinfo (1.2.7)
168
- thread_safe (~> 0.1)
169
- websocket-driver (0.7.1)
184
+ thor (1.1.0)
185
+ tzinfo (2.0.4)
186
+ concurrent-ruby (~> 1.0)
187
+ websocket-driver (0.7.5)
170
188
  websocket-extensions (>= 0.1.0)
171
- websocket-extensions (0.1.4)
189
+ websocket-extensions (0.1.5)
190
+ zeitwerk (2.4.2)
172
191
 
173
192
  PLATFORMS
174
193
  ruby
175
194
 
176
195
  DEPENDENCIES
177
- bundler (>= 1.10)
178
- guard (~> 2.13)
179
- guard-rspec (~> 4.6)
196
+ bundler (>= 2.2.11)
197
+ guard (~> 2.16.2)
198
+ guard-rspec (~> 4.7.3)
180
199
  pry
181
- rake (>= 12.3)
200
+ rake (>= 13.0.6)
182
201
  rspec-apib!
183
202
 
184
203
  BUNDLED WITH
185
- 1.17.2
204
+ 2.2.11
@@ -1,5 +1,5 @@
1
1
  module RSpec
2
2
  module Apib
3
- VERSION = "1.0.0"
3
+ VERSION = "1.1.0"
4
4
  end
5
5
  end
data/rspec-apib.gemspec CHANGED
@@ -18,11 +18,11 @@ Gem::Specification.new do |spec|
18
18
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
19
19
  spec.require_paths = ["lib"]
20
20
 
21
- spec.add_development_dependency 'bundler', '>= 1.10'
22
- spec.add_development_dependency 'rake', '>= 12.3'
23
- spec.add_development_dependency 'guard', '~> 2.13'
24
- spec.add_development_dependency 'guard-rspec', '~> 4.6'
21
+ spec.add_development_dependency 'bundler', '>= 2.2.11'
22
+ spec.add_development_dependency 'rake', '>= 13.0.6'
23
+ spec.add_development_dependency 'guard', '~> 2.16.2'
24
+ spec.add_development_dependency 'guard-rspec', '~> 4.7.3'
25
25
  spec.add_development_dependency 'pry'
26
- spec.add_dependency 'rails', (ENV['RAILS_VERSION'] || '>= 4.2')
27
- spec.add_dependency 'rspec-rails', (ENV['RSPEC_VERSION'] || '~> 3.4')
26
+ spec.add_dependency 'rails', (ENV['RAILS_VERSION'] || '>= 6.0.0')
27
+ spec.add_dependency 'rspec-rails', (ENV['RSPEC_VERSION'] || '~> 4.0')
28
28
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-apib
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul Spieker
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-05-22 00:00:00.000000000 Z
11
+ date: 2021-08-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -16,56 +16,56 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '1.10'
19
+ version: 2.2.11
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: '1.10'
26
+ version: 2.2.11
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '12.3'
33
+ version: 13.0.6
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: '12.3'
40
+ version: 13.0.6
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: guard
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '2.13'
47
+ version: 2.16.2
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '2.13'
54
+ version: 2.16.2
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: guard-rspec
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '4.6'
61
+ version: 4.7.3
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '4.6'
68
+ version: 4.7.3
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: pry
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -86,28 +86,28 @@ dependencies:
86
86
  requirements:
87
87
  - - ">="
88
88
  - !ruby/object:Gem::Version
89
- version: '4.2'
89
+ version: 6.0.0
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - ">="
95
95
  - !ruby/object:Gem::Version
96
- version: '4.2'
96
+ version: 6.0.0
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: rspec-rails
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: '3.4'
103
+ version: '4.0'
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: '3.4'
110
+ version: '4.0'
111
111
  description:
112
112
  email:
113
113
  - p.spieker@duenos.de
@@ -118,6 +118,7 @@ files:
118
118
  - ".codeclimate.yml"
119
119
  - ".dockerignore"
120
120
  - ".envrc"
121
+ - ".github/workflows/main.yaml"
121
122
  - ".gitignore"
122
123
  - ".rspec"
123
124
  - ".rubocop.yml"
@@ -161,7 +162,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
161
162
  - !ruby/object:Gem::Version
162
163
  version: '0'
163
164
  requirements: []
164
- rubygems_version: 3.1.0.pre1
165
+ rubygems_version: 3.0.3
165
166
  signing_key:
166
167
  specification_version: 4
167
168
  summary: Generates API Blueprint from request specs