dev_tasks 1.0.34 → 1.0.35
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/commandarray.rb +0 -16
- data/lib/dev_tasks.rb +1 -1
- data/lib/environment.rb +0 -7
- metadata +6 -77
- data/lib/text.rb +0 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ed9df54a8fe94de343e3a0ae7dba34bfd37c787d
|
4
|
+
data.tar.gz: d6d6ca6cf81dd9af0353c93589772df52b5db948
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 707ce245e642e5e5a70f50f78c7e3e2343eaf9f53488b3a27bdaa00bd7d49e51acd73a7befc58bdf920a303790b6b66a2ef6293766e29ff2f15c038588582533
|
7
|
+
data.tar.gz: 4518f56b16cfd28e92f9630b4423670a71a684cdb77e23de4c0ca6200a52a9c1baf35974a083ecad079eab15a7ce7634f74f5588a32dbce641c6c9fa95497298
|
data/lib/commandarray.rb
CHANGED
@@ -1,21 +1,5 @@
|
|
1
|
-
#require_relative './command.rb'
|
2
|
-
|
3
1
|
class CommandArray < Array
|
4
|
-
|
5
|
-
#def update
|
6
|
-
#end
|
7
|
-
|
8
2
|
def add command
|
9
3
|
self << command if(!include?(command))
|
10
4
|
end
|
11
|
-
|
12
|
-
# def execute
|
13
|
-
# i=0
|
14
|
-
# while i < self.length
|
15
|
-
# self[i]=Command.new(self[i]) if(self[i].is_a?(String))
|
16
|
-
# self[i].execute
|
17
|
-
# i=i+1
|
18
|
-
# end
|
19
|
-
# end
|
20
|
-
|
21
5
|
end
|
data/lib/dev_tasks.rb
CHANGED
@@ -11,7 +11,7 @@ require_relative './dependencies.rb'
|
|
11
11
|
require_relative './console.rb'
|
12
12
|
require_relative './timer.rb'
|
13
13
|
require_relative './settings.rb'
|
14
|
-
require_relative './text.rb'
|
14
|
+
#require_relative './text.rb'
|
15
15
|
require_relative './svnexports.rb'
|
16
16
|
require_relative './logger.rb'
|
17
17
|
|
data/lib/environment.rb
CHANGED
metadata
CHANGED
@@ -1,113 +1,43 @@
|
|
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.35
|
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-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
-
- !ruby/object:Gem::Dependency
|
14
|
-
name: rake
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - '>='
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '0'
|
20
|
-
type: :runtime
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - '>='
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: '0'
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: json
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - '>='
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '0'
|
34
|
-
type: :runtime
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - '>='
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '0'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: rspec
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - '>='
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '0'
|
48
|
-
type: :runtime
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - '>='
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '0'
|
55
13
|
- !ruby/object:Gem::Dependency
|
56
14
|
name: dev_environment
|
57
15
|
requirement: !ruby/object:Gem::Requirement
|
58
16
|
requirements:
|
59
17
|
- - '>='
|
60
18
|
- !ruby/object:Gem::Version
|
61
|
-
version: 0.0.
|
19
|
+
version: 0.0.8
|
62
20
|
type: :runtime
|
63
21
|
prerelease: false
|
64
22
|
version_requirements: !ruby/object:Gem::Requirement
|
65
23
|
requirements:
|
66
24
|
- - '>='
|
67
25
|
- !ruby/object:Gem::Version
|
68
|
-
version: 0.0.
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: rspec
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - '>='
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: '0'
|
76
|
-
type: :development
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - '>='
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: '0'
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
|
-
name: json
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - '>='
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: '0'
|
90
|
-
type: :development
|
91
|
-
prerelease: false
|
92
|
-
version_requirements: !ruby/object:Gem::Requirement
|
93
|
-
requirements:
|
94
|
-
- - '>='
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: '0'
|
26
|
+
version: 0.0.8
|
97
27
|
- !ruby/object:Gem::Dependency
|
98
28
|
name: dev_environment
|
99
29
|
requirement: !ruby/object:Gem::Requirement
|
100
30
|
requirements:
|
101
31
|
- - '>='
|
102
32
|
- !ruby/object:Gem::Version
|
103
|
-
version: 0.0.
|
33
|
+
version: 0.0.8
|
104
34
|
type: :development
|
105
35
|
prerelease: false
|
106
36
|
version_requirements: !ruby/object:Gem::Requirement
|
107
37
|
requirements:
|
108
38
|
- - '>='
|
109
39
|
- !ruby/object:Gem::Version
|
110
|
-
version: 0.0.
|
40
|
+
version: 0.0.8
|
111
41
|
description: defines rake tasks for ruby and C# projects
|
112
42
|
email: lou.parslow@gmail.com
|
113
43
|
executables: []
|
@@ -137,7 +67,6 @@ files:
|
|
137
67
|
- lib/svnexports.rb
|
138
68
|
- lib/teardown.rb
|
139
69
|
- lib/test.rb
|
140
|
-
- lib/text.rb
|
141
70
|
- lib/timer.rb
|
142
71
|
- lib/upgrade.rb
|
143
72
|
- lib/verify.rb
|
data/lib/text.rb
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
class Text
|
2
|
-
def self.replace_text_in_glob(glob,search,replace)
|
3
|
-
Dir.glob(glob).each{ |f| replace_text_in_file(f,search,replace) }
|
4
|
-
end
|
5
|
-
|
6
|
-
def self.replace_text_in_file(filename,search,replace)
|
7
|
-
text1 = File.read(filename)
|
8
|
-
text2 = text1.gsub(search) { |str| str=replace }
|
9
|
-
unless text1==text2
|
10
|
-
File.open(filename,"w") { |f| f.puts text2 }
|
11
|
-
end
|
12
|
-
end
|
13
|
-
|
14
|
-
end
|