p4util 0.3.1 → 0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ad589b693328ff72da85554398f1ca9ce4576b8e
4
- data.tar.gz: 289166bae3c83110773a3e56e3955314d59bf396
3
+ metadata.gz: 76f89f0f6624b8a2eeb6b950b6eee1034058ee42
4
+ data.tar.gz: 7e3b48e5318f5ca7e69edc63eca9f79da86c747e
5
5
  SHA512:
6
- metadata.gz: 49429ebf298148f13d0e822b10b903771aff153a3af6f66d861a483ceeee46cb7a9a5ad5522bfba0cf1904bd39a81456566d12fd8e59d4d93807cbc66525b511
7
- data.tar.gz: 0c4930a55459b234990ea57c611754dbc764ade0b9f5e0c5783bec6cba5f6aa3618fc65e9bd3ae20ad1bb94d2ceafcc0f68f3e3bf36287c328b3f74b022637f2
6
+ metadata.gz: 9c5babf1ac387faf346c1c490b691c76bee3c5ab5040203bdc3574294856f3a41cfbba50566c30aa0ef4711d9d65d21144926e3ac8eb794c9ff98406ac601592
7
+ data.tar.gz: 04280dd34e8e3ad5508e381035872941e763808daf5967e2156285b5e8a5f487fce4c4e738c4d04615e06a530bcb86e9f25c6061b4cf706c47c195fa5f33c63d
data/README.md CHANGED
@@ -35,6 +35,10 @@ Or install it yourself as:
35
35
 
36
36
  ## Changes
37
37
 
38
+ * 0.4: Change working directory from './work' to '/tmp/p4util'. If you are using
39
+ perforce and have a local .p4config, you can't submit files if you're ignoring
40
+ the local './work' directory. This behavior may have changed in 15.1.
41
+
38
42
  * 0.3.1: Update p4ruby dependency to 2015.1.0
39
43
 
40
44
  * 0.3.0: Added the ability to initialize triggers
@@ -43,7 +43,7 @@ module Commands
43
43
  p4util download [p4|p4d|p4api]
44
44
 
45
45
  Downloads one of the following utilities (in lieu of an installer) into
46
- a local work/ directory.
46
+ a local /tmp/p4util/ directory.
47
47
 
48
48
  * p4
49
49
  * p4d
data/lib/commands/rake.rb CHANGED
@@ -24,7 +24,7 @@ module Commands
24
24
 
25
25
  * `p4init` - See 'p4util help init'
26
26
  * `p4kill` - See 'p4util help kill'
27
- * `p4reset` - Calls p4kill then removes the work/p4droot folder
27
+ * `p4reset` - Calls p4kill then removes the /tmp/p4util/p4droot folder
28
28
 
29
29
  (This assumes you have installed p4util or setup the p4util gem dependency.)
30
30
 
@@ -27,11 +27,11 @@ module Commands
27
27
  puts <<-END.gsub(/^ {6}/,'')
28
28
  p4util start
29
29
 
30
- Spawns a Perforce process in your local work/p4droot directory.
30
+ Spawns a Perforce process in your local /tmp/p4util/p4droot directory.
31
31
 
32
32
  If the Perforce executable does not exist, will download the binary first.
33
33
 
34
- Will try to set up a server log at work/server.log. It'll be fairly
34
+ Will try to set up a server log at /tmp/p4util/server.log. It'll be fairly
35
35
  verbose by default; this is *not* intended for any kind of performance
36
36
  testing.
37
37
  END
data/lib/conventions.rb CHANGED
@@ -4,7 +4,7 @@ require 'fileutils'
4
4
  module Conventions
5
5
 
6
6
  def Conventions.working_dir
7
- File.expand_path('work')
7
+ '/tmp/p4util'
8
8
  end
9
9
 
10
10
  def Conventions.init_working_dir
@@ -1,3 +1,3 @@
1
1
  module P4Util
2
- VERSION = '0.3.1'
2
+ VERSION = '0.4'
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.3.1
4
+ version: '0.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-07-08 00:00:00.000000000 Z
11
+ date: 2015-07-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler