caseblocks_api 0.2.19 → 0.2.20
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/Gemfile +1 -1
- data/Gemfile.lock +5 -5
- data/VERSION +1 -1
- data/caseblocks_api.gemspec +9 -8
- data/lib/caseblocks_api.rb +1 -1
- metadata +9 -32
checksums.yaml
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
---
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
NmM4ODQ4Y2ExN2U3ZGVkMTg3ZmZiODgxOWE3YmI4NmQ3MGE3MDEzMA==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
MTc2MzhlZWQxOGQyMjQ5ODMyZTYzYjFjZjVkY2E1YmE4MmM5Nzg3Zg==
|
7
|
+
SHA512:
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
N2U2MTM3ZjBiMWVjZWQ5YTM0MGY1YzA0ZTM0ODdmOTNkMzFiMTMzNjhhMzVk
|
10
|
+
M2I0YjA3MGNjNGJmMGE5Nzg4N2QzMjFmZDNmMjMzMWE3ODliZWViOGViYTdm
|
11
|
+
YTEyMmIwMDlhYzI1ODk1ZTcwMDU4M2FiOTU2NjU2NzhjYTAwNDE=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
YjExMmNjYTFmNWVlM2FiZTI0MmRkNzE4MjYxMDY0MGJmYmU4YWY3MjZhMjQw
|
14
|
+
YzE1MTM3MmIxY2E1Mjg1MTRkNTk2Y2ZkOTIwOGY3Y2M2ZGFiM2MzYjRmMDY1
|
15
|
+
MjczZTBkYmU0Njk2NGJmM2FiZDJhMDViYjNhNzFmOWI5YjExNDI=
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -15,9 +15,9 @@ GEM
|
|
15
15
|
thor (>= 0.14.6)
|
16
16
|
guard-rspec (1.1.0)
|
17
17
|
guard (>= 1.1)
|
18
|
-
httparty (0.
|
18
|
+
httparty (0.10.2)
|
19
19
|
multi_json (~> 1.0)
|
20
|
-
multi_xml
|
20
|
+
multi_xml (>= 0.5.2)
|
21
21
|
i18n (0.6.0)
|
22
22
|
jeweler (1.8.4)
|
23
23
|
bundler (~> 1.0)
|
@@ -30,8 +30,8 @@ GEM
|
|
30
30
|
rb-fsevent (~> 0.9.1)
|
31
31
|
rb-inotify (~> 0.8.8)
|
32
32
|
method_source (0.7.1)
|
33
|
-
multi_json (1.
|
34
|
-
multi_xml (0.5.
|
33
|
+
multi_json (1.10.1)
|
34
|
+
multi_xml (0.5.5)
|
35
35
|
pry (0.9.9.6)
|
36
36
|
coderay (~> 1.0.5)
|
37
37
|
method_source (~> 0.7.1)
|
@@ -67,7 +67,7 @@ DEPENDENCIES
|
|
67
67
|
activesupport
|
68
68
|
bundler
|
69
69
|
guard-rspec
|
70
|
-
httparty
|
70
|
+
httparty (~> 0.10.0)
|
71
71
|
jeweler (~> 1.8.4)
|
72
72
|
pry
|
73
73
|
rdoc (~> 3.12)
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.17
|
data/caseblocks_api.gemspec
CHANGED
@@ -2,14 +2,15 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
+
# stub: caseblocks_api 0.2.17 ruby lib
|
5
6
|
|
6
7
|
Gem::Specification.new do |s|
|
7
8
|
s.name = "caseblocks_api"
|
8
|
-
s.version = "0.2.
|
9
|
+
s.version = "0.2.20"
|
9
10
|
|
10
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
-
s.authors = ["Mark Provan"
|
12
|
-
s.date = "
|
12
|
+
s.authors = ["Mark Provan"]
|
13
|
+
s.date = "2014-06-18"
|
13
14
|
s.email = "development@emergeadapt.com"
|
14
15
|
s.extra_rdoc_files = [
|
15
16
|
"LICENSE.txt",
|
@@ -45,14 +46,14 @@ Gem::Specification.new do |s|
|
|
45
46
|
s.homepage = "http://github.com/EmergeAdapt/caseblocks_api"
|
46
47
|
s.licenses = ["MIT"]
|
47
48
|
s.require_paths = ["lib"]
|
48
|
-
s.rubygems_version = "1.
|
49
|
+
s.rubygems_version = "2.1.10"
|
49
50
|
s.summary = "Ruby wrapper for CaseBlocks API"
|
50
51
|
|
51
52
|
if s.respond_to? :specification_version then
|
52
|
-
s.specification_version =
|
53
|
+
s.specification_version = 4
|
53
54
|
|
54
55
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
55
|
-
s.add_runtime_dependency(%q<httparty>, ["
|
56
|
+
s.add_runtime_dependency(%q<httparty>, ["~> 0.10.0"])
|
56
57
|
s.add_runtime_dependency(%q<activesupport>, [">= 0"])
|
57
58
|
s.add_development_dependency(%q<rspec>, ["~> 2.11"])
|
58
59
|
s.add_development_dependency(%q<rdoc>, ["~> 3.12"])
|
@@ -63,7 +64,7 @@ Gem::Specification.new do |s|
|
|
63
64
|
s.add_development_dependency(%q<webmock>, [">= 0"])
|
64
65
|
s.add_development_dependency(%q<rspec-given>, [">= 0"])
|
65
66
|
else
|
66
|
-
s.add_dependency(%q<httparty>, ["
|
67
|
+
s.add_dependency(%q<httparty>, ["~> 0.10.0"])
|
67
68
|
s.add_dependency(%q<activesupport>, [">= 0"])
|
68
69
|
s.add_dependency(%q<rspec>, ["~> 2.11"])
|
69
70
|
s.add_dependency(%q<rdoc>, ["~> 3.12"])
|
@@ -75,7 +76,7 @@ Gem::Specification.new do |s|
|
|
75
76
|
s.add_dependency(%q<rspec-given>, [">= 0"])
|
76
77
|
end
|
77
78
|
else
|
78
|
-
s.add_dependency(%q<httparty>, ["
|
79
|
+
s.add_dependency(%q<httparty>, ["~> 0.10.0"])
|
79
80
|
s.add_dependency(%q<activesupport>, [">= 0"])
|
80
81
|
s.add_dependency(%q<rspec>, ["~> 2.11"])
|
81
82
|
s.add_dependency(%q<rdoc>, ["~> 3.12"])
|
data/lib/caseblocks_api.rb
CHANGED
@@ -54,7 +54,7 @@ module CaseblocksAPI
|
|
54
54
|
response = self.class.post("/case_blocks/messages", :body => query.to_json)
|
55
55
|
if response.code != 201
|
56
56
|
response_hash = {:body => response.body, :code => response.code, :message => response.message, :headers => response.headers.inspect}
|
57
|
-
raise CaseblocksAPI::CaseCreationError.new("Unable to create
|
57
|
+
raise CaseblocksAPI::CaseCreationError.new("Unable to create message - received response code #{response.code}", response_hash)
|
58
58
|
else
|
59
59
|
return response["message"]
|
60
60
|
end
|
metadata
CHANGED
@@ -1,37 +1,32 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: caseblocks_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
5
|
-
prerelease:
|
4
|
+
version: 0.2.20
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Mark Provan
|
9
|
-
- Stewart McKee
|
10
8
|
autorequire:
|
11
9
|
bindir: bin
|
12
10
|
cert_chain: []
|
13
|
-
date:
|
11
|
+
date: 2014-06-18 00:00:00.000000000 Z
|
14
12
|
dependencies:
|
15
13
|
- !ruby/object:Gem::Dependency
|
16
14
|
name: httparty
|
17
15
|
requirement: !ruby/object:Gem::Requirement
|
18
|
-
none: false
|
19
16
|
requirements:
|
20
|
-
- -
|
17
|
+
- - ~>
|
21
18
|
- !ruby/object:Gem::Version
|
22
|
-
version:
|
19
|
+
version: 0.10.0
|
23
20
|
type: :runtime
|
24
21
|
prerelease: false
|
25
22
|
version_requirements: !ruby/object:Gem::Requirement
|
26
|
-
none: false
|
27
23
|
requirements:
|
28
|
-
- -
|
24
|
+
- - ~>
|
29
25
|
- !ruby/object:Gem::Version
|
30
|
-
version:
|
26
|
+
version: 0.10.0
|
31
27
|
- !ruby/object:Gem::Dependency
|
32
28
|
name: activesupport
|
33
29
|
requirement: !ruby/object:Gem::Requirement
|
34
|
-
none: false
|
35
30
|
requirements:
|
36
31
|
- - ! '>='
|
37
32
|
- !ruby/object:Gem::Version
|
@@ -39,7 +34,6 @@ dependencies:
|
|
39
34
|
type: :runtime
|
40
35
|
prerelease: false
|
41
36
|
version_requirements: !ruby/object:Gem::Requirement
|
42
|
-
none: false
|
43
37
|
requirements:
|
44
38
|
- - ! '>='
|
45
39
|
- !ruby/object:Gem::Version
|
@@ -47,7 +41,6 @@ dependencies:
|
|
47
41
|
- !ruby/object:Gem::Dependency
|
48
42
|
name: rspec
|
49
43
|
requirement: !ruby/object:Gem::Requirement
|
50
|
-
none: false
|
51
44
|
requirements:
|
52
45
|
- - ~>
|
53
46
|
- !ruby/object:Gem::Version
|
@@ -55,7 +48,6 @@ dependencies:
|
|
55
48
|
type: :development
|
56
49
|
prerelease: false
|
57
50
|
version_requirements: !ruby/object:Gem::Requirement
|
58
|
-
none: false
|
59
51
|
requirements:
|
60
52
|
- - ~>
|
61
53
|
- !ruby/object:Gem::Version
|
@@ -63,7 +55,6 @@ dependencies:
|
|
63
55
|
- !ruby/object:Gem::Dependency
|
64
56
|
name: rdoc
|
65
57
|
requirement: !ruby/object:Gem::Requirement
|
66
|
-
none: false
|
67
58
|
requirements:
|
68
59
|
- - ~>
|
69
60
|
- !ruby/object:Gem::Version
|
@@ -71,7 +62,6 @@ dependencies:
|
|
71
62
|
type: :development
|
72
63
|
prerelease: false
|
73
64
|
version_requirements: !ruby/object:Gem::Requirement
|
74
|
-
none: false
|
75
65
|
requirements:
|
76
66
|
- - ~>
|
77
67
|
- !ruby/object:Gem::Version
|
@@ -79,7 +69,6 @@ dependencies:
|
|
79
69
|
- !ruby/object:Gem::Dependency
|
80
70
|
name: bundler
|
81
71
|
requirement: !ruby/object:Gem::Requirement
|
82
|
-
none: false
|
83
72
|
requirements:
|
84
73
|
- - ! '>='
|
85
74
|
- !ruby/object:Gem::Version
|
@@ -87,7 +76,6 @@ dependencies:
|
|
87
76
|
type: :development
|
88
77
|
prerelease: false
|
89
78
|
version_requirements: !ruby/object:Gem::Requirement
|
90
|
-
none: false
|
91
79
|
requirements:
|
92
80
|
- - ! '>='
|
93
81
|
- !ruby/object:Gem::Version
|
@@ -95,7 +83,6 @@ dependencies:
|
|
95
83
|
- !ruby/object:Gem::Dependency
|
96
84
|
name: jeweler
|
97
85
|
requirement: !ruby/object:Gem::Requirement
|
98
|
-
none: false
|
99
86
|
requirements:
|
100
87
|
- - ~>
|
101
88
|
- !ruby/object:Gem::Version
|
@@ -103,7 +90,6 @@ dependencies:
|
|
103
90
|
type: :development
|
104
91
|
prerelease: false
|
105
92
|
version_requirements: !ruby/object:Gem::Requirement
|
106
|
-
none: false
|
107
93
|
requirements:
|
108
94
|
- - ~>
|
109
95
|
- !ruby/object:Gem::Version
|
@@ -111,7 +97,6 @@ dependencies:
|
|
111
97
|
- !ruby/object:Gem::Dependency
|
112
98
|
name: guard-rspec
|
113
99
|
requirement: !ruby/object:Gem::Requirement
|
114
|
-
none: false
|
115
100
|
requirements:
|
116
101
|
- - ! '>='
|
117
102
|
- !ruby/object:Gem::Version
|
@@ -119,7 +104,6 @@ dependencies:
|
|
119
104
|
type: :development
|
120
105
|
prerelease: false
|
121
106
|
version_requirements: !ruby/object:Gem::Requirement
|
122
|
-
none: false
|
123
107
|
requirements:
|
124
108
|
- - ! '>='
|
125
109
|
- !ruby/object:Gem::Version
|
@@ -127,7 +111,6 @@ dependencies:
|
|
127
111
|
- !ruby/object:Gem::Dependency
|
128
112
|
name: pry
|
129
113
|
requirement: !ruby/object:Gem::Requirement
|
130
|
-
none: false
|
131
114
|
requirements:
|
132
115
|
- - ! '>='
|
133
116
|
- !ruby/object:Gem::Version
|
@@ -135,7 +118,6 @@ dependencies:
|
|
135
118
|
type: :development
|
136
119
|
prerelease: false
|
137
120
|
version_requirements: !ruby/object:Gem::Requirement
|
138
|
-
none: false
|
139
121
|
requirements:
|
140
122
|
- - ! '>='
|
141
123
|
- !ruby/object:Gem::Version
|
@@ -143,7 +125,6 @@ dependencies:
|
|
143
125
|
- !ruby/object:Gem::Dependency
|
144
126
|
name: webmock
|
145
127
|
requirement: !ruby/object:Gem::Requirement
|
146
|
-
none: false
|
147
128
|
requirements:
|
148
129
|
- - ! '>='
|
149
130
|
- !ruby/object:Gem::Version
|
@@ -151,7 +132,6 @@ dependencies:
|
|
151
132
|
type: :development
|
152
133
|
prerelease: false
|
153
134
|
version_requirements: !ruby/object:Gem::Requirement
|
154
|
-
none: false
|
155
135
|
requirements:
|
156
136
|
- - ! '>='
|
157
137
|
- !ruby/object:Gem::Version
|
@@ -159,7 +139,6 @@ dependencies:
|
|
159
139
|
- !ruby/object:Gem::Dependency
|
160
140
|
name: rspec-given
|
161
141
|
requirement: !ruby/object:Gem::Requirement
|
162
|
-
none: false
|
163
142
|
requirements:
|
164
143
|
- - ! '>='
|
165
144
|
- !ruby/object:Gem::Version
|
@@ -167,7 +146,6 @@ dependencies:
|
|
167
146
|
type: :development
|
168
147
|
prerelease: false
|
169
148
|
version_requirements: !ruby/object:Gem::Requirement
|
170
|
-
none: false
|
171
149
|
requirements:
|
172
150
|
- - ! '>='
|
173
151
|
- !ruby/object:Gem::Version
|
@@ -208,26 +186,25 @@ files:
|
|
208
186
|
homepage: http://github.com/EmergeAdapt/caseblocks_api
|
209
187
|
licenses:
|
210
188
|
- MIT
|
189
|
+
metadata: {}
|
211
190
|
post_install_message:
|
212
191
|
rdoc_options: []
|
213
192
|
require_paths:
|
214
193
|
- lib
|
215
194
|
required_ruby_version: !ruby/object:Gem::Requirement
|
216
|
-
none: false
|
217
195
|
requirements:
|
218
196
|
- - ! '>='
|
219
197
|
- !ruby/object:Gem::Version
|
220
198
|
version: '0'
|
221
199
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
222
|
-
none: false
|
223
200
|
requirements:
|
224
201
|
- - ! '>='
|
225
202
|
- !ruby/object:Gem::Version
|
226
203
|
version: '0'
|
227
204
|
requirements: []
|
228
205
|
rubyforge_project:
|
229
|
-
rubygems_version: 1.
|
206
|
+
rubygems_version: 2.1.10
|
230
207
|
signing_key:
|
231
|
-
specification_version:
|
208
|
+
specification_version: 4
|
232
209
|
summary: Ruby wrapper for CaseBlocks API
|
233
210
|
test_files: []
|