panoptes-client 0.3.4 → 0.3.5
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/lib/panoptes/client/classifications.rb +8 -0
- data/lib/panoptes/client/version.rb +1 -1
- data/panoptes-client.gemspec +2 -2
- metadata +8 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d28db2d4a5889665f4804084304330802e0d6886
|
|
4
|
+
data.tar.gz: 3e70ceb4603b7f208bd1e395fab840e4ea2807ab
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c7dbcbfac4214e079c968df2e81f2923b59b8250bc3aab8778f68b53cf11428a80165ea15d1b62250fd6e3f3ee232cfa2a191a54528be4ab4c40504015b928af
|
|
7
|
+
data.tar.gz: cdaec50e7c1608f24f791741f85e98ec1ce81cde7d7ae99c704efb664e76ac9019b86a53e0e0e3bf039064244d706db7f7f702307ed2af3ac34951455cc83bf5
|
|
@@ -8,6 +8,14 @@ module Panoptes
|
|
|
8
8
|
subject_id: subject_id
|
|
9
9
|
}, resource: "classifications")
|
|
10
10
|
end
|
|
11
|
+
|
|
12
|
+
def get_user_classifications(user_id, workflow_id)
|
|
13
|
+
panoptes.paginate("/classifications/project", {
|
|
14
|
+
admin: true,
|
|
15
|
+
workflow_id: workflow_id,
|
|
16
|
+
user_id: user_id
|
|
17
|
+
}, resource: "classifications")
|
|
18
|
+
end
|
|
11
19
|
end
|
|
12
20
|
end
|
|
13
21
|
end
|
data/panoptes-client.gemspec
CHANGED
|
@@ -6,8 +6,8 @@ require 'panoptes/client/version'
|
|
|
6
6
|
Gem::Specification.new do |spec|
|
|
7
7
|
spec.name = "panoptes-client"
|
|
8
8
|
spec.version = Panoptes::Client::VERSION
|
|
9
|
-
spec.authors = [
|
|
10
|
-
spec.email = [
|
|
9
|
+
spec.authors = ['Marten Veldthuis', 'Zach Wolfenbarger', 'Amy Boyer']
|
|
10
|
+
spec.email = ['marten@veldthuis.com', 'zach@zooniverse.org', 'amy@zooniverse.org']
|
|
11
11
|
|
|
12
12
|
spec.summary = %q{API wrapper for https://panoptes.zooniverse.org}
|
|
13
13
|
spec.homepage = "https://github.com/zooniverse/panoptes-client.rb"
|
metadata
CHANGED
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: panoptes-client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Marten Veldthuis
|
|
8
|
+
- Zach Wolfenbarger
|
|
9
|
+
- Amy Boyer
|
|
8
10
|
autorequire:
|
|
9
11
|
bindir: exe
|
|
10
12
|
cert_chain: []
|
|
11
|
-
date: 2017-11-
|
|
13
|
+
date: 2017-11-17 00:00:00.000000000 Z
|
|
12
14
|
dependencies:
|
|
13
15
|
- !ruby/object:Gem::Dependency
|
|
14
16
|
name: faraday
|
|
@@ -125,6 +127,8 @@ dependencies:
|
|
|
125
127
|
description:
|
|
126
128
|
email:
|
|
127
129
|
- marten@veldthuis.com
|
|
130
|
+
- zach@zooniverse.org
|
|
131
|
+
- amy@zooniverse.org
|
|
128
132
|
executables: []
|
|
129
133
|
extensions: []
|
|
130
134
|
extra_rdoc_files: []
|
|
@@ -184,8 +188,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
184
188
|
version: '0'
|
|
185
189
|
requirements: []
|
|
186
190
|
rubyforge_project:
|
|
187
|
-
rubygems_version: 2.
|
|
191
|
+
rubygems_version: 2.5.2
|
|
188
192
|
signing_key:
|
|
189
193
|
specification_version: 4
|
|
190
194
|
summary: API wrapper for https://panoptes.zooniverse.org
|
|
191
195
|
test_files: []
|
|
196
|
+
has_rdoc:
|