gitjour 2.0.0 → 2.5.0

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/gitjour +1 -1
  2. data/lib/gitjour/version.rb +1 -1
  3. metadata +1 -1
data/bin/gitjour CHANGED
@@ -32,7 +32,7 @@ case ARGV.shift
32
32
  puts "#{service.name} on #{service.host}: gitjour clone #{service.name}"
33
33
  end
34
34
  when "clone"
35
- name_of_share = ARGV[1] || flunk("You have to pass in a name")
35
+ name_of_share = ARGV.shift || fail("You have to pass in a name")
36
36
  host = service_list(name_of_share).detect{|service| service.name == name_of_share}.host
37
37
  system("git clone git://#{host}/ #{name_of_share}")
38
38
  when "serve"
@@ -1,7 +1,7 @@
1
1
  module Gitjour #:nodoc:
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 2
4
- MINOR = 0
4
+ MINOR = 5
5
5
  TINY = 0
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gitjour
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chad Fowler