rpdoc 0.2.1 → 0.2.3

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: 614c1855e12f3279570419fc23b7ce0af9849a4f2a8cf9a333b8f53013927cde
4
- data.tar.gz: f0b61a84a3e26b447227368ccd2fae5e4723f4d15c2b75b42df569b005fd057b
3
+ metadata.gz: c0e74b2462fae4d9d94ab39cc2a6917f7d9ba1ddbeb5bb7fcda0b7fd29f41ac2
4
+ data.tar.gz: aec89dd3a4202f7828f4386d26a92544b6496a105270d821abe232d2bf65f5b5
5
5
  SHA512:
6
- metadata.gz: 8dd60eaf51e2c3a466782a13c028a0a1f4ff99540b73c435ae7b9e4b4c22893bfdb7a405906639995d017d21a3906fae066d5e536ccc3cc91820921603806be6
7
- data.tar.gz: c6e1c5cb2c221f484905182f112151621d73c2226b9383d26d60f63df8287a807e6ef49a50e53fa3897de79af3f1d9fc39bf47532481800e47b392435318f46d
6
+ metadata.gz: 1d4b5e41993d1b046a5c6f38ebd29cb79cbbd2b4e786877a8a7bc0cc5afa9609573606718aa096a6f1e96dd2921b98eb32b5a8d567ab5faee68a33d90d2f5c3b
7
+ data.tar.gz: e438c1f958050316081bdcaba51ac05e1b73b0a0fcb1f44423196158cd829ebaa484a5f6783f58eb4fb0971bdcd500075b88877aabc38b3c0d0a5b88e3ce04fc
data/.gitlab-ci.yml CHANGED
@@ -1,10 +1,17 @@
1
+ include:
2
+ - project: "kdanmobile/deployment/cluster-cicd-config"
3
+ ref: master
4
+ file: "/gitlab-ci/node-brakeman-sast-upload.yaml"
5
+
1
6
  stages:
7
+ - test
8
+ - sast_upload
2
9
  - rspec
3
10
  - publish
4
11
 
5
12
  rspec:
6
13
  stage: rspec
7
- image: ruby:3.2.1
14
+ image: ruby:3.3.5
8
15
  tags:
9
16
  - arm64
10
17
  script:
@@ -15,7 +22,7 @@ rspec:
15
22
 
16
23
  to_gem:
17
24
  stage: publish
18
- image: ruby:3.2.1
25
+ image: ruby:3.3.5
19
26
  tags:
20
27
  - arm64
21
28
  script:
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## [0.2.3] - 2024-10-09
2
+ - Support rails 7+.
3
+
4
+ ## [0.2.2] - 2024-06-28
5
+ - Fix push_and_update strategy bug.
6
+
1
7
  ## [0.2.1] - 2024-04-11
2
8
  - Fix `rspec_response_identifier` option bug.
3
9
  - Fix path bug for redirected requests and `push_and_update` strategy.
data/Gemfile.lock CHANGED
@@ -1,41 +1,53 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rpdoc (0.2.0)
5
- activesupport (~> 6.1)
6
- json_requester (~> 1.0)
4
+ rpdoc (0.2.3)
5
+ activesupport (>= 6.1)
6
+ json_requester (>= 1.1.1)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- actionpack (6.1.7.6)
12
- actionview (= 6.1.7.6)
13
- activesupport (= 6.1.7.6)
14
- rack (~> 2.0, >= 2.0.9)
11
+ actionpack (7.2.1)
12
+ actionview (= 7.2.1)
13
+ activesupport (= 7.2.1)
14
+ nokogiri (>= 1.8.5)
15
+ racc
16
+ rack (>= 2.2.4, < 3.2)
17
+ rack-session (>= 1.0.1)
15
18
  rack-test (>= 0.6.3)
16
- rails-dom-testing (~> 2.0)
17
- rails-html-sanitizer (~> 1.0, >= 1.2.0)
18
- actionview (6.1.7.6)
19
- activesupport (= 6.1.7.6)
19
+ rails-dom-testing (~> 2.2)
20
+ rails-html-sanitizer (~> 1.6)
21
+ useragent (~> 0.16)
22
+ actionview (7.2.1)
23
+ activesupport (= 7.2.1)
20
24
  builder (~> 3.1)
21
- erubi (~> 1.4)
22
- rails-dom-testing (~> 2.0)
23
- rails-html-sanitizer (~> 1.1, >= 1.2.0)
24
- activesupport (6.1.7.6)
25
- concurrent-ruby (~> 1.0, >= 1.0.2)
25
+ erubi (~> 1.11)
26
+ rails-dom-testing (~> 2.2)
27
+ rails-html-sanitizer (~> 1.6)
28
+ activesupport (7.2.1)
29
+ base64
30
+ bigdecimal
31
+ concurrent-ruby (~> 1.0, >= 1.3.1)
32
+ connection_pool (>= 2.2.5)
33
+ drb
26
34
  i18n (>= 1.6, < 2)
35
+ logger (>= 1.4.2)
27
36
  minitest (>= 5.1)
28
- tzinfo (~> 2.0)
29
- zeitwerk (~> 2.3)
37
+ securerandom (>= 0.3)
38
+ tzinfo (~> 2.0, >= 2.0.5)
30
39
  ast (2.4.2)
31
- base64 (0.1.1)
32
- builder (3.2.4)
40
+ base64 (0.2.0)
41
+ bigdecimal (3.1.8)
42
+ builder (3.3.0)
33
43
  coderay (1.1.3)
34
- concurrent-ruby (1.2.2)
44
+ concurrent-ruby (1.3.4)
45
+ connection_pool (2.4.1)
35
46
  crass (1.0.6)
36
- diff-lcs (1.5.0)
37
- erubi (1.12.0)
38
- faraday (1.10.3)
47
+ diff-lcs (1.5.1)
48
+ drb (2.2.1)
49
+ erubi (1.13.0)
50
+ faraday (1.10.4)
39
51
  faraday-em_http (~> 1.0)
40
52
  faraday-em_synchrony (~> 1.0)
41
53
  faraday-excon (~> 1.1)
@@ -53,38 +65,52 @@ GEM
53
65
  faraday-httpclient (1.0.1)
54
66
  faraday-multipart (1.0.4)
55
67
  multipart-post (~> 2)
56
- faraday-net_http (1.0.1)
68
+ faraday-net_http (1.0.2)
57
69
  faraday-net_http_persistent (1.2.0)
58
70
  faraday-patron (1.0.0)
59
71
  faraday-rack (1.0.0)
60
72
  faraday-retry (1.0.3)
61
- i18n (1.14.1)
73
+ i18n (1.14.6)
62
74
  concurrent-ruby (~> 1.0)
63
- json (2.6.3)
64
- json_requester (1.1.0)
65
- faraday (~> 1.0, >= 1.0.0)
75
+ io-console (0.7.2)
76
+ irb (1.14.1)
77
+ rdoc (>= 4.0.0)
78
+ reline (>= 0.4.2)
79
+ json (2.7.2)
80
+ json_requester (1.1.2)
81
+ faraday (~> 1.10, >= 1.10.3)
66
82
  language_server-protocol (3.17.0.3)
67
- loofah (2.21.3)
83
+ logger (1.6.1)
84
+ loofah (2.22.0)
68
85
  crass (~> 1.0.2)
69
86
  nokogiri (>= 1.12.0)
70
- method_source (1.0.0)
71
- minitest (5.19.0)
72
- multipart-post (2.4.0)
73
- nokogiri (1.15.4-arm64-darwin)
87
+ method_source (1.1.0)
88
+ minitest (5.25.1)
89
+ multipart-post (2.4.1)
90
+ nokogiri (1.16.7-aarch64-linux)
91
+ racc (~> 1.4)
92
+ nokogiri (1.16.7-arm64-darwin)
74
93
  racc (~> 1.4)
75
- nokogiri (1.15.4-x86_64-darwin)
94
+ nokogiri (1.16.7-x86_64-darwin)
76
95
  racc (~> 1.4)
77
- parallel (1.23.0)
78
- parser (3.2.2.3)
96
+ parallel (1.26.3)
97
+ parser (3.3.5.0)
79
98
  ast (~> 2.4.1)
80
99
  racc
81
100
  pry (0.14.2)
82
101
  coderay (~> 1.1)
83
102
  method_source (~> 1.0)
84
- racc (1.7.1)
85
- rack (2.2.8)
103
+ psych (5.1.2)
104
+ stringio
105
+ racc (1.8.1)
106
+ rack (3.1.7)
107
+ rack-session (2.0.0)
108
+ rack (>= 3.0.0)
86
109
  rack-test (2.1.0)
87
110
  rack (>= 1.3)
111
+ rackup (2.1.0)
112
+ rack (>= 3)
113
+ webrick (~> 1.8)
88
114
  rails-dom-testing (2.2.0)
89
115
  activesupport (>= 5.0.0)
90
116
  minitest
@@ -92,62 +118,70 @@ GEM
92
118
  rails-html-sanitizer (1.6.0)
93
119
  loofah (~> 2.21)
94
120
  nokogiri (~> 1.14)
95
- railties (6.1.7.6)
96
- actionpack (= 6.1.7.6)
97
- activesupport (= 6.1.7.6)
98
- method_source
121
+ railties (7.2.1)
122
+ actionpack (= 7.2.1)
123
+ activesupport (= 7.2.1)
124
+ irb (~> 1.13)
125
+ rackup (>= 1.0.0)
99
126
  rake (>= 12.2)
100
- thor (~> 1.0)
127
+ thor (~> 1.0, >= 1.2.2)
128
+ zeitwerk (~> 2.6)
101
129
  rainbow (3.1.1)
102
- rake (13.0.6)
103
- regexp_parser (2.8.1)
104
- rexml (3.2.6)
105
- rspec (3.12.0)
106
- rspec-core (~> 3.12.0)
107
- rspec-expectations (~> 3.12.0)
108
- rspec-mocks (~> 3.12.0)
109
- rspec-core (3.12.2)
110
- rspec-support (~> 3.12.0)
111
- rspec-expectations (3.12.3)
130
+ rake (13.2.1)
131
+ rdoc (6.7.0)
132
+ psych (>= 4.0.0)
133
+ regexp_parser (2.9.2)
134
+ reline (0.5.10)
135
+ io-console (~> 0.5)
136
+ rspec (3.13.0)
137
+ rspec-core (~> 3.13.0)
138
+ rspec-expectations (~> 3.13.0)
139
+ rspec-mocks (~> 3.13.0)
140
+ rspec-core (3.13.1)
141
+ rspec-support (~> 3.13.0)
142
+ rspec-expectations (3.13.3)
112
143
  diff-lcs (>= 1.2.0, < 2.0)
113
- rspec-support (~> 3.12.0)
114
- rspec-mocks (3.12.6)
144
+ rspec-support (~> 3.13.0)
145
+ rspec-mocks (3.13.2)
115
146
  diff-lcs (>= 1.2.0, < 2.0)
116
- rspec-support (~> 3.12.0)
117
- rspec-support (3.12.1)
118
- rubocop (1.56.2)
119
- base64 (~> 0.1.1)
147
+ rspec-support (~> 3.13.0)
148
+ rspec-support (3.13.1)
149
+ rubocop (1.66.1)
120
150
  json (~> 2.3)
121
151
  language_server-protocol (>= 3.17.0)
122
152
  parallel (~> 1.10)
123
- parser (>= 3.2.2.3)
153
+ parser (>= 3.3.0.2)
124
154
  rainbow (>= 2.2.2, < 4.0)
125
- regexp_parser (>= 1.8, < 3.0)
126
- rexml (>= 3.2.5, < 4.0)
127
- rubocop-ast (>= 1.28.1, < 2.0)
155
+ regexp_parser (>= 2.4, < 3.0)
156
+ rubocop-ast (>= 1.32.2, < 2.0)
128
157
  ruby-progressbar (~> 1.7)
129
158
  unicode-display_width (>= 2.4.0, < 3.0)
130
- rubocop-ast (1.29.0)
131
- parser (>= 3.2.1.0)
159
+ rubocop-ast (1.32.3)
160
+ parser (>= 3.3.1.0)
132
161
  ruby-progressbar (1.13.0)
133
162
  ruby2_keywords (0.0.5)
134
- thor (1.2.2)
163
+ securerandom (0.3.1)
164
+ stringio (3.1.1)
165
+ thor (1.3.2)
135
166
  tzinfo (2.0.6)
136
167
  concurrent-ruby (~> 1.0)
137
- unicode-display_width (2.4.2)
138
- zeitwerk (2.6.11)
168
+ unicode-display_width (2.6.0)
169
+ useragent (0.16.10)
170
+ webrick (1.8.2)
171
+ zeitwerk (2.6.18)
139
172
 
140
173
  PLATFORMS
141
- arm64-darwin-20
142
- arm64-darwin-22
143
- x86_64-darwin-19
174
+ aarch64-linux
175
+ aarch64-linux-gnu
176
+ arm64-darwin
177
+ x86_64-darwin
144
178
 
145
179
  DEPENDENCIES
146
- pry (~> 0.14.1)
147
- railties (~> 6.1.4)
180
+ pry (>= 0.14.1)
181
+ railties (>= 6.1.4)
148
182
  rpdoc!
149
- rspec (~> 3.0)
150
- rubocop (~> 1.0)
183
+ rspec (>= 3.0)
184
+ rubocop (>= 1.0)
151
185
 
152
186
  BUNDLED WITH
153
- 2.3.4
187
+ 2.5.21
data/VERSION.md CHANGED
@@ -1 +1 @@
1
- 0.2.1
1
+ 0.2.3
@@ -39,7 +39,7 @@ module Rpdoc
39
39
  remote_collection = PostmanCollection.new(data: remote_collection_data)
40
40
  remote_collection.clean_generated_responses!
41
41
  remote_collection.merge!(self)
42
- @requester.http_send(:put, path, remote_collection.data, headers)
42
+ @requester.http_send(:put, path, remote_collection.data, headers, content_type_charset: nil)
43
43
  end
44
44
 
45
45
  def save(path: nil)
data/lib/rpdoc/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Rpdoc
4
- VERSION = "0.2.1"
4
+ VERSION = "0.2.3"
5
5
  end
data/rpdoc.gemspec CHANGED
@@ -27,11 +27,11 @@ Gem::Specification.new do |spec|
27
27
  spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
28
28
  spec.require_paths = ["lib"]
29
29
 
30
- spec.add_dependency 'json_requester', '~> 1.0'
31
- spec.add_dependency 'activesupport', '~> 6.1'
30
+ spec.add_dependency 'json_requester', '>= 1.1.1'
31
+ spec.add_dependency 'activesupport', '>= 6.1'
32
32
 
33
- spec.add_development_dependency 'railties', '~> 6.1.4'
34
- spec.add_development_dependency 'rspec', '~> 3.0'
35
- spec.add_development_dependency 'pry', '~> 0.14.1'
36
- spec.add_development_dependency 'rubocop', '~> 1.0'
33
+ spec.add_development_dependency 'railties', '>= 6.1.4'
34
+ spec.add_development_dependency 'rspec', '>= 3.0'
35
+ spec.add_development_dependency 'pry', '>= 0.14.1'
36
+ spec.add_development_dependency 'rubocop', '>= 1.0'
37
37
  end
metadata CHANGED
@@ -1,97 +1,97 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rpdoc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - yuntai
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-06-11 00:00:00.000000000 Z
11
+ date: 2024-10-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json_requester
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '1.0'
19
+ version: 1.1.1
20
20
  type: :runtime
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.0'
26
+ version: 1.1.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: activesupport
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '6.1'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '6.1'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: railties
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: 6.1.4
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
54
  version: 6.1.4
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rspec
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - "~>"
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
61
  version: '3.0'
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
68
  version: '3.0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: pry
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - "~>"
73
+ - - ">="
74
74
  - !ruby/object:Gem::Version
75
75
  version: 0.14.1
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - "~>"
80
+ - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: 0.14.1
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: rubocop
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - "~>"
87
+ - - ">="
88
88
  - !ruby/object:Gem::Version
89
89
  version: '1.0'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - "~>"
94
+ - - ">="
95
95
  - !ruby/object:Gem::Version
96
96
  version: '1.0'
97
97
  description: Rpdoc is a simple Postman API documentation tool, which transforms RSpec
@@ -136,7 +136,7 @@ licenses:
136
136
  metadata:
137
137
  source_code_uri: https://github.com/kdan-mobile-software-ltd/rpdoc
138
138
  changelog_uri: https://github.com/kdan-mobile-software-ltd/rpdoc/blob/master/CHANGELOG.md
139
- post_install_message:
139
+ post_install_message:
140
140
  rdoc_options: []
141
141
  require_paths:
142
142
  - lib
@@ -151,8 +151,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
151
151
  - !ruby/object:Gem::Version
152
152
  version: '0'
153
153
  requirements: []
154
- rubygems_version: 3.4.6
155
- signing_key:
154
+ rubygems_version: 3.5.16
155
+ signing_key:
156
156
  specification_version: 4
157
157
  summary: RSpec to Postman Documentation Tool
158
158
  test_files: []