console_color 0.0.1 → 0.0.2
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 +6 -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
|
+
ZTYzNGU4MTc2NTk4N2FmNGM3MTk5NjZiNzIxMTQzMWFlYWQ1M2Q1ZA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MTkyZTgwZDYwYmRkNzQxMDEzNWRkMzJlZjllMTA3ZDZkYWRiNjZjMQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZWNmN2M5YTQwMzAwMTg0OWVlMjdhNjJiYjIzMGUzYTExOWUxMTY4ODU0MDZi
|
10
|
+
NmYwNTg1ODk3NjFjYzE4NDQ4MjJjMjU3ZmJmNmUwMTYyZjEzNDc0ZTVjNTFl
|
11
|
+
NTUyM2FlYjE3ZWMyYjQyMDcwMGM4NDIyMGYxNDBmMmE1OWMzNmQ=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MmJhMTI4Y2MwNjNjNjc5ZDNkMTU0OGQxZjJkZWYzNmM0NjUyY2U4NThhMTJl
|
14
|
+
MDNlZjRlNDg5ZDI0MTM4OWJjZGY0YTE1NDdmYTRlOGM0OWZmMWNkM2Q3Nzk2
|
15
|
+
OTk2NDNkMzQ3YjgxMTQ0NDIyOWNiNTFkOGY5YmI4NzhjNjg1N2Y=
|
@@ -9,11 +9,12 @@ module ConsoleColor
|
|
9
9
|
setup_without_custom_prompt(ap_path)
|
10
10
|
prompt = "#{ConsoleColor::COLORS[Rails.env]}#{Rails.application.class.parent_name.downcase}:#{Rails.env}"
|
11
11
|
IRB.conf[:PROMPT][:RAILS_APP] = {
|
12
|
-
PROMPT_I: "\001#{prompt}
|
13
|
-
PROMPT_N: "\001#{prompt}
|
14
|
-
PROMPT_S: "\001#{prompt}%l
|
15
|
-
PROMPT_C: "\001#{prompt}
|
16
|
-
RETURN: "=> %s\n"
|
12
|
+
PROMPT_I: "\001#{prompt}>\e[0m\002 ",
|
13
|
+
PROMPT_N: "\001#{prompt}>\e[0m\002 ",
|
14
|
+
PROMPT_S: "\001#{prompt}%l\e[0m\002 ",
|
15
|
+
PROMPT_C: "\001#{prompt}*\e[0m\002 ",
|
16
|
+
RETURN: "=> %s\n",
|
17
|
+
AUTO_INDENT: true
|
17
18
|
}
|
18
19
|
IRB.conf[:PROMPT_MODE] = :RAILS_APP
|
19
20
|
end
|
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.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joey Aghion
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-12-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|