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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZTYzNGU4MTc2NTk4N2FmNGM3MTk5NjZiNzIxMTQzMWFlYWQ1M2Q1ZA==
4
+ MjA1OTllNmE0N2I2ZmQ1N2RjZWEzYzk5M2MzN2Y1YzA0Y2JkNGE1YQ==
5
5
  data.tar.gz: !binary |-
6
- MTkyZTgwZDYwYmRkNzQxMDEzNWRkMzJlZjllMTA3ZDZkYWRiNjZjMQ==
6
+ MWI1MDk3OTAzZDRmZDEzNDlhN2Q5OWUxM2ExMzc2NzUyZmNkZDY5Mg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ZWNmN2M5YTQwMzAwMTg0OWVlMjdhNjJiYjIzMGUzYTExOWUxMTY4ODU0MDZi
10
- NmYwNTg1ODk3NjFjYzE4NDQ4MjJjMjU3ZmJmNmUwMTYyZjEzNDc0ZTVjNTFl
11
- NTUyM2FlYjE3ZWMyYjQyMDcwMGM4NDIyMGYxNDBmMmE1OWMzNmQ=
9
+ NTJlZjVkMDM4M2I1NjJlNmM2NzcwMjcwYjlkY2RiZTNlMjYzNTcyMTM4MTI3
10
+ YzAwMmUzYTYwMjE3OTgxYWZmMTg5M2QwYzgxYTU3Y2M5Y2ZiYjZlYmYwZmEy
11
+ OTljMjM2Y2IwNjU2MDQ1Njk5NzUwN2VhNDg1NzhkMzhjZDcxZGU=
12
12
  data.tar.gz: !binary |-
13
- MmJhMTI4Y2MwNjNjNjc5ZDNkMTU0OGQxZjJkZWYzNmM0NjUyY2U4NThhMTJl
14
- MDNlZjRlNDg5ZDI0MTM4OWJjZGY0YTE1NDdmYTRlOGM0OWZmMWNkM2Q3Nzk2
15
- OTk2NDNkMzQ3YjgxMTQ0NDIyOWNiNTFkOGY5YmI4NzhjNjg1N2Y=
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: "\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 ",
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
  }
@@ -1,3 +1,3 @@
1
1
  module ConsoleColor
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  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.2
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: 2013-12-09 00:00:00.000000000 Z
11
+ date: 2014-09-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler