gemstalk 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/README.md +31 -0
  2. data/bin/gemstalk +21 -4
  3. data/lib/gemstalk/version.rb +1 -1
  4. metadata +2 -1
data/README.md ADDED
@@ -0,0 +1,31 @@
1
+ GemStalk
2
+ ========
3
+
4
+ GemStalk is a CLI to the GemStalker rubygem release notification service.
5
+
6
+ It currently doesn't do anything more than print a message in green text.
7
+
8
+
9
+ Installation
10
+ ============
11
+
12
+ Bearing in mind that it doesn't currently do much, installing it is breeze.
13
+
14
+ $ sudo gem install gemstalk
15
+
16
+ If that didn't work then it's 99.9% likely you have a problem with your system.
17
+ By 'problem with your system' I mean you probably don't have Ruby or Rubygems
18
+ installed correctly.
19
+
20
+
21
+ Usage
22
+ =====
23
+
24
+ I hope your expectations have been suitably lowered, for as I said before, it
25
+ doesn't really do anything yet. Awe, don't look at me like that - you're
26
+ obviously deriving some form of enjoyment from the project if you've read this
27
+ far. It doesn't have to all be about the money shot when you finally run the
28
+ program does it?
29
+
30
+ $ gemstalk
31
+
data/bin/gemstalk CHANGED
@@ -1,6 +1,22 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
+ # Embed in a String to clear all previous ANSI sequences.
4
+ CLEAR = "\e[0m"
5
+ BOLD = "\e[1m"
6
+
7
+ # Colors
8
+ BLACK = "\e[30m"
9
+ RED = "\e[31m"
10
+ GREEN = "\e[32m"
11
+ YELLOW = "\e[33m"
12
+ BLUE = "\e[34m"
13
+ MAGENTA = "\e[35m"
14
+ CYAN = "\e[36m"
15
+ WHITE = "\e[37m"
16
+
17
+
3
18
  puts <<-EOF
19
+ #{GREEN}
4
20
  =============================================================================
5
21
  == ===================== ================ == ====================
6
22
  = == =================== ==== =============== == ====================
@@ -13,12 +29,13 @@ puts <<-EOF
13
29
  == ==== === = = === ==== === == == = === === ======
14
30
  =============================================================================
15
31
 
16
- RubyGem Release Notification Service
32
+ RubyGem Release Notification Service
17
33
 
18
- Command Line Tool coming soon!
34
+ Command Line Tool coming soon!
19
35
 
20
- Till then, use the web interface:
36
+ Till then, use the web:
21
37
 
22
- http://GemStalker.com
38
+ http://GemStalker.com
39
+ #{CLEAR}
23
40
  EOF
24
41
 
@@ -1,3 +1,3 @@
1
1
  module Gemstalk
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: gemstalk
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.1
5
+ version: 0.0.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - Mike Bailey
@@ -25,6 +25,7 @@ extra_rdoc_files: []
25
25
  files:
26
26
  - .gitignore
27
27
  - Gemfile
28
+ - README.md
28
29
  - Rakefile
29
30
  - bin/gemstalk
30
31
  - gemstalk.gemspec