datasift 1.3.0 → 1.3.1
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/README.md +2 -0
- data/VERSION +1 -1
- data/config.yml +2 -2
- data/lib/DataSift/definition.rb +1 -5
- data/test/test_definition.rb +2 -2
- data/test/test_live_api.rb +2 -2
- metadata +4 -4
data/README.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.3.
|
1
|
+
1.3.1
|
data/config.yml
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
username:
|
2
|
-
api_key:
|
1
|
+
username: 3ft9
|
2
|
+
api_key: 01af49102292e7cb67fef7eee30b81c2
|
data/lib/DataSift/definition.rb
CHANGED
data/test/test_definition.rb
CHANGED
@@ -130,11 +130,11 @@ class TestDefinition < Test::Unit::TestCase
|
|
130
130
|
assert_raise(DataSift::CompileFailedError) { @definition.compile() }
|
131
131
|
end
|
132
132
|
|
133
|
-
should "
|
133
|
+
should "fail to get the hash" do
|
134
134
|
@user.api_client.setResponse(400, {
|
135
135
|
'error' => 'The target interactin.content does not exist',
|
136
136
|
}, 200, 150)
|
137
|
-
|
137
|
+
assert_raise(DataSift::CompileFailedError) { @definition.hash }
|
138
138
|
end
|
139
139
|
end
|
140
140
|
|
data/test/test_live_api.rb
CHANGED
@@ -48,9 +48,9 @@ class TestDefinitionLive < Test::Unit::TestCase
|
|
48
48
|
assert_raise(DataSift::CompileFailedError) { @definition.compile() }
|
49
49
|
end
|
50
50
|
|
51
|
-
should "
|
51
|
+
should "fail to get the hash" do
|
52
52
|
assert_raise(DataSift::CompileFailedError) { @definition.compile() }
|
53
|
-
|
53
|
+
assert_raise(DataSift::CompileFailedError) { @definition.hash }
|
54
54
|
end
|
55
55
|
end
|
56
56
|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: datasift
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 3
|
9
|
-
-
|
10
|
-
version: 1.3.
|
9
|
+
- 1
|
10
|
+
version: 1.3.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- DataSift
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2012-
|
18
|
+
date: 2012-04-20 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: rest-client
|