google-authenticator-rails 3.2.1 → 3.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 24553cf253ac005e951bbd6937e3ec7da80c0d29dd1ea119cb8a51caaf22bce6
4
- data.tar.gz: 529785446eb3b6ee2bcd66ecbc8aa1890b7efcfa6c6d98dcfd13a5f7e7663034
3
+ metadata.gz: 9ffad5bfabf4feb99336e67a1993f8cee9dcbf83878d643ca2f2ce15251e4829
4
+ data.tar.gz: 89dedb7cc930bbdd3d24e051f076774b3e24a4773c36e78647f3f326a2be311d
5
5
  SHA512:
6
- metadata.gz: f0592fa696434b350fe844fc6ef86959923d3796a86b7c13d7da70bd2e21da5fad36e6a21ad540ef1215b8d4146dd3f8d7d37f89874f85063afbe6cb2cb889f7
7
- data.tar.gz: 79b74b86b86e509e34033b4c0da95d68b044d4bcaa255563ef18895234f42421c60074931a603c0c37e386222c19d667debbc25db25141ff5f98b42366b31d1e
6
+ metadata.gz: 10456cb6cac6702c6dfe929790f7ee27219fc25757d22501c327c47c889f939c08736900422fbc436b4acd11386c1c75ac34ee685a788f404bba2a01b001a3d7
7
+ data.tar.gz: 696573e146ab6b003e323a056170c31a173c99a30da41f8b3ff53ecd0066d471997b93291295ef465e46c80ac23871ad67ab06c011ee555bc19c4f0c98f47dcd
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- google-authenticator-rails (3.2.1)
4
+ google-authenticator-rails (3.3.0)
5
5
  actionpack
6
6
  activerecord
7
7
  rails
@@ -82,7 +82,7 @@ GEM
82
82
  thor (>= 0.14.0)
83
83
  builder (3.2.4)
84
84
  chunky_png (1.4.0)
85
- concurrent-ruby (1.2.0)
85
+ concurrent-ruby (1.2.2)
86
86
  crass (1.0.6)
87
87
  date (3.3.3)
88
88
  diff-lcs (1.5.0)
@@ -103,7 +103,7 @@ GEM
103
103
  marcel (1.0.2)
104
104
  method_source (1.0.0)
105
105
  mini_mime (1.1.2)
106
- minitest (5.17.0)
106
+ minitest (5.18.0)
107
107
  net-imap (0.3.4)
108
108
  date
109
109
  net-protocol
@@ -117,7 +117,7 @@ GEM
117
117
  nokogiri (1.14.2-arm64-darwin)
118
118
  racc (~> 1.4)
119
119
  racc (1.6.2)
120
- rack (2.2.6.2)
120
+ rack (2.2.6.4)
121
121
  rack-test (2.0.2)
122
122
  rack (>= 1.3)
123
123
  rails (7.0.4.2)
@@ -165,13 +165,13 @@ GEM
165
165
  diff-lcs (>= 1.2.0, < 2.0)
166
166
  rspec-support (~> 3.4.0)
167
167
  rspec-support (3.4.1)
168
- simplecov (0.21.2)
168
+ simplecov (0.22.0)
169
169
  docile (~> 1.1)
170
170
  simplecov-html (~> 0.11)
171
171
  simplecov_json_formatter (~> 0.1)
172
172
  simplecov-html (0.12.3)
173
173
  simplecov_json_formatter (0.1.4)
174
- sqlite3 (1.4.2)
174
+ sqlite3 (1.4.4)
175
175
  thor (1.2.1)
176
176
  timeout (0.3.2)
177
177
  tzinfo (2.0.6)
@@ -182,7 +182,8 @@ GEM
182
182
  zeitwerk (2.6.7)
183
183
 
184
184
  PLATFORMS
185
- ruby
185
+ arm64-darwin-21
186
+ x86_64-linux
186
187
 
187
188
  DEPENDENCIES
188
189
  appraisal (~> 2.4.1)
@@ -37,5 +37,11 @@ module GoogleAuthenticatorRails
37
37
  end
38
38
 
39
39
  ActiveSupport.on_load(:action_controller) do
40
- ActionController::Base.send(:include, GoogleAuthenticatorRails::ActionController::Integration)
40
+ if defined?(ActionController::Base)
41
+ ActionController::Base.send(:include, GoogleAuthenticatorRails::ActionController::Integration)
42
+ end
43
+
44
+ if defined?(ActionController::API)
45
+ ActionController::API.send(:include, GoogleAuthenticatorRails::ActionController::Integration)
46
+ end
41
47
  end
@@ -1,3 +1,3 @@
1
1
  module GoogleAuthenticatorRails
2
- VERSION = "3.2.1"
2
+ VERSION = "3.3.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-authenticator-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.1
4
+ version: 3.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jared McFarland
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-03-03 00:00:00.000000000 Z
11
+ date: 2023-07-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rotp