neo4apis-twitter 0.5.0 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 330b69d008d69925603ca78ddd26ba1cd0bac861
4
- data.tar.gz: f0f3f3a1f47db6b6f89065d07d206bb5868797f1
3
+ metadata.gz: 7a878f1638765379062b4e52c2ad56e896e687f3
4
+ data.tar.gz: fd7f71492d161fd5b8f387e7f516502e8052512e
5
5
  SHA512:
6
- metadata.gz: 174bc0697d55ddf0c51059da98a8a5e3804105b7f69ffed4ea361bf401d89e1551a8f34684a85d02404c2facff09cfdbcb7060e1060cc7915c3c43516b8298d4
7
- data.tar.gz: c6fc57ad1f517b0b12b2c8348661844a92e964515876233f74238c0b10f60b38209bf18769b2da4f7c2bf23884ab80781295180db7a7c468ff8a9f4d802173b4
6
+ metadata.gz: af30744687b0d7c2dcbe26f1d4708120caa0cf4c5e48c351d6b326852f9b2a3c113237ca172dedae1037e88c8bae335accebbe7ca8a90861f4593ea2fb9ff151
7
+ data.tar.gz: 3a52dc4094d09337d435c3326792989e39617ae6ad1388492f300e3603be6f5bd022b65ae741dd78a51b891430ce7edd568f36ed6b9ef10382d077cf7e1a4cec
@@ -1,5 +1,6 @@
1
1
  require 'twitter'
2
2
  require 'thor'
3
+ require 'colorize'
3
4
 
4
5
  module Neo4Apis
5
6
  module CLI
@@ -34,10 +35,10 @@ module Neo4Apis
34
35
  Proc.new do |object|
35
36
  case object
36
37
  when ::Twitter::Tweet
37
- say "got tweet from @#{object.user.screen_name}: #{object.text}"
38
+ say "got tweet from @#{object.user.screen_name.colorize(:light_blue)}: #{object.text}"
38
39
  neo4apis_client.import :Tweet, object
39
40
  when ::Twitter::Streaming::StallWarning
40
- puts "Falling behind!"
41
+ say "FALLING BEHIND!".colorize(:red)
41
42
  end
42
43
  end
43
44
  end
@@ -3,7 +3,7 @@ $:.unshift lib unless $:.include?(lib)
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "neo4apis-twitter"
6
- s.version = '0.5.0'
6
+ s.version = '0.6.0'
7
7
  s.required_ruby_version = ">= 1.9.1"
8
8
 
9
9
  s.authors = "Brian Underwood"
@@ -18,7 +18,7 @@ A ruby gem using neo4apis to make importing twitter data to neo4j easy
18
18
  s.require_path = 'lib'
19
19
  s.files = Dir.glob("{bin,lib,config}/**/*") + %w(README.md Gemfile neo4apis-twitter.gemspec)
20
20
 
21
- s.add_dependency('neo4apis', '~> 0.3.0')
21
+ s.add_dependency('neo4apis', '~> 0.3.1')
22
22
  s.add_dependency('twitter', '~> 5.12.0')
23
23
 
24
24
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: neo4apis-twitter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Underwood
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 0.3.0
19
+ version: 0.3.1
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 0.3.0
26
+ version: 0.3.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: twitter
29
29
  requirement: !ruby/object:Gem::Requirement