iso8583 0.2.0 → 0.2.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: 9a014be2e1455129a38601f8f9490a0856e8f80e
4
- data.tar.gz: e845890de100b7b09f52c2dea10709d759a09710
3
+ metadata.gz: 1c29d5c3005b171e1a7e20ec6ef7803101030d96
4
+ data.tar.gz: 6b68ceb577c6595e09ddeef78640481d95db2df4
5
5
  SHA512:
6
- metadata.gz: 883e27a230ef51981e2a6fdd95776c4fb310a02712554526bc2f7928835864ffa2c2a2cb1eb38757ec1f736447922d424820bbb84afb1e882512310fdf1693c7
7
- data.tar.gz: 692b9a633fd89d7916888c39f9440920e206eef24f979eda4672684eb13864703d94b7484bc363d1240a4ee69a765a8267a08245b7b12902f10d872a175a19c7
6
+ metadata.gz: f38c9dfc7b540b2147aeb20dccd0f9f6f24475b19513e08b481ffad4a021cd4e5c5f2842b041491c03c366c3fdfc36d62df96ae5f19f427a629278a889059b81
7
+ data.tar.gz: d97a0108d9f634e9e9adb0fb3f1839236af58bdbc8a85e6d7ec64ea5dccd01453c3ec0fb8ac9198e8f4f95cf523d06ea1a2c09de79cbf53ed45b408cdb61881e
data/AUTHORS CHANGED
@@ -3,3 +3,4 @@ Slava Kravchenko (cordawyn@gmail.com)
3
3
  Tonni Aagesen (https://github.com/ta)
4
4
  Lasse Skindstad Ebert (https://github.com/lasseebert)
5
5
  Joel Ibaceta (https://github.com/joelibaceta)
6
+ Jackson Harper <jackson@juvo.com>
@@ -1,13 +1,30 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- iso8583 (0.1.6)
4
+ iso8583 (0.3.0)
5
+ test-unit (~> 3.0.0)
5
6
 
6
7
  GEM
7
8
  remote: https://rubygems.org/
8
9
  specs:
10
+ diff-lcs (1.2.5)
11
+ power_assert (0.2.4)
9
12
  rake (10.4.2)
10
- test-unit (2.1.2.0)
13
+ rspec (3.3.0)
14
+ rspec-core (~> 3.3.0)
15
+ rspec-expectations (~> 3.3.0)
16
+ rspec-mocks (~> 3.3.0)
17
+ rspec-core (3.3.2)
18
+ rspec-support (~> 3.3.0)
19
+ rspec-expectations (3.3.1)
20
+ diff-lcs (>= 1.2.0, < 2.0)
21
+ rspec-support (~> 3.3.0)
22
+ rspec-mocks (3.3.2)
23
+ diff-lcs (>= 1.2.0, < 2.0)
24
+ rspec-support (~> 3.3.0)
25
+ rspec-support (3.3.0)
26
+ test-unit (3.0.9)
27
+ power_assert
11
28
 
12
29
  PLATFORMS
13
30
  ruby
@@ -15,4 +32,7 @@ PLATFORMS
15
32
  DEPENDENCIES
16
33
  iso8583!
17
34
  rake
18
- test-unit
35
+ rspec (~> 3.3.0)
36
+
37
+ BUNDLED WITH
38
+ 1.10.6
@@ -1,26 +1,26 @@
1
- = ISO 8583 Financial Messaging for Ruby
1
+ # ISO 8583 Financial Messaging for Ruby
2
2
 
3
3
  This package currently contains code for coding an decoding ISO 8583
4
4
  Financial Message.
5
5
 
6
- == Developing
6
+ ## Developing
7
7
 
8
8
  In case you're using a ruby version >= 2.2, test-unit is no longer in
9
9
  the std lib, so it needs to be available. Bundler installs this, if not
10
10
  using bundler, you need to run `gem install test-unit` before running
11
11
  the tests.
12
12
 
13
- == Installing
13
+ ## Installing
14
14
 
15
15
  You can install the last version of the +iso8583+ package by executing:
16
16
 
17
17
  gem install iso8583
18
18
 
19
- == Source
19
+ ## Source
20
20
 
21
21
  The source is most readily available on github[http://github.com/a2800276/8583].
22
22
 
23
- == Mailing List
23
+ ## Mailing List
24
24
 
25
25
  In case you discover bugs, spelling errors, offer suggestions for
26
26
  improvements or would like to help out with the project, you can contact
@@ -23,10 +23,11 @@ module ISO8583
23
23
  end
24
24
 
25
25
  # yield once with the number of each set field.
26
- def each #:yields: each bit set in the bitmap.
27
- @bmp.each_with_index {|set, i| yield i+1 if set}
26
+ # :yields: each bit set in the bitmap. Except for the first bit which is used to determine the bitmap sizec
27
+ def each
28
+ @bmp.each_with_index {|set, i| yield i+1 if set && i != 0}
28
29
  end
29
-
30
+
30
31
  # Returns whether the bit is set or not.
31
32
  def [](i)
32
33
  @bmp[i-1]
@@ -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.0"
3
+ VERSION = "0.2.1"
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.0
4
+ version: 0.2.1
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: 2015-09-28 00:00:00.000000000 Z
12
+ date: 2016-11-16 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: |
15
15
  Ruby implementation of ISO 8583 financial messaging
@@ -20,14 +20,6 @@ executables: []
20
20
  extensions: []
21
21
  extra_rdoc_files: []
22
22
  files:
23
- - AUTHORS
24
- - CHANGELOG
25
- - Gemfile
26
- - Gemfile.lock
27
- - LICENSE
28
- - README
29
- - Rakefile
30
- - TODO
31
23
  - lib/8583.rb
32
24
  - lib/iso8583.rb
33
25
  - lib/iso8583/berlin.rb
@@ -39,6 +31,14 @@ files:
39
31
  - lib/iso8583/message.rb
40
32
  - lib/iso8583/util.rb
41
33
  - lib/iso8583/version.rb
34
+ - AUTHORS
35
+ - CHANGELOG
36
+ - Gemfile
37
+ - Gemfile.lock
38
+ - LICENSE
39
+ - README.md
40
+ - Rakefile
41
+ - TODO
42
42
  - test/BitmapTests.rb
43
43
  - test/message_test.rb
44
44
  - test/test_codec.rb
@@ -65,7 +65,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - none
67
67
  rubyforge_project: iso8583
68
- rubygems_version: 2.4.6
68
+ rubygems_version: 2.0.14.1
69
69
  signing_key:
70
70
  specification_version: 4
71
71
  summary: 'iso8583: Ruby implementation of ISO 8583 financial messaging'