rturk 2.10.2 → 2.10.3
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -1
- data/.gitmodules +0 -3
- data/CHANGELOG.markdown +4 -0
- data/README.markdown +8 -0
- data/lib/rturk/version.rb +1 -1
- data/rturk.gemspec +4 -4
- data/spec/{mturk.sample.yml → mturk.yml} +0 -0
- metadata +112 -99
- data/VERSION +0 -1
data/.gitignore
CHANGED
data/.gitmodules
CHANGED
data/CHANGELOG.markdown
CHANGED
data/README.markdown
CHANGED
@@ -1,4 +1,6 @@
|
|
1
1
|
# RTurk - A ridiculously simple Mechanical Turk library in Ruby
|
2
|
+
[![Build
|
3
|
+
Status](https://secure.travis-ci.org/mdp/rturk.png)](http://travis-ci.org/mdp/rturk)
|
2
4
|
|
3
5
|
## What's it do?!?
|
4
6
|
|
@@ -10,6 +12,7 @@ If you're integrating RTurk with a Rails app, do yourself a favor and check out
|
|
10
12
|
|
11
13
|
## Installation
|
12
14
|
|
15
|
+
# Requires Ruby >1.9.2
|
13
16
|
gem install rturk
|
14
17
|
|
15
18
|
## Use
|
@@ -91,6 +94,11 @@ The form in your page MUST CONTAIN the AssignmentID in a hidden input element. Y
|
|
91
94
|
|
92
95
|
Anything submitted in this form will be sent to Amazon and saved for your review later.
|
93
96
|
|
97
|
+
## Testing
|
98
|
+
|
99
|
+
bundle install
|
100
|
+
rake
|
101
|
+
|
94
102
|
## More information
|
95
103
|
|
96
104
|
Take a look at the [Amazon MTurk developer docs](http://docs.amazonwebservices.com/AWSMechTurk/latest/AWSMechanicalTurkRequester/) for more information. They have a complete list of API operations, all of which can be called with this library.
|
data/lib/rturk/version.rb
CHANGED
data/rturk.gemspec
CHANGED
@@ -9,8 +9,8 @@ Gem::Specification.new do |s|
|
|
9
9
|
s.summary = "Mechanical Turk API Wrapper"
|
10
10
|
|
11
11
|
s.authors = ["Mark Percival", "Zach Hale", "David Balatero", "Rob Hanlon"]
|
12
|
-
s.date = "
|
13
|
-
s.email = "
|
12
|
+
s.date = "2013-08-19"
|
13
|
+
s.email = "mk@mdp.im"
|
14
14
|
s.extra_rdoc_files = [
|
15
15
|
"LICENSE",
|
16
16
|
"README.markdown"
|
@@ -25,8 +25,8 @@ Gem::Specification.new do |s|
|
|
25
25
|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
26
26
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
27
27
|
s.require_paths = ["lib"]
|
28
|
-
s.add_dependency('rest-client', "
|
29
|
-
s.add_dependency('nokogiri', "
|
28
|
+
s.add_dependency('rest-client', "1.6.7")
|
29
|
+
s.add_dependency('nokogiri', "1.5.10")
|
30
30
|
|
31
31
|
# Development dependencies
|
32
32
|
s.add_development_dependency('rspec', "~> 1.3.1")
|
File without changes
|
metadata
CHANGED
@@ -1,10 +1,15 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: rturk
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 33
|
5
5
|
prerelease:
|
6
|
+
segments:
|
7
|
+
- 2
|
8
|
+
- 10
|
9
|
+
- 3
|
10
|
+
version: 2.10.3
|
6
11
|
platform: ruby
|
7
|
-
authors:
|
12
|
+
authors:
|
8
13
|
- Mark Percival
|
9
14
|
- Zach Hale
|
10
15
|
- David Balatero
|
@@ -12,112 +17,110 @@ authors:
|
|
12
17
|
autorequire:
|
13
18
|
bindir: bin
|
14
19
|
cert_chain: []
|
15
|
-
|
16
|
-
|
17
|
-
|
20
|
+
|
21
|
+
date: 2013-08-19 00:00:00 +00:00
|
22
|
+
default_executable:
|
23
|
+
dependencies:
|
24
|
+
- !ruby/object:Gem::Dependency
|
18
25
|
name: rest-client
|
19
|
-
requirement: !ruby/object:Gem::Requirement
|
20
|
-
none: false
|
21
|
-
requirements:
|
22
|
-
- - ! '>='
|
23
|
-
- !ruby/object:Gem::Version
|
24
|
-
version: 1.4.0
|
25
|
-
type: :runtime
|
26
26
|
prerelease: false
|
27
|
-
|
27
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
|
-
requirements:
|
30
|
-
- -
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
- - ! '>='
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: 1.4.1
|
29
|
+
requirements:
|
30
|
+
- - "="
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
hash: 1
|
33
|
+
segments:
|
34
|
+
- 1
|
35
|
+
- 6
|
36
|
+
- 7
|
37
|
+
version: 1.6.7
|
41
38
|
type: :runtime
|
39
|
+
version_requirements: *id001
|
40
|
+
- !ruby/object:Gem::Dependency
|
41
|
+
name: nokogiri
|
42
42
|
prerelease: false
|
43
|
-
|
43
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
44
44
|
none: false
|
45
|
-
requirements:
|
46
|
-
- -
|
47
|
-
- !ruby/object:Gem::Version
|
48
|
-
|
49
|
-
|
45
|
+
requirements:
|
46
|
+
- - "="
|
47
|
+
- !ruby/object:Gem::Version
|
48
|
+
hash: 23
|
49
|
+
segments:
|
50
|
+
- 1
|
51
|
+
- 5
|
52
|
+
- 10
|
53
|
+
version: 1.5.10
|
54
|
+
type: :runtime
|
55
|
+
version_requirements: *id002
|
56
|
+
- !ruby/object:Gem::Dependency
|
50
57
|
name: rspec
|
51
|
-
requirement: !ruby/object:Gem::Requirement
|
52
|
-
none: false
|
53
|
-
requirements:
|
54
|
-
- - ~>
|
55
|
-
- !ruby/object:Gem::Version
|
56
|
-
version: 1.3.1
|
57
|
-
type: :development
|
58
58
|
prerelease: false
|
59
|
-
|
59
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
60
60
|
none: false
|
61
|
-
requirements:
|
61
|
+
requirements:
|
62
62
|
- - ~>
|
63
|
-
- !ruby/object:Gem::Version
|
63
|
+
- !ruby/object:Gem::Version
|
64
|
+
hash: 25
|
65
|
+
segments:
|
66
|
+
- 1
|
67
|
+
- 3
|
68
|
+
- 1
|
64
69
|
version: 1.3.1
|
65
|
-
- !ruby/object:Gem::Dependency
|
66
|
-
name: rake
|
67
|
-
requirement: !ruby/object:Gem::Requirement
|
68
|
-
none: false
|
69
|
-
requirements:
|
70
|
-
- - ! '>='
|
71
|
-
- !ruby/object:Gem::Version
|
72
|
-
version: '0'
|
73
70
|
type: :development
|
71
|
+
version_requirements: *id003
|
72
|
+
- !ruby/object:Gem::Dependency
|
73
|
+
name: rake
|
74
74
|
prerelease: false
|
75
|
-
|
76
|
-
none: false
|
77
|
-
requirements:
|
78
|
-
- - ! '>='
|
79
|
-
- !ruby/object:Gem::Version
|
80
|
-
version: '0'
|
81
|
-
- !ruby/object:Gem::Dependency
|
82
|
-
name: rdoc
|
83
|
-
requirement: !ruby/object:Gem::Requirement
|
75
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
84
76
|
none: false
|
85
|
-
requirements:
|
86
|
-
- -
|
87
|
-
- !ruby/object:Gem::Version
|
88
|
-
|
77
|
+
requirements:
|
78
|
+
- - ">="
|
79
|
+
- !ruby/object:Gem::Version
|
80
|
+
hash: 3
|
81
|
+
segments:
|
82
|
+
- 0
|
83
|
+
version: "0"
|
89
84
|
type: :development
|
85
|
+
version_requirements: *id004
|
86
|
+
- !ruby/object:Gem::Dependency
|
87
|
+
name: rdoc
|
90
88
|
prerelease: false
|
91
|
-
|
92
|
-
none: false
|
93
|
-
requirements:
|
94
|
-
- - ! '>='
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: '0'
|
97
|
-
- !ruby/object:Gem::Dependency
|
98
|
-
name: webmock
|
99
|
-
requirement: !ruby/object:Gem::Requirement
|
89
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
100
90
|
none: false
|
101
|
-
requirements:
|
102
|
-
- -
|
103
|
-
- !ruby/object:Gem::Version
|
104
|
-
|
91
|
+
requirements:
|
92
|
+
- - ">="
|
93
|
+
- !ruby/object:Gem::Version
|
94
|
+
hash: 3
|
95
|
+
segments:
|
96
|
+
- 0
|
97
|
+
version: "0"
|
105
98
|
type: :development
|
99
|
+
version_requirements: *id005
|
100
|
+
- !ruby/object:Gem::Dependency
|
101
|
+
name: webmock
|
106
102
|
prerelease: false
|
107
|
-
|
103
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
108
104
|
none: false
|
109
|
-
requirements:
|
110
|
-
- -
|
111
|
-
- !ruby/object:Gem::Version
|
112
|
-
|
105
|
+
requirements:
|
106
|
+
- - ">="
|
107
|
+
- !ruby/object:Gem::Version
|
108
|
+
hash: 3
|
109
|
+
segments:
|
110
|
+
- 0
|
111
|
+
version: "0"
|
112
|
+
type: :development
|
113
|
+
version_requirements: *id006
|
113
114
|
description:
|
114
|
-
email:
|
115
|
+
email: mk@mdp.im
|
115
116
|
executables: []
|
117
|
+
|
116
118
|
extensions: []
|
117
|
-
|
119
|
+
|
120
|
+
extra_rdoc_files:
|
118
121
|
- LICENSE
|
119
122
|
- README.markdown
|
120
|
-
files:
|
123
|
+
files:
|
121
124
|
- .gitignore
|
122
125
|
- .gitmodules
|
123
126
|
- .travis.yml
|
@@ -128,7 +131,6 @@ files:
|
|
128
131
|
- README.markdown
|
129
132
|
- Rakefile
|
130
133
|
- TODO.markdown
|
131
|
-
- VERSION
|
132
134
|
- aws_docs/ApiReference_AnswerKeyDataStructureArticle.html
|
133
135
|
- aws_docs/ApiReference_ApproveAssignmentOperation.html
|
134
136
|
- aws_docs/ApiReference_AssignQualificationOperation.html
|
@@ -338,7 +340,7 @@ files:
|
|
338
340
|
- spec/fake_responses/set_hit_as_reviewing.xml
|
339
341
|
- spec/fake_responses/unblock_worker.xml
|
340
342
|
- spec/fake_responses/update_qualification_type.xml
|
341
|
-
- spec/mturk.
|
343
|
+
- spec/mturk.yml
|
342
344
|
- spec/operations/approve_assignment_spec.rb
|
343
345
|
- spec/operations/approve_rejected_assignment_spec.rb
|
344
346
|
- spec/operations/assign_qualification_spec.rb
|
@@ -382,28 +384,39 @@ files:
|
|
382
384
|
- spec/spec_helper.rb
|
383
385
|
- spec/tmp
|
384
386
|
- spec/xml_parse_spec.rb
|
387
|
+
has_rdoc: true
|
385
388
|
homepage: http://github.com/mdp/rturk
|
386
389
|
licenses: []
|
390
|
+
|
387
391
|
post_install_message:
|
388
392
|
rdoc_options: []
|
389
|
-
|
393
|
+
|
394
|
+
require_paths:
|
390
395
|
- lib
|
391
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
396
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
392
397
|
none: false
|
393
|
-
requirements:
|
394
|
-
- -
|
395
|
-
- !ruby/object:Gem::Version
|
396
|
-
|
397
|
-
|
398
|
+
requirements:
|
399
|
+
- - ">="
|
400
|
+
- !ruby/object:Gem::Version
|
401
|
+
hash: 3
|
402
|
+
segments:
|
403
|
+
- 0
|
404
|
+
version: "0"
|
405
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
398
406
|
none: false
|
399
|
-
requirements:
|
400
|
-
- -
|
401
|
-
- !ruby/object:Gem::Version
|
402
|
-
|
407
|
+
requirements:
|
408
|
+
- - ">="
|
409
|
+
- !ruby/object:Gem::Version
|
410
|
+
hash: 3
|
411
|
+
segments:
|
412
|
+
- 0
|
413
|
+
version: "0"
|
403
414
|
requirements: []
|
415
|
+
|
404
416
|
rubyforge_project: pulley
|
405
|
-
rubygems_version: 1.
|
417
|
+
rubygems_version: 1.6.2
|
406
418
|
signing_key:
|
407
419
|
specification_version: 3
|
408
420
|
summary: Mechanical Turk API Wrapper
|
409
421
|
test_files: []
|
422
|
+
|
data/VERSION
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
2.4.0
|