authograph 1.0.4 → 1.0.5

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1e2d276ebb575ae0fcc406969081707cb0881d1e03cbf85faed974ea138a1156
4
- data.tar.gz: 5edd29503ee10afdc2f3c45dd29146eea0cdc6f01f9a16a171d1911586b23978
3
+ metadata.gz: 9e993265246c0bae5035be955237c81e0c3ed887f22fb2b0f932685a243578fb
4
+ data.tar.gz: 227972e3b17f36436f40edffc50a0bfce94d449cf0e0128af43a0112b09584b3
5
5
  SHA512:
6
- metadata.gz: 06fc0da12f0a5307a310727c11996955dae55a8dc9c17b3686f57f780c4cec8104a6ad66a35b24dce3b4e3be236fbacee5fe39daaa538b7df2f986b2d123442a
7
- data.tar.gz: 14bd1ade83ce55820c7ced42d4f5ad9724e11421f78bb0972eac7f793cc5828b0319afdd048042bb39a8eb08e07106c99a35606529875e38639a98635f9969fd
6
+ metadata.gz: 0555d971f91675040768834eb88e0818a95768322dace01c6ad8433556645b7a291e70970a9445713e637256138d1ac7dd218a4867118a2b392210a0ebcfe0fa
7
+ data.tar.gz: a7f28865b24c42feb6e048a3f149378e0eb7d67bba3163dc013b6d73ae2b547341c09fdfe17e97fa1cd14d89488da5b6eebfb8b195fb0a498119b24eeb914fb1
data/README.md CHANGED
@@ -70,7 +70,7 @@ require 'authograph/rspec'
70
70
  Now you can call the `stub_authograph` inside your tests:
71
71
 
72
72
  ```ruby
73
- before { stub_authograph(:any, 'mysignature') } }
73
+ before { stub_authograph(:any, 'mysignature') }
74
74
  before { stub_authograph({ secret: 'my_secret' }, 'mysignature') } # only stub signatures for a given secret (TODO)
75
75
  before { stub_authograph({ path: '/my/path' }, 'mysignature') } # only stub signatures for a given path (TODO)
76
76
  ```
@@ -1,3 +1,3 @@
1
1
  module Authograph
2
- VERSION = "1.0.4"
2
+ VERSION = "1.0.5"
3
3
  end
data/lib/authograph.rb CHANGED
@@ -3,7 +3,7 @@ require "authograph/adapters/base"
3
3
  require "authograph/signer"
4
4
 
5
5
  module Authograph
6
- def self.signer(*_args)
7
- Signer.new(*_args)
6
+ def self.signer(**_kwargs)
7
+ Signer.new(**_kwargs)
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: authograph
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ignacio Baixas
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-10-15 00:00:00.000000000 Z
11
+ date: 2024-01-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -171,7 +171,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
171
171
  - !ruby/object:Gem::Version
172
172
  version: '0'
173
173
  requirements: []
174
- rubygems_version: 3.0.3
174
+ rubygems_version: 3.1.6
175
175
  signing_key:
176
176
  specification_version: 4
177
177
  summary: Flexible HTTP request HMAC signing and validation