onnistuu_fi 1.0.0 → 1.0.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
  SHA1:
3
- metadata.gz: 8e2d47ad652d33ffa6f0cf337649740357d36d2a
4
- data.tar.gz: a4cd132595c28603f3239d3feba4193a1b8f12f3
3
+ metadata.gz: fa4d9aced2fcf358476982d8af4a9ae03b72705d
4
+ data.tar.gz: 228d76e839452e4b2c054ffc3ef5c149a5ed36e3
5
5
  SHA512:
6
- metadata.gz: 9ea37983e3b854b88474c52e3ae50a2949dbd7d2cad1beb8c8ee35f9152218d5781ac3e293e0cbc6a7a0846d09450b8a0fd5c68992c8f6597bc46dc5c04c971a
7
- data.tar.gz: 0d89a6fe38dd27566c021c28d22608d1f5461308f2d3382502833055298550007a88d9a47402eb3a939988a516107a84e22d5c2d3f4ca86e4de9df326b864a92
6
+ metadata.gz: 7ab9641c04a9612ac351d51a3f9c35618650337d54ad6c59a75cda12f9a53c3e4d45ae345fe33403d052cc6da921d4efc6ed0a4f9ccb6ca7695e14888e1f6fb0
7
+ data.tar.gz: 664755abf921b16fd6700ac4453212e63cbf3b6206b3a4251e417694725638b55f23cb606fed097cef3fc74d7e4c162ce274a437b3cff090d1805306756dec2c
data/.travis.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  sudo: false
2
2
  language: ruby
3
3
  rvm:
4
- - 2.0.0
4
+ - 2.2.7
5
5
  before_install: gem install bundler -v 1.12.5
@@ -23,8 +23,8 @@ module OnnistuuFi
23
23
 
24
24
  def decrypt(encrypted_data, iv)
25
25
  return nil if encrypted_data.nil?
26
- encrypted_data = Base64.decode64(encrypted_data).strip
27
- iv = Base64.decode64(iv).strip
26
+ encrypted_data = Base64.decode64(encrypted_data)
27
+ iv = Base64.decode64(iv)
28
28
  aes = OpenSSL::Cipher.new('AES-256-CBC')
29
29
  aes.decrypt
30
30
  aes.key = key
@@ -1,3 +1,3 @@
1
1
  module OnnistuuFi
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: onnistuu_fi
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vesa Vänskä
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-05-22 00:00:00.000000000 Z
11
+ date: 2017-08-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -122,7 +122,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
122
122
  version: '0'
123
123
  requirements: []
124
124
  rubyforge_project:
125
- rubygems_version: 2.6.8
125
+ rubygems_version: 2.6.11
126
126
  signing_key:
127
127
  specification_version: 4
128
128
  summary: Implements Onnistuu.fi interface.