bpjs-signature 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 65cae710b88b96630dae8cd79a90967e7be8e30efb4155ee8f65ddbbff93e1d5
4
- data.tar.gz: 59503719d7541656c0fc5cbba059b9bb276e884da23408968c366109dd14c4fe
3
+ metadata.gz: 8329f299254ff68a066949c806f280ce3d1e09f0a1979bac03b012f7cb414102
4
+ data.tar.gz: 38cdb184def63249513286dc01d9f43714d9071a65c5bbbbe877e671d8075ae5
5
5
  SHA512:
6
- metadata.gz: eb140d2d91e7020903b6adbc74056857d06504fed17207c053de0e4362eca9c217830482b20f112614314bf55b8c400e2e9d0f177cbf8aa46a3488a1fb805d19
7
- data.tar.gz: f62a0cccc75344cb33feb0bcbc3ad84b3726be5d1bee5cf4a8fdecb767965c3f9b4f892796cb7a28353718895e0ae4f8df3e2ad4ef762ee119256e941ec3ba96
6
+ metadata.gz: 5a85bc23c3d7dbd9d02c3149c3419cf1b23eb2c5c3e7832e2a79179fb78bf5bf876b7aee323b5197ed1fa901cc2bc66b52598a936120952366b60ba604540211
7
+ data.tar.gz: 53afd465296b48f315af7064b8865aca784c5053723059cc2198c8e44af18d434336f7dfe0c33de0c837855a3d8fcbf3bbd6014f5df36e2cfbf938cb7d92772a
@@ -1,7 +1,7 @@
1
1
  require 'openssl'
2
2
  require 'base64'
3
3
 
4
- class Signature
4
+ class BpjsSignature
5
5
 
6
6
  def self.generate(cons_id, secretkey)
7
7
  data = "#{cons_id}&#{Time.now.to_i}"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bpjs-signature
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tendy Rivaldo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-10-25 00:00:00.000000000 Z
11
+ date: 2022-10-26 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: A simple for genarete signatur with HMAC SHA256 gem
14
14
  email: pattidef@icloud.com
@@ -16,7 +16,7 @@ executables: []
16
16
  extensions: []
17
17
  extra_rdoc_files: []
18
18
  files:
19
- - lib/signature.rb
19
+ - lib/bpjs-signature.rb
20
20
  homepage: https://rubygems.org/gems/bpjs-signature
21
21
  licenses:
22
22
  - MIT