dryml 2.2.2 → 2.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/dryml/part_context.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 36310a036ff22c5caac5fb75a8831d654a870256
|
4
|
+
data.tar.gz: f4db8440e12acebc98928a86ccc3c3e53d29b2ea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7c8ab0b3cc2ba8d856a4f400388e2c36733801a995214e5bfedac16ce344bd2f52d8db2fe34feee94c8bae0c6f6f4548f913e838affc55017b8d6fce9a32a51e
|
7
|
+
data.tar.gz: 66db2960d9bca7c420821df8248d48d61cfdc94b674c189b2df4adc487a45c3d45f278c2261566ae9b4a97cd306f97faef0bd1b1eaa54c0d3f6b777945d831c7
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.2.
|
1
|
+
2.2.3
|
data/lib/dryml/part_context.rb
CHANGED
@@ -89,7 +89,7 @@
|
|
89
89
|
|
90
90
|
# Generate the HMAC keyed message digest. Uses SHA1 by default.
|
91
91
|
def generate_digest(data, session)
|
92
|
-
secret = self.class.secret || Rails.application.config.secret_key_base || Rails.application.config.secret_token
|
92
|
+
secret = self.class.secret || Rails.application.secrets.secret_key_base || Rails.application.config.secret_key_base || Rails.application.config.secret_token
|
93
93
|
key = secret.respond_to?(:call) ? secret.call(session) : secret
|
94
94
|
OpenSSL::HMAC.hexdigest(OpenSSL::Digest.new(self.class.digest), key, data)
|
95
95
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dryml
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tom Locke
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - '='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 2.2.
|
33
|
+
version: 2.2.3
|
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
|
-
version: 2.2.
|
40
|
+
version: 2.2.3
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: cucumber
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|