siebel_donations 1.0.15 → 1.0.16
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/siebel_donations/donation.rb +1 -1
- data/lib/siebel_donations/version.rb +1 -1
- data/spec/donation_spec.rb +1 -1
- metadata +3 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bf42ba9ec921ce98cd861ea24b0ca178704f7a3be659842bc56ffedba28938ef
|
|
4
|
+
data.tar.gz: 7ef1397e1a30fa81e4d8bbd4fa21ed51afac1c02b27a81a3a802b45bff4a04f9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 56b1752ca34fa1c37dbfecf709743ebcfbdd7e6f6fc9315b10281abaa1883b5a7703e643929b54dcd231b37afe8890cfc33c4eb3c1c7607506db18bd03f1fb1b
|
|
7
|
+
data.tar.gz: 791c856ff01b8f113792c78111a46296924e49931fa8727d2e745c6ebae8bb89a8ffaaa5210dfd753770dc965a9e087dd9d3abbf04ccb8a7d78584e24adb1037
|
data/spec/donation_spec.rb
CHANGED
|
@@ -4,7 +4,7 @@ describe SiebelDonations::Donation do
|
|
|
4
4
|
context '.find' do
|
|
5
5
|
context 'by a designation number' do
|
|
6
6
|
it "returns an array of donations" do
|
|
7
|
-
donation_json = Oj.load '[ { "id": "XGF5T", "amount": "10.00", "designation": "0588176", "donorId": "000599596", "donationDate": "2007-10-21", "paymentMethod": "Credit Card", "paymentType": "Visa", "channel": "Recurring", "campaignCode": "CCWBST" } ]'
|
|
7
|
+
donation_json = Oj.load '[ { "id": "XGF5T", "amount": "10.00", "designation": "0588176", "donorId": "000599596", "donationDate": "2007-10-21", "paymentMethod": "Credit Card", "paymentType": "Visa", "channel": "Recurring", "campaignCode": "CCWBST", "historicId": "1-ABCDE" } ]'
|
|
8
8
|
SiebelDonations::Donation.should_receive(:get).and_return(donation_json)
|
|
9
9
|
|
|
10
10
|
donations = SiebelDonations::Donation.find(designations: '0559826',
|
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: siebel_donations
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.16
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Josh Starcher
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: bin
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
14
13
|
name: rest-client
|
|
@@ -98,7 +97,6 @@ files:
|
|
|
98
97
|
homepage: ''
|
|
99
98
|
licenses: []
|
|
100
99
|
metadata: {}
|
|
101
|
-
post_install_message:
|
|
102
100
|
rdoc_options: []
|
|
103
101
|
require_paths:
|
|
104
102
|
- lib
|
|
@@ -113,8 +111,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
113
111
|
- !ruby/object:Gem::Version
|
|
114
112
|
version: '0'
|
|
115
113
|
requirements: []
|
|
116
|
-
rubygems_version: 3.
|
|
117
|
-
signing_key:
|
|
114
|
+
rubygems_version: 3.7.2
|
|
118
115
|
specification_version: 4
|
|
119
116
|
summary: Get donation information from Siebel Donor
|
|
120
117
|
test_files:
|