iprog_otp_generator 0.1.6 → 0.1.7

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: b4939d3a039e9497ee295790f843f88c1ed751f4bab9f5ac1b694652b61394b5
4
- data.tar.gz: 83b6a6f4d637745504b9c77b4f2598d8007783199498f069164d81b405a33bd0
3
+ metadata.gz: 917b63e25795679bdfa4746819e055d8460c00c995f48a98dcf5391ac14e6f65
4
+ data.tar.gz: d904ebab398829de90f5e51c4b57b7569185a9552de48fcc69498b8d26063b61
5
5
  SHA512:
6
- metadata.gz: 426c8732239fe66c1b1949d54df6c8094b6cc067f452203aa7dc1571582e05ff49e8c9141e0016964a5e67d65705710b879a8ca8183e5527e59de64ac5f3f226
7
- data.tar.gz: 16d048b4164fb3cde01bd2b8074aee801a1bd0f95c4d42685e1058f8b4eaa3396d04142d9867d5c6e6bf0ee9839325f1ea33f6cd6d1c6510051941da49cce27e
6
+ metadata.gz: 8610b95b8da7aeca0312183e08d08001448a2a1f9c841609d0c0e0bac542bdc3b0aee20d48715fd9b9df4cffb3ad854b029636ff4d7d1b0cb9d54516e0e08450
7
+ data.tar.gz: dc2ff43c8a64d0ab8ce6ea114e0c27617f67b1210e0298f7fc039f69bcd3ade1d0c2c3a63cc3e4b4283a3c08c778adf56cc95349d9363c144b623e6950a1b48d
@@ -20,7 +20,7 @@ module IprogOtpGenerator
20
20
 
21
21
  private
22
22
  def migration_version
23
- if Rails.version.start_with?("5") || Rails.version.start_with("6")
23
+ if Rails::VERSION::MAJOR >= 5
24
24
  "[#{Rails::VERSION::MAJOR}.#{Rails::VERSION::MINOR}]"
25
25
  end
26
26
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module IprogOtpGenerator
4
- VERSION = "0.1.6"
4
+ VERSION = "0.1.7"
5
5
  end
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.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jayson Presto