veracode_api_signing 1.0.1 → 1.1.0
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/.github/dependabot.yml +14 -0
- data/.github/workflows/tests.yml +7 -9
- data/.rubocop.yml +6 -1
- data/Gemfile.lock +27 -28
- data/lib/veracode_api_signing/credentials.rb +1 -1
- data/lib/veracode_api_signing/version.rb +1 -1
- data/shell.nix +2 -2
- data/veracode_api_signing.gemspec +0 -1
- metadata +2 -15
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 13a986a50be97c21566c41085d86c0920bffebc39faa7685a7e50e871cb3cabb
|
|
4
|
+
data.tar.gz: 24dce5b41889e7b585829f9aa6a2e9f37b5de239abed959e75941d927dc789c7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6864bd4066392cc9a56463bd112a64e8e235aefb94b997912d81dc0a6b68fb85e4d97e11da7a444b45fe28606152c8b05c871d0f40a80c7f4802525c13c52dd6
|
|
7
|
+
data.tar.gz: 930ead08ed900ad38ee9c4980018e2baebb112c6d955a4e13d550f9842ed1cbf65d5f6589588a3bcbbd54799390482bd7a19202a7a5ad540ba34df276840fb02
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
---
|
|
2
|
+
version: 2
|
|
3
|
+
updates:
|
|
4
|
+
- package-ecosystem: "bundler"
|
|
5
|
+
directory: "/"
|
|
6
|
+
schedule:
|
|
7
|
+
interval: "weekly"
|
|
8
|
+
labels:
|
|
9
|
+
- "dependencies"
|
|
10
|
+
open-pull-requests-limit: 5
|
|
11
|
+
# This option will also apply to security patches
|
|
12
|
+
# lockfile-only respects the version constraints specified in the Gemfile.
|
|
13
|
+
# Otherwise both the Gemfile and Gemfile.lock would be updated to use the latest version
|
|
14
|
+
versioning-strategy: lockfile-only
|
data/.github/workflows/tests.yml
CHANGED
|
@@ -13,7 +13,7 @@ jobs:
|
|
|
13
13
|
matrix:
|
|
14
14
|
os: [ubuntu-latest, macos-latest]
|
|
15
15
|
# Due to https://github.com/actions/runner/issues/849, we have to use quotes for '3.0'
|
|
16
|
-
ruby: [2.7, '3.0', truffleruby, truffleruby-head]
|
|
16
|
+
ruby: [2.7, '3.0', '3.1', truffleruby, truffleruby-head]
|
|
17
17
|
runs-on: ${{ matrix.os }}
|
|
18
18
|
steps:
|
|
19
19
|
- uses: actions/checkout@v2
|
|
@@ -34,7 +34,7 @@ jobs:
|
|
|
34
34
|
|
|
35
35
|
- uses: ruby/setup-ruby@v1
|
|
36
36
|
with:
|
|
37
|
-
ruby-version: '3.
|
|
37
|
+
ruby-version: '3.1'
|
|
38
38
|
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
|
|
39
39
|
|
|
40
40
|
- name: Yard documents
|
|
@@ -43,11 +43,9 @@ jobs:
|
|
|
43
43
|
|
|
44
44
|
- name: Deploy pages
|
|
45
45
|
if: github.event_name == 'push'
|
|
46
|
-
uses: JamesIves/github-pages-deploy-action@
|
|
46
|
+
uses: JamesIves/github-pages-deploy-action@v4.2.5
|
|
47
47
|
with:
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
CLEAN: true
|
|
53
|
-
CLEAN_EXCLUDE: '[".gitattributes", ".gitignore", "CNAME", "LICENSE"]'
|
|
48
|
+
branch: gh-pages
|
|
49
|
+
folder: doc
|
|
50
|
+
clean: true
|
|
51
|
+
clean-exclude: '[".gitattributes", ".gitignore", "CNAME", "LICENSE"]'
|
data/.rubocop.yml
CHANGED
|
@@ -7,7 +7,8 @@ require:
|
|
|
7
7
|
|
|
8
8
|
AllCops:
|
|
9
9
|
NewCops: enable
|
|
10
|
-
|
|
10
|
+
CacheRootDirectory: tmp/
|
|
11
|
+
TargetRubyVersion: 3.1
|
|
11
12
|
|
|
12
13
|
Style/StringLiterals:
|
|
13
14
|
Enabled: true
|
|
@@ -17,6 +18,10 @@ Style/StringLiteralsInInterpolation:
|
|
|
17
18
|
Enabled: true
|
|
18
19
|
EnforcedStyle: double_quotes
|
|
19
20
|
|
|
21
|
+
Style/HashSyntax:
|
|
22
|
+
Enabled: true
|
|
23
|
+
EnforcedShorthandSyntax: either
|
|
24
|
+
|
|
20
25
|
RSpec/ExampleLength:
|
|
21
26
|
Max: 50
|
|
22
27
|
|
data/Gemfile.lock
CHANGED
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
veracode_api_signing (1.0
|
|
4
|
+
veracode_api_signing (1.1.0)
|
|
5
5
|
|
|
6
6
|
GEM
|
|
7
7
|
remote: https://rubygems.org/
|
|
8
8
|
specs:
|
|
9
9
|
ast (2.4.2)
|
|
10
|
-
brakeman (5.2.
|
|
10
|
+
brakeman (5.2.3)
|
|
11
11
|
diff-lcs (1.5.0)
|
|
12
12
|
docile (1.4.0)
|
|
13
|
-
parallel (1.
|
|
14
|
-
parser (3.
|
|
13
|
+
parallel (1.22.1)
|
|
14
|
+
parser (3.1.2.0)
|
|
15
15
|
ast (~> 2.4.1)
|
|
16
|
-
rainbow (3.
|
|
16
|
+
rainbow (3.1.1)
|
|
17
17
|
rake (13.0.6)
|
|
18
|
-
regexp_parser (2.
|
|
18
|
+
regexp_parser (2.4.0)
|
|
19
19
|
rexml (3.2.5)
|
|
20
|
-
rspec (3.
|
|
21
|
-
rspec-core (~> 3.
|
|
22
|
-
rspec-expectations (~> 3.
|
|
23
|
-
rspec-mocks (~> 3.
|
|
24
|
-
rspec-core (3.
|
|
25
|
-
rspec-support (~> 3.
|
|
26
|
-
rspec-expectations (3.
|
|
20
|
+
rspec (3.11.0)
|
|
21
|
+
rspec-core (~> 3.11.0)
|
|
22
|
+
rspec-expectations (~> 3.11.0)
|
|
23
|
+
rspec-mocks (~> 3.11.0)
|
|
24
|
+
rspec-core (3.11.0)
|
|
25
|
+
rspec-support (~> 3.11.0)
|
|
26
|
+
rspec-expectations (3.11.0)
|
|
27
27
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
28
|
-
rspec-support (~> 3.
|
|
29
|
-
rspec-mocks (3.
|
|
28
|
+
rspec-support (~> 3.11.0)
|
|
29
|
+
rspec-mocks (3.11.1)
|
|
30
30
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
31
|
-
rspec-support (~> 3.
|
|
32
|
-
rspec-support (3.
|
|
33
|
-
rubocop (1.
|
|
31
|
+
rspec-support (~> 3.11.0)
|
|
32
|
+
rspec-support (3.11.0)
|
|
33
|
+
rubocop (1.29.1)
|
|
34
34
|
parallel (~> 1.10)
|
|
35
|
-
parser (>= 3.
|
|
35
|
+
parser (>= 3.1.0.0)
|
|
36
36
|
rainbow (>= 2.2.2, < 4.0)
|
|
37
37
|
regexp_parser (>= 1.8, < 3.0)
|
|
38
|
-
rexml
|
|
39
|
-
rubocop-ast (>= 1.
|
|
38
|
+
rexml (>= 3.2.5, < 4.0)
|
|
39
|
+
rubocop-ast (>= 1.17.0, < 2.0)
|
|
40
40
|
ruby-progressbar (~> 1.7)
|
|
41
41
|
unicode-display_width (>= 1.4.0, < 3.0)
|
|
42
|
-
rubocop-ast (1.
|
|
43
|
-
parser (>= 3.
|
|
44
|
-
rubocop-performance (1.
|
|
42
|
+
rubocop-ast (1.18.0)
|
|
43
|
+
parser (>= 3.1.1.0)
|
|
44
|
+
rubocop-performance (1.13.3)
|
|
45
45
|
rubocop (>= 1.7.0, < 2.0)
|
|
46
46
|
rubocop-ast (>= 0.4.0)
|
|
47
47
|
rubocop-rake (0.6.0)
|
|
48
48
|
rubocop (~> 1.0)
|
|
49
|
-
rubocop-rspec (2.
|
|
49
|
+
rubocop-rspec (2.10.0)
|
|
50
50
|
rubocop (~> 1.19)
|
|
51
51
|
ruby-progressbar (1.11.0)
|
|
52
52
|
simplecov (0.21.2)
|
|
@@ -54,7 +54,7 @@ GEM
|
|
|
54
54
|
simplecov-html (~> 0.11)
|
|
55
55
|
simplecov_json_formatter (~> 0.1)
|
|
56
56
|
simplecov-html (0.12.3)
|
|
57
|
-
simplecov_json_formatter (0.1.
|
|
57
|
+
simplecov_json_formatter (0.1.4)
|
|
58
58
|
unicode-display_width (2.1.0)
|
|
59
59
|
webrick (1.7.0)
|
|
60
60
|
yard (0.9.27)
|
|
@@ -65,7 +65,6 @@ PLATFORMS
|
|
|
65
65
|
|
|
66
66
|
DEPENDENCIES
|
|
67
67
|
brakeman (~> 5.1)
|
|
68
|
-
bundler (~> 2.0)
|
|
69
68
|
rake (~> 13.0)
|
|
70
69
|
rspec (~> 3.0)
|
|
71
70
|
rubocop (~> 1.2)
|
|
@@ -77,4 +76,4 @@ DEPENDENCIES
|
|
|
77
76
|
yard (~> 0.9.26)
|
|
78
77
|
|
|
79
78
|
BUNDLED WITH
|
|
80
|
-
2.3.
|
|
79
|
+
2.3.9
|
|
@@ -29,7 +29,7 @@ module VeracodeApiSigning
|
|
|
29
29
|
private
|
|
30
30
|
|
|
31
31
|
def get_credentials_from_environment_variables
|
|
32
|
-
[ENV
|
|
32
|
+
[ENV.fetch(ENV_API_KEY_NAME, nil), ENV.fetch(ENV_API_SECRET_KEY_NAME, nil)]
|
|
33
33
|
end
|
|
34
34
|
|
|
35
35
|
def get_credentials_from_filesystem(auth_file)
|
data/shell.nix
CHANGED
|
@@ -8,7 +8,7 @@ let
|
|
|
8
8
|
ApplicationServices
|
|
9
9
|
Security
|
|
10
10
|
]);
|
|
11
|
-
ruby =
|
|
11
|
+
ruby = ruby_3_1;
|
|
12
12
|
|
|
13
13
|
# Issue with using gemspec files
|
|
14
14
|
#
|
|
@@ -52,7 +52,7 @@ in mkShell rec {
|
|
|
52
52
|
postgresql
|
|
53
53
|
postgresql_13
|
|
54
54
|
readline
|
|
55
|
-
ruby
|
|
55
|
+
(lowPrio ruby)
|
|
56
56
|
shared-mime-info # Required for the mime gem
|
|
57
57
|
sqlcipher
|
|
58
58
|
sqlite
|
|
@@ -31,7 +31,6 @@ Gem::Specification.new do |spec|
|
|
|
31
31
|
spec.require_paths = ["lib"]
|
|
32
32
|
|
|
33
33
|
spec.add_development_dependency "brakeman", "~> 5.1"
|
|
34
|
-
spec.add_development_dependency "bundler", "~> 2.0"
|
|
35
34
|
spec.add_development_dependency "rake", "~> 13.0"
|
|
36
35
|
spec.add_development_dependency "rspec", "~> 3.0"
|
|
37
36
|
spec.add_development_dependency "rubocop", "~> 1.2"
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: veracode_api_signing
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0
|
|
4
|
+
version: 1.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Corban Raun
|
|
@@ -24,20 +24,6 @@ dependencies:
|
|
|
24
24
|
- - "~>"
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
26
|
version: '5.1'
|
|
27
|
-
- !ruby/object:Gem::Dependency
|
|
28
|
-
name: bundler
|
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
|
30
|
-
requirements:
|
|
31
|
-
- - "~>"
|
|
32
|
-
- !ruby/object:Gem::Version
|
|
33
|
-
version: '2.0'
|
|
34
|
-
type: :development
|
|
35
|
-
prerelease: false
|
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
37
|
-
requirements:
|
|
38
|
-
- - "~>"
|
|
39
|
-
- !ruby/object:Gem::Version
|
|
40
|
-
version: '2.0'
|
|
41
27
|
- !ruby/object:Gem::Dependency
|
|
42
28
|
name: rake
|
|
43
29
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -158,6 +144,7 @@ extensions: []
|
|
|
158
144
|
extra_rdoc_files: []
|
|
159
145
|
files:
|
|
160
146
|
- ".brakeman.ignore"
|
|
147
|
+
- ".github/dependabot.yml"
|
|
161
148
|
- ".github/workflows/codeql-analysis.yml"
|
|
162
149
|
- ".github/workflows/tests.yml"
|
|
163
150
|
- ".gitignore"
|