orthodox 0.3.3 → 0.3.4

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.
Files changed (21) hide show
  1. checksums.yaml +4 -4
  2. data/lib/generators/authentication/templates/controllers/concerns/authentication.rb.erb +1 -1
  3. data/lib/generators/authentication/templates/controllers/password_resets_controller.rb.erb +1 -1
  4. data/lib/generators/authentication/templates/controllers/sessions_controller.rb.erb +1 -1
  5. data/lib/generators/authentication/templates/controllers/tfa_sessions_controller.rb.erb +1 -1
  6. data/lib/generators/authentication/templates/controllers/tfas_controller.rb.erb +1 -1
  7. data/lib/generators/authentication/templates/helpers/otp_credentials_helper.rb +1 -1
  8. data/lib/generators/authentication/templates/models/concerns/authenticateable.rb +1 -1
  9. data/lib/generators/authentication/templates/models/concerns/otpable.rb +1 -1
  10. data/lib/generators/authentication/templates/models/concerns/password_resetable.rb +1 -1
  11. data/lib/generators/authentication/templates/models/otp_credential.rb.erb +1 -1
  12. data/lib/generators/authentication/templates/models/password_reset_token.rb +1 -1
  13. data/lib/generators/authentication/templates/models/session.rb.erb +1 -1
  14. data/lib/generators/authentication/templates/spec/support/authentication_helpers.rb +1 -1
  15. data/lib/generators/base_controller/base_controller_generator.rb +1 -1
  16. data/lib/generators/base_controller/templates/base_controller.rb.erb +1 -1
  17. data/lib/generators/controller/templates/controller.rb.erb +1 -1
  18. data/lib/generators/layout_helper/layout_helper_generator.rb +1 -1
  19. data/lib/orthodox/version.rb +1 -1
  20. data/orthodox.gemspec +1 -1
  21. metadata +5 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bb884d4b62c5307e6c2ac517eb1dc6ebc7c2601ef9c15b3c3f81306f3d15920e
4
- data.tar.gz: a8b07923a477e78af67e1dbd28e136d9cafe7f035926c701b451da5b429f9808
3
+ metadata.gz: fb77b7c5116298b400bc1dbb3ddaaacb3f0a9ec620a006d50603d27760d012c1
4
+ data.tar.gz: f05694fb1617a6c05d7099b269899a5e97fbf7afd001353325d59ad06cc7bc53
5
5
  SHA512:
6
- metadata.gz: 184a9b18ccad9deb40190f4584c12df441a43348ed0571a4f561611947534bfb27754148c1de3bd551f90d42cf8528c514b5c5403c50de22d314c0a0c61b6c6b
7
- data.tar.gz: a9bee7c8a03ac3f4f290ddc13c0a181572ace2990db3db6b7747068c04895072eb272de26dc8359416f60fb9a81c8b69a86086e15a3acd2c8cd1b371ceba2447
6
+ metadata.gz: df95cde10ea72fd16bb6ec9c40fb8a468a183e0782f101919c65cbcf76401b50258bc61439c17d75edd02b5f108f65369e66dbd3745b1d2f9ba08b4ab6a04506
7
+ data.tar.gz: 7afc8478a2a8476de977c089c3b9292c8122f1abcf922d0e2adcc562f83857fba04186c503fe86eea1beb4884d4b6e58a3fbf66158d9a11149fef8fe2e3f039e
@@ -1,4 +1,4 @@
1
- # frozen_string_literal
1
+ # frozen_string_literal: true
2
2
 
3
3
  # Concern added to controllres to provide methods for authentication.
4
4
  #
@@ -1,4 +1,4 @@
1
- # frozen_string_literal
1
+ # frozen_string_literal: true
2
2
  class <%= plural_class_name %>::PasswordResetsController < <%= plural_class_name %>::BaseController
3
3
 
4
4
  skip_before_action :authenticate_<%= singular_name %>
@@ -1,4 +1,4 @@
1
- # frozen_string_literal
1
+ # frozen_string_literal: true
2
2
 
3
3
  # Controller for managing sessions for <%= plural_class_name %>.
4
4
  # Automatically generated by the orthodox gem (https://github.com/katanacode/orthodox)
@@ -1,4 +1,4 @@
1
- # frozen_string_literal
1
+ # frozen_string_literal: true
2
2
  #
3
3
  # Controller for managing two-factor sessions for <%= plural_class_name %>.
4
4
  # Automatically generated by the orthodox gem (https://github.com/katanacode/orthodox)
@@ -1,4 +1,4 @@
1
- # frozen_string_literal
1
+ # frozen_string_literal: true
2
2
  #
3
3
  # Controller for managing two-factor credentials for <%= plural_class_name %>.
4
4
  # Automatically generated by the orthodox gem (https://github.com/katanacode/orthodox)
@@ -1,4 +1,4 @@
1
- # frozen_string_literal
1
+ # frozen_string_literal: true
2
2
 
3
3
  # Helper for one-time-password authentication methods
4
4
  #
@@ -1,4 +1,4 @@
1
- # frozen_string_literal
1
+ # frozen_string_literal: true
2
2
 
3
3
  # Model concern to provide shared behaviour for authenticating records.
4
4
  #
@@ -1,4 +1,4 @@
1
- # frozen_string_literal
1
+ # frozen_string_literal: true
2
2
  #
3
3
  # Model concern to provide shared behaviour for two-factor auth (one-time password)
4
4
  #
@@ -1,4 +1,4 @@
1
- # frozen_string_literal
1
+ # frozen_string_literal: true
2
2
  #
3
3
  # Model concern to provide shared behaviour for password resets
4
4
  #
@@ -1,4 +1,4 @@
1
- # frozen_string_literal
1
+ # frozen_string_literal: true
2
2
  #
3
3
  # Model for managing one-time password credentials for a given Member
4
4
  #
@@ -1,4 +1,4 @@
1
- # frozen_string_literal
1
+ # frozen_string_literal: true
2
2
 
3
3
  #
4
4
  # Model for managing password reset tokens
@@ -1,4 +1,4 @@
1
- # frozen_string_literal
1
+ # frozen_string_literal: true
2
2
 
3
3
  # Form object for authenticating <%= class_name %> records.
4
4
  # Automatically generated by the orthodox gem (https://github.com/katanacode/orthodox)
@@ -1,4 +1,4 @@
1
- # frozen_string_literal
1
+ # frozen_string_literal: true
2
2
  #
3
3
  # Helpers for automating sign-in and out during tests
4
4
  # Automatically generated by the orthodox gem (https://github.com/katanacode/orthodox)
@@ -1,4 +1,4 @@
1
- # frozen_string_literal
1
+ # frozen_string_literal: true
2
2
 
3
3
  class BaseControllerGenerator < Rails::Generators::NamedBase
4
4
  source_root File.expand_path('templates', __dir__)
@@ -1,4 +1,4 @@
1
- # frozen_string_literal
1
+ # frozen_string_literal: true
2
2
  class <%= namespace_module %>::BaseController < ApplicationController
3
3
 
4
4
  # layout "<%= file_name %>"
@@ -1,4 +1,4 @@
1
- # frozen_string_literal
1
+ # frozen_string_literal: true
2
2
  class <%= class_name %>Controller < <%= parent_class_name %>
3
3
 
4
4
  <%- if authenticate_actor? -%>
@@ -1,4 +1,4 @@
1
- # frozen_string_literal
1
+ # frozen_string_literal: true
2
2
 
3
3
  require 'rails/generators'
4
4
 
@@ -1,3 +1,3 @@
1
1
  module Orthodox
2
- VERSION = "0.3.3"
2
+ VERSION = "0.3.4"
3
3
  end
@@ -24,6 +24,6 @@ Gem::Specification.new do |spec|
24
24
  spec.add_runtime_dependency 'rails', '>= 3.0.0'
25
25
  spec.add_runtime_dependency 'slim-rails'
26
26
  spec.add_development_dependency "bundler", "~> 1.15"
27
- spec.add_development_dependency "rake", "~> 10.0"
27
+ spec.add_development_dependency "rake", ">= 10.0"
28
28
  spec.add_development_dependency "rails", ">= 5.0"
29
29
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: orthodox
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bodacious
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2019-12-18 00:00:00.000000000 Z
12
+ date: 2020-05-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -57,14 +57,14 @@ dependencies:
57
57
  name: rake
58
58
  requirement: !ruby/object:Gem::Requirement
59
59
  requirements:
60
- - - "~>"
60
+ - - ">="
61
61
  - !ruby/object:Gem::Version
62
62
  version: '10.0'
63
63
  type: :development
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
- - - "~>"
67
+ - - ">="
68
68
  - !ruby/object:Gem::Version
69
69
  version: '10.0'
70
70
  - !ruby/object:Gem::Dependency
@@ -235,7 +235,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
235
235
  - !ruby/object:Gem::Version
236
236
  version: '0'
237
237
  requirements: []
238
- rubygems_version: 3.0.3
238
+ rubygems_version: 3.1.3
239
239
  signing_key:
240
240
  specification_version: 4
241
241
  summary: Better Rails generators for Katana