iso8583 0.2.2 → 0.2.3

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: 31f7f975a6cd80dbfcdb1aa4e59ceb295d8fae42
4
- data.tar.gz: d0521763d3f6aadaef2098709462488c73f160c6
3
+ metadata.gz: 0881d56e13a87bfba361adb50daa0a22b61f2e02
4
+ data.tar.gz: 8334f84528ecbad4c5481068706326f6fa7489ed
5
5
  SHA512:
6
- metadata.gz: cfa7d0d9c6bf2a376f9485f59d2f5127a017213faa99ab624a2d966c1aaf6d251b0e59019ea6e4f0939912d0891a2d99dbd4c9a25b0fbb2dddbcd9253c624947
7
- data.tar.gz: 76a1046d1c987139cad5f74be878983d7fbf06a5d831d1187696022852b2c60a54bdb9f40b869db085ff23c21b6b6ec4f9df431a7222c263a5843e5ade50c7f2
6
+ metadata.gz: 8d259cbf42c0f4abde3af3622aa8792bbe89c6926628cc4adb091c8baf89023e2d1782f386ef1f001288743e60a29ac37db323b692ca58d1fd2bda2a6106da03
7
+ data.tar.gz: e242b86a519584d7f9a0e6252b0691cb05f6bd2de8606564ad037615b8ba88906da8e23309bfd4b6696fad0fc13f6d41157cbb1698b69b47095387cf69896594
data/AUTHORS CHANGED
@@ -4,3 +4,4 @@ Tonni Aagesen (https://github.com/ta)
4
4
  Lasse Skindstad Ebert (https://github.com/lasseebert)
5
5
  Joel Ibaceta (https://github.com/joelibaceta)
6
6
  Jackson Harper <jackson@juvo.com>
7
+ absrd (https://github.com/absrd)
data/CHANGELOG CHANGED
@@ -1,3 +1,8 @@
1
+ 0.2.3
2
+ =========
3
+ Change Fixnum to Integer as Fixnum is deprecated
4
+
5
+
1
6
  0.2.2
2
7
  =========
3
8
  Thu Feb 16 13:29:41 CET 2017
@@ -19,7 +19,7 @@ module ISO8583
19
19
 
20
20
  def parse(raw)
21
21
  len, raw = case length
22
- when Fixnum
22
+ when Integer
23
23
  [length, raw]
24
24
  when Field
25
25
  length.parse(raw)
@@ -67,7 +67,7 @@ module ISO8583
67
67
  end
68
68
 
69
69
  len_str = case length
70
- when Fixnum
70
+ when Integer
71
71
  raise ISO8583Exception.new("Too long: #{value} (#{name})! length=#{length}") if encoded_value.length > length
72
72
  raise ISO8583Exception.new("Too short: #{value} (#{name})! length=#{length}") if encoded_value.length < length
73
73
  "".force_encoding("ASCII-8BIT")
@@ -1,4 +1,4 @@
1
1
  # -*- mode: ruby; encoding: utf-8; tab-width: 2; indent-tabs-mode: nil -*-
2
2
  module ISO8583
3
- VERSION = "0.2.2"
3
+ VERSION = "0.2.3"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: iso8583
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tim Becker
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-02-16 00:00:00.000000000 Z
12
+ date: 2017-08-15 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: |
15
15
  Ruby implementation of ISO 8583 financial messaging