ruby_certisign_login 0.1.18 → 0.1.19

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: 4253fa42cffb332b82f5ace763009a6923506035e3ddf2a40ddc755c06c02dd5
4
- data.tar.gz: ff4f16c22e62c162ffe43801898ce3495ee94ed811abcb8de52fcd504f49b510
3
+ metadata.gz: b20d4044c3ecd39009632acbaf027eee1c642c50fcc2f53305e565a6eb9795cd
4
+ data.tar.gz: 7463ec19d73b5c78dbebef7622df10e8aa8b2b6af747c2e2b0a3e315fb1af9d7
5
5
  SHA512:
6
- metadata.gz: 9cc0c10e24d5126c91357b93035a5325d7a7cae7bae3127a42111e3facac24c1ebefcdd03505bdf77b6871d0019b5884fbc4534d8ca68a20e7f2f0a42095800e
7
- data.tar.gz: deafb7ec056652ccb47db8ad832a3ecb92ac193912c54a6276d5cb4768ac79f5cda504be601e7cbaad9c9fd395325a4ce334024e79e0d7e963e987415d956341
6
+ metadata.gz: 912572ae24324b51e2456e1a28f385f1f5e826434bef5bc181cf07a70843129cf7ae634829ecb1c72425ceee0b20c9666731a6e91d7c47f493dc1f78d6f43789
7
+ data.tar.gz: 58a3401e94dea2da55e971823ab4b0e191d3e8af47f4214962cde7bcf42d8a7bd178bbf80ac0965091266000442f3cdbc40a8d221b8cc7b238878949f1542b3b
@@ -1,3 +1,3 @@
1
1
  module RubyCertisignLogin
2
- VERSION = "0.1.18"
2
+ VERSION = "0.1.19"
3
3
  end
@@ -32,9 +32,9 @@ module RubyCertisignLogin
32
32
  end
33
33
  end
34
34
  end
35
-
36
- def cert_valid?(hash)
35
+
36
+ def self.cert_valid?(hash)
37
37
  hash[:valido] and hash[:validade].to_date >= Date.today
38
38
  end
39
-
39
+
40
40
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby_certisign_login
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.18
4
+ version: 0.1.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - Danilo Josino