crowdflower 0.4.1 → 0.4.2
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.
- data/.gitignore +3 -1
- data/VERSION +1 -1
- data/crowdflower.gemspec +2 -2
- data/lib/crowdflower/unit.rb +4 -0
- data/test/integration_tests.rb +4 -0
- metadata +4 -4
data/.gitignore
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.4.
|
|
1
|
+
0.4.2
|
data/crowdflower.gemspec
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = %q{crowdflower}
|
|
8
|
-
s.version = "0.4.
|
|
8
|
+
s.version = "0.4.2"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Brian P O'Rourke", "Chris Van Pelt"]
|
|
12
|
-
s.date = %q{2010-
|
|
12
|
+
s.date = %q{2010-11-17}
|
|
13
13
|
s.description = %q{A toolkit for interacting with CrowdFlower via the REST API.
|
|
14
14
|
|
|
15
15
|
This is alpha software. Have fun!
|
data/lib/crowdflower/unit.rb
CHANGED
data/test/integration_tests.rb
CHANGED
|
@@ -71,6 +71,10 @@ say "-- Waiting for CrowdFlower to process the data"
|
|
|
71
71
|
# server.
|
|
72
72
|
wait_until { job.get["units_count"] == 8 }
|
|
73
73
|
|
|
74
|
+
say "Checking ping."
|
|
75
|
+
assert job.units.ping['count'] == 8
|
|
76
|
+
assert job.units.ping['done'] == true
|
|
77
|
+
|
|
74
78
|
say "Getting the units for this job."
|
|
75
79
|
assert job.units.all.size == 8
|
|
76
80
|
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: crowdflower
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 11
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 4
|
|
9
|
-
-
|
|
10
|
-
version: 0.4.
|
|
9
|
+
- 2
|
|
10
|
+
version: 0.4.2
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Brian P O'Rourke
|
|
@@ -16,7 +16,7 @@ autorequire:
|
|
|
16
16
|
bindir: bin
|
|
17
17
|
cert_chain: []
|
|
18
18
|
|
|
19
|
-
date: 2010-
|
|
19
|
+
date: 2010-11-17 00:00:00 -08:00
|
|
20
20
|
default_executable:
|
|
21
21
|
dependencies:
|
|
22
22
|
- !ruby/object:Gem::Dependency
|