infosimples-data 1.9.4 → 1.9.6

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: cafc3657b7756d7c8d0fe8eb9d22e86960807fe7386c0c260eae0c1d57fd0264
4
- data.tar.gz: e122aa869af811bd1c253c1bde7765fcd5d04978ef0fedc269151e6ab888dc68
3
+ metadata.gz: 686c88dbe6d61832db1a80ed8a58c77951d41cd3e37dbb0546cece316f3c215b
4
+ data.tar.gz: 7492acfd2e5c288d436a31195b866fb9d9e7d2d1832366d431b44affe41a5aa0
5
5
  SHA512:
6
- metadata.gz: 641f9b9336802a6c6372ade60cfa698d89bf7615625a595da84108f83e467327ce0f0c8aeb645f16734a36a96b64e8bde14e97dc5969832bdac06aa790139d2b
7
- data.tar.gz: f0bc464099cfe36c24c41aa9bd1a408b05f0d3770a0d390bd2e03e586fec6766922a8904a9720a5e1d8c33a1e4b58373f794725919806b75eca40e805b6c7858
6
+ metadata.gz: 1c5274eafc33dbd983372a3f0c13415e27d3c3a0efba42ceb9185096819276aca6b1662503a76509e566bff5f02a11ca7afc6f7b2d70787a1d2273bcc0f5d520
7
+ data.tar.gz: 15d6ac9ce90ac9d4768d1d8670163e76be8e015523240e73b60999a6850860c4f46c566b40085651c2cb27a47d7196377d4100e9bc1b91b08a7791cb2c33e892
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- infosimples-data (1.9.4)
4
+ infosimples-data (1.9.6)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -3,7 +3,7 @@ module Infosimples::Data
3
3
  attr_accessor :key
4
4
  def initialize(key)
5
5
  fail("INVALID KEY SIZE: #{key}") if key.size < 32
6
- self.key = key[0,32]
6
+ self.key = key[0, 32]
7
7
  end
8
8
 
9
9
  def encrypt(data, to_base64=true)
@@ -1,6 +1,6 @@
1
1
  module Infosimples
2
2
  module Data
3
- VERSION = "1.9.4" # https://data.infosimples.com/docs/changelog
3
+ VERSION = "1.9.6" # https://data.infosimples.com/docs/changelog
4
4
  USER_AGENT = "Infosimples::Data/Ruby v#{VERSION}"
5
5
  end
6
6
  end
@@ -1,4 +1,5 @@
1
1
  require 'net/http'
2
+ require 'openssl'
2
3
  require 'openssl/cipher'
3
4
  require 'digest/sha2'
4
5
  require 'base64'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: infosimples-data
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.4
4
+ version: 1.9.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Infosimples
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-10-09 00:00:00.000000000 Z
11
+ date: 2018-10-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler