psc 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +13 -0
- data/.rvmrc +2 -0
- data/.yardopts +4 -0
- data/CHANGELOG.md +4 -0
- data/Gemfile +20 -0
- data/LICENSE +20 -0
- data/README.md +163 -0
- data/Rakefile +69 -0
- data/cucumber.yml +13 -0
- data/features/step_definitions/eval_steps.rb +14 -0
- data/features/step_definitions/setup_steps.rb +7 -0
- data/features/studies.feature +21 -0
- data/features/support/env.rb +33 -0
- data/features/support/int_psc.rb +165 -0
- data/int-psc/README-int-psc.md +57 -0
- data/int-psc/hsqldb/baseline.log +197 -0
- data/int-psc/hsqldb/baseline.properties +17 -0
- data/int-psc/hsqldb/baseline.script +295 -0
- data/int-psc/hsqldb/datasource.properties +18 -0
- data/int-psc/hsqldb/datasource.script +2205 -0
- data/int-psc/jetty/jetty-runner-7.4.0.v20110414.jar +0 -0
- data/int-psc/state/ABC 1200.xml +115 -0
- data/int-psc/state/int-psc-state.xml +64 -0
- data/lib/psc.rb +47 -0
- data/lib/psc/client.rb +35 -0
- data/lib/psc/connection.rb +96 -0
- data/lib/psc/faraday.rb +11 -0
- data/lib/psc/faraday/http_basic.rb +35 -0
- data/lib/psc/faraday/psc_token.rb +42 -0
- data/lib/psc/faraday/string_is_xml.rb +25 -0
- data/lib/psc/version.rb +3 -0
- data/meta.rakefile +30 -0
- data/psc.gemspec +33 -0
- data/spec/fixtures/studies-json.http +37 -0
- data/spec/middleware_helper.rb +18 -0
- data/spec/psc/client_spec.rb +39 -0
- data/spec/psc/connection_spec.rb +156 -0
- data/spec/psc/faraday/http_basic_spec.rb +15 -0
- data/spec/psc/faraday/psc_token_spec.rb +38 -0
- data/spec/psc/faraday/string_is_xml_spec.rb +49 -0
- data/spec/psc/version_spec.rb +11 -0
- data/spec/psc_spec.rb +16 -0
- data/spec/spec_helper.rb +15 -0
- data/tasks/int-psc.rake +84 -0
- data/tasks/psc/TODO +3 -0
- data/tasks/psc/state.rb +393 -0
- metadata +311 -0
metadata
ADDED
@@ -0,0 +1,311 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: psc
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 29
|
5
|
+
prerelease:
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 0
|
9
|
+
- 1
|
10
|
+
version: 0.0.1
|
11
|
+
platform: ruby
|
12
|
+
authors:
|
13
|
+
- Rhett Sutphin
|
14
|
+
autorequire:
|
15
|
+
bindir: bin
|
16
|
+
cert_chain: []
|
17
|
+
|
18
|
+
date: 2011-05-17 00:00:00 -05:00
|
19
|
+
default_executable:
|
20
|
+
dependencies:
|
21
|
+
- !ruby/object:Gem::Dependency
|
22
|
+
name: faraday
|
23
|
+
prerelease: false
|
24
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ~>
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
hash: 3
|
30
|
+
segments:
|
31
|
+
- 0
|
32
|
+
- 7
|
33
|
+
- 0
|
34
|
+
version: 0.7.0
|
35
|
+
type: :runtime
|
36
|
+
version_requirements: *id001
|
37
|
+
- !ruby/object:Gem::Dependency
|
38
|
+
name: builder
|
39
|
+
prerelease: false
|
40
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ">="
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
hash: 15
|
46
|
+
segments:
|
47
|
+
- 2
|
48
|
+
- 1
|
49
|
+
- 2
|
50
|
+
version: 2.1.2
|
51
|
+
type: :runtime
|
52
|
+
version_requirements: *id002
|
53
|
+
- !ruby/object:Gem::Dependency
|
54
|
+
name: faraday-stack
|
55
|
+
prerelease: false
|
56
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ~>
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
hash: 25
|
62
|
+
segments:
|
63
|
+
- 0
|
64
|
+
- 1
|
65
|
+
- 1
|
66
|
+
version: 0.1.1
|
67
|
+
type: :runtime
|
68
|
+
version_requirements: *id003
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: nokogiri
|
71
|
+
prerelease: false
|
72
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ~>
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
hash: 7
|
78
|
+
segments:
|
79
|
+
- 1
|
80
|
+
- 4
|
81
|
+
version: "1.4"
|
82
|
+
type: :runtime
|
83
|
+
version_requirements: *id004
|
84
|
+
- !ruby/object:Gem::Dependency
|
85
|
+
name: activesupport
|
86
|
+
prerelease: false
|
87
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
88
|
+
none: false
|
89
|
+
requirements:
|
90
|
+
- - ">="
|
91
|
+
- !ruby/object:Gem::Version
|
92
|
+
hash: 5
|
93
|
+
segments:
|
94
|
+
- 2
|
95
|
+
- 3
|
96
|
+
version: "2.3"
|
97
|
+
type: :runtime
|
98
|
+
version_requirements: *id005
|
99
|
+
- !ruby/object:Gem::Dependency
|
100
|
+
name: rspec
|
101
|
+
prerelease: false
|
102
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
103
|
+
none: false
|
104
|
+
requirements:
|
105
|
+
- - ~>
|
106
|
+
- !ruby/object:Gem::Version
|
107
|
+
hash: 15
|
108
|
+
segments:
|
109
|
+
- 2
|
110
|
+
- 6
|
111
|
+
version: "2.6"
|
112
|
+
type: :development
|
113
|
+
version_requirements: *id006
|
114
|
+
- !ruby/object:Gem::Dependency
|
115
|
+
name: ci_reporter
|
116
|
+
prerelease: false
|
117
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
118
|
+
none: false
|
119
|
+
requirements:
|
120
|
+
- - ~>
|
121
|
+
- !ruby/object:Gem::Version
|
122
|
+
hash: 3
|
123
|
+
segments:
|
124
|
+
- 1
|
125
|
+
- 6
|
126
|
+
version: "1.6"
|
127
|
+
type: :development
|
128
|
+
version_requirements: *id007
|
129
|
+
- !ruby/object:Gem::Dependency
|
130
|
+
name: cucumber
|
131
|
+
prerelease: false
|
132
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
133
|
+
none: false
|
134
|
+
requirements:
|
135
|
+
- - ~>
|
136
|
+
- !ruby/object:Gem::Version
|
137
|
+
hash: 51
|
138
|
+
segments:
|
139
|
+
- 0
|
140
|
+
- 10
|
141
|
+
- 2
|
142
|
+
version: 0.10.2
|
143
|
+
type: :development
|
144
|
+
version_requirements: *id008
|
145
|
+
- !ruby/object:Gem::Dependency
|
146
|
+
name: childprocess
|
147
|
+
prerelease: false
|
148
|
+
requirement: &id009 !ruby/object:Gem::Requirement
|
149
|
+
none: false
|
150
|
+
requirements:
|
151
|
+
- - ~>
|
152
|
+
- !ruby/object:Gem::Version
|
153
|
+
hash: 9
|
154
|
+
segments:
|
155
|
+
- 0
|
156
|
+
- 1
|
157
|
+
version: "0.1"
|
158
|
+
type: :development
|
159
|
+
version_requirements: *id009
|
160
|
+
- !ruby/object:Gem::Dependency
|
161
|
+
name: highline
|
162
|
+
prerelease: false
|
163
|
+
requirement: &id010 !ruby/object:Gem::Requirement
|
164
|
+
none: false
|
165
|
+
requirements:
|
166
|
+
- - ">="
|
167
|
+
- !ruby/object:Gem::Version
|
168
|
+
hash: 3
|
169
|
+
segments:
|
170
|
+
- 0
|
171
|
+
version: "0"
|
172
|
+
type: :development
|
173
|
+
version_requirements: *id010
|
174
|
+
- !ruby/object:Gem::Dependency
|
175
|
+
name: webmock
|
176
|
+
prerelease: false
|
177
|
+
requirement: &id011 !ruby/object:Gem::Requirement
|
178
|
+
none: false
|
179
|
+
requirements:
|
180
|
+
- - ~>
|
181
|
+
- !ruby/object:Gem::Version
|
182
|
+
hash: 3
|
183
|
+
segments:
|
184
|
+
- 1
|
185
|
+
- 6
|
186
|
+
version: "1.6"
|
187
|
+
type: :development
|
188
|
+
version_requirements: *id011
|
189
|
+
- !ruby/object:Gem::Dependency
|
190
|
+
name: yard
|
191
|
+
prerelease: false
|
192
|
+
requirement: &id012 !ruby/object:Gem::Requirement
|
193
|
+
none: false
|
194
|
+
requirements:
|
195
|
+
- - ~>
|
196
|
+
- !ruby/object:Gem::Version
|
197
|
+
hash: 23
|
198
|
+
segments:
|
199
|
+
- 0
|
200
|
+
- 6
|
201
|
+
- 8
|
202
|
+
version: 0.6.8
|
203
|
+
type: :development
|
204
|
+
version_requirements: *id012
|
205
|
+
description: A lightweight ruby client for Patient Study Calendar's RESTful HTTP API
|
206
|
+
email:
|
207
|
+
- r-sutphin@northwestern.edu
|
208
|
+
executables: []
|
209
|
+
|
210
|
+
extensions: []
|
211
|
+
|
212
|
+
extra_rdoc_files: []
|
213
|
+
|
214
|
+
files:
|
215
|
+
- .gitignore
|
216
|
+
- .rvmrc
|
217
|
+
- .yardopts
|
218
|
+
- CHANGELOG.md
|
219
|
+
- Gemfile
|
220
|
+
- LICENSE
|
221
|
+
- README.md
|
222
|
+
- Rakefile
|
223
|
+
- cucumber.yml
|
224
|
+
- features/step_definitions/eval_steps.rb
|
225
|
+
- features/step_definitions/setup_steps.rb
|
226
|
+
- features/studies.feature
|
227
|
+
- features/support/env.rb
|
228
|
+
- features/support/int_psc.rb
|
229
|
+
- int-psc/README-int-psc.md
|
230
|
+
- int-psc/bin/.gitignore
|
231
|
+
- int-psc/hsqldb/baseline.log
|
232
|
+
- int-psc/hsqldb/baseline.properties
|
233
|
+
- int-psc/hsqldb/baseline.script
|
234
|
+
- int-psc/hsqldb/datasource.properties
|
235
|
+
- int-psc/hsqldb/datasource.script
|
236
|
+
- int-psc/jetty/jetty-runner-7.4.0.v20110414.jar
|
237
|
+
- int-psc/state/ABC 1200.xml
|
238
|
+
- int-psc/state/int-psc-state.xml
|
239
|
+
- lib/psc.rb
|
240
|
+
- lib/psc/client.rb
|
241
|
+
- lib/psc/connection.rb
|
242
|
+
- lib/psc/faraday.rb
|
243
|
+
- lib/psc/faraday/http_basic.rb
|
244
|
+
- lib/psc/faraday/psc_token.rb
|
245
|
+
- lib/psc/faraday/string_is_xml.rb
|
246
|
+
- lib/psc/version.rb
|
247
|
+
- meta.rakefile
|
248
|
+
- psc.gemspec
|
249
|
+
- spec/fixtures/studies-json.http
|
250
|
+
- spec/middleware_helper.rb
|
251
|
+
- spec/psc/client_spec.rb
|
252
|
+
- spec/psc/connection_spec.rb
|
253
|
+
- spec/psc/faraday/http_basic_spec.rb
|
254
|
+
- spec/psc/faraday/psc_token_spec.rb
|
255
|
+
- spec/psc/faraday/string_is_xml_spec.rb
|
256
|
+
- spec/psc/version_spec.rb
|
257
|
+
- spec/psc_spec.rb
|
258
|
+
- spec/spec_helper.rb
|
259
|
+
- tasks/int-psc.rake
|
260
|
+
- tasks/psc/TODO
|
261
|
+
- tasks/psc/state.rb
|
262
|
+
has_rdoc: true
|
263
|
+
homepage: https://github.com/NUBIC/psc.rb
|
264
|
+
licenses: []
|
265
|
+
|
266
|
+
post_install_message:
|
267
|
+
rdoc_options: []
|
268
|
+
|
269
|
+
require_paths:
|
270
|
+
- lib
|
271
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
272
|
+
none: false
|
273
|
+
requirements:
|
274
|
+
- - ">="
|
275
|
+
- !ruby/object:Gem::Version
|
276
|
+
hash: 3
|
277
|
+
segments:
|
278
|
+
- 0
|
279
|
+
version: "0"
|
280
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
281
|
+
none: false
|
282
|
+
requirements:
|
283
|
+
- - ">="
|
284
|
+
- !ruby/object:Gem::Version
|
285
|
+
hash: 3
|
286
|
+
segments:
|
287
|
+
- 0
|
288
|
+
version: "0"
|
289
|
+
requirements: []
|
290
|
+
|
291
|
+
rubyforge_project:
|
292
|
+
rubygems_version: 1.5.2
|
293
|
+
signing_key:
|
294
|
+
specification_version: 3
|
295
|
+
summary: A lightweight ruby client for Patient Study Calendar's RESTful HTTP API
|
296
|
+
test_files:
|
297
|
+
- features/step_definitions/eval_steps.rb
|
298
|
+
- features/step_definitions/setup_steps.rb
|
299
|
+
- features/studies.feature
|
300
|
+
- features/support/env.rb
|
301
|
+
- features/support/int_psc.rb
|
302
|
+
- spec/fixtures/studies-json.http
|
303
|
+
- spec/middleware_helper.rb
|
304
|
+
- spec/psc/client_spec.rb
|
305
|
+
- spec/psc/connection_spec.rb
|
306
|
+
- spec/psc/faraday/http_basic_spec.rb
|
307
|
+
- spec/psc/faraday/psc_token_spec.rb
|
308
|
+
- spec/psc/faraday/string_is_xml_spec.rb
|
309
|
+
- spec/psc/version_spec.rb
|
310
|
+
- spec/psc_spec.rb
|
311
|
+
- spec/spec_helper.rb
|