promptula 0.0.11 → 0.0.12

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -18,6 +18,11 @@ need to be added...
18
18
  ~~~
19
19
  gem install promptula
20
20
  promptula --install
21
+ ~~~
22
+
23
+ Then source either your .bashrc or your .bash_profile, as appropriate
24
+ ~~~
25
+ source ~/.bashrc
21
26
  source ~/.bash_profile
22
27
  ~~~
23
28
 
@@ -1,3 +1,3 @@
1
1
  module Promptula
2
- VERSION = "0.0.11"
2
+ VERSION = "0.0.12"
3
3
  end
data/lib/promptula.rb CHANGED
@@ -14,9 +14,7 @@ module Promptula
14
14
  branch = line.sub('*', '').chomp
15
15
  end
16
16
  end
17
- tracking = Hash[`git for-each-ref --format='%(refname:short) %(upstream:short)' refs/heads`
18
- .split("\n")
19
- .map {|l| l.split ' '}]
17
+ tracking = Hash[`git for-each-ref --format='%(refname:short) %(upstream:short)' refs/heads`.split("\n").map {|l| l.split ' '}]
20
18
  status = `git status --ignore-submodules --porcelain`
21
19
  user = `git config --get user.initials`.strip
22
20
  untracked = (status.match('\?\?') or '').size > 0 ? " #{GLYPH}" : ''
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: promptula
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.11
4
+ version: 0.0.12
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-04-05 00:00:00.000000000 Z
12
+ date: 2013-04-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: trollop