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 +4 -4
- data/AUTHORS +1 -0
- data/Gemfile.lock +23 -3
- data/{README → README.md} +5 -5
- data/lib/iso8583/bitmap.rb +4 -3
- data/lib/iso8583/version.rb +1 -1
- metadata +11 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1c29d5c3005b171e1a7e20ec6ef7803101030d96
|
4
|
+
data.tar.gz: 6b68ceb577c6595e09ddeef78640481d95db2df4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f38c9dfc7b540b2147aeb20dccd0f9f6f24475b19513e08b481ffad4a021cd4e5c5f2842b041491c03c366c3fdfc36d62df96ae5f19f427a629278a889059b81
|
7
|
+
data.tar.gz: d97a0108d9f634e9e9adb0fb3f1839236af58bdbc8a85e6d7ec64ea5dccd01453c3ec0fb8ac9198e8f4f95cf523d06ea1a2c09de79cbf53ed45b408cdb61881e
|
data/AUTHORS
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,13 +1,30 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
iso8583 (0.
|
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
|
-
|
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
|
-
|
35
|
+
rspec (~> 3.3.0)
|
36
|
+
|
37
|
+
BUNDLED WITH
|
38
|
+
1.10.6
|
data/{README → README.md}
RENAMED
@@ -1,26 +1,26 @@
|
|
1
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
19
|
+
## Source
|
20
20
|
|
21
21
|
The source is most readily available on github[http://github.com/a2800276/8583].
|
22
22
|
|
23
|
-
|
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
|
data/lib/iso8583/bitmap.rb
CHANGED
@@ -23,10 +23,11 @@ module ISO8583
|
|
23
23
|
end
|
24
24
|
|
25
25
|
# yield once with the number of each set field.
|
26
|
-
|
27
|
-
|
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]
|
data/lib/iso8583/version.rb
CHANGED
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.
|
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:
|
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.
|
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'
|