colors 0.0.5 → 0.0.6

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.txt +29 -9
  2. data/changelog.txt +4 -0
  3. data/colors.gemspec +4 -3
  4. metadata +5 -3
data/README.txt CHANGED
@@ -4,40 +4,60 @@
4
4
 
5
5
  == DESCRIPTION:
6
6
 
7
- Colorful string in Ruby!
7
+ Colorful strings in Ruby!
8
8
 
9
9
  == FEATURES/PROBLEMS:
10
10
 
11
11
  * whole/partial string colorization is possible
12
12
 
13
+ * if you use Readline, there might be some problems with multiline strings
14
+
13
15
  == SYNOPSIS:
14
16
 
15
17
  Colors is an extension for Ruby String class, which provides colorful strings.
16
- It uses ANSI control sequences, thus is available in any ANSI-compliant
18
+ It uses ANSI control sequences, thus works in any ANSI-compliant
17
19
  terminal.
18
20
 
19
21
  == INSTALL:
20
22
 
21
- You need RubyGems v. 1.2
23
+ You need RubyGems v. 1.3.3
24
+
25
+ $ gem -v
26
+ 1.2.0 #=> NOT ok
27
+ $ gem update --system
28
+ $ gem -v
29
+ 1.3.3 #=> OK
22
30
 
23
- * gem -v
24
- * 1.2.0 #=> ok
25
31
 
26
- You need the github.com repository to be added to your sources list:
32
+ You need the gemcutter.org repository to be added to your sources list:
27
33
 
28
- * gem sources -a http://gems.github.com
34
+ $ gem sources -a http://gemcutter.org
29
35
 
30
36
  Then you can type:
31
37
 
32
- * sudo gem install apohllo-colors
38
+ $ sudo gem install colors
39
+
40
+ If you see error:
41
+ ERROR: could not find gem cyc-console locally or in a repository
42
+
43
+ try installing the gemcutter gem, and issuing
44
+ the gem tumble command:
45
+
46
+ $ sudo gem install gemcutter
47
+ $ sudo gem tumble
48
+
49
+ And then try to install the gem once again:
50
+
51
+ $ sudo gem install colors
33
52
 
34
53
  == BASIC USAGE:
35
54
 
36
55
  Require the gem:
37
56
 
57
+ require 'rubygems'
38
58
  require 'colors'
39
59
 
40
- Get the string bold with +hl+:
60
+ Get the string bolded with +hl+:
41
61
 
42
62
  "abc".hl #=> *abc*
43
63
 
data/changelog.txt CHANGED
@@ -1,3 +1,7 @@
1
+ 0.0.6
2
+ - README update - gemcutter repository instead of github
3
+ 0.0.5
4
+ - homepage changed to github.com/apohllo/colors
1
5
  0.0.4
2
6
  - fix: missing changelog.txt added
3
7
  0.0.3
data/colors.gemspec CHANGED
@@ -1,11 +1,12 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "colors"
3
- s.version = "0.0.5"
4
- s.date = "2009-07-15"
3
+ s.version = "0.0.6"
4
+ s.date = "2009-10-08"
5
5
  s.summary = "Ruby String extesion for colored strings"
6
6
  s.email = "apohllo@o2.pl"
7
7
  s.homepage = "http://github.com/apohllo/colors"
8
- s.description = "Extensions for String highliting"
8
+ s.description = "Extensions for String highliting.
9
+ It uses ANSI escape sequences to produce colorful strings."
9
10
  s.has_rdoc = false
10
11
  s.authors = ['Aleksander Pohl']
11
12
  s.files = ["Rakefile",
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: colors
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aleksander Pohl
@@ -9,11 +9,13 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-07-15 00:00:00 +02:00
12
+ date: 2009-10-08 00:00:00 +02:00
13
13
  default_executable:
14
14
  dependencies: []
15
15
 
16
- description: Extensions for String highliting
16
+ description: |-
17
+ Extensions for String highliting.
18
+ It uses ANSI escape sequences to produce colorful strings.
17
19
  email: apohllo@o2.pl
18
20
  executables: []
19
21