rshell 0.1.3 → 0.1.8

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.3
1
+ 0.1.8
@@ -1,5 +1,5 @@
1
1
  require 'rshell/console'
2
- require 'rshell/string_extension'
2
+ require 'rshell/string'
3
3
 
4
4
  module Rshell
5
5
 
@@ -12,5 +12,3 @@ module Rshell
12
12
  end
13
13
  end
14
14
 
15
- include StringExtension
16
-
@@ -0,0 +1 @@
1
+ red: 31
@@ -0,0 +1,9 @@
1
+ class String
2
+ def bold
3
+ "\033[1;39m#{self}\033[0m"
4
+ end
5
+
6
+ def colorize(color_code)
7
+ return color_code ? "#{color_code}#{self}\033[0m" : self
8
+ end
9
+ end
@@ -0,0 +1,8 @@
1
+ #!/bin/bash
2
+
3
+ rake version:bump:patch
4
+ rake gemspec
5
+ gem build rshell.gemspec
6
+ git add .
7
+ git commit -m "Some patches."
8
+ rake gemspec:release
Binary file
Binary file
Binary file
Binary file
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{rshell}
8
- s.version = "0.1.3"
8
+ s.version = "0.1.8"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Andrea Salicetti"]
12
- s.date = %q{2011-05-11}
12
+ s.date = %q{2011-05-12}
13
13
  s.description = %q{It help when you need to create some shell script with Ruby.}
14
14
  s.email = %q{andrea@blomming.com}
15
15
  s.extra_rdoc_files = [
@@ -21,12 +21,18 @@ Gem::Specification.new do |s|
21
21
  "Rakefile",
22
22
  "VERSION",
23
23
  "lib/rshell.rb",
24
+ "lib/rshell/color_codes.yml",
24
25
  "lib/rshell/console.rb",
25
- "lib/rshell/string_extension.rb",
26
+ "lib/rshell/string.rb",
27
+ "patch.sh",
26
28
  "rshell-0.1.0.gem",
27
29
  "rshell-0.1.1.gem",
28
30
  "rshell-0.1.2.gem",
29
31
  "rshell-0.1.3.gem",
32
+ "rshell-0.1.4.gem",
33
+ "rshell-0.1.6.gem",
34
+ "rshell-0.1.7.gem",
35
+ "rshell-0.1.8.gem",
30
36
  "rshell.gemspec"
31
37
  ]
32
38
  s.homepage = %q{http://github.com/knightq/rshell}
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rshell
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 11
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 3
10
- version: 0.1.3
9
+ - 8
10
+ version: 0.1.8
11
11
  platform: ruby
12
12
  authors:
13
13
  - Andrea Salicetti
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-05-11 00:00:00 +02:00
18
+ date: 2011-05-12 00:00:00 +02:00
19
19
  default_executable:
20
20
  dependencies: []
21
21
 
@@ -33,12 +33,18 @@ files:
33
33
  - Rakefile
34
34
  - VERSION
35
35
  - lib/rshell.rb
36
+ - lib/rshell/color_codes.yml
36
37
  - lib/rshell/console.rb
37
- - lib/rshell/string_extension.rb
38
+ - lib/rshell/string.rb
39
+ - patch.sh
38
40
  - rshell-0.1.0.gem
39
41
  - rshell-0.1.1.gem
40
42
  - rshell-0.1.2.gem
41
43
  - rshell-0.1.3.gem
44
+ - rshell-0.1.4.gem
45
+ - rshell-0.1.6.gem
46
+ - rshell-0.1.7.gem
47
+ - rshell-0.1.8.gem
42
48
  - rshell.gemspec
43
49
  has_rdoc: true
44
50
  homepage: http://github.com/knightq/rshell
@@ -1,11 +0,0 @@
1
- module StringExtension
2
- class String
3
- def bold
4
- "\033[1;39m#{self}\033[0m"
5
- end
6
-
7
- def colorize(color_code)
8
- return color_code ? "#{color_code}#{self}\033[0m" : self
9
- end
10
- end
11
- end