zlx_hacker_term 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- zlx_hacker_term (0.0.1)
4
+ zlx_hacker_term (0.0.2)
5
5
  clipboard
6
6
  launchy
7
7
  rest-client
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  hacker_term
2
2
  ==========
3
- Hacker News on the Terminal.
3
+ Hacker News on the Terminal via Sock Proxy.
4
4
 
5
5
  ![Screenshot](http://blog.zlxstar.me/images/hack_term_snapshot.png)
6
6
 
@@ -8,10 +8,9 @@ Requirements
8
8
  ------------
9
9
  * Ruby 1.9.3
10
10
  * socksify
11
- * socks proxy
12
11
 
13
12
  Installation
14
13
  ------------
15
14
  * Install with `gem install hacker_term`
16
- * Run using `socksify_ruby 127.0.0.1 1080 hacker_term`
15
+ * Run using `socksify_ruby 127.0.0.1 1080 run_hacker_term`
17
16
  * Tests included; I run them using `rspec -fd` in the project directory
data/hacker_term.gemspec CHANGED
@@ -11,10 +11,10 @@ Gem::Specification.new do |gem|
11
11
  gem.description = %q{Read Hacker News on the Terminal via Sock Proxy}
12
12
  gem.summary = %q{Allows the reading, sorting and opening of HN articles from the terminal.}
13
13
  gem.homepage = "https://github.com/zlx/hacker_term"
14
- gem.add_dependency('rest-client')
15
- gem.add_dependency('launchy')
16
- gem.add_dependency('clipboard')
17
- gem.add_dependency('socksify')
14
+ gem.add_dependency('rest-client', ["~> 1.6.7"])
15
+ gem.add_dependency('launchy', ["~> 2.1.2"])
16
+ gem.add_dependency('clipboard', ["~> 1.0.1"])
17
+ gem.add_dependency('socksify', ["~> 1.4.1"])
18
18
 
19
19
  gem.files = `git ls-files`.split($/)
20
20
  gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
@@ -1,3 +1,3 @@
1
1
  module HackerTerm
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+ $LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..', 'lib')
3
+ require 'hacker_term'
4
+
5
+ app = HackerTerm::TerminalApp.new
6
+ exit app.run!
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: zlx_hacker_term
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.2
5
+ version: 0.0.3
6
6
  platform: ruby
7
7
  authors:
8
8
  - soffolk zhu
@@ -16,64 +16,64 @@ dependencies:
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
- - - ! '>='
19
+ - - ~>
20
20
  - !ruby/object:Gem::Version
21
- version: '0'
21
+ version: 1.6.7
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  none: false
25
25
  requirements:
26
- - - ! '>='
26
+ - - ~>
27
27
  - !ruby/object:Gem::Version
28
- version: '0'
28
+ version: 1.6.7
29
29
  name: rest-client
30
30
  - !ruby/object:Gem::Dependency
31
31
  type: :runtime
32
32
  requirement: !ruby/object:Gem::Requirement
33
33
  none: false
34
34
  requirements:
35
- - - ! '>='
35
+ - - ~>
36
36
  - !ruby/object:Gem::Version
37
- version: '0'
37
+ version: 2.1.2
38
38
  prerelease: false
39
39
  version_requirements: !ruby/object:Gem::Requirement
40
40
  none: false
41
41
  requirements:
42
- - - ! '>='
42
+ - - ~>
43
43
  - !ruby/object:Gem::Version
44
- version: '0'
44
+ version: 2.1.2
45
45
  name: launchy
46
46
  - !ruby/object:Gem::Dependency
47
47
  type: :runtime
48
48
  requirement: !ruby/object:Gem::Requirement
49
49
  none: false
50
50
  requirements:
51
- - - ! '>='
51
+ - - ~>
52
52
  - !ruby/object:Gem::Version
53
- version: '0'
53
+ version: 1.0.1
54
54
  prerelease: false
55
55
  version_requirements: !ruby/object:Gem::Requirement
56
56
  none: false
57
57
  requirements:
58
- - - ! '>='
58
+ - - ~>
59
59
  - !ruby/object:Gem::Version
60
- version: '0'
60
+ version: 1.0.1
61
61
  name: clipboard
62
62
  - !ruby/object:Gem::Dependency
63
63
  type: :runtime
64
64
  requirement: !ruby/object:Gem::Requirement
65
65
  none: false
66
66
  requirements:
67
- - - ! '>='
67
+ - - ~>
68
68
  - !ruby/object:Gem::Version
69
- version: '0'
69
+ version: 1.4.1
70
70
  prerelease: false
71
71
  version_requirements: !ruby/object:Gem::Requirement
72
72
  none: false
73
73
  requirements:
74
- - - ! '>='
74
+ - - ~>
75
75
  - !ruby/object:Gem::Version
76
- version: '0'
76
+ version: 1.4.1
77
77
  name: socksify
78
78
  description: Read Hacker News on the Terminal via Sock Proxy
79
79
  email:
@@ -96,6 +96,7 @@ files:
96
96
  - lib/hacker_term/page_data.rb
97
97
  - lib/hacker_term/ui.rb
98
98
  - lib/hacker_term/version.rb
99
+ - lib/run_hacker_term
99
100
  - spec/page_data_spec.rb
100
101
  homepage: https://github.com/zlx/hacker_term
101
102
  licenses: []