ipizza 0.5.2 → 0.5.3
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.
- data/lib/ipizza/util.rb +1 -1
- data/lib/ipizza/version.rb +1 -1
- metadata +6 -6
data/lib/ipizza/util.rb
CHANGED
|
@@ -22,7 +22,7 @@ module Ipizza
|
|
|
22
22
|
|
|
23
23
|
# Calculates and adds control number using 7-3-1 algoritm for Estonian banking account and reference numbers.
|
|
24
24
|
def sign_731(ref_num)
|
|
25
|
-
arr = ref_num.to_s.reverse!.split('')
|
|
25
|
+
arr = ref_num.to_s.dup.reverse!.split('')
|
|
26
26
|
m = 0
|
|
27
27
|
r = 0
|
|
28
28
|
|
data/lib/ipizza/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ipizza
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
5
|
-
prerelease:
|
|
4
|
+
hash: 13
|
|
5
|
+
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 5
|
|
9
|
-
-
|
|
10
|
-
version: 0.5.
|
|
9
|
+
- 3
|
|
10
|
+
version: 0.5.3
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Priit Haamer
|
|
@@ -15,7 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2011-
|
|
18
|
+
date: 2011-06-03 00:00:00 +03:00
|
|
19
19
|
default_executable:
|
|
20
20
|
dependencies:
|
|
21
21
|
- !ruby/object:Gem::Dependency
|
|
@@ -142,7 +142,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
142
142
|
requirements: []
|
|
143
143
|
|
|
144
144
|
rubyforge_project:
|
|
145
|
-
rubygems_version: 1.
|
|
145
|
+
rubygems_version: 1.4.2
|
|
146
146
|
signing_key:
|
|
147
147
|
specification_version: 3
|
|
148
148
|
summary: Implements iPizza protocol to communicate with Estonian Banks
|