multicash 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/multicash/account.rb +1 -0
- data/lib/multicash/credit_transfer.rb +2 -1
- data/multicash.gemspec +2 -2
- data/spec/account_spec.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 092aaa1aca43d7b5f5596e5ae07b75a9bccdf90e
|
4
|
+
data.tar.gz: 4f1cd5752e2c0c64a4352c383585bde761f71c97
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cbdd0ba2c0f9380c8d43b0fb15a7dc5e65f7dd85f3a0d5efb257520488aadeef95c8f2f854dc4e1bd6b083b7229ff6d6f618f2b7f0b1610d4c57e24d50d59503
|
7
|
+
data.tar.gz: 69eab5c126414d19bfcc0f8516d7ea71adfa140517a2d08f69911f83ecb4bc83ca9ee896787385154cef17299b69de935c883546b53a341cea152279382b4780
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.7
|
data/lib/multicash/account.rb
CHANGED
@@ -12,6 +12,7 @@ module Multicash
|
|
12
12
|
validates :address, presence: true, allow_blank: false
|
13
13
|
validates :iban, presence: true, format: /\A[A-Z0-9]{2}\d{2}[A-Z0-9]{4}\d{4}[A-Z0-9]{10}\z/
|
14
14
|
|
15
|
+
|
15
16
|
def initialize attributes = {}
|
16
17
|
@name = attributes[:name]
|
17
18
|
@city = attributes[:city] || "CITY"
|
data/multicash.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: multicash 0.0.
|
5
|
+
# stub: multicash 0.0.7 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "multicash"
|
9
|
-
s.version = "0.0.
|
9
|
+
s.version = "0.0.7"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.authors = ["Anton Yordanov"]
|
data/spec/account_spec.rb
CHANGED
@@ -16,7 +16,7 @@ describe "Multicash::Account" do
|
|
16
16
|
end
|
17
17
|
|
18
18
|
it "not be valid if required attributes are missing" do
|
19
|
-
account_attributes[:iban] = "
|
19
|
+
account_attributes[:iban] = "BG93STSA93000021529797"
|
20
20
|
expect(Multicash::Account.new(account_attributes)).to_not be_valid
|
21
21
|
end
|
22
22
|
end
|