console_color 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/console_color/railtie.rb +5 -5
- data/lib/console_color/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MjA1OTllNmE0N2I2ZmQ1N2RjZWEzYzk5M2MzN2Y1YzA0Y2JkNGE1YQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MWI1MDk3OTAzZDRmZDEzNDlhN2Q5OWUxM2ExMzc2NzUyZmNkZDY5Mg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NTJlZjVkMDM4M2I1NjJlNmM2NzcwMjcwYjlkY2RiZTNlMjYzNTcyMTM4MTI3
|
10
|
+
YzAwMmUzYTYwMjE3OTgxYWZmMTg5M2QwYzgxYTU3Y2M5Y2ZiYjZlYmYwZmEy
|
11
|
+
OTljMjM2Y2IwNjU2MDQ1Njk5NzUwN2VhNDg1NzhkMzhjZDcxZGU=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MTFmY2NlN2FlNDYxYWQ5OTRlYzUzMDI2MThmZmRlYjRmMTk3ZjcyNzQyOWIx
|
14
|
+
NjQ2YjU3Nzc3NjI1ZTg1NDk5ZjliNzk0YTY4YmE1ZTk1MzI3ZTE4YThjNGMx
|
15
|
+
Yzc3YjBhYTc0MTBkNDUwNDAxMGI1ZTcyYzc4MDBiOTMwNmY3MDA=
|
@@ -7,12 +7,12 @@ module ConsoleColor
|
|
7
7
|
|
8
8
|
def setup_with_custom_prompt(ap_path)
|
9
9
|
setup_without_custom_prompt(ap_path)
|
10
|
-
prompt = "#{ConsoleColor::COLORS[Rails.env]}#{Rails.application.class.parent_name.downcase}:#{Rails.env}"
|
10
|
+
prompt = "\001#{ConsoleColor::COLORS[Rails.env]}\002#{Rails.application.class.parent_name.downcase}:#{Rails.env}"
|
11
11
|
IRB.conf[:PROMPT][:RAILS_APP] = {
|
12
|
-
PROMPT_I: "
|
13
|
-
PROMPT_N: "
|
14
|
-
PROMPT_S: "
|
15
|
-
PROMPT_C: "
|
12
|
+
PROMPT_I: "#{prompt}>\e[0m ",
|
13
|
+
PROMPT_N: "#{prompt}>\e[0m ",
|
14
|
+
PROMPT_S: "#{prompt}%l\e[0m ",
|
15
|
+
PROMPT_C: "#{prompt}*\e[0m ",
|
16
16
|
RETURN: "=> %s\n",
|
17
17
|
AUTO_INDENT: true
|
18
18
|
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: console_color
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joey Aghion
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2014-09-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|