cellect-client 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +15 -0
  3. data/.rspec +2 -0
  4. data/Gemfile +2 -0
  5. data/README.md +19 -0
  6. data/Rakefile +9 -0
  7. data/cellect-client.gemspec +35 -0
  8. data/cellect.gemspec +33 -0
  9. data/data/.gitkeep +0 -0
  10. data/lib/cellect/client/connection.rb +58 -0
  11. data/lib/cellect/client/node_set.rb +35 -0
  12. data/lib/cellect/client.rb +28 -0
  13. data/lib/cellect/node_set.rb +38 -0
  14. data/lib/cellect/version.rb +3 -0
  15. data/lib/cellect.rb +7 -0
  16. data/log/.gitkeep +0 -0
  17. data/spec/client/connection_spec.rb +64 -0
  18. data/spec/client/node_set_spec.rb +24 -0
  19. data/spec/fixtures/project_data/grouped_pairwise_priority.json +109 -0
  20. data/spec/fixtures/project_data/grouped_pairwise_random.json +89 -0
  21. data/spec/fixtures/project_data/grouped_priority.json +59 -0
  22. data/spec/fixtures/project_data/grouped_random.json +49 -0
  23. data/spec/fixtures/project_data/pairwise_priority.json +49 -0
  24. data/spec/fixtures/project_data/pairwise_random.json +39 -0
  25. data/spec/fixtures/project_data/priority.json +49 -0
  26. data/spec/fixtures/project_data/random.json +39 -0
  27. data/spec/fixtures/user_data/complete_user.json +118 -0
  28. data/spec/fixtures/user_data/new_user.json +26 -0
  29. data/spec/fixtures/user_data/partial_user.json +58 -0
  30. data/spec/spec_helper.rb +43 -0
  31. data/spec/support/cellect_helper.rb +12 -0
  32. data/spec/support/shared_api_context.rb +11 -0
  33. data/spec/support/shared_examples_for_node_set.rb +27 -0
  34. data/spec/support/shared_examples_for_project.rb +26 -0
  35. data/spec/support/shared_examples_for_set.rb +34 -0
  36. data/spec/support/spec_adapter.rb +43 -0
  37. data/spec/support/zk_setup.rb +26 -0
  38. data/tmp/.gitkeep +0 -0
  39. metadata +242 -0
metadata ADDED
@@ -0,0 +1,242 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: cellect-client
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Michael Parrish
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-05-15 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.5'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.5'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: oj
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rspec
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rack-test
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: pry
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: celluloid
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - '='
102
+ - !ruby/object:Gem::Version
103
+ version: 0.16.0.pre
104
+ type: :runtime
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - '='
109
+ - !ruby/object:Gem::Version
110
+ version: 0.16.0.pre
111
+ - !ruby/object:Gem::Dependency
112
+ name: celluloid-io
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - '='
116
+ - !ruby/object:Gem::Version
117
+ version: 0.16.0.pre
118
+ type: :runtime
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - '='
123
+ - !ruby/object:Gem::Version
124
+ version: 0.16.0.pre
125
+ - !ruby/object:Gem::Dependency
126
+ name: http
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: '0.6'
132
+ type: :runtime
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - "~>"
137
+ - !ruby/object:Gem::Version
138
+ version: '0.6'
139
+ - !ruby/object:Gem::Dependency
140
+ name: zk
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - "~>"
144
+ - !ruby/object:Gem::Version
145
+ version: '1.9'
146
+ type: :runtime
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - "~>"
151
+ - !ruby/object:Gem::Version
152
+ version: '1.9'
153
+ description: ''
154
+ email:
155
+ - michael@zooniverse.org
156
+ executables: []
157
+ extensions: []
158
+ extra_rdoc_files: []
159
+ files:
160
+ - ".gitignore"
161
+ - ".rspec"
162
+ - Gemfile
163
+ - README.md
164
+ - Rakefile
165
+ - cellect-client.gemspec
166
+ - cellect.gemspec
167
+ - data/.gitkeep
168
+ - lib/cellect.rb
169
+ - lib/cellect/client.rb
170
+ - lib/cellect/client/connection.rb
171
+ - lib/cellect/client/node_set.rb
172
+ - lib/cellect/node_set.rb
173
+ - lib/cellect/version.rb
174
+ - log/.gitkeep
175
+ - spec/client/connection_spec.rb
176
+ - spec/client/node_set_spec.rb
177
+ - spec/fixtures/project_data/grouped_pairwise_priority.json
178
+ - spec/fixtures/project_data/grouped_pairwise_random.json
179
+ - spec/fixtures/project_data/grouped_priority.json
180
+ - spec/fixtures/project_data/grouped_random.json
181
+ - spec/fixtures/project_data/pairwise_priority.json
182
+ - spec/fixtures/project_data/pairwise_random.json
183
+ - spec/fixtures/project_data/priority.json
184
+ - spec/fixtures/project_data/random.json
185
+ - spec/fixtures/user_data/complete_user.json
186
+ - spec/fixtures/user_data/new_user.json
187
+ - spec/fixtures/user_data/partial_user.json
188
+ - spec/spec_helper.rb
189
+ - spec/support/cellect_helper.rb
190
+ - spec/support/shared_api_context.rb
191
+ - spec/support/shared_examples_for_node_set.rb
192
+ - spec/support/shared_examples_for_project.rb
193
+ - spec/support/shared_examples_for_set.rb
194
+ - spec/support/spec_adapter.rb
195
+ - spec/support/zk_setup.rb
196
+ - tmp/.gitkeep
197
+ homepage: https://github.com/parrish/Cellect
198
+ licenses:
199
+ - MIT
200
+ metadata: {}
201
+ post_install_message:
202
+ rdoc_options: []
203
+ require_paths:
204
+ - lib
205
+ required_ruby_version: !ruby/object:Gem::Requirement
206
+ requirements:
207
+ - - ">="
208
+ - !ruby/object:Gem::Version
209
+ version: '0'
210
+ required_rubygems_version: !ruby/object:Gem::Requirement
211
+ requirements:
212
+ - - ">="
213
+ - !ruby/object:Gem::Version
214
+ version: '0'
215
+ requirements: []
216
+ rubyforge_project:
217
+ rubygems_version: 2.2.2
218
+ signing_key:
219
+ specification_version: 4
220
+ summary: ''
221
+ test_files:
222
+ - spec/client/connection_spec.rb
223
+ - spec/client/node_set_spec.rb
224
+ - spec/fixtures/project_data/grouped_pairwise_priority.json
225
+ - spec/fixtures/project_data/grouped_pairwise_random.json
226
+ - spec/fixtures/project_data/grouped_priority.json
227
+ - spec/fixtures/project_data/grouped_random.json
228
+ - spec/fixtures/project_data/pairwise_priority.json
229
+ - spec/fixtures/project_data/pairwise_random.json
230
+ - spec/fixtures/project_data/priority.json
231
+ - spec/fixtures/project_data/random.json
232
+ - spec/fixtures/user_data/complete_user.json
233
+ - spec/fixtures/user_data/new_user.json
234
+ - spec/fixtures/user_data/partial_user.json
235
+ - spec/spec_helper.rb
236
+ - spec/support/cellect_helper.rb
237
+ - spec/support/shared_api_context.rb
238
+ - spec/support/shared_examples_for_node_set.rb
239
+ - spec/support/shared_examples_for_project.rb
240
+ - spec/support/shared_examples_for_set.rb
241
+ - spec/support/spec_adapter.rb
242
+ - spec/support/zk_setup.rb