p4util 0.4 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -0
- data/lib/commands/init/init_model.rb +2 -2
- data/lib/commands/init/p4_helpers.rb +2 -2
- data/lib/commands/init/system_settings_model.rb +2 -2
- 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: 55147439ca4bd86ac5eeed2b2a463237ac570956
|
4
|
+
data.tar.gz: 6878f4658acb96611ba1041125ec5939df36076b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8426cfcd5da52c2fe86752342a867b2d445ddb6232847b5f35bcaae923f4317f1231fd73508f1444a3d478500cff692df0fdde02bdd64af122a0e9ae9931ac2f
|
7
|
+
data.tar.gz: b768923e0aa9d274889d4102f592fc95f5e413488e136868daf155322ce71ea5109732b512665359dddc3a3e497f4292c5d0fbf7ab41b67b1cc3aaca559ce816
|
data/README.md
CHANGED
@@ -35,6 +35,8 @@ Or install it yourself as:
|
|
35
35
|
|
36
36
|
## Changes
|
37
37
|
|
38
|
+
* 0.4.1: Use 'login -p' everywhere to avoid use of the .p4tickets file
|
39
|
+
|
38
40
|
* 0.4: Change working directory from './work' to '/tmp/p4util'. If you are using
|
39
41
|
perforce and have a local .p4config, you can't submit files if you're ignoring
|
40
42
|
the local './work' directory. This behavior may have changed in 15.1.
|
@@ -95,8 +95,8 @@ module Commands
|
|
95
95
|
else
|
96
96
|
p4.user = super_user.login
|
97
97
|
p4.password = super_user.password
|
98
|
-
login = p4.run_login
|
99
|
-
puts "login results for super #{login}"
|
98
|
+
login = p4.run_login('-p')
|
99
|
+
puts "login results for super #{login}, ticket is #{p4.password}"
|
100
100
|
end
|
101
101
|
|
102
102
|
models.each { |m| m.execute(p4, models, super_user) }
|
@@ -30,7 +30,7 @@ module Commands
|
|
30
30
|
oldpass = options[:oldpass] if options.key?(:oldpass)
|
31
31
|
p4.user = user
|
32
32
|
p4.password = password
|
33
|
-
p4.run_login if password
|
33
|
+
p4.run_login('-p') if password
|
34
34
|
end
|
35
35
|
|
36
36
|
name = RandomUtil.randstr
|
@@ -66,7 +66,7 @@ module Commands
|
|
66
66
|
if (user)
|
67
67
|
p4.user = olduser
|
68
68
|
p4.password = oldpass
|
69
|
-
p4.run_login if oldpass
|
69
|
+
p4.run_login('-p') if oldpass
|
70
70
|
end
|
71
71
|
|
72
72
|
p4.run_client('-d', '-f', name)
|
@@ -100,13 +100,13 @@ module Commands
|
|
100
100
|
super_user.password = super_pwd
|
101
101
|
|
102
102
|
p4.password = super_user.password
|
103
|
-
p4.run_login
|
103
|
+
p4.run_login('-p')
|
104
104
|
else
|
105
105
|
# Just create the user
|
106
106
|
super_user.execute(p4)
|
107
107
|
if super_user.password
|
108
108
|
p4.password = super_user.password
|
109
|
-
p4.run_login
|
109
|
+
p4.run_login('-p')
|
110
110
|
end
|
111
111
|
end
|
112
112
|
end
|
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:
|
4
|
+
version: 0.4.1
|
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-07-
|
11
|
+
date: 2015-07-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|