datasift 2.0.0 → 2.0.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 CHANGED
@@ -56,6 +56,8 @@ more details.
56
56
  Changelog
57
57
  ---------
58
58
 
59
+ * v.2.0.1 Fixed a bug that was preventing streaming connections from being established (2012-09-03)
60
+
59
61
  * v.2.0.0 Added support for Historics queries and Push delivery (2012-08-31)
60
62
 
61
63
  * v.1.5.0 Added getBalance to the User class [joncooper](https://github.com/joncooper) (2012-05-24)
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.0.0
1
+ 2.0.1
data/config.yml CHANGED
@@ -1,2 +1,2 @@
1
- username: 3ft9
2
- api_key: 584b068700b016093686a8d3f95696ac
1
+ username: YOUR_USERNAME_HERE
2
+ api_key: YOUR_API_KEY_HERE
@@ -5,7 +5,7 @@ module DataSift
5
5
  #provides factory methods for all of the functionality in the API.
6
6
  class User
7
7
  #The user agent to pass through with all HTTP requests.
8
- USER_AGENT = 'DataSiftRuby/' + File.open(File.dirname(File.dirname(File.dirname(__FILE__))) + '/VERSION').first;
8
+ USER_AGENT = 'DataSiftRuby/' + File.open(File.dirname(File.dirname(File.dirname(__FILE__))) + '/VERSION').first.strip!;
9
9
  #The base URL for API requests.
10
10
  API_BASE_URL = 'api.datasift.com/';
11
11
  #The base URL for streams.
@@ -4,7 +4,7 @@ class TestHistorics < Test::Unit::TestCase
4
4
  context "Given a new Historic object from a stream hash" do
5
5
  setup do
6
6
  init()
7
- # Create the historic (API response is for compiling the definition)
7
+ # Create the historic
8
8
  @historic = @user.createHistoric(@testdata['definition_hash'], @testdata['historic_start'], @testdata['historic_end'], @testdata['historic_sources'], @testdata['historic_sample'], @testdata['historic_name'])
9
9
  end
10
10
 
metadata CHANGED
@@ -1,12 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: datasift
3
3
  version: !ruby/object:Gem::Version
4
- prerelease: false
4
+ hash: 13
5
+ prerelease:
5
6
  segments:
6
7
  - 2
7
8
  - 0
8
- - 0
9
- version: 2.0.0
9
+ - 1
10
+ version: 2.0.1
10
11
  platform: ruby
11
12
  authors:
12
13
  - DataSift
@@ -14,16 +15,17 @@ autorequire:
14
15
  bindir: bin
15
16
  cert_chain: []
16
17
 
17
- date: 2012-08-31 00:00:00 +01:00
18
- default_executable:
18
+ date: 2012-09-03 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: rest-client
22
22
  prerelease: false
23
23
  requirement: &id001 !ruby/object:Gem::Requirement
24
+ none: false
24
25
  requirements:
25
26
  - - ~>
26
27
  - !ruby/object:Gem::Version
28
+ hash: 9
27
29
  segments:
28
30
  - 1
29
31
  - 6
@@ -35,9 +37,11 @@ dependencies:
35
37
  name: yajl-ruby
36
38
  prerelease: false
37
39
  requirement: &id002 !ruby/object:Gem::Requirement
40
+ none: false
38
41
  requirements:
39
42
  - - ~>
40
43
  - !ruby/object:Gem::Version
44
+ hash: 19
41
45
  segments:
42
46
  - 1
43
47
  - 1
@@ -49,9 +53,11 @@ dependencies:
49
53
  name: rdoc
50
54
  prerelease: false
51
55
  requirement: &id003 !ruby/object:Gem::Requirement
56
+ none: false
52
57
  requirements:
53
58
  - - ">"
54
59
  - !ruby/object:Gem::Version
60
+ hash: 3
55
61
  segments:
56
62
  - 0
57
63
  version: "0"
@@ -61,9 +67,11 @@ dependencies:
61
67
  name: shoulda
62
68
  prerelease: false
63
69
  requirement: &id004 !ruby/object:Gem::Requirement
70
+ none: false
64
71
  requirements:
65
72
  - - ~>
66
73
  - !ruby/object:Gem::Version
74
+ hash: 37
67
75
  segments:
68
76
  - 2
69
77
  - 11
@@ -75,9 +83,11 @@ dependencies:
75
83
  name: rspec
76
84
  prerelease: false
77
85
  requirement: &id005 !ruby/object:Gem::Requirement
86
+ none: false
78
87
  requirements:
79
88
  - - ~>
80
89
  - !ruby/object:Gem::Version
90
+ hash: 23
81
91
  segments:
82
92
  - 2
83
93
  - 6
@@ -148,7 +158,6 @@ files:
148
158
  - test/test_pushsubscription.rb
149
159
  - test/test_user.rb
150
160
  - test/testdata.yml
151
- has_rdoc: true
152
161
  homepage: http://github.com/datasift/datasift-ruby
153
162
  licenses: []
154
163
 
@@ -158,16 +167,20 @@ rdoc_options: []
158
167
  require_paths:
159
168
  - lib
160
169
  required_ruby_version: !ruby/object:Gem::Requirement
170
+ none: false
161
171
  requirements:
162
172
  - - ">="
163
173
  - !ruby/object:Gem::Version
174
+ hash: 3
164
175
  segments:
165
176
  - 0
166
177
  version: "0"
167
178
  required_rubygems_version: !ruby/object:Gem::Requirement
179
+ none: false
168
180
  requirements:
169
181
  - - ">="
170
182
  - !ruby/object:Gem::Version
183
+ hash: 23
171
184
  segments:
172
185
  - 1
173
186
  - 3
@@ -176,7 +189,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
176
189
  requirements: []
177
190
 
178
191
  rubyforge_project:
179
- rubygems_version: 1.3.6
192
+ rubygems_version: 1.8.24
180
193
  signing_key:
181
194
  specification_version: 3
182
195
  summary: DataSift is a simple wrapper for the DataSift API.