p4util 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 586c43946db5fd9db9e797b57ff1a261cd25ac1c
4
- data.tar.gz: 9dab351d375595f53a487ce8ebc811b4faa6f591
3
+ metadata.gz: ba44e57fb399a348a5998fdc93214df6f7df3b02
4
+ data.tar.gz: 4391f7a98f86cbb3dfc309c69d9b6e11a7b52523
5
5
  SHA512:
6
- metadata.gz: 878e84720955bd6b5ce1747cd855ff2789682f0f60dac3377448a4b2c48eda3e34a8a20899a9f02347289fc2582086033e96c4c27783940126e6f3fc90d20c38
7
- data.tar.gz: 2843671a88047faf5be6133c1d0dc740f940b11f56bde5746a55f0e054a103175875a13f705c932707786286c45389394ff228cd7c94a83deae13b3e1ea8f03c
6
+ metadata.gz: 288db902765dbeabecb646d6707f3f945621d7b5809f67a9d529a6309359cefa086540defbd56ca16f50c2a24f781dddc1396a8d9a8b56e4a53b8d1b54f3352f
7
+ data.tar.gz: 832e8df4bb34a93ddce46c47f9247fb9e9a3164d656fb5f6d557869cd513db9d66130c9ac5078af5b2dc277612ac26a5b1d091ebb3193363a6ef26eb3e4387be
@@ -11,7 +11,7 @@ module Commands
11
11
  version = 'r14.2'
12
12
  binary = 'p4d'
13
13
 
14
- if options and !options.params.empty?
14
+ if options and options.params and !options.params.empty?
15
15
 
16
16
  op = OptionParser.new do |op|
17
17
  op.on('-v VERSION', '--version VERSION', 'ftp.perforce.com version') do |v|
data/lib/commands/init.rb CHANGED
@@ -35,14 +35,6 @@ module Commands
35
35
  init_dir = options.params.shift
36
36
  end
37
37
 
38
- if !p4d_running?
39
- # The way this works: if you specify any options, like what to download
40
- # you must specify the initialization directory.
41
- options = OpenStruct.new
42
- options.params = ['--version', version] unless version.nil?
43
- Commands.start(options)
44
- end
45
-
46
38
  initialize_p4d(init_dir, p4port)
47
39
  end
48
40
 
@@ -1,3 +1,3 @@
1
1
  module P4Util
2
- VERSION = '0.1.4'
2
+ VERSION = '0.1.5'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: p4util
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tristan Juricek
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-16 00:00:00.000000000 Z
11
+ date: 2015-04-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler