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 CHANGED
@@ -1,5 +1,5 @@
1
- mturk.yml
2
1
  Gemfile.lock
2
+ /examples/mturk.yml
3
3
  *.gem
4
4
  examples/last_hit
5
5
  pkg
data/.gitmodules CHANGED
@@ -1,3 +0,0 @@
1
- [submodule "doc"]
2
- path = doc
3
- url = git@github.com:mdp/rturk
data/CHANGELOG.markdown CHANGED
@@ -1,3 +1,7 @@
1
+ 2.10.3
2
+ ---
3
+ * Lock in last dependencies that work with Ruby 1.8.7 - This is the last release to support Ruby 1.8.7
4
+
1
5
  2.10.2
2
6
  ---
3
7
  * Fix UTC timestamps - [#32] [ags]
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
@@ -1,3 +1,3 @@
1
1
  module RTurk
2
- VERSION = "2.10.2"
2
+ VERSION = "2.10.3"
3
3
  end
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 = "2011-11-20"
13
- s.email = "mark@mpercival.com"
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', ">= 1.4.0")
29
- s.add_dependency('nokogiri', ">= 1.4.1")
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
- version: 2.10.2
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
- date: 2011-11-20 00:00:00.000000000 Z
16
- dependencies:
17
- - !ruby/object:Gem::Dependency
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
- version_requirements: !ruby/object:Gem::Requirement
27
+ requirement: &id001 !ruby/object:Gem::Requirement
28
28
  none: false
29
- requirements:
30
- - - ! '>='
31
- - !ruby/object:Gem::Version
32
- version: 1.4.0
33
- - !ruby/object:Gem::Dependency
34
- name: nokogiri
35
- requirement: !ruby/object:Gem::Requirement
36
- none: false
37
- requirements:
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
- version_requirements: !ruby/object:Gem::Requirement
43
+ requirement: &id002 !ruby/object:Gem::Requirement
44
44
  none: false
45
- requirements:
46
- - - ! '>='
47
- - !ruby/object:Gem::Version
48
- version: 1.4.1
49
- - !ruby/object:Gem::Dependency
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
- version_requirements: !ruby/object:Gem::Requirement
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
- version_requirements: !ruby/object:Gem::Requirement
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
- version: '0'
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
- version_requirements: !ruby/object:Gem::Requirement
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
- version: '0'
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
- version_requirements: !ruby/object:Gem::Requirement
103
+ requirement: &id006 !ruby/object:Gem::Requirement
108
104
  none: false
109
- requirements:
110
- - - ! '>='
111
- - !ruby/object:Gem::Version
112
- version: '0'
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: mark@mpercival.com
115
+ email: mk@mdp.im
115
116
  executables: []
117
+
116
118
  extensions: []
117
- extra_rdoc_files:
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.sample.yml
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
- require_paths:
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
- version: '0'
397
- required_rubygems_version: !ruby/object:Gem::Requirement
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
- version: '0'
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.8.23
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