basecomm_sdk 1.1.2 → 1.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG +4 -0
- data/README.md +1 -1
- data/lib/basecomm_sdk/bank_account_transaction.rb +2 -2
- data/lib/basecomm_sdk/version.rb +1 -1
- data/spec/lib/basecomm_sdk/bank_account_transaction_spec.rb +4 -4
- 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: 8afd7b3fe8ef4b23d769c1fe94ff7d95bf37077f
|
4
|
+
data.tar.gz: 1ca37570d8850f4c5265347d708c373a206a2a8d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f3b0a5b7f7f0ea9c1e8086c6838412227fb4de81c32eab8426ac93586f6a8d6b1e500f553fcae4a864fe79d4cc15d6178ca97c353ee846efafdddcc077bef0d1
|
7
|
+
data.tar.gz: 1f7a1f6f3b46e81d86e99ac49e3f9408f011747930811a8202ea1ec63659db96872133c448cde32efa2500ae81d1aba5a1c8049f0a80b56a41edf3743e37de2f
|
data/CHANGELOG
CHANGED
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Base Commerce SDK
|
2
2
|
|
3
|
-
**Version: 1.1.
|
3
|
+
**Version: 1.1.3**
|
4
4
|
|
5
5
|
A gem for interfacing with the [Base Commerce](http://www.basecommerce.com/) API. This gem was developed with their help and serves to provide a Gem wrapper around their own Ruby SDK. Please contact them for more information about the Ruby SDK.
|
6
6
|
|
data/lib/basecomm_sdk/version.rb
CHANGED
@@ -137,11 +137,11 @@ module BasecommSdk
|
|
137
137
|
end
|
138
138
|
|
139
139
|
context '.account_name' do
|
140
|
-
it 'truncates to
|
140
|
+
it 'truncates to 32 characters' do
|
141
141
|
account_name = '0123456789012345678901234567890123456789'
|
142
142
|
expect(account_name.size).to eq(40)
|
143
143
|
bat = create(:bank_account_transaction, account_name: account_name)
|
144
|
-
expect(bat.account_name.size).to eq(
|
144
|
+
expect(bat.account_name.size).to eq(32)
|
145
145
|
end
|
146
146
|
|
147
147
|
it 'truncates and trims' do
|
@@ -151,8 +151,8 @@ module BasecommSdk
|
|
151
151
|
expect(bat.account_name.size).to eq(30)
|
152
152
|
end
|
153
153
|
|
154
|
-
it 'retains the first
|
155
|
-
account_name = 'exactly as I f0und
|
154
|
+
it 'retains the first 32 characters' do
|
155
|
+
account_name = 'exactly as I f0und it__________!'
|
156
156
|
bat = create(:bank_account_transaction, account_name: account_name)
|
157
157
|
expect(bat.account_name).to eq(account_name)
|
158
158
|
end
|