ruby-safenet 0.5.6 → 0.5.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/safenet.rb +2 -2
- data/lib/safenet/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3eec9c6e0fcd1c09830780f3e0d12bb2f47842ab
|
4
|
+
data.tar.gz: c8109a491274b80dcbd3c251b24878a0f2d961a6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 293dbfabd4657addec3a0eaae26af895765385aad33b028a768ef0d3a9457207c31b80bb410864c536708e71e2e6f1843260d52343efbbc6c47be8ad3f68224b
|
7
|
+
data.tar.gz: b182e877345f38a9fbbad86ad206033d3399796355b8e542a0d0d4ae2366b59d1c787f941b89fd67fdc038aa126ce5bacd3d04a67b438572c902732a7f3e640c
|
data/lib/safenet.rb
CHANGED
@@ -296,7 +296,7 @@ module SafeNet
|
|
296
296
|
|
297
297
|
# Optional payload
|
298
298
|
payload = {}
|
299
|
-
payload["name"] =
|
299
|
+
payload["name"] = options[:name] if options.has_key?(:name)
|
300
300
|
payload["metadata"] = Base64.strict_encode64(options[:meta]) if options.has_key?(:meta)
|
301
301
|
|
302
302
|
# API call
|
@@ -476,7 +476,7 @@ module SafeNet
|
|
476
476
|
|
477
477
|
# Optional payload
|
478
478
|
payload = {}
|
479
|
-
payload["name"] =
|
479
|
+
payload["name"] = options[:name] if options.has_key?(:name)
|
480
480
|
payload["metadata"] = Base64.strict_encode64(options[:meta]) if options.has_key?(:meta)
|
481
481
|
|
482
482
|
# API call
|
data/lib/safenet/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby-safenet
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Loureiro
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-04-
|
11
|
+
date: 2017-04-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|