google-authenticator-rails 1.2.1 → 1.3.0

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
  SHA1:
3
- metadata.gz: 73fb9d2e9191704db8c7059225616e08336f4328
4
- data.tar.gz: babaa2016345e654a937bed679374e3226e5fbe7
3
+ metadata.gz: 6e07d6a504c407dcba055225bbf2104d5983bf25
4
+ data.tar.gz: 93f1201bd747aa4347a29451eaca75aafd47d592
5
5
  SHA512:
6
- metadata.gz: eea521e18f89fe7f69e98ade4199a6b10386dd7f322fd91fb3ac24440d5f94bda5958eac67fb0997b0aee3ad3fa56f22fd01dd854a4629feb52940fffae6ca3e
7
- data.tar.gz: b91ca64415d05ccf921508df87047f4b889ac84bd26870fe90d1e2fb6e574951d3cb04445a60c59cd8e9c9b86d3255bb60dbf98416068dfc94e741c0dae80019
6
+ metadata.gz: d0669bb6d3a4ab9302f5949e04a8c55ae773897616677df1e41c7d822ba96d378a76db1c6fa9d4ef737542407523ec138926ddbcfd0c2741d0048a5e3927b001
7
+ data.tar.gz: 8b6d963870e3c18b50cc4b4869e84d8caf147f098589e43981291678bb4eb6920176d4899278ca4d4b194a43ab6c5abc26fa5c683e467fdebf7aed3506c97326
data/.gitignore CHANGED
@@ -5,7 +5,10 @@
5
5
  .yardoc
6
6
  .rvmrc
7
7
  .rspec
8
+ .ruby-gemset
9
+ .ruby-version
8
10
  Gemfile.lock
11
+ gemfiles/*.lock
9
12
  InstalledFiles
10
13
  _yardoc
11
14
  coverage
@@ -17,3 +20,4 @@ spec/reports
17
20
  test/tmp
18
21
  test/version_tmp
19
22
  tmp
23
+ vendor
data/.travis.yml CHANGED
@@ -3,7 +3,14 @@ rvm:
3
3
  - 1.9.3
4
4
  - 2.0.0
5
5
  - 2.1.0
6
+ - 2.2.5
7
+ - 2.3.1
6
8
  # - jruby-18mode # JRuby in 1.8 mode
7
9
  # - jruby-19mode # JRuby in 1.9 mode
8
10
  # - rbx-18mode
9
11
  # - rbx-19mode
12
+ matrix:
13
+ allow_failures:
14
+ - rvm: 1.9.3
15
+ - rvm: 2.0.0
16
+ - rvm: 2.1.0
data/Appraisals CHANGED
@@ -12,7 +12,7 @@ appraise "rails3.1" do
12
12
  gem "activerecord", "~> 3.1.0"
13
13
  end
14
14
 
15
- appraise "rails3.2." do
15
+ appraise "rails3.2" do
16
16
  gem "activerecord", "~> 3.2.0"
17
17
  end
18
18
 
@@ -25,3 +25,11 @@ appraise "rails4.1" do
25
25
  gem "activerecord", "~> 4.1.0"
26
26
  gem "protected_attributes"
27
27
  end
28
+
29
+ appraise "rails4.2" do
30
+ gem "activerecord", "~> 4.2.0"
31
+ end
32
+
33
+ appraise "rails5.0" do
34
+ gem "activerecord", "~> 5.0.0"
35
+ end
File without changes
@@ -2,6 +2,6 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "activerecord", "~> 2.3.8"
5
+ gem "activerecord", "~> 4.2.0"
6
6
 
7
7
  gemspec :path=>"../"
@@ -0,0 +1,7 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "activerecord", "~> 5.0.0"
6
+
7
+ gemspec :path=>"../"
@@ -26,6 +26,7 @@ Gem::Specification.new do |gem|
26
26
  gem.add_dependency "google-qr"
27
27
  gem.add_dependency "actionpack"
28
28
 
29
+ gem.add_development_dependency "rake", "~> 11.0"
29
30
  gem.add_development_dependency "rspec", "~> 2.8.0"
30
31
  gem.add_development_dependency "appraisal", "~> 0.5.1"
31
32
  gem.add_development_dependency "sqlite3"
@@ -22,7 +22,8 @@ module GoogleAuthenticatorRails
22
22
  def self.included(klass)
23
23
  raise RailsAdapter::LoadedTooLateError.new if defined?(::ApplicationController)
24
24
 
25
- klass.prepend_before_filter(:activate_google_authenticator_rails)
25
+ method = klass.respond_to?(:prepend_before_action) ? :prepend_before_action : :prepend_before_filter
26
+ klass.send(method, :activate_google_authenticator_rails)
26
27
  end
27
28
 
28
29
  private
@@ -82,6 +82,8 @@ module GoogleAuthenticatorRails # :nodoc:
82
82
  #
83
83
  # [:issuer] the name of the issuer to appear in the app (optional), defaults
84
84
  # to ""
85
+ # [:qr_size] the size of the QR code generated by `google_qr_uri`, defaults
86
+ # to "200x200"
85
87
  def acts_as_google_authenticated(options = {})
86
88
  @google_label_column = options[:column_name] || :email
87
89
  @google_label_method = options[:method] || :default_google_label_method
@@ -89,10 +91,11 @@ module GoogleAuthenticatorRails # :nodoc:
89
91
  @google_lookup_token = options[:lookup_token] || :persistence_token
90
92
  @google_drift = options[:drift] || GoogleAuthenticatorRails::DRIFT
91
93
  @google_issuer = options[:issuer]
94
+ @google_qr_size = options[:qr_size] || '200x200'
92
95
 
93
96
  puts ":skip_attr_accessible is no longer required. Called from #{Kernel.caller[0]}}" if options.has_key?(:skip_attr_accessible)
94
97
 
95
- [:google_label_column, :google_label_method, :google_secret_column, :google_lookup_token, :google_drift, :google_issuer].each do |cattr|
98
+ [:google_label_column, :google_label_method, :google_secret_column, :google_lookup_token, :google_drift, :google_issuer, :google_qr_size].each do |cattr|
96
99
  self.singleton_class.class_eval { attr_reader cattr }
97
100
  end
98
101
 
@@ -10,8 +10,8 @@ module GoogleAuthenticatorRails # :nodoc:
10
10
  GoogleAuthenticatorRails.valid?(code, google_secret_value, self.class.google_drift)
11
11
  end
12
12
 
13
- def google_qr_uri
14
- GoogleQR.new(:data => ROTP::TOTP.new(google_secret_value, :issuer => google_issuer).provisioning_uri(google_label), :size => "200x200").to_s
13
+ def google_qr_uri(size = nil)
14
+ GoogleQR.new(:data => ROTP::TOTP.new(google_secret_value, :issuer => google_issuer).provisioning_uri(google_label), :size => size || self.class.google_qr_size).to_s
15
15
  end
16
16
 
17
17
  def google_label
@@ -1,7 +1,7 @@
1
1
  module Google
2
2
  module Authenticator
3
3
  module Rails
4
- VERSION = "1.2.1"
4
+ VERSION = "1.3.0"
5
5
  end
6
6
  end
7
7
  end
@@ -21,7 +21,7 @@ describe GoogleAuthenticatorRails do
21
21
  end
22
22
 
23
23
  context 'time-based passwords' do
24
- let(:time) { Time.parse("2012-08-07 11:11:11 AM +0700") }
24
+ let!(:time) { Time.parse("2012-08-07 11:11:11 AM +0700") }
25
25
  let(:secret) { "test" }
26
26
  let(:code) { 922511 }
27
27
  before { Time.stub!(:now).and_return(time) }
@@ -39,7 +39,7 @@ describe GoogleAuthenticatorRails do
39
39
 
40
40
  context 'integration with ActiveRecord' do
41
41
  let(:original_time) { Time.parse("2012-08-07 11:11:00 AM +0700") }
42
- let(:time) { original_time }
42
+ let!(:time) { original_time }
43
43
  let(:user) { User.create(:email => "test@example.com", :user_name => "test_user") }
44
44
  before do
45
45
  Time.stub!(:now).and_return(time)
@@ -140,6 +140,23 @@ describe GoogleAuthenticatorRails do
140
140
  let(:user) { StringUser.create options }
141
141
  it { should eq "https://chart.googleapis.com/chart?cht=qr&chl=otpauth%3A%2F%2Ftotp%2Ftest%40example.com%3Fsecret%3D5qlcip7azyjuwm36&chs=200x200" }
142
142
  end
143
+
144
+ context 'custom qr size' do
145
+ let(:user) { QrCodeUser.create options }
146
+ it { should eq "https://chart.googleapis.com/chart?cht=qr&chl=otpauth%3A%2F%2Ftotp%2Ftest%40example.com%3Fsecret%3D5qlcip7azyjuwm36&chs=300x300" }
147
+ end
148
+
149
+ context 'qr size passed to method' do
150
+ subject { user.google_qr_uri('400x400') }
151
+ let(:user) { StringUser.create options }
152
+ it { should eq "https://chart.googleapis.com/chart?cht=qr&chl=otpauth%3A%2F%2Ftotp%2Ftest%40example.com%3Fsecret%3D5qlcip7azyjuwm36&chs=400x400" }
153
+ end
154
+
155
+ context 'qr size passed to method and size set on model' do
156
+ let(:user) { QrCodeUser.create options }
157
+ subject { user.google_qr_uri('400x400') }
158
+ it { should eq "https://chart.googleapis.com/chart?cht=qr&chl=otpauth%3A%2F%2Ftotp%2Ftest%40example.com%3Fsecret%3D5qlcip7azyjuwm36&chs=400x400" }
159
+ end
143
160
  end
144
161
 
145
162
  end
data/spec/spec_helper.rb CHANGED
@@ -128,3 +128,7 @@ class SaltUserMfaSession < GoogleAuthenticatorRails::Session::Base; end
128
128
  class SaltUser < BaseUser
129
129
  acts_as_google_authenticated :lookup_token => :salt
130
130
  end
131
+
132
+ class QrCodeUser < BaseUser
133
+ acts_as_google_authenticated :qr_size => '300x300', :method => :email
134
+ 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: 1.2.1
4
+ version: 1.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: 2015-06-01 00:00:00.000000000 Z
11
+ date: 2017-06-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rotp
@@ -66,6 +66,20 @@ dependencies:
66
66
  - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rake
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '11.0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '11.0'
69
83
  - !ruby/object:Gem::Dependency
70
84
  name: rspec
71
85
  requirement: !ruby/object:Gem::Requirement
@@ -117,8 +131,6 @@ extra_rdoc_files: []
117
131
  files:
118
132
  - ".gitignore"
119
133
  - ".rspec"
120
- - ".ruby-gemset"
121
- - ".ruby-version"
122
134
  - ".travis.yml"
123
135
  - Appraisals
124
136
  - CONTRIBUTING.md
@@ -126,18 +138,13 @@ files:
126
138
  - LICENSE
127
139
  - README.md
128
140
  - Rakefile
129
- - gemfiles/rails2.3.gemfile
130
- - gemfiles/rails2.3.gemfile.lock
131
141
  - gemfiles/rails3.0.gemfile
132
- - gemfiles/rails3.0.gemfile.lock
133
142
  - gemfiles/rails3.1.gemfile
134
- - gemfiles/rails3.1.gemfile.lock
135
- - gemfiles/rails3.2..gemfile
136
- - gemfiles/rails3.2..gemfile.lock
143
+ - gemfiles/rails3.2.gemfile
137
144
  - gemfiles/rails4.0.gemfile
138
- - gemfiles/rails4.0.gemfile.lock
139
145
  - gemfiles/rails4.1.gemfile
140
- - gemfiles/rails4.1.gemfile.lock
146
+ - gemfiles/rails4.2.gemfile
147
+ - gemfiles/rails5.0.gemfile
141
148
  - google-authenticator.gemspec
142
149
  - lib/google-authenticator-rails.rb
143
150
  - lib/google-authenticator-rails/action_controller.rb
@@ -175,7 +182,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
175
182
  version: '0'
176
183
  requirements: []
177
184
  rubyforge_project:
178
- rubygems_version: 2.4.3
185
+ rubygems_version: 2.4.8
179
186
  signing_key:
180
187
  specification_version: 4
181
188
  summary: Add the ability to use the Google Authenticator with ActiveRecord.
data/.ruby-gemset DELETED
@@ -1 +0,0 @@
1
- google-auth-rails
data/.ruby-version DELETED
@@ -1 +0,0 @@
1
- ruby-2.1.5
@@ -1,45 +0,0 @@
1
- PATH
2
- remote: ../
3
- specs:
4
- google-authenticator-rails (0.0.11)
5
- actionpack
6
- activerecord
7
- google-qr
8
- rotp (= 1.6.1)
9
-
10
- GEM
11
- remote: https://rubygems.org/
12
- specs:
13
- actionpack (2.3.18)
14
- activesupport (= 2.3.18)
15
- rack (~> 1.1.0)
16
- activerecord (2.3.18)
17
- activesupport (= 2.3.18)
18
- activesupport (2.3.18)
19
- appraisal (0.5.2)
20
- bundler
21
- rake
22
- diff-lcs (1.1.3)
23
- google-qr (0.2.2)
24
- rack (1.1.6)
25
- rake (10.1.1)
26
- rotp (1.6.1)
27
- rspec (2.8.0)
28
- rspec-core (~> 2.8.0)
29
- rspec-expectations (~> 2.8.0)
30
- rspec-mocks (~> 2.8.0)
31
- rspec-core (2.8.0)
32
- rspec-expectations (2.8.0)
33
- diff-lcs (~> 1.1.2)
34
- rspec-mocks (2.8.0)
35
- sqlite3 (1.3.8)
36
-
37
- PLATFORMS
38
- ruby
39
-
40
- DEPENDENCIES
41
- activerecord (~> 2.3.8)
42
- appraisal (~> 0.5.1)
43
- google-authenticator-rails!
44
- rspec (~> 2.8.0)
45
- sqlite3
@@ -1,70 +0,0 @@
1
- PATH
2
- remote: ../
3
- specs:
4
- google-authenticator-rails (0.0.11)
5
- actionpack
6
- activerecord
7
- google-qr
8
- rotp (= 1.6.1)
9
-
10
- GEM
11
- remote: https://rubygems.org/
12
- specs:
13
- abstract (1.0.0)
14
- actionpack (3.0.20)
15
- activemodel (= 3.0.20)
16
- activesupport (= 3.0.20)
17
- builder (~> 2.1.2)
18
- erubis (~> 2.6.6)
19
- i18n (~> 0.5.0)
20
- rack (~> 1.2.5)
21
- rack-mount (~> 0.6.14)
22
- rack-test (~> 0.5.7)
23
- tzinfo (~> 0.3.23)
24
- activemodel (3.0.20)
25
- activesupport (= 3.0.20)
26
- builder (~> 2.1.2)
27
- i18n (~> 0.5.0)
28
- activerecord (3.0.20)
29
- activemodel (= 3.0.20)
30
- activesupport (= 3.0.20)
31
- arel (~> 2.0.10)
32
- tzinfo (~> 0.3.23)
33
- activesupport (3.0.20)
34
- appraisal (0.5.2)
35
- bundler
36
- rake
37
- arel (2.0.10)
38
- builder (2.1.2)
39
- diff-lcs (1.1.3)
40
- erubis (2.6.6)
41
- abstract (>= 1.0.0)
42
- google-qr (0.2.2)
43
- i18n (0.5.3)
44
- rack (1.2.8)
45
- rack-mount (0.6.14)
46
- rack (>= 1.0.0)
47
- rack-test (0.5.7)
48
- rack (>= 1.0)
49
- rake (10.1.1)
50
- rotp (1.6.1)
51
- rspec (2.8.0)
52
- rspec-core (~> 2.8.0)
53
- rspec-expectations (~> 2.8.0)
54
- rspec-mocks (~> 2.8.0)
55
- rspec-core (2.8.0)
56
- rspec-expectations (2.8.0)
57
- diff-lcs (~> 1.1.2)
58
- rspec-mocks (2.8.0)
59
- sqlite3 (1.3.8)
60
- tzinfo (0.3.38)
61
-
62
- PLATFORMS
63
- ruby
64
-
65
- DEPENDENCIES
66
- activerecord (~> 3.0.0)
67
- appraisal (~> 0.5.1)
68
- google-authenticator-rails!
69
- rspec (~> 2.8.0)
70
- sqlite3
@@ -1,79 +0,0 @@
1
- PATH
2
- remote: ../
3
- specs:
4
- google-authenticator-rails (0.0.11)
5
- actionpack
6
- activerecord
7
- google-qr
8
- rotp (= 1.6.1)
9
-
10
- GEM
11
- remote: https://rubygems.org/
12
- specs:
13
- actionpack (3.1.12)
14
- activemodel (= 3.1.12)
15
- activesupport (= 3.1.12)
16
- builder (~> 3.0.0)
17
- erubis (~> 2.7.0)
18
- i18n (~> 0.6)
19
- rack (~> 1.3.6)
20
- rack-cache (~> 1.2)
21
- rack-mount (~> 0.8.2)
22
- rack-test (~> 0.6.1)
23
- sprockets (~> 2.0.4)
24
- activemodel (3.1.12)
25
- activesupport (= 3.1.12)
26
- builder (~> 3.0.0)
27
- i18n (~> 0.6)
28
- activerecord (3.1.12)
29
- activemodel (= 3.1.12)
30
- activesupport (= 3.1.12)
31
- arel (~> 2.2.3)
32
- tzinfo (~> 0.3.29)
33
- activesupport (3.1.12)
34
- multi_json (~> 1.0)
35
- appraisal (0.5.2)
36
- bundler
37
- rake
38
- arel (2.2.3)
39
- builder (3.0.4)
40
- diff-lcs (1.1.3)
41
- erubis (2.7.0)
42
- google-qr (0.2.2)
43
- hike (1.2.3)
44
- i18n (0.6.9)
45
- multi_json (1.8.4)
46
- rack (1.3.10)
47
- rack-cache (1.2)
48
- rack (>= 0.4)
49
- rack-mount (0.8.3)
50
- rack (>= 1.0.0)
51
- rack-test (0.6.2)
52
- rack (>= 1.0)
53
- rake (10.1.1)
54
- rotp (1.6.1)
55
- rspec (2.8.0)
56
- rspec-core (~> 2.8.0)
57
- rspec-expectations (~> 2.8.0)
58
- rspec-mocks (~> 2.8.0)
59
- rspec-core (2.8.0)
60
- rspec-expectations (2.8.0)
61
- diff-lcs (~> 1.1.2)
62
- rspec-mocks (2.8.0)
63
- sprockets (2.0.5)
64
- hike (~> 1.2)
65
- rack (~> 1.0)
66
- tilt (~> 1.1, != 1.3.0)
67
- sqlite3 (1.3.8)
68
- tilt (1.4.1)
69
- tzinfo (0.3.38)
70
-
71
- PLATFORMS
72
- ruby
73
-
74
- DEPENDENCIES
75
- activerecord (~> 3.1.0)
76
- appraisal (~> 0.5.1)
77
- google-authenticator-rails!
78
- rspec (~> 2.8.0)
79
- sqlite3
@@ -1,78 +0,0 @@
1
- PATH
2
- remote: ../
3
- specs:
4
- google-authenticator-rails (0.0.11)
5
- actionpack
6
- activerecord
7
- google-qr
8
- rotp (= 1.6.1)
9
-
10
- GEM
11
- remote: https://rubygems.org/
12
- specs:
13
- actionpack (3.2.13)
14
- activemodel (= 3.2.13)
15
- activesupport (= 3.2.13)
16
- builder (~> 3.0.0)
17
- erubis (~> 2.7.0)
18
- journey (~> 1.0.4)
19
- rack (~> 1.4.5)
20
- rack-cache (~> 1.2)
21
- rack-test (~> 0.6.1)
22
- sprockets (~> 2.2.1)
23
- activemodel (3.2.13)
24
- activesupport (= 3.2.13)
25
- builder (~> 3.0.0)
26
- activerecord (3.2.13)
27
- activemodel (= 3.2.13)
28
- activesupport (= 3.2.13)
29
- arel (~> 3.0.2)
30
- tzinfo (~> 0.3.29)
31
- activesupport (3.2.13)
32
- i18n (= 0.6.1)
33
- multi_json (~> 1.0)
34
- appraisal (0.5.2)
35
- bundler
36
- rake
37
- arel (3.0.2)
38
- builder (3.0.4)
39
- diff-lcs (1.1.3)
40
- erubis (2.7.0)
41
- google-qr (0.2.2)
42
- hike (1.2.3)
43
- i18n (0.6.1)
44
- journey (1.0.4)
45
- multi_json (1.8.4)
46
- rack (1.4.5)
47
- rack-cache (1.2)
48
- rack (>= 0.4)
49
- rack-test (0.6.2)
50
- rack (>= 1.0)
51
- rake (10.1.1)
52
- rotp (1.6.1)
53
- rspec (2.8.0)
54
- rspec-core (~> 2.8.0)
55
- rspec-expectations (~> 2.8.0)
56
- rspec-mocks (~> 2.8.0)
57
- rspec-core (2.8.0)
58
- rspec-expectations (2.8.0)
59
- diff-lcs (~> 1.1.2)
60
- rspec-mocks (2.8.0)
61
- sprockets (2.2.3)
62
- hike (~> 1.2)
63
- multi_json (~> 1.0)
64
- rack (~> 1.0)
65
- tilt (~> 1.1, != 1.3.0)
66
- sqlite3 (1.3.8)
67
- tilt (1.4.1)
68
- tzinfo (0.3.38)
69
-
70
- PLATFORMS
71
- ruby
72
-
73
- DEPENDENCIES
74
- activerecord (~> 3.2.0)
75
- appraisal (~> 0.5.1)
76
- google-authenticator-rails!
77
- rspec (~> 2.8.0)
78
- sqlite3
@@ -1,75 +0,0 @@
1
- PATH
2
- remote: ../
3
- specs:
4
- google-authenticator-rails (0.0.11)
5
- actionpack
6
- activerecord
7
- google-qr
8
- rotp (= 1.6.1)
9
-
10
- GEM
11
- remote: https://rubygems.org/
12
- specs:
13
- actionpack (4.0.2)
14
- activesupport (= 4.0.2)
15
- builder (~> 3.1.0)
16
- erubis (~> 2.7.0)
17
- rack (~> 1.5.2)
18
- rack-test (~> 0.6.2)
19
- activemodel (4.0.2)
20
- activesupport (= 4.0.2)
21
- builder (~> 3.1.0)
22
- activerecord (4.0.2)
23
- activemodel (= 4.0.2)
24
- activerecord-deprecated_finders (~> 1.0.2)
25
- activesupport (= 4.0.2)
26
- arel (~> 4.0.0)
27
- activerecord-deprecated_finders (1.0.3)
28
- activesupport (4.0.2)
29
- i18n (~> 0.6, >= 0.6.4)
30
- minitest (~> 4.2)
31
- multi_json (~> 1.3)
32
- thread_safe (~> 0.1)
33
- tzinfo (~> 0.3.37)
34
- appraisal (0.5.2)
35
- bundler
36
- rake
37
- arel (4.0.1)
38
- atomic (1.1.14)
39
- builder (3.1.4)
40
- diff-lcs (1.1.3)
41
- erubis (2.7.0)
42
- google-qr (0.2.2)
43
- i18n (0.6.9)
44
- minitest (4.7.5)
45
- multi_json (1.8.4)
46
- protected_attributes (1.0.8)
47
- activemodel (>= 4.0.1, < 5.0)
48
- rack (1.5.2)
49
- rack-test (0.6.2)
50
- rack (>= 1.0)
51
- rake (10.1.1)
52
- rotp (1.6.1)
53
- rspec (2.8.0)
54
- rspec-core (~> 2.8.0)
55
- rspec-expectations (~> 2.8.0)
56
- rspec-mocks (~> 2.8.0)
57
- rspec-core (2.8.0)
58
- rspec-expectations (2.8.0)
59
- diff-lcs (~> 1.1.2)
60
- rspec-mocks (2.8.0)
61
- sqlite3 (1.3.8)
62
- thread_safe (0.1.3)
63
- atomic
64
- tzinfo (0.3.38)
65
-
66
- PLATFORMS
67
- ruby
68
-
69
- DEPENDENCIES
70
- activerecord (~> 4.0.0)
71
- appraisal (~> 0.5.1)
72
- google-authenticator-rails!
73
- protected_attributes
74
- rspec (~> 2.8.0)
75
- sqlite3
@@ -1,75 +0,0 @@
1
- PATH
2
- remote: ../
3
- specs:
4
- google-authenticator-rails (0.0.11)
5
- actionpack
6
- activerecord
7
- google-qr
8
- rotp (= 1.6.1)
9
-
10
- GEM
11
- remote: https://rubygems.org/
12
- specs:
13
- actionpack (4.1.7)
14
- actionview (= 4.1.7)
15
- activesupport (= 4.1.7)
16
- rack (~> 1.5.2)
17
- rack-test (~> 0.6.2)
18
- actionview (4.1.7)
19
- activesupport (= 4.1.7)
20
- builder (~> 3.1)
21
- erubis (~> 2.7.0)
22
- activemodel (4.1.7)
23
- activesupport (= 4.1.7)
24
- builder (~> 3.1)
25
- activerecord (4.1.7)
26
- activemodel (= 4.1.7)
27
- activesupport (= 4.1.7)
28
- arel (~> 5.0.0)
29
- activesupport (4.1.7)
30
- i18n (~> 0.6, >= 0.6.9)
31
- json (~> 1.7, >= 1.7.7)
32
- minitest (~> 5.1)
33
- thread_safe (~> 0.1)
34
- tzinfo (~> 1.1)
35
- appraisal (0.5.2)
36
- bundler
37
- rake
38
- arel (5.0.1.20140414130214)
39
- builder (3.2.2)
40
- diff-lcs (1.1.3)
41
- erubis (2.7.0)
42
- google-qr (0.2.2)
43
- i18n (0.6.11)
44
- json (1.8.1)
45
- minitest (5.4.3)
46
- protected_attributes (1.0.8)
47
- activemodel (>= 4.0.1, < 5.0)
48
- rack (1.5.2)
49
- rack-test (0.6.2)
50
- rack (>= 1.0)
51
- rake (10.3.2)
52
- rotp (1.6.1)
53
- rspec (2.8.0)
54
- rspec-core (~> 2.8.0)
55
- rspec-expectations (~> 2.8.0)
56
- rspec-mocks (~> 2.8.0)
57
- rspec-core (2.8.0)
58
- rspec-expectations (2.8.0)
59
- diff-lcs (~> 1.1.2)
60
- rspec-mocks (2.8.0)
61
- sqlite3 (1.3.10)
62
- thread_safe (0.3.4)
63
- tzinfo (1.2.2)
64
- thread_safe (~> 0.1)
65
-
66
- PLATFORMS
67
- ruby
68
-
69
- DEPENDENCIES
70
- activerecord (~> 4.1.0)
71
- appraisal (~> 0.5.1)
72
- google-authenticator-rails!
73
- protected_attributes
74
- rspec (~> 2.8.0)
75
- sqlite3