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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 198d957bb43bfcba30cbc1839fb488bc999a030b
4
- data.tar.gz: 5678f5f43a3dbfb937c5342edc55b8f77467559e
3
+ metadata.gz: 3eec9c6e0fcd1c09830780f3e0d12bb2f47842ab
4
+ data.tar.gz: c8109a491274b80dcbd3c251b24878a0f2d961a6
5
5
  SHA512:
6
- metadata.gz: 98ca589ba67befd4d746c63e7d9002f155034b72ac5d605688374856542b0cbc9f85df9088b9af6aa8964a59290a9c15dd9da54b4a9a8a9e935fac21292c270f
7
- data.tar.gz: 2b996a4d1e0dcecedcd854179c41960dd864f33604c6ab9773f34352a0c9e476f477f4e157b9ce8ee856c478c8c10ef4ef41105f12c34cd8e28e862c4008dea3
6
+ metadata.gz: 293dbfabd4657addec3a0eaae26af895765385aad33b028a768ef0d3a9457207c31b80bb410864c536708e71e2e6f1843260d52343efbbc6c47be8ad3f68224b
7
+ data.tar.gz: b182e877345f38a9fbbad86ad206033d3399796355b8e542a0d0d4ae2366b59d1c787f941b89fd67fdc038aa126ce5bacd3d04a67b438572c902732a7f3e640c
@@ -296,7 +296,7 @@ module SafeNet
296
296
 
297
297
  # Optional payload
298
298
  payload = {}
299
- payload["name"] = SafeNet.escape(options[:name]) if options.has_key?(: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"] = SafeNet.escape(options[:name]) if options.has_key?(: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
@@ -1,3 +1,3 @@
1
1
  module Safenet
2
- VERSION = "0.5.6"
2
+ VERSION = "0.5.7"
3
3
  end
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.6
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-27 00:00:00.000000000 Z
11
+ date: 2017-04-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler