stbaldricks 6.9.0 → 6.10.0.alpha.1
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.
- checksums.yaml +4 -4
- data/lib/stbaldricks/entities/recurring_gift.rb +11 -0
- data/lib/stbaldricks/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e6f79505305b231cd9ee95e49d4e559dcc99ad7cf109feac7f2db1ec2143dad6
|
4
|
+
data.tar.gz: 3428548078559b790f6fa7742bcd25c867a2c3de6aecdcf0debebba2f65c93e9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8a4a904d94f8de81767e0822c5e9b600396dc9600bc20c949efba65ff0057510c414e8cf3251b1384ce89e71b1be58fa2de79d34abe1400f48162e3d1079995b
|
7
|
+
data.tar.gz: 6f76a8581ad9bd4717856cc79a7825f469c6b7f533ac5d4a0e6ad25b352e647ef3dfe7130283367be18adc84400df48ede869c22467a10671f862298f9796711
|
@@ -152,6 +152,7 @@ module SBF
|
|
152
152
|
class FullRecurringGift < SBF::Client::RecurringGift
|
153
153
|
attr_accessor :status
|
154
154
|
attr_accessor :amount
|
155
|
+
attr_accessor :fee_amount
|
155
156
|
attr_accessor :billing_day_of_month
|
156
157
|
attr_accessor :last_collected_at
|
157
158
|
attr_accessor :last_failed_at
|
@@ -236,6 +237,16 @@ module SBF
|
|
236
237
|
],
|
237
238
|
optional: true
|
238
239
|
)
|
240
|
+
|
241
|
+
def amount=(value)
|
242
|
+
amount_will_change!
|
243
|
+
@amount = value.to_s.gsub(/[^0-9\.]/, '').to_f
|
244
|
+
end
|
245
|
+
|
246
|
+
def fee_amount=(value)
|
247
|
+
fee_amount_will_change!
|
248
|
+
@fee_amount = value.to_s.gsub(/[^0-9\.]/, '').to_f
|
249
|
+
end
|
239
250
|
end
|
240
251
|
end
|
241
252
|
end
|
data/lib/stbaldricks/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stbaldricks
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.
|
4
|
+
version: 6.10.0.alpha.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Firespring
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-12-
|
11
|
+
date: 2018-12-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemodel
|
@@ -237,9 +237,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
237
237
|
version: '0'
|
238
238
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
239
239
|
requirements:
|
240
|
-
- - "
|
240
|
+
- - ">"
|
241
241
|
- !ruby/object:Gem::Version
|
242
|
-
version:
|
242
|
+
version: 1.3.1
|
243
243
|
requirements: []
|
244
244
|
rubyforge_project:
|
245
245
|
rubygems_version: 2.7.8
|