git-confident 0.0.2 → 0.0.3

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/git-confident +0 -1
  2. data/lib/git/confident.rb +2 -1
  3. metadata +3 -3
data/bin/git-confident CHANGED
@@ -12,7 +12,6 @@ options = {
12
12
  :commit => true,
13
13
  :path => File.expand_path( Dir::pwd ) # Default to current directory
14
14
  }
15
- options[ :path ] = '/Users/joe/setup/client'
16
15
 
17
16
  OptionParser.new do | opts |
18
17
  opts.banner = "Usage: $0 [options]"
data/lib/git/confident.rb CHANGED
@@ -8,12 +8,13 @@ module Git
8
8
  module VERSION #:nodoc:
9
9
  MAJOR = 0
10
10
  MINOR = 0
11
- TINY = 2
11
+ TINY = 3
12
12
 
13
13
  STRING = [ MAJOR, MINOR, TINY ].join( '.' )
14
14
  end
15
15
 
16
16
  def initialize( path )
17
+
17
18
  raise "Git repository not found at '#{ path }'" if ! File.directory?( "#{ path }/.git" )
18
19
  @path = path.clone
19
20
  super( { :working_directory => @path } )
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: git-confident
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 2
10
- version: 0.0.2
9
+ - 3
10
+ version: 0.0.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Joe Yates