therubymug-hitch 0.5.0 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/bin/hitchstatus +8 -0
  2. data/lib/hitch.rb +1 -1
  3. metadata +2 -1
data/bin/hitchstatus ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'rubygems'
4
+
5
+ require 'yaml'
6
+ yaml = YAML.load(File.read(File.expand_path('~/.hitchrc')))
7
+ pairs = yaml['current_pair']
8
+ print pairs.join(':') if pairs
data/lib/hitch.rb CHANGED
@@ -4,7 +4,7 @@ require File.expand_path(File.join(File.dirname(__FILE__), %w[.. lib hitch optio
4
4
  module Hitch
5
5
 
6
6
  # :stopdoc:
7
- VERSION = '0.5.0'
7
+ VERSION = '0.5.1'
8
8
  LIBPATH = ::File.expand_path(::File.dirname(__FILE__)) + ::File::SEPARATOR
9
9
  PATH = ::File.dirname(LIBPATH) + ::File::SEPARATOR
10
10
  # :startdoc:
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: therubymug-hitch
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rogelio Samour
@@ -29,6 +29,7 @@ executables:
29
29
  - hitch
30
30
  - unhitch
31
31
  - hitchrc
32
+ - hitchstatus
32
33
  extensions: []
33
34
 
34
35
  extra_rdoc_files: