jakal 0.1.5 → 0.1.6
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/features/step_definitions/twitter_steps.rb +0 -4
- metadata +61 -7
- data/features/mocks/twitter.json +0 -11
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
Given /^I have a mock twitter response$/ do
|
|
2
|
-
@response = File.open('features/mocks/twitter.json','r') {|f| f.readlines.to_s}
|
|
3
|
-
end
|
|
4
|
-
|
|
5
1
|
When /^I request trends data from twitter$/ do
|
|
6
2
|
@url = YAML::load_file('config/config.yml')['twitter']
|
|
7
3
|
@response = Jkl::get_from @url
|
metadata
CHANGED
|
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
|
5
5
|
segments:
|
|
6
6
|
- 0
|
|
7
7
|
- 1
|
|
8
|
-
-
|
|
9
|
-
version: 0.1.
|
|
8
|
+
- 6
|
|
9
|
+
version: 0.1.6
|
|
10
10
|
platform: ruby
|
|
11
11
|
authors:
|
|
12
12
|
- sshingler
|
|
@@ -16,8 +16,63 @@ cert_chain: []
|
|
|
16
16
|
|
|
17
17
|
date: 2010-04-13 00:00:00 +01:00
|
|
18
18
|
default_executable:
|
|
19
|
-
dependencies:
|
|
20
|
-
|
|
19
|
+
dependencies:
|
|
20
|
+
- !ruby/object:Gem::Dependency
|
|
21
|
+
name: hpricot
|
|
22
|
+
prerelease: false
|
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
|
24
|
+
requirements:
|
|
25
|
+
- - ">="
|
|
26
|
+
- !ruby/object:Gem::Version
|
|
27
|
+
segments:
|
|
28
|
+
- 0
|
|
29
|
+
- 8
|
|
30
|
+
- 2
|
|
31
|
+
version: 0.8.2
|
|
32
|
+
type: :runtime
|
|
33
|
+
version_requirements: *id001
|
|
34
|
+
- !ruby/object:Gem::Dependency
|
|
35
|
+
name: json
|
|
36
|
+
prerelease: false
|
|
37
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
|
38
|
+
requirements:
|
|
39
|
+
- - ">="
|
|
40
|
+
- !ruby/object:Gem::Version
|
|
41
|
+
segments:
|
|
42
|
+
- 1
|
|
43
|
+
- 2
|
|
44
|
+
- 4
|
|
45
|
+
version: 1.2.4
|
|
46
|
+
type: :runtime
|
|
47
|
+
version_requirements: *id002
|
|
48
|
+
- !ruby/object:Gem::Dependency
|
|
49
|
+
name: rest-client
|
|
50
|
+
prerelease: false
|
|
51
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
|
52
|
+
requirements:
|
|
53
|
+
- - ">="
|
|
54
|
+
- !ruby/object:Gem::Version
|
|
55
|
+
segments:
|
|
56
|
+
- 1
|
|
57
|
+
- 4
|
|
58
|
+
- 2
|
|
59
|
+
version: 1.4.2
|
|
60
|
+
type: :runtime
|
|
61
|
+
version_requirements: *id003
|
|
62
|
+
- !ruby/object:Gem::Dependency
|
|
63
|
+
name: calais
|
|
64
|
+
prerelease: false
|
|
65
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
|
66
|
+
requirements:
|
|
67
|
+
- - ">="
|
|
68
|
+
- !ruby/object:Gem::Version
|
|
69
|
+
segments:
|
|
70
|
+
- 0
|
|
71
|
+
- 0
|
|
72
|
+
- 9
|
|
73
|
+
version: 0.0.9
|
|
74
|
+
type: :runtime
|
|
75
|
+
version_requirements: *id004
|
|
21
76
|
description: Jakal is a Ruby library which contains some utilities for connecting to internet based APIs.
|
|
22
77
|
email: "'shingler@gmail.com'"
|
|
23
78
|
executables: []
|
|
@@ -39,7 +94,6 @@ files:
|
|
|
39
94
|
- features/mocks/bbc_story.html
|
|
40
95
|
- features/mocks/calais.json
|
|
41
96
|
- features/mocks/topix_rss.xml
|
|
42
|
-
- features/mocks/twitter.json
|
|
43
97
|
- features/step_definitions/calais_steps.rb
|
|
44
98
|
- features/step_definitions/http_steps.rb
|
|
45
99
|
- features/step_definitions/sanitize-text_steps.rb
|
|
@@ -47,7 +101,7 @@ files:
|
|
|
47
101
|
- features/support/env.rb
|
|
48
102
|
- README.md
|
|
49
103
|
- License.txt
|
|
50
|
-
has_rdoc:
|
|
104
|
+
has_rdoc: false
|
|
51
105
|
homepage: http://github.com/sshingler/jkl
|
|
52
106
|
licenses: []
|
|
53
107
|
|
|
@@ -76,7 +130,7 @@ requirements: []
|
|
|
76
130
|
rubyforge_project:
|
|
77
131
|
rubygems_version: 1.3.6
|
|
78
132
|
signing_key:
|
|
79
|
-
specification_version:
|
|
133
|
+
specification_version: 2
|
|
80
134
|
summary: Jakal is a Ruby library which contains some utilities for connecting to internet based APIs.
|
|
81
135
|
test_files: []
|
|
82
136
|
|
data/features/mocks/twitter.json
DELETED