heroics 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/check_changelog.yml +12 -0
- data/CHANGELOG.md +4 -0
- data/Rakefile +0 -1
- data/bin/heroku-api +1 -0
- data/heroics.gemspec +1 -1
- data/lib/heroics/schema.rb +2 -2
- data/lib/heroics/version.rb +1 -1
- metadata +21 -20
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 935d4099ef19b7d1edd7f04bd8545d0f2a9d0a3dea2433005148854654a9efb9
|
4
|
+
data.tar.gz: afb94092e02a8ee403c4e2b2b7b0326c59f310376ce1175db13a18f185a56bdc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aa084cff8f5819cc23375f0764c878a44113bd094d1b47997438b2fa8e89e24f56e5ac1fa5dab9341fae077cc329e3d1fac4a5ec26a74e859bfeec50e2951a6b
|
7
|
+
data.tar.gz: 7417de326cf4f11b9f7dc73df4d4397fcfde7f130a34ed4b287226d1c0a536fee1e2f013a15ddb4c596453fc49167d6a218d630ac54059890ad0411e7d32412d
|
@@ -0,0 +1,12 @@
|
|
1
|
+
name: Check Changelog
|
2
|
+
|
3
|
+
on: [pull_request]
|
4
|
+
|
5
|
+
jobs:
|
6
|
+
build:
|
7
|
+
runs-on: ubuntu-latest
|
8
|
+
steps:
|
9
|
+
- uses: actions/checkout@v1
|
10
|
+
- name: Check that CHANGELOG is touched
|
11
|
+
run: |
|
12
|
+
cat $GITHUB_EVENT_PATH | jq .pull_request.title | grep -i '\[\(\(changelog skip\)\|\(ci skip\)\)\]' || git diff remotes/origin/${{ github.base_ref }} --name-only | grep CHANGELOG.md
|
data/CHANGELOG.md
CHANGED
data/Rakefile
CHANGED
data/bin/heroku-api
CHANGED
data/heroics.gemspec
CHANGED
@@ -24,7 +24,6 @@ Gem::Specification.new do |spec|
|
|
24
24
|
spec.add_development_dependency 'minitest', '4.7.5'
|
25
25
|
spec.add_development_dependency 'netrc'
|
26
26
|
spec.add_development_dependency 'rake'
|
27
|
-
spec.add_development_dependency 'turn'
|
28
27
|
spec.add_development_dependency 'yard'
|
29
28
|
spec.add_development_dependency 'pry'
|
30
29
|
|
@@ -32,4 +31,5 @@ Gem::Specification.new do |spec|
|
|
32
31
|
spec.add_dependency 'excon'
|
33
32
|
spec.add_dependency 'multi_json', '>= 1.9.2'
|
34
33
|
spec.add_dependency 'moneta'
|
34
|
+
spec.add_dependency 'webrick'
|
35
35
|
end
|
data/lib/heroics/schema.rb
CHANGED
@@ -244,7 +244,7 @@ module Heroics
|
|
244
244
|
[value['$ref'], key]
|
245
245
|
end]
|
246
246
|
parameters.map do |parameter|
|
247
|
-
definition_name = URI.unescape(parameter[2..-3])
|
247
|
+
definition_name = ::URI::DEFAULT_PARSER.unescape(parameter[2..-3])
|
248
248
|
if definitions.has_key?(definition_name)
|
249
249
|
definitions[definition_name]
|
250
250
|
else
|
@@ -273,7 +273,7 @@ module Heroics
|
|
273
273
|
def resolve_parameter_details(parameters)
|
274
274
|
parameters.map do |parameter|
|
275
275
|
# URI decode parameters and strip the leading '{(' and trailing ')}'.
|
276
|
-
parameter = URI.unescape(parameter[2..-3])
|
276
|
+
parameter = ::URI::DEFAULT_PARSER.unescape(parameter[2..-3])
|
277
277
|
|
278
278
|
# Split the path into components and discard the leading '#' that
|
279
279
|
# represents the root of the schema.
|
data/lib/heroics/version.rb
CHANGED
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: heroics
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- geemus
|
8
8
|
- jkakar
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2021-01-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -67,20 +67,6 @@ dependencies:
|
|
67
67
|
- - ">="
|
68
68
|
- !ruby/object:Gem::Version
|
69
69
|
version: '0'
|
70
|
-
- !ruby/object:Gem::Dependency
|
71
|
-
name: turn
|
72
|
-
requirement: !ruby/object:Gem::Requirement
|
73
|
-
requirements:
|
74
|
-
- - ">="
|
75
|
-
- !ruby/object:Gem::Version
|
76
|
-
version: '0'
|
77
|
-
type: :development
|
78
|
-
prerelease: false
|
79
|
-
version_requirements: !ruby/object:Gem::Requirement
|
80
|
-
requirements:
|
81
|
-
- - ">="
|
82
|
-
- !ruby/object:Gem::Version
|
83
|
-
version: '0'
|
84
70
|
- !ruby/object:Gem::Dependency
|
85
71
|
name: yard
|
86
72
|
requirement: !ruby/object:Gem::Requirement
|
@@ -165,6 +151,20 @@ dependencies:
|
|
165
151
|
- - ">="
|
166
152
|
- !ruby/object:Gem::Version
|
167
153
|
version: '0'
|
154
|
+
- !ruby/object:Gem::Dependency
|
155
|
+
name: webrick
|
156
|
+
requirement: !ruby/object:Gem::Requirement
|
157
|
+
requirements:
|
158
|
+
- - ">="
|
159
|
+
- !ruby/object:Gem::Version
|
160
|
+
version: '0'
|
161
|
+
type: :runtime
|
162
|
+
prerelease: false
|
163
|
+
version_requirements: !ruby/object:Gem::Requirement
|
164
|
+
requirements:
|
165
|
+
- - ">="
|
166
|
+
- !ruby/object:Gem::Version
|
167
|
+
version: '0'
|
168
168
|
description: A Ruby client generator for HTTP APIs described with a JSON schema
|
169
169
|
email:
|
170
170
|
- geemus@gmail.com
|
@@ -175,6 +175,7 @@ executables:
|
|
175
175
|
extensions: []
|
176
176
|
extra_rdoc_files: []
|
177
177
|
files:
|
178
|
+
- ".github/workflows/check_changelog.yml"
|
178
179
|
- ".gitignore"
|
179
180
|
- ".travis.yml"
|
180
181
|
- CHANGELOG.md
|
@@ -206,7 +207,7 @@ homepage: https://github.com/interagent/heroics
|
|
206
207
|
licenses:
|
207
208
|
- MIT
|
208
209
|
metadata: {}
|
209
|
-
post_install_message:
|
210
|
+
post_install_message:
|
210
211
|
rdoc_options: []
|
211
212
|
require_paths:
|
212
213
|
- lib
|
@@ -221,8 +222,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
221
222
|
- !ruby/object:Gem::Version
|
222
223
|
version: '0'
|
223
224
|
requirements: []
|
224
|
-
rubygems_version: 3.
|
225
|
-
signing_key:
|
225
|
+
rubygems_version: 3.1.4
|
226
|
+
signing_key:
|
226
227
|
specification_version: 4
|
227
228
|
summary: A Ruby client generator for HTTP APIs described with a JSON schema
|
228
229
|
test_files: []
|