church_community_builder 0.0.5 → 0.0.6
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/church_community_builder.gemspec +1 -1
- data/lib/church_community_builder/client.rb +3 -24
- 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: c1d6e1598a16feafba1eae793ea63cbdc638dbda
|
|
4
|
+
data.tar.gz: 8116ac63b782b9fa663e7b0cdd7c64b383aa9b12
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5fe5add12907467dad29d4b489e678173a78363805fa621e840b1e0589076efc6456caaca4d76b00c67e33b08a9b0154c95b94024388eb4deeaa75caaf7f38ec
|
|
7
|
+
data.tar.gz: 0b7fd1672f61d9332b53fe0862d48c6fa484146915c7ee6a7ec8c7c73f2dcb86821c8aa5ace018510b2f6011d721bfff36ada244938f77a2c60123497408b722
|
|
@@ -3,7 +3,7 @@ require "base64"
|
|
|
3
3
|
|
|
4
4
|
Gem::Specification.new do |s|
|
|
5
5
|
s.name = "church_community_builder"
|
|
6
|
-
s.version = "0.0.
|
|
6
|
+
s.version = "0.0.6"
|
|
7
7
|
s.authors = ['Taylor Brooks']
|
|
8
8
|
s.email = ["dGJyb29rc0BnbWFpbC5jb20="].map{ |e| Base64.decode64(e) }
|
|
9
9
|
s.homepage = "https://github.com/taylorbrooks/church_community_builder"
|
|
@@ -19,39 +19,18 @@ module ChurchCommunityBuilder
|
|
|
19
19
|
@password = password
|
|
20
20
|
end
|
|
21
21
|
|
|
22
|
-
def get(path
|
|
22
|
+
def get(path)
|
|
23
23
|
connection.get do |req|
|
|
24
|
-
req.url(path
|
|
24
|
+
req.url(path)
|
|
25
25
|
end.body
|
|
26
26
|
end
|
|
27
27
|
|
|
28
|
-
def post(path
|
|
28
|
+
def post(path)
|
|
29
29
|
connection.post do |req|
|
|
30
30
|
req.url(path)
|
|
31
|
-
req.body = req_body
|
|
32
31
|
end.body
|
|
33
32
|
end
|
|
34
33
|
|
|
35
|
-
def put(path, req_body)
|
|
36
|
-
connection.put do |req|
|
|
37
|
-
req.url path
|
|
38
|
-
req.body = req_body
|
|
39
|
-
end
|
|
40
|
-
end
|
|
41
|
-
|
|
42
|
-
def delete(path, options = {})
|
|
43
|
-
connection.delete do |req|
|
|
44
|
-
req.url path
|
|
45
|
-
end.body
|
|
46
|
-
end
|
|
47
|
-
|
|
48
|
-
def save
|
|
49
|
-
connection.put do |req|
|
|
50
|
-
req.url path
|
|
51
|
-
end.body
|
|
52
|
-
end
|
|
53
|
-
|
|
54
|
-
|
|
55
34
|
private
|
|
56
35
|
|
|
57
36
|
def connection
|