twitter_to_csv 0.1.2 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/.gitignore +1 -0
- data/.ruby-gemset +1 -0
- data/.ruby-version +1 -0
- data/.travis.yml +4 -0
- data/Gemfile +3 -1
- data/README.markdown +316 -153
- data/bin/twitter_to_csv +45 -10
- data/lib/twitter_to_csv.rb +1 -0
- data/lib/twitter_to_csv/bool_word_field_parser.rb +74 -0
- data/lib/twitter_to_csv/csv_builder.rb +50 -28
- data/lib/twitter_to_csv/twitter_watcher.rb +12 -5
- data/lib/twitter_to_csv/version.rb +1 -1
- data/spec/bool_word_field_parser_spec.rb +57 -0
- data/spec/csv_builder_spec.rb +104 -32
- data/twitter_to_csv.gemspec +1 -1
- metadata +14 -21
- data/.rvmrc +0 -1
data/twitter_to_csv.gemspec
CHANGED
@@ -19,7 +19,7 @@ Gem::Specification.new do |s|
|
|
19
19
|
s.require_paths = ["lib"]
|
20
20
|
|
21
21
|
s.add_development_dependency "rspec"
|
22
|
-
s.add_runtime_dependency 'twitter-stream'
|
22
|
+
s.add_runtime_dependency 'cantino-twitter-stream'
|
23
23
|
s.add_runtime_dependency 'elif'
|
24
24
|
s.add_runtime_dependency 'em-http-request'
|
25
25
|
s.add_runtime_dependency 'unsupervised-language-detection'
|
metadata
CHANGED
@@ -1,20 +1,18 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: twitter_to_csv
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
5
|
-
prerelease:
|
4
|
+
version: 0.1.5
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Andrew Cantino
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2014-07-02 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: rspec
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
17
|
- - ! '>='
|
20
18
|
- !ruby/object:Gem::Version
|
@@ -22,31 +20,27 @@ dependencies:
|
|
22
20
|
type: :development
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
24
|
- - ! '>='
|
28
25
|
- !ruby/object:Gem::Version
|
29
26
|
version: '0'
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
|
-
name: twitter-stream
|
28
|
+
name: cantino-twitter-stream
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
31
|
- - ! '>='
|
36
32
|
- !ruby/object:Gem::Version
|
37
|
-
version: 0
|
33
|
+
version: '0'
|
38
34
|
type: :runtime
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
38
|
- - ! '>='
|
44
39
|
- !ruby/object:Gem::Version
|
45
|
-
version: 0
|
40
|
+
version: '0'
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
42
|
name: elif
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
45
|
- - ! '>='
|
52
46
|
- !ruby/object:Gem::Version
|
@@ -54,7 +48,6 @@ dependencies:
|
|
54
48
|
type: :runtime
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
51
|
requirements:
|
59
52
|
- - ! '>='
|
60
53
|
- !ruby/object:Gem::Version
|
@@ -62,7 +55,6 @@ dependencies:
|
|
62
55
|
- !ruby/object:Gem::Dependency
|
63
56
|
name: em-http-request
|
64
57
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
58
|
requirements:
|
67
59
|
- - ! '>='
|
68
60
|
- !ruby/object:Gem::Version
|
@@ -70,7 +62,6 @@ dependencies:
|
|
70
62
|
type: :runtime
|
71
63
|
prerelease: false
|
72
64
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
65
|
requirements:
|
75
66
|
- - ! '>='
|
76
67
|
- !ruby/object:Gem::Version
|
@@ -78,7 +69,6 @@ dependencies:
|
|
78
69
|
- !ruby/object:Gem::Dependency
|
79
70
|
name: unsupervised-language-detection
|
80
71
|
requirement: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
72
|
requirements:
|
83
73
|
- - ! '>='
|
84
74
|
- !ruby/object:Gem::Version
|
@@ -86,7 +76,6 @@ dependencies:
|
|
86
76
|
type: :runtime
|
87
77
|
prerelease: false
|
88
78
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
79
|
requirements:
|
91
80
|
- - ! '>='
|
92
81
|
- !ruby/object:Gem::Version
|
@@ -101,7 +90,9 @@ extra_rdoc_files: []
|
|
101
90
|
files:
|
102
91
|
- .gitignore
|
103
92
|
- .rspec
|
104
|
-
- .
|
93
|
+
- .ruby-gemset
|
94
|
+
- .ruby-version
|
95
|
+
- .travis.yml
|
105
96
|
- Gemfile
|
106
97
|
- LICENSE.txt
|
107
98
|
- README.markdown
|
@@ -111,37 +102,39 @@ files:
|
|
111
102
|
- lib/twitter_to_csv/afinn/AFINN-111.txt
|
112
103
|
- lib/twitter_to_csv/afinn/AFINN-96.txt
|
113
104
|
- lib/twitter_to_csv/afinn/AFINN-README.txt
|
105
|
+
- lib/twitter_to_csv/bool_word_field_parser.rb
|
114
106
|
- lib/twitter_to_csv/csv_builder.rb
|
115
107
|
- lib/twitter_to_csv/twitter_watcher.rb
|
116
108
|
- lib/twitter_to_csv/version.rb
|
109
|
+
- spec/bool_word_field_parser_spec.rb
|
117
110
|
- spec/csv_builder_spec.rb
|
118
111
|
- spec/spec_helper.rb
|
119
112
|
- twitter_to_csv.gemspec
|
120
113
|
homepage: https://github.com/cantino/twitter_to_csv
|
121
114
|
licenses: []
|
115
|
+
metadata: {}
|
122
116
|
post_install_message:
|
123
117
|
rdoc_options: []
|
124
118
|
require_paths:
|
125
119
|
- lib
|
126
120
|
required_ruby_version: !ruby/object:Gem::Requirement
|
127
|
-
none: false
|
128
121
|
requirements:
|
129
122
|
- - ! '>='
|
130
123
|
- !ruby/object:Gem::Version
|
131
124
|
version: '0'
|
132
125
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
133
|
-
none: false
|
134
126
|
requirements:
|
135
127
|
- - ! '>='
|
136
128
|
- !ruby/object:Gem::Version
|
137
129
|
version: '0'
|
138
130
|
requirements: []
|
139
131
|
rubyforge_project: twitter_to_csv
|
140
|
-
rubygems_version:
|
132
|
+
rubygems_version: 2.2.2
|
141
133
|
signing_key:
|
142
|
-
specification_version:
|
134
|
+
specification_version: 4
|
143
135
|
summary: Dump the Twitter streaming API to a CSV or JSON file and then filter, handle
|
144
136
|
retweets, apply sentiment analysis, and more.
|
145
137
|
test_files:
|
138
|
+
- spec/bool_word_field_parser_spec.rb
|
146
139
|
- spec/csv_builder_spec.rb
|
147
140
|
- spec/spec_helper.rb
|
data/.rvmrc
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
rvm use 1.9.3@twitter_to_csv --create
|