typingpool 0.8.7 → 0.8.8

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: 3f57ee966d526926c65997b0fa74d383e0bc7b3f
4
- data.tar.gz: efb43fcaa0a7e58104723718326808adba480475
3
+ metadata.gz: addd181cf496971ae8196c50654da3bd5f45f736
4
+ data.tar.gz: 39e39908efe5e8775bdef4867ea8b7250f3f83c6
5
5
  SHA512:
6
- metadata.gz: ac93b0917ee21f77b768a365103f006279029729b74a7e5277248d381d139683ddb22fb3d3c8a3287bccc1e7aac6ef3080f3086a74c0bb3f874fc7edbf748ad1
7
- data.tar.gz: 86d3bb1bfce766e25de83d0a7980720cd065c11548fbc64f210f461984b2643271b217805e159dd89b4291fa57cd6df2a29b57da51f2280807402ddb8b420cf6
6
+ metadata.gz: 871e839def9216be62958c38ad04daa4425c4f3df17fe0a5389eb656ce0bed7d4d74d3814cf6025a9e4b6d8948b6ca4820076b6d964a9e12537aa2e93b751341
7
+ data.tar.gz: 7d45e75b58244b9e5fb54fbf30102a5b7726816e8ae3052f51497865c3483f1ef4537f18aca5156e170811ef22d3b784b7c4ea476a377cb35b0437a4c5ca6c23
@@ -75,12 +75,12 @@ module Typingpool
75
75
  new(RTurk::Hit.create(:title => config_assign.title || question.title) do |hit|
76
76
  hit.description = config_assign.description || question.description
77
77
  hit.question(question.url)
78
- hit.note = question.annotation or raise Error, "Missing annotation from question"
78
+ hit.annotation = question.annotation or raise Error, "Missing annotation from question"
79
79
  hit.reward = config_assign.reward or raise Error, "Missing reward config"
80
- hit.assignments = 1
80
+ hit.max_assignments = 1
81
81
  hit.lifetime = config_assign.lifetime or raise Error, "Missing lifetime config"
82
82
  hit.duration = config_assign.deadline or raise Error, "Missing deadline config"
83
- hit.auto_approval = config_assign.approval or raise Error, "Missing approval config"
83
+ hit.auto_approval_delay = config_assign.approval or raise Error, "Missing approval config"
84
84
  hit.keywords = config_assign.keywords if config_assign.keywords
85
85
  config_assign.qualify.each{|q| hit.qualifications.add(*q.to_arg)} if config_assign.qualify
86
86
  end)
@@ -71,7 +71,7 @@ module Typingpool
71
71
 
72
72
  def type
73
73
  type = @raw.split(/\s+/)[0]
74
- if RTurk::Qualification::TYPES[type.to_sym]
74
+ if RTurk::Qualification.types[type.to_sym]
75
75
  return type.to_sym
76
76
  elsif (type.match(/\d/) || type.size >= 25)
77
77
  return type
@@ -63,7 +63,7 @@ module Typingpool
63
63
  # [qualify] An array of qualifications with which to filter workers
64
64
  # who may accept a transcript job. The first part of the
65
65
  # qualification should be the string form of a key in
66
- # RTurk::Qualifications::TYPES (see
66
+ # RTurk::Qualifications.types (see
67
67
  # https://github.com/mdp/rturk/blob/master/lib/rturk/builders/qualification_builder.rb
68
68
  # ). The second part should be one of the following
69
69
  # comparators: > >= < <= == != exists. The optional
@@ -1,3 +1,3 @@
1
1
  module Typingpool
2
- VERSION = '0.8.7'
2
+ VERSION = '0.8.8'
3
3
  end #Typingpool
data/typingpool.gemspec CHANGED
@@ -15,7 +15,7 @@ Gem::Specification.new do |s|
15
15
  s.homepage = 'http://github.com/ryantate/typingpool'
16
16
  s.required_ruby_version = '>= 1.9.2'
17
17
  s.requirements = ['ffmpeg', 'mp3splt', 'mp3wrap']
18
- s.add_runtime_dependency('rturk', '~> 2.9')
18
+ s.add_runtime_dependency('rturk', '~> 2.11.0')
19
19
  s.add_runtime_dependency('highline', '>= 1.6')
20
20
  s.add_runtime_dependency('nokogiri', '>= 1.5')
21
21
  s.add_runtime_dependency('aws-sdk', '~> 1.8.0')
metadata CHANGED
@@ -1,139 +1,139 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: typingpool
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.7
4
+ version: 0.8.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Tate
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-09-02 00:00:00.000000000 Z
11
+ date: 2013-09-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rturk
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '2.9'
19
+ version: 2.11.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '2.9'
26
+ version: 2.11.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: highline
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '1.6'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '1.6'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: nokogiri
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '>='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '1.5'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - '>='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '1.5'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: aws-sdk
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ~>
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
61
  version: 1.8.0
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ~>
66
+ - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: 1.8.0
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: net-sftp
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - '>='
73
+ - - ">="
74
74
  - !ruby/object:Gem::Version
75
75
  version: 2.0.5
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - '>='
80
+ - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: 2.0.5
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: minitest
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ~>
87
+ - - "~>"
88
88
  - !ruby/object:Gem::Version
89
89
  version: '5.0'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - ~>
94
+ - - "~>"
95
95
  - !ruby/object:Gem::Version
96
96
  version: '5.0'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: timecop
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - '>='
101
+ - - ">="
102
102
  - !ruby/object:Gem::Version
103
103
  version: '0'
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - '>='
108
+ - - ">="
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: vcr
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
- - - '>='
115
+ - - ">="
116
116
  - !ruby/object:Gem::Version
117
117
  version: '0'
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
- - - '>='
122
+ - - ">="
123
123
  - !ruby/object:Gem::Version
124
124
  version: '0'
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: webmock
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
- - - '>='
129
+ - - ">="
130
130
  - !ruby/object:Gem::Version
131
131
  version: 1.13.0
132
132
  type: :development
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
- - - '>='
136
+ - - ">="
137
137
  - !ruby/object:Gem::Version
138
138
  version: 1.13.0
139
139
  description: An app for transcribing audio using Mechanical Turk
@@ -317,12 +317,12 @@ require_paths:
317
317
  - lib
318
318
  required_ruby_version: !ruby/object:Gem::Requirement
319
319
  requirements:
320
- - - '>='
320
+ - - ">="
321
321
  - !ruby/object:Gem::Version
322
322
  version: 1.9.2
323
323
  required_rubygems_version: !ruby/object:Gem::Requirement
324
324
  requirements:
325
- - - '>='
325
+ - - ">="
326
326
  - !ruby/object:Gem::Version
327
327
  version: '0'
328
328
  requirements: