Commit 546e1bb
Changed files (3)
app/javascript/controllers/tfa/setup_controller.js
@@ -1,5 +1,5 @@
-import ApplicationController from '../application_controller';
import QRCode from 'qrcode';
+import ApplicationController from '../application_controller';
export default class extends ApplicationController {
get secret() { return this.targets.find('secret'); }
Gemfile
@@ -4,51 +4,45 @@ source 'https://rubygems.org'
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
ruby '2.5.1'
-gem 'activerecord-session_store'
+gem 'activerecord-session_store', '~> 1.1'
gem 'bcrypt', '~> 3.1'
gem 'bootsnap', '>= 1.1.0', require: false
gem 'coffee-rails', '~> 4.2'
-gem 'dotenv'
-gem 'email_validator'
-gem 'foreman'
+gem 'dotenv', '~> 2.5'
+gem 'email_validator', '~> 1.6'
+gem 'foreman', '~> 0.85'
gem 'jbuilder', '~> 2.5'
-gem 'jwt'
+gem 'jwt', '~> 2.1'
gem 'puma', '~> 3.11'
gem 'rails', '~> 5.2.0'
-gem 'rotp'
+gem 'rotp', '~> 3.3'
gem 'saml-kit', '~> 1.0'
gem 'sass-rails', '~> 5.0'
gem 'scim-shady', '~> 0.2'
-gem 'spank'
-gem 'therubyracer', platforms: :ruby
+gem 'spank', '~> 1.0'
gem 'turbolinks', '~> 5'
gem 'uglifier', '>= 1.3.0'
-gem 'webpacker'
+gem 'webpacker', '~> 3.5'
# gem 'redis', '~> 4.0'
-
group :development do
- gem 'brakeman'
- gem 'bundler-audit'
+ gem 'brakeman', '~> 4.3'
+ gem 'bundler-audit', '~> 0.6'
gem 'listen', '>= 3.0.5', '< 3.2'
- gem 'rubocop'
+ gem 'rubocop', '~> 0.58'
gem 'web-console', '>= 3.3.0'
end
-
group :development, :test do
gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
- gem 'capybara', '>= 2.15', '< 4.0'
- gem 'capybara-screenshot'
- gem 'chromedriver-helper'
- gem 'factory_bot_rails'
- gem 'ffaker'
- gem 'rails-controller-testing'
+ gem 'capybara', '~> 3.6'
+ gem 'capybara-screenshot', '~> 1.0'
+ gem 'factory_bot_rails', '~> 4.11'
+ gem 'ffaker', '~> 2.10'
gem 'rspec-rails', '~> 3.7'
- gem 'selenium-webdriver'
+ gem 'selenium-webdriver', '~> 3.14'
gem 'sqlite3'
- gem 'webmock'
+ gem 'webmock', '~> 3.4'
end
-
group :production do
gem 'pg'
- gem 'rails_12factor'
+ gem 'rails_12factor', '~> 0.0'
end
Gemfile.lock
@@ -1,37 +1,37 @@
GEM
remote: https://rubygems.org/
specs:
- actioncable (5.2.0)
- actionpack (= 5.2.0)
+ actioncable (5.2.1)
+ actionpack (= 5.2.1)
nio4r (~> 2.0)
websocket-driver (>= 0.6.1)
- actionmailer (5.2.0)
- actionpack (= 5.2.0)
- actionview (= 5.2.0)
- activejob (= 5.2.0)
+ actionmailer (5.2.1)
+ actionpack (= 5.2.1)
+ actionview (= 5.2.1)
+ activejob (= 5.2.1)
mail (~> 2.5, >= 2.5.4)
rails-dom-testing (~> 2.0)
- actionpack (5.2.0)
- actionview (= 5.2.0)
- activesupport (= 5.2.0)
+ actionpack (5.2.1)
+ actionview (= 5.2.1)
+ activesupport (= 5.2.1)
rack (~> 2.0)
rack-test (>= 0.6.3)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.0.2)
- actionview (5.2.0)
- activesupport (= 5.2.0)
+ actionview (5.2.1)
+ activesupport (= 5.2.1)
builder (~> 3.1)
erubi (~> 1.4)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.0.3)
- activejob (5.2.0)
- activesupport (= 5.2.0)
+ activejob (5.2.1)
+ activesupport (= 5.2.1)
globalid (>= 0.3.6)
- activemodel (5.2.0)
- activesupport (= 5.2.0)
- activerecord (5.2.0)
- activemodel (= 5.2.0)
- activesupport (= 5.2.0)
+ activemodel (5.2.1)
+ activesupport (= 5.2.1)
+ activerecord (5.2.1)
+ activemodel (= 5.2.1)
+ activesupport (= 5.2.1)
arel (>= 9.0)
activerecord-session_store (1.1.1)
actionpack (>= 4.0)
@@ -39,24 +39,22 @@ GEM
multi_json (~> 1.11, >= 1.11.2)
rack (>= 1.5.2, < 3)
railties (>= 4.0)
- activestorage (5.2.0)
- actionpack (= 5.2.0)
- activerecord (= 5.2.0)
+ activestorage (5.2.1)
+ actionpack (= 5.2.1)
+ activerecord (= 5.2.1)
marcel (~> 0.3.1)
- activesupport (5.2.0)
+ activesupport (5.2.1)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 0.7, < 2)
minitest (~> 5.1)
tzinfo (~> 1.1)
addressable (2.5.2)
public_suffix (>= 2.0.2, < 4.0)
- archive-zip (0.11.0)
- io-like (~> 0.3.0)
arel (9.0.0)
ast (2.4.0)
bcrypt (3.1.12)
bindex (0.5.0)
- bootsnap (1.3.0)
+ bootsnap (1.3.1)
msgpack (~> 1.0)
brakeman (4.3.1)
builder (3.2.3)
@@ -64,7 +62,7 @@ GEM
bundler (~> 1.2)
thor (~> 0.18)
byebug (10.0.2)
- capybara (3.3.1)
+ capybara (3.6.0)
addressable
mini_mime (>= 0.1.3)
nokogiri (~> 1.8)
@@ -76,9 +74,6 @@ GEM
launchy
childprocess (0.9.0)
ffi (~> 1.0, >= 1.0.11)
- chromedriver-helper (1.2.0)
- archive-zip (~> 0.10)
- nokogiri (~> 1.8)
coffee-rails (4.2.2)
coffee-script (>= 2.2.0)
railties (>= 4.0.0)
@@ -96,21 +91,20 @@ GEM
activemodel
erubi (1.7.1)
execjs (2.7.0)
- factory_bot (4.10.0)
+ factory_bot (4.11.0)
activesupport (>= 3.0.0)
- factory_bot_rails (4.10.0)
- factory_bot (~> 4.10.0)
+ factory_bot_rails (4.11.0)
+ factory_bot (~> 4.11.0)
railties (>= 3.0.0)
- ffaker (2.9.0)
+ ffaker (2.10.0)
ffi (1.9.25)
foreman (0.85.0)
thor (~> 0.19.1)
globalid (0.4.1)
activesupport (>= 4.2.0)
hashdiff (0.3.7)
- i18n (1.0.1)
+ i18n (1.1.0)
concurrent-ruby (~> 1.0)
- io-like (0.3.0)
jaro_winkler (1.5.1)
jbuilder (2.7.0)
activesupport (>= 4.2.0)
@@ -118,7 +112,6 @@ GEM
jwt (2.1.0)
launchy (2.4.3)
addressable (~> 2.3)
- libv8 (3.16.14.19)
listen (3.1.5)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
@@ -132,43 +125,40 @@ GEM
mimemagic (~> 0.3.2)
method_source (0.9.0)
mimemagic (0.3.2)
- mini_mime (1.0.0)
+ mini_mime (1.0.1)
mini_portile2 (2.3.0)
minitest (5.11.3)
msgpack (1.2.4)
multi_json (1.13.1)
+ net-hippie (0.1.9)
nio4r (2.3.1)
- nokogiri (1.8.3)
+ nokogiri (1.8.4)
mini_portile2 (~> 2.3.0)
parallel (1.12.1)
- parser (2.5.1.0)
+ parser (2.5.1.2)
ast (~> 2.4.0)
- pg (1.0.0)
+ pg (1.1.2)
powerpack (0.1.2)
- public_suffix (3.0.2)
- puma (3.11.4)
+ public_suffix (3.0.3)
+ puma (3.12.0)
rack (2.0.5)
rack-proxy (0.6.4)
rack
- rack-test (1.0.0)
+ rack-test (1.1.0)
rack (>= 1.0, < 3)
- rails (5.2.0)
- actioncable (= 5.2.0)
- actionmailer (= 5.2.0)
- actionpack (= 5.2.0)
- actionview (= 5.2.0)
- activejob (= 5.2.0)
- activemodel (= 5.2.0)
- activerecord (= 5.2.0)
- activestorage (= 5.2.0)
- activesupport (= 5.2.0)
+ rails (5.2.1)
+ actioncable (= 5.2.1)
+ actionmailer (= 5.2.1)
+ actionpack (= 5.2.1)
+ actionview (= 5.2.1)
+ activejob (= 5.2.1)
+ activemodel (= 5.2.1)
+ activerecord (= 5.2.1)
+ activestorage (= 5.2.1)
+ activesupport (= 5.2.1)
bundler (>= 1.3.0)
- railties (= 5.2.0)
+ railties (= 5.2.1)
sprockets-rails (>= 2.0.0)
- rails-controller-testing (1.0.2)
- actionpack (~> 5.x, >= 5.0.1)
- actionview (~> 5.x, >= 5.0.1)
- activesupport (~> 5.x)
rails-dom-testing (2.0.3)
activesupport (>= 4.2.0)
nokogiri (>= 1.6)
@@ -179,52 +169,52 @@ GEM
rails_stdout_logging
rails_serve_static_assets (0.0.5)
rails_stdout_logging (0.0.5)
- railties (5.2.0)
- actionpack (= 5.2.0)
- activesupport (= 5.2.0)
+ railties (5.2.1)
+ actionpack (= 5.2.1)
+ activesupport (= 5.2.1)
method_source
rake (>= 0.8.7)
- thor (>= 0.18.1, < 2.0)
+ thor (>= 0.19.0, < 2.0)
rainbow (3.0.0)
rake (12.3.1)
rb-fsevent (0.10.3)
rb-inotify (0.9.10)
ffi (>= 0.5.0, < 2)
- ref (2.0.0)
rotp (3.3.1)
- rspec-core (3.7.1)
- rspec-support (~> 3.7.0)
- rspec-expectations (3.7.0)
+ rspec-core (3.8.0)
+ rspec-support (~> 3.8.0)
+ rspec-expectations (3.8.1)
diff-lcs (>= 1.2.0, < 2.0)
- rspec-support (~> 3.7.0)
- rspec-mocks (3.7.0)
+ rspec-support (~> 3.8.0)
+ rspec-mocks (3.8.0)
diff-lcs (>= 1.2.0, < 2.0)
- rspec-support (~> 3.7.0)
- rspec-rails (3.7.2)
+ rspec-support (~> 3.8.0)
+ rspec-rails (3.8.0)
actionpack (>= 3.0)
activesupport (>= 3.0)
railties (>= 3.0)
- rspec-core (~> 3.7.0)
- rspec-expectations (~> 3.7.0)
- rspec-mocks (~> 3.7.0)
- rspec-support (~> 3.7.0)
- rspec-support (3.7.1)
- rubocop (0.57.2)
+ rspec-core (~> 3.8.0)
+ rspec-expectations (~> 3.8.0)
+ rspec-mocks (~> 3.8.0)
+ rspec-support (~> 3.8.0)
+ rspec-support (3.8.0)
+ rubocop (0.58.2)
jaro_winkler (~> 1.5.1)
parallel (~> 1.10)
- parser (>= 2.5)
+ parser (>= 2.5, != 2.5.1.1)
powerpack (~> 0.1)
rainbow (>= 2.2.2, < 4.0)
ruby-progressbar (~> 1.7)
unicode-display_width (~> 1.0, >= 1.0.1)
- ruby-progressbar (1.9.0)
+ ruby-progressbar (1.10.0)
ruby_dep (1.5.0)
- rubyzip (1.2.1)
+ rubyzip (1.2.2)
safe_yaml (1.0.4)
- saml-kit (1.0.15)
+ saml-kit (1.0.23)
activemodel (>= 4.2.0)
+ net-hippie (~> 0.1.8)
xml-kit (>= 0.1.13, <= 1.0.0)
- sass (3.5.6)
+ sass (3.5.7)
sass-listen (~> 4.0.0)
sass-listen (4.0.0)
rb-fsevent (~> 0.9, >= 0.9.4)
@@ -237,7 +227,7 @@ GEM
tilt (>= 1.1, < 3)
scim-shady (0.2.1)
activesupport (>= 4.2.0)
- selenium-webdriver (3.13.0)
+ selenium-webdriver (3.14.0)
childprocess (~> 0.5)
rubyzip (~> 1.2)
spank (1.0.1441140881)
@@ -249,18 +239,15 @@ GEM
activesupport (>= 4.0)
sprockets (>= 3.0.0)
sqlite3 (1.3.13)
- therubyracer (0.12.3)
- libv8 (~> 3.16.14.15)
- ref
thor (0.19.4)
thread_safe (0.3.6)
tilt (2.0.8)
- turbolinks (5.1.1)
- turbolinks-source (~> 5.1)
- turbolinks-source (5.1.0)
+ turbolinks (5.2.0)
+ turbolinks-source (~> 5.2)
+ turbolinks-source (5.2.0)
tzinfo (1.2.5)
thread_safe (~> 0.1)
- uglifier (4.1.13)
+ uglifier (4.1.18)
execjs (>= 0.3.0, < 3)
unicode-display_width (1.4.0)
web-console (3.6.2)
@@ -272,7 +259,7 @@ GEM
addressable (>= 2.3.6)
crack (>= 0.3.2)
hashdiff
- webpacker (3.5.3)
+ webpacker (3.5.5)
activesupport (>= 4.2)
rack-proxy (>= 0.6.1)
railties (>= 4.2)
@@ -294,47 +281,44 @@ PLATFORMS
ruby
DEPENDENCIES
- activerecord-session_store
+ activerecord-session_store (~> 1.1)
bcrypt (~> 3.1)
bootsnap (>= 1.1.0)
- brakeman
- bundler-audit
+ brakeman (~> 4.3)
+ bundler-audit (~> 0.6)
byebug
- capybara (>= 2.15, < 4.0)
- capybara-screenshot
- chromedriver-helper
+ capybara (~> 3.6)
+ capybara-screenshot (~> 1.0)
coffee-rails (~> 4.2)
- dotenv
- email_validator
- factory_bot_rails
- ffaker
- foreman
+ dotenv (~> 2.5)
+ email_validator (~> 1.6)
+ factory_bot_rails (~> 4.11)
+ ffaker (~> 2.10)
+ foreman (~> 0.85)
jbuilder (~> 2.5)
- jwt
+ jwt (~> 2.1)
listen (>= 3.0.5, < 3.2)
pg
puma (~> 3.11)
rails (~> 5.2.0)
- rails-controller-testing
- rails_12factor
- rotp
+ rails_12factor (~> 0.0)
+ rotp (~> 3.3)
rspec-rails (~> 3.7)
- rubocop
+ rubocop (~> 0.58)
saml-kit (~> 1.0)
sass-rails (~> 5.0)
scim-shady (~> 0.2)
- selenium-webdriver
- spank
+ selenium-webdriver (~> 3.14)
+ spank (~> 1.0)
sqlite3
- therubyracer
turbolinks (~> 5)
uglifier (>= 1.3.0)
web-console (>= 3.3.0)
- webmock
- webpacker
+ webmock (~> 3.4)
+ webpacker (~> 3.5)
RUBY VERSION
ruby 2.5.1p57
BUNDLED WITH
- 1.16.2
+ 1.16.4