dev_tasks 1.0.35 → 1.0.37
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/add.rb +2 -2
- data/lib/build.rb +2 -2
- data/lib/commit.rb +2 -2
- data/lib/publish.rb +2 -2
- data/lib/pull.rb +4 -4
- data/lib/push.rb +1 -1
- data/lib/setup.rb +2 -2
- data/lib/test.rb +2 -2
- data/lib/upgrade.rb +2 -2
- data/lib/verify.rb +2 -2
- metadata +6 -7
- data/lib/commandarray.rb +0 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b4dd5c121f771bbe4a5712e383e1319718276f6b
|
4
|
+
data.tar.gz: 5ceef85a5361f84cff9274f0084e0fef16a0c98c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 795159f0daabd97d240b5b1f00df04cb7967f615f2db41c236ddf781065f2bb5f9180e04854a133e3b20d051ff4ab4dec059fe0653a721978672f648c63e360f
|
7
|
+
data.tar.gz: 4996749b3c647a9ab9994faffc87626de4c2241f8418126190be2a280ee70440e122422bf73d0008d5d0528506fc67db483b1356cde3fe26d0d3dc7bcc5768bc
|
data/lib/add.rb
CHANGED
data/lib/build.rb
CHANGED
data/lib/commit.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
|
-
require_relative('./commandarray.rb')
|
1
|
+
#require_relative('./commandarray.rb')
|
2
2
|
require_relative('./environment.rb')
|
3
3
|
|
4
|
-
class Commit
|
4
|
+
class Commit #< CommandArray
|
5
5
|
def update
|
6
6
|
if(Dir.exists?(".git") && `git config --list`.include?('user.name='))
|
7
7
|
if(`git status`.include?('nothing to commit') || `git status`.include?('untracked files present'))
|
data/lib/publish.rb
CHANGED
@@ -1,8 +1,8 @@
|
|
1
|
-
require_relative('./commandarray.rb')
|
1
|
+
#require_relative('./commandarray.rb')
|
2
2
|
require_relative('./environment.rb')
|
3
3
|
require_relative('./console.rb')
|
4
4
|
|
5
|
-
class Publish
|
5
|
+
class Publish #< CommandArray
|
6
6
|
|
7
7
|
def initialize
|
8
8
|
#if(Environment.scm=='git')
|
data/lib/pull.rb
CHANGED
@@ -1,14 +1,14 @@
|
|
1
|
-
require_relative('./commandarray.rb')
|
1
|
+
#require_relative('./commandarray.rb')
|
2
2
|
require_relative('./environment.rb')
|
3
3
|
require 'time'
|
4
4
|
|
5
|
-
class Pull < CommandArray
|
5
|
+
class Pull < Array#< CommandArray
|
6
6
|
def update
|
7
7
|
if(Environment.scm=='git' && Environment.scm_origin.length > 0 && `git config --list`.include?('user.name='))
|
8
8
|
if(Timer.elapsed_exceeds?("last_pull",60*60*2))
|
9
9
|
#if(Timer.get_elapsed("last_pull").nil? || Timer.get_elapsed("last_pull") > 60*60*2)
|
10
|
-
|
11
|
-
|
10
|
+
add "<%`git pull 2>&1`%>"
|
11
|
+
add "<%Timer.set_timestamp('last_pull')%>"
|
12
12
|
end
|
13
13
|
end
|
14
14
|
end
|
data/lib/push.rb
CHANGED
data/lib/setup.rb
CHANGED
data/lib/test.rb
CHANGED
data/lib/upgrade.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
|
-
require_relative('./commandarray.rb')
|
1
|
+
#require_relative('./commandarray.rb')
|
2
2
|
require_relative('./environment.rb')
|
3
3
|
|
4
|
-
class Upgrade < CommandArray
|
4
|
+
class Upgrade < Array#< CommandArray
|
5
5
|
|
6
6
|
def update
|
7
7
|
if(Environment.scm=='git' && Environment.branch=='develop')
|
data/lib/verify.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dev_tasks
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.37
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lou Parslow
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-01-
|
11
|
+
date: 2015-01-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dev_environment
|
@@ -16,28 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '>='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.0.
|
19
|
+
version: 0.0.13
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '>='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.0.
|
26
|
+
version: 0.0.13
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: dev_environment
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - '>='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.0.
|
33
|
+
version: 0.0.13
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - '>='
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 0.0.
|
40
|
+
version: 0.0.13
|
41
41
|
description: defines rake tasks for ruby and C# projects
|
42
42
|
email: lou.parslow@gmail.com
|
43
43
|
executables: []
|
@@ -48,7 +48,6 @@ files:
|
|
48
48
|
- lib/artifacts.x.rb
|
49
49
|
- lib/build.rb
|
50
50
|
- lib/color.rb
|
51
|
-
- lib/commandarray.rb
|
52
51
|
- lib/commands.rb
|
53
52
|
- lib/commit.rb
|
54
53
|
- lib/console.rb
|