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 +4 -4
- data/lib/commands/download.rb +1 -1
- data/lib/commands/init.rb +0 -8
- data/lib/p4util/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ba44e57fb399a348a5998fdc93214df6f7df3b02
|
4
|
+
data.tar.gz: 4391f7a98f86cbb3dfc309c69d9b6e11a7b52523
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 288db902765dbeabecb646d6707f3f945621d7b5809f67a9d529a6309359cefa086540defbd56ca16f50c2a24f781dddc1396a8d9a8b56e4a53b8d1b54f3352f
|
7
|
+
data.tar.gz: 832e8df4bb34a93ddce46c47f9247fb9e9a3164d656fb5f6d557869cd513db9d66130c9ac5078af5b2dc277612ac26a5b1d091ebb3193363a6ef26eb3e4387be
|
data/lib/commands/download.rb
CHANGED
@@ -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
|
|
data/lib/p4util/version.rb
CHANGED
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
|
+
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-
|
11
|
+
date: 2015-04-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|