url_signature 0.0.2 → 0.0.3
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/workflows/tests.yml +11 -13
- data/.rubocop.yml +1 -7
- data/README.md +0 -1
- data/lib/url_signature/url.rb +1 -1
- data/lib/url_signature/version.rb +1 -1
- data/lib/url_signature.rb +1 -1
- data/url_signature.gemspec +4 -2
- metadata +23 -11
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0f8e7a493e109af4c7514cd86ae15d205262c93f4a11aa81b4f8c9b6adf7897d
|
|
4
|
+
data.tar.gz: d101c591b29090ee928178bdb8c343cf76d71a2735475dbda7e6f72f6b58bbcc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c52cef371511617e11e12ac72c9d5a405abaed1d7954925c7d2148518fbee9a0ab8272f67baecc4ea7db2a7a8155ac943e5ebfa2adf281d65b757537c78c4a11
|
|
7
|
+
data.tar.gz: 479dbd35067a5cce1818a5e504d507dae8ba8b8eb8639773cc830b81f098d123a8523ee04fd0ddf7a85c50b36e44f8ece2d5aa90d49b318683c932358a849f16
|
data/.github/workflows/tests.yml
CHANGED
|
@@ -1,15 +1,11 @@
|
|
|
1
|
+
---
|
|
1
2
|
name: Tests
|
|
2
3
|
|
|
3
4
|
on:
|
|
4
5
|
pull_request:
|
|
5
|
-
branches:
|
|
6
|
-
- main
|
|
7
6
|
push:
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
schedule:
|
|
12
|
-
- cron: "0 10 * * *"
|
|
7
|
+
workflow_dispatch:
|
|
8
|
+
inputs: {}
|
|
13
9
|
|
|
14
10
|
jobs:
|
|
15
11
|
build:
|
|
@@ -18,23 +14,25 @@ jobs:
|
|
|
18
14
|
strategy:
|
|
19
15
|
fail-fast: false
|
|
20
16
|
matrix:
|
|
21
|
-
ruby: [
|
|
17
|
+
ruby: ["3.3", "3.4"]
|
|
22
18
|
gemfile:
|
|
23
19
|
- Gemfile
|
|
24
20
|
|
|
25
21
|
steps:
|
|
26
|
-
- uses: actions/checkout@
|
|
22
|
+
- uses: actions/checkout@v4
|
|
27
23
|
|
|
28
|
-
- uses: actions/cache@
|
|
24
|
+
- uses: actions/cache@v4
|
|
29
25
|
with:
|
|
30
26
|
path: vendor/bundle
|
|
31
27
|
key: >
|
|
32
|
-
${{ runner.os }}-${{ matrix.ruby }}-gems-${{
|
|
28
|
+
${{ runner.os }}-${{ matrix.ruby }}-gems-${{
|
|
29
|
+
hashFiles(matrix.gemfile) }}
|
|
33
30
|
restore-keys: >
|
|
34
|
-
${{ runner.os }}-${{ matrix.ruby }}-gems-${{
|
|
31
|
+
${{ runner.os }}-${{ matrix.ruby }}-gems-${{
|
|
32
|
+
hashFiles(matrix.gemfile) }}
|
|
35
33
|
|
|
36
34
|
- name: Set up Ruby
|
|
37
|
-
uses:
|
|
35
|
+
uses: ruby/setup-ruby@v1
|
|
38
36
|
with:
|
|
39
37
|
ruby-version: ${{ matrix.ruby }}
|
|
40
38
|
|
data/.rubocop.yml
CHANGED
data/README.md
CHANGED
|
@@ -10,7 +10,6 @@
|
|
|
10
10
|
|
|
11
11
|
<p align="center">
|
|
12
12
|
<a href="https://github.com/fnando/url_signature"><img src="https://github.com/fnando/url_signature/workflows/Tests/badge.svg" alt="Tests"></a>
|
|
13
|
-
<a href="https://codeclimate.com/github/fnando/url_signature"><img src="https://codeclimate.com/github/fnando/url_signature/badges/gpa.svg" alt="Code Climate"></a>
|
|
14
13
|
<a href="https://rubygems.org/gems/url_signature"><img src="https://img.shields.io/gem/v/url_signature.svg" alt="Version"></a>
|
|
15
14
|
<a href="https://rubygems.org/gems/url_signature"><img src="https://img.shields.io/gem/dt/url_signature.svg" alt="Downloads"></a>
|
|
16
15
|
</p>
|
data/lib/url_signature/url.rb
CHANGED
data/lib/url_signature.rb
CHANGED
data/url_signature.gemspec
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
require_relative "
|
|
3
|
+
require_relative "lib/url_signature/version"
|
|
4
4
|
|
|
5
5
|
Gem::Specification.new do |spec|
|
|
6
6
|
spec.name = "url_signature"
|
|
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
|
|
|
11
11
|
spec.summary = "Create and verify signed urls. Supports expiration time."
|
|
12
12
|
spec.description = spec.summary
|
|
13
13
|
spec.license = "MIT"
|
|
14
|
-
spec.required_ruby_version = Gem::Requirement.new(">=
|
|
14
|
+
spec.required_ruby_version = Gem::Requirement.new(">= 3.3.0")
|
|
15
15
|
|
|
16
16
|
github_url = "https://github.com/fnando/url_signature"
|
|
17
17
|
github_tree_url = "#{github_url}/tree/v#{spec.version}"
|
|
@@ -23,6 +23,7 @@ Gem::Specification.new do |spec|
|
|
|
23
23
|
spec.metadata["changelog_uri"] = "#{github_tree_url}/CHANGELOG.md"
|
|
24
24
|
spec.metadata["documentation_uri"] = "#{github_tree_url}/README.md"
|
|
25
25
|
spec.metadata["license_uri"] = "#{github_tree_url}/LICENSE.md"
|
|
26
|
+
spec.metadata["rubygems_mfa_required"] = "true"
|
|
26
27
|
|
|
27
28
|
spec.files = Dir.chdir(File.expand_path(__dir__)) do
|
|
28
29
|
`git ls-files -z`
|
|
@@ -34,6 +35,7 @@ Gem::Specification.new do |spec|
|
|
|
34
35
|
spec.executables = spec.files.grep(%r{^exe/}) {|f| File.basename(f) }
|
|
35
36
|
spec.require_paths = ["lib"]
|
|
36
37
|
|
|
38
|
+
spec.add_dependency "base64"
|
|
37
39
|
spec.add_development_dependency "minitest"
|
|
38
40
|
spec.add_development_dependency "minitest-utils"
|
|
39
41
|
spec.add_development_dependency "pry-meta"
|
metadata
CHANGED
|
@@ -1,15 +1,28 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: url_signature
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Nando Vieira
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: exe
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 2025-03-21 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
12
|
+
- !ruby/object:Gem::Dependency
|
|
13
|
+
name: base64
|
|
14
|
+
requirement: !ruby/object:Gem::Requirement
|
|
15
|
+
requirements:
|
|
16
|
+
- - ">="
|
|
17
|
+
- !ruby/object:Gem::Version
|
|
18
|
+
version: '0'
|
|
19
|
+
type: :runtime
|
|
20
|
+
prerelease: false
|
|
21
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
22
|
+
requirements:
|
|
23
|
+
- - ">="
|
|
24
|
+
- !ruby/object:Gem::Version
|
|
25
|
+
version: '0'
|
|
13
26
|
- !ruby/object:Gem::Dependency
|
|
14
27
|
name: minitest
|
|
15
28
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -143,11 +156,11 @@ licenses:
|
|
|
143
156
|
metadata:
|
|
144
157
|
homepage_uri: https://github.com/fnando/url_signature
|
|
145
158
|
bug_tracker_uri: https://github.com/fnando/url_signature/issues
|
|
146
|
-
source_code_uri: https://github.com/fnando/url_signature/tree/v0.0.
|
|
147
|
-
changelog_uri: https://github.com/fnando/url_signature/tree/v0.0.
|
|
148
|
-
documentation_uri: https://github.com/fnando/url_signature/tree/v0.0.
|
|
149
|
-
license_uri: https://github.com/fnando/url_signature/tree/v0.0.
|
|
150
|
-
|
|
159
|
+
source_code_uri: https://github.com/fnando/url_signature/tree/v0.0.3
|
|
160
|
+
changelog_uri: https://github.com/fnando/url_signature/tree/v0.0.3/CHANGELOG.md
|
|
161
|
+
documentation_uri: https://github.com/fnando/url_signature/tree/v0.0.3/README.md
|
|
162
|
+
license_uri: https://github.com/fnando/url_signature/tree/v0.0.3/LICENSE.md
|
|
163
|
+
rubygems_mfa_required: 'true'
|
|
151
164
|
rdoc_options: []
|
|
152
165
|
require_paths:
|
|
153
166
|
- lib
|
|
@@ -155,15 +168,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
155
168
|
requirements:
|
|
156
169
|
- - ">="
|
|
157
170
|
- !ruby/object:Gem::Version
|
|
158
|
-
version:
|
|
171
|
+
version: 3.3.0
|
|
159
172
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
160
173
|
requirements:
|
|
161
174
|
- - ">="
|
|
162
175
|
- !ruby/object:Gem::Version
|
|
163
176
|
version: '0'
|
|
164
177
|
requirements: []
|
|
165
|
-
rubygems_version: 3.
|
|
166
|
-
signing_key:
|
|
178
|
+
rubygems_version: 3.6.6
|
|
167
179
|
specification_version: 4
|
|
168
180
|
summary: Create and verify signed urls. Supports expiration time.
|
|
169
181
|
test_files: []
|