ripl-rocket 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/CHANGELOG.rdoc +3 -0
  2. data/README.rdoc +4 -4
  3. data/lib/ripl/rocket.rb +2 -3
  4. metadata +10 -5
@@ -1,2 +1,5 @@
1
+ == 0.1.1
2
+ * Fix syntax error in 1.8
3
+
1
4
  == 0.1.0
2
5
  * Initial release.
@@ -4,7 +4,7 @@ This {ripl}[http://github.com/cldwalker/ripl] plugin lets you output your result
4
4
  == Install
5
5
  Install the gem with:
6
6
 
7
- gem install ripl-colorize_output
7
+ gem install ripl-rocket
8
8
 
9
9
  == Usage
10
10
 
@@ -14,13 +14,13 @@ Add to your <tt>~/.riplrc</tt>
14
14
 
15
15
  == Configuration
16
16
 
17
- There is a <tt>Ripl.config[:rocket_mode]</tt> setting. If it is set to </tt>false</tt>, the rocket is not used.
17
+ There is a <tt>Ripl.config[:rocket_mode]</tt> setting. If it is set to <tt>false</tt>, the rocket won't be used.
18
18
 
19
- The default option is <tt>:auto</tt>, which means the rocket will be used, if there is enough space on the last line and there has not been too much standard output.
19
+ The default value for this setting is <tt>:auto</tt>, which means the rocket will be used, if there is enough space on the last line and there has not been too much standard output.
20
20
 
21
21
  Set it to any other true value and the plugin will always use the rocket.
22
22
 
23
- You can change the rocket prompt with <tt>Ripl.config[:rocket_prompt]</tt> and set a color with <tt>Ripl.config[:rocket_color]</tt>
23
+ You can change the rocket prompt with <tt>Ripl.config[:rocket_prompt]</tt> and set a color with <tt>Ripl.config[:rocket_color]</tt>.
24
24
 
25
25
  == Bugs / TODO
26
26
 
@@ -3,7 +3,7 @@ require 'unicode/display_width'
3
3
 
4
4
  module Ripl
5
5
  module Rocket
6
- VERSION = '0.1.0'
6
+ VERSION = '0.1.1'
7
7
 
8
8
  TPUT = {
9
9
  :sc => `tput sc`,
@@ -75,8 +75,7 @@ module Ripl
75
75
  color_config = config[:rocket_color]
76
76
  color_code = !color_config || color_config.to_s[/^[\d;]+$/] ?
77
77
  color_config : Ripl::Rocket::COLORS[color_config.to_sym]
78
- colored_rocket = color_code ? "\e[#{ color_code }m#{ config[:rocket_prompt] }\e[0;0m"
79
- : config[:rocket_prompt]
78
+ colored_rocket = color_code ? "\e[#{ color_code }m#{ config[:rocket_prompt] }\e[0;0m" : config[:rocket_prompt]
80
79
 
81
80
  # auto rocket mode: only display rocket if line has enough space left
82
81
  line_too_long = screen_length <= offset + rocket_length + output_length
metadata CHANGED
@@ -1,12 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ripl-rocket
3
3
  version: !ruby/object:Gem::Version
4
- prerelease: false
4
+ hash: 25
5
+ prerelease:
5
6
  segments:
6
7
  - 0
7
8
  - 1
8
- - 0
9
- version: 0.1.0
9
+ - 1
10
+ version: 0.1.1
10
11
  platform: ruby
11
12
  authors:
12
13
  - Jan Lelis
@@ -14,7 +15,7 @@ autorequire:
14
15
  bindir: bin
15
16
  cert_chain: []
16
17
 
17
- date: 2011-01-07 00:00:00 +01:00
18
+ date: 2011-01-14 00:00:00 +01:00
18
19
  default_executable:
19
20
  dependencies:
20
21
  - !ruby/object:Gem::Dependency
@@ -25,6 +26,7 @@ dependencies:
25
26
  requirements:
26
27
  - - ">="
27
28
  - !ruby/object:Gem::Version
29
+ hash: 19
28
30
  segments:
29
31
  - 0
30
32
  - 3
@@ -40,6 +42,7 @@ dependencies:
40
42
  requirements:
41
43
  - - ">="
42
44
  - !ruby/object:Gem::Version
45
+ hash: 25
43
46
  segments:
44
47
  - 0
45
48
  - 1
@@ -79,6 +82,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
79
82
  requirements:
80
83
  - - ">="
81
84
  - !ruby/object:Gem::Version
85
+ hash: 3
82
86
  segments:
83
87
  - 0
84
88
  version: "0"
@@ -87,6 +91,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
87
91
  requirements:
88
92
  - - ">="
89
93
  - !ruby/object:Gem::Version
94
+ hash: 23
90
95
  segments:
91
96
  - 1
92
97
  - 3
@@ -95,7 +100,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
95
100
  requirements: []
96
101
 
97
102
  rubyforge_project:
98
- rubygems_version: 1.3.7
103
+ rubygems_version: 1.4.1
99
104
  signing_key:
100
105
  specification_version: 3
101
106
  summary: Rocketize your ripl output.