church-community-builder 0.2.0 → 0.2.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.
Files changed (5) hide show
  1. checksums.yaml +15 -0
  2. data/.ruby-version +1 -1
  3. data/ccb_api.gemspec +2 -2
  4. data/lib/common.rb +3 -1
  5. metadata +9 -15
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ Y2IwYjVjNTY0NzgyZjZjMzhmMTM5ZTg1YWNlZTI2MDgxZTgyNDhlZA==
5
+ data.tar.gz: !binary |-
6
+ YjE1ZTVmYzYxN2ZkMTg5ZWJjZjk5MGU1YWU2NWUyMTNhZTNlNWU5Zg==
7
+ SHA512:
8
+ metadata.gz: !binary |-
9
+ MDFiNGQ3ZTZlMmRiMTBmY2FjYjdhNTYyNjhiMDcyMDUzMTgxODY0M2Q0ZTNh
10
+ YzdiMzdlZmEwYjc1NDFhMDIyMWNlOGYzMzFhYWQ1N2RhYzJjYjllMWE0ZGZj
11
+ ZWE1YzY0ODU1NzhiZGY1YTFlMGQwZTRhNTE0MWY0ZjY1MTk5YWU=
12
+ data.tar.gz: !binary |-
13
+ ZGFiMDExMjE0OTFjNDBhODY3ODBlMDM0MzVkZWVlOWE5ZjBjYjU4MDlkMTAx
14
+ MTk5MzNkOGMxYjk4ZTgxNWE3YjNiNzMyMzUwZTYzYWI5ZTFiODhlZDg2Zjg3
15
+ MDA1MzkyYTQzYWM5ZjllZWQxMGQxNTY3ODJhMDBkYWZlYjJkZmY=
@@ -1 +1 @@
1
- ruby-1.9.3-p448
1
+ ruby-1.9.3-p484
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  PROJECT_GEM = 'church-community-builder'
3
- PROJECT_GEM_VERSION = '0.2.0'
3
+ PROJECT_GEM_VERSION = '0.2.1'
4
4
 
5
5
  s.name = PROJECT_GEM
6
6
  s.version = PROJECT_GEM_VERSION
@@ -16,7 +16,7 @@ Gem::Specification.new do |s|
16
16
  s.description = 'Ruby gem/plugin to interact with the Church Community Builder API. Checkout the project on github for more detail.'
17
17
 
18
18
  s.add_dependency('typhoeus', '0.6.6')
19
- s.add_dependency('xml-simple')
19
+ s.add_dependency('xml-simple', '1.1.2')
20
20
 
21
21
 
22
22
  s.files = `git ls-files`.split("\n")
@@ -24,7 +24,9 @@ module ChurchCommunityBuilder
24
24
  # {"name"=>"date_start", "value"=>"2013-03-11"}, {"name"=>"date_end", "value"=>"2013-04-10"}]}},
25
25
  # "response"=>{"error"=>{"number"=>"005", "type"=>"Service Permission", "content"=>"Query limit of '10000' reached, please try again tomorrow."}}}}
26
26
  if response.body.include?('Query limit of \'10000\' reached, please try again tomorrow.')
27
- raise ChurchCommunityBuilderExceptions::ChurchCommunityBuilderResponseError.new(response.body)
27
+ raise ChurchCommunityBuilderExceptions::ChurchCommunityBuilderResponseError.new("Query limit of 10000 reached, please try again tomorrow.")
28
+ elsif response.body.include?('You do not have permission to use this service.')
29
+ raise ChurchCommunityBuilderExceptions::ChurchCommunityBuilderResponseError.new("You do not have permission to use this service.")
28
30
  elsif !response.success?
29
31
  if response.code > 0
30
32
  raise ChurchCommunityBuilderExceptions::UnableToConnectToChurchCommunityBuilder.new(response.body)
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: church-community-builder
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
5
- prerelease:
4
+ version: 0.2.1
6
5
  platform: ruby
7
6
  authors:
8
7
  - Wes Hays
@@ -10,12 +9,11 @@ authors:
10
9
  autorequire:
11
10
  bindir: bin
12
11
  cert_chain: []
13
- date: 2015-01-21 00:00:00.000000000 Z
12
+ date: 2015-02-19 00:00:00.000000000 Z
14
13
  dependencies:
15
14
  - !ruby/object:Gem::Dependency
16
15
  name: typhoeus
17
16
  requirement: !ruby/object:Gem::Requirement
18
- none: false
19
17
  requirements:
20
18
  - - '='
21
19
  - !ruby/object:Gem::Version
@@ -23,7 +21,6 @@ dependencies:
23
21
  type: :runtime
24
22
  prerelease: false
25
23
  version_requirements: !ruby/object:Gem::Requirement
26
- none: false
27
24
  requirements:
28
25
  - - '='
29
26
  - !ruby/object:Gem::Version
@@ -31,19 +28,17 @@ dependencies:
31
28
  - !ruby/object:Gem::Dependency
32
29
  name: xml-simple
33
30
  requirement: !ruby/object:Gem::Requirement
34
- none: false
35
31
  requirements:
36
- - - ! '>='
32
+ - - '='
37
33
  - !ruby/object:Gem::Version
38
- version: '0'
34
+ version: 1.1.2
39
35
  type: :runtime
40
36
  prerelease: false
41
37
  version_requirements: !ruby/object:Gem::Requirement
42
- none: false
43
38
  requirements:
44
- - - ! '>='
39
+ - - '='
45
40
  - !ruby/object:Gem::Version
46
- version: '0'
41
+ version: 1.1.2
47
42
  description: Ruby gem/plugin to interact with the Church Community Builder API. Checkout
48
43
  the project on github for more detail.
49
44
  email:
@@ -113,27 +108,26 @@ files:
113
108
  - spec/writers/user_writer_spec.rb
114
109
  homepage: https://github.com/weshays/church-community-builder-api-ruby
115
110
  licenses: []
111
+ metadata: {}
116
112
  post_install_message:
117
113
  rdoc_options: []
118
114
  require_paths:
119
115
  - lib
120
116
  required_ruby_version: !ruby/object:Gem::Requirement
121
- none: false
122
117
  requirements:
123
118
  - - ! '>='
124
119
  - !ruby/object:Gem::Version
125
120
  version: '0'
126
121
  required_rubygems_version: !ruby/object:Gem::Requirement
127
- none: false
128
122
  requirements:
129
123
  - - ! '>='
130
124
  - !ruby/object:Gem::Version
131
125
  version: '0'
132
126
  requirements: []
133
127
  rubyforge_project: Project on www.github.com
134
- rubygems_version: 1.8.25
128
+ rubygems_version: 2.4.5
135
129
  signing_key:
136
- specification_version: 3
130
+ specification_version: 4
137
131
  summary: Ruby gem/plugin to interact with the Church Community Builder API.
138
132
  test_files:
139
133
  - spec/api/user_spec.rb