p4util 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/commands/init/init_model.rb +8 -1
- data/lib/commands/init/system_settings_model.rb +1 -0
- data/lib/p4util/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 586c43946db5fd9db9e797b57ff1a261cd25ac1c
|
4
|
+
data.tar.gz: 9dab351d375595f53a487ce8ebc811b4faa6f591
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 878e84720955bd6b5ce1747cd855ff2789682f0f60dac3377448a4b2c48eda3e34a8a20899a9f02347289fc2582086033e96c4c27783940126e6f3fc90d20c38
|
7
|
+
data.tar.gz: 2843671a88047faf5be6133c1d0dc740f940b11f56bde5746a55f0e054a103175875a13f705c932707786286c45389394ff228cd7c94a83deae13b3e1ea8f03c
|
@@ -89,7 +89,14 @@ module Commands
|
|
89
89
|
p4.connect
|
90
90
|
p4.exception_level = P4::RAISE_ERRORS
|
91
91
|
|
92
|
-
system_settings
|
92
|
+
if system_settings
|
93
|
+
system_settings.execute(p4, super_user)
|
94
|
+
else
|
95
|
+
p4.user = super_user.login
|
96
|
+
p4.password = super_user.password
|
97
|
+
login = p4.run_login
|
98
|
+
puts "login results for super #{login}"
|
99
|
+
end
|
93
100
|
|
94
101
|
models.each { |m| m.execute(p4, models, super_user) }
|
95
102
|
end
|
@@ -47,6 +47,7 @@ module Commands
|
|
47
47
|
# established here with whatever credentials we end up with the super
|
48
48
|
# user as.
|
49
49
|
def execute(p4, super_user)
|
50
|
+
puts 'initializing system settings'
|
50
51
|
set_unicode_mode(p4)
|
51
52
|
set_security_and_super_user(p4, super_user)
|
52
53
|
create_default_protections(p4)
|
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.4
|
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-
|
11
|
+
date: 2015-04-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -121,3 +121,4 @@ specification_version: 4
|
|
121
121
|
summary: The p4util command line app eases setup of Perforce instances, mostly for
|
122
122
|
testing.
|
123
123
|
test_files: []
|
124
|
+
has_rdoc:
|