lockup 1.3.2 → 1.3.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZWY1MWUyNTJiZWI1ZjNhY2JjNWQzNWU2NTU1ZTJmOTYxNTI0NWM1OA==
4
+ ZTU5ZDkxYTBhOTQ2ZDU5ODk3N2UyOWM5MmE2NTdhY2EwM2FmMTgzMQ==
5
5
  data.tar.gz: !binary |-
6
- ODMwZTVmNWNkYzQ0NmYwNmE5ZTA1OTJhNGM0MGRlODY4OTIyMjQ4Yg==
6
+ N2QwZDFlZDk0NzFmNWU0NWM4Mjg4NWJkMWVhMjQ1MGViNzgyNGIxYQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MGRlMjM5NzRiYzYyYzg5MzkzN2RkNzM0Y2ViNDcyMDRiMTQ4YjcyZDNlNjg4
10
- M2Y1M2RiMDZkNjM1MTMwYTgyYWRjY2RhMzc3ZmM2Mjk1NDliN2FjNTM1Yzlj
11
- MGEzM2Y2NzM1MWZmZWYwMjkyNDI0YTExYjcwOWQxNDI4OGZlOWE=
9
+ YjRmOGM0NmFhNjMxMWMyNjFkYmZjMDYxNTk3Yzc5YWNlODZhYWM1MTMzNGZl
10
+ ZTZhNzk2OTUyMmZmYTYyN2U4ZDA4YzM0ZGMwNDIwMjNlYjNjZThlMzRlMDk1
11
+ YTVkYzBiMDVkZTIyY2I2NDFlZjBkOGQwZmQ4OWYwMjNhMjc5OGY=
12
12
  data.tar.gz: !binary |-
13
- YzQ3NzBlOTk4YjkyNzQ2ODA0NTljMGVhOTUyMGQ5OGY2OGIwN2RkZWYyNTA5
14
- ZDIxZThkNWJiNjA1MmVlZTU3N2U0ZDk0ZmU4NDhkZjBhY2MxZmJlMzQxY2Zm
15
- ZmJhNTBlNWQ2ZDg3Mjc1YjViM2IwMTk3NTkzZDVlY2I3Y2E5MTQ=
13
+ ZWExZDZiNDAyODc0MTJiNWM5Yzk0YjZhZjM5NDQzYmExYjYxZDUzMDJlM2U4
14
+ YzYwYTQ4ZWI4NmViMDU1NzI5N2IyNTIyODU2NDM1YWI5ZDM1NzhlYmFkYmRk
15
+ ZDM5NjQ4YmQ2OTBmZDFjMzA0OGIyMDE3MTUyNjk0YTI5NjdlOGU=
@@ -2,7 +2,7 @@ module Lockup
2
2
  module LockupHelper
3
3
 
4
4
  def lockup_hint_present?
5
- if ENV["LOCKUP_HINT"].present? || ENV["lockup_hint"].present? || Figaro.env.lockup_hint.present? || ((Rails::VERSION::MAJOR >= 4 && Rails::VERSION::MINOR >= 1) && Rails.application.secrets.lockup_hint.present?)
5
+ if ENV["LOCKUP_HINT"].present? || ENV["lockup_hint"].present? || ((Rails::VERSION::MAJOR >= 4 && Rails::VERSION::MINOR >= 1) && Rails.application.secrets.lockup_hint.present?)
6
6
  true
7
7
  else
8
8
  false
@@ -14,8 +14,6 @@ module Lockup
14
14
  ENV["LOCKUP_HINT"].to_s
15
15
  elsif ENV["lockup_hint"].present?
16
16
  ENV["lockup_hint"].to_s
17
- elsif Figaro.env.lockup_hint.present?
18
- Figaro.env.lockup_hint.to_s
19
17
  elsif (Rails::VERSION::MAJOR >= 4 && Rails::VERSION::MINOR >= 1) && Rails.application.secrets.lockup_hint.present?
20
18
  Rails.application.secrets.lockup_hint.to_s
21
19
  end
data/lib/lockup.rb CHANGED
@@ -24,7 +24,7 @@ module Lockup
24
24
  end
25
25
 
26
26
  def lockup_codeword_present?
27
- if ENV["LOCKUP_CODEWORD"].present? || ENV["lockup_codeword"].present? || Figaro.env.lockup_codeword.present? || ((Rails::VERSION::MAJOR >= 4 && Rails::VERSION::MINOR >= 1) && Rails.application.secrets.lockup_codeword.present?)
27
+ if ENV["LOCKUP_CODEWORD"].present? || ENV["lockup_codeword"].present? || ((Rails::VERSION::MAJOR >= 4 && Rails::VERSION::MINOR >= 1) && Rails.application.secrets.lockup_codeword.present?)
28
28
  true
29
29
  else
30
30
  false
@@ -36,8 +36,6 @@ module Lockup
36
36
  ENV["LOCKUP_CODEWORD"].to_s.downcase
37
37
  elsif ENV["lockup_codeword"].present?
38
38
  ENV["lockup_codeword"].to_s.downcase
39
- elsif Figaro.env.lockup_codeword.present?
40
- Figaro.env.lockup_codeword.to_s.downcase
41
39
  elsif (Rails::VERSION::MAJOR >= 4 && Rails::VERSION::MINOR >= 1) && Rails.application.secrets.lockup_codeword.present?
42
40
  Rails.application.secrets.lockup_codeword.to_s.downcase
43
41
  end
@@ -1,3 +1,3 @@
1
1
  module Lockup
2
- VERSION = "1.3.2"
2
+ VERSION = "1.3.2.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lockup
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.2
4
+ version: 1.3.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - gb Studio