panoptes-client 0.3.4 → 0.3.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6f62647379be8e2afccf1f99eb79eed003e9f767
4
- data.tar.gz: 715ab549638cb7394245c92a58c0f4e94b86d23e
3
+ metadata.gz: d28db2d4a5889665f4804084304330802e0d6886
4
+ data.tar.gz: 3e70ceb4603b7f208bd1e395fab840e4ea2807ab
5
5
  SHA512:
6
- metadata.gz: c117bc101e16dc163290b80aa1250c8b6ebbb81e5f340d1d1912afbafb868d5bb0e3d8bde4fb3fbf1f4c4725fe4d06dde72c9272896544fa86df0637220ff838
7
- data.tar.gz: 5182de05083421f555d4ca98c7182820a7ba306934ba6b7d2d1a10e3c9a100bde044954b744a480abbc463176f1e1daaa9003577879fc7fa8804728d53f8492a
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
@@ -1,5 +1,5 @@
1
1
  module Panoptes
2
2
  class Client
3
- VERSION = "0.3.4".freeze
3
+ VERSION = "0.3.5".freeze
4
4
  end
5
5
  end
@@ -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 = ["Marten Veldthuis"]
10
- spec.email = ["marten@veldthuis.com"]
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
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-16 00:00:00.000000000 Z
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.6.11
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: