dryml 2.2.2 → 2.2.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -1
  3. data/lib/dryml/part_context.rb +1 -1
  4. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c21bea011029e3a869132b15caedc034e8fe1d2e
4
- data.tar.gz: 32dce1539e5dbe4beae9426817c8264865bcf8e3
3
+ metadata.gz: 36310a036ff22c5caac5fb75a8831d654a870256
4
+ data.tar.gz: f4db8440e12acebc98928a86ccc3c3e53d29b2ea
5
5
  SHA512:
6
- metadata.gz: 9c1b1ef913b0cc5fe75eb32e2a50203a6f7d2cfac245b520383af351e5667f08cdce027a12e6186f10c6aa6682c4c037f06d9512c7e6a1cdc805e14b50b038e7
7
- data.tar.gz: 28bf71bb48fe1acb071592e69c313b2e3207485c0deece2a0b1ae7f05c0ae993d0ca520d5e58cc5827f09a00c93ac8de92403411763ab9e96a610c2d753bdc6f
6
+ metadata.gz: 7c8ab0b3cc2ba8d856a4f400388e2c36733801a995214e5bfedac16ce344bd2f52d8db2fe34feee94c8bae0c6f6f4548f913e838affc55017b8d6fce9a32a51e
7
+ data.tar.gz: 66db2960d9bca7c420821df8248d48d61cfdc94b674c189b2df4adc487a45c3d45f278c2261566ae9b4a97cd306f97faef0bd1b1eaa54c0d3f6b777945d831c7
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.2.2
1
+ 2.2.3
@@ -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.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.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.2
40
+ version: 2.2.3
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: cucumber
43
43
  requirement: !ruby/object:Gem::Requirement