iprog_otp_generator 0.1.4 → 0.1.6

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
  SHA256:
3
- metadata.gz: 25c14b0c538467917d5ba22acc6c467ba96e38a35c93f2b2c1ccd08764eb8857
4
- data.tar.gz: a667c37374d22e98bce32bd7e370e56acd1271b993dfffe85e64e4b8459c395a
3
+ metadata.gz: b4939d3a039e9497ee295790f843f88c1ed751f4bab9f5ac1b694652b61394b5
4
+ data.tar.gz: 83b6a6f4d637745504b9c77b4f2598d8007783199498f069164d81b405a33bd0
5
5
  SHA512:
6
- metadata.gz: 8aa1cb1ac94fd16f0ed7fb9661ed7187c5918991f22ab8243477f1d5788b346b7701c065e08b035946c94c851e45383ad1c55b788633e22119c16d75a1918e3c
7
- data.tar.gz: 42f0c89b7f8496210faffae3e5ee431d1fe2b91f3249a928ad5c3fcfcaf89c2bd537d0d9215ed00188bdda33efc9c7d49e309f8a0985e2a299e3b02a745fcc67
6
+ metadata.gz: 426c8732239fe66c1b1949d54df6c8094b6cc067f452203aa7dc1571582e05ff49e8c9141e0016964a5e67d65705710b879a8ca8183e5527e59de64ac5f3f226
7
+ data.tar.gz: 16d048b4164fb3cde01bd2b8074aee801a1bd0f95c4d42685e1058f8b4eaa3396d04142d9867d5c6e6bf0ee9839325f1ea33f6cd6d1c6510051941da49cce27e
@@ -1,4 +1,5 @@
1
1
  # frozen_string_literal: true
2
+ require 'rails/generators'
2
3
 
3
4
  module IprogOtpGenerator
4
5
  module Generators
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module IprogOtpGenerator
4
- VERSION = "0.1.4"
4
+ VERSION = "0.1.6"
5
5
  end
@@ -5,7 +5,7 @@ require_relative "iprog_otp_generator/version"
5
5
  require_relative "iprog_otp_generator/otp_code"
6
6
 
7
7
  if defined?(Rails)
8
- require_relative "iprog_otp_generator/generators/install_generator"
8
+ require_relative "generators/install_generator"
9
9
  end
10
10
 
11
11
  module IprogOtpGenerator
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: iprog_otp_generator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jayson Presto
@@ -38,6 +38,20 @@ dependencies:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rails
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '5.0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '5.0'
41
55
  description: This gem allows ActiveRecord models to generate, validate, and clear
42
56
  OTP codes with an expiration time.
43
57
  email: