dev 2.1.25 → 2.1.26
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/dev +1 -1
- data/lib/base/environment.rb +1 -38
- data/lib/base/source.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: 8b61f74f98730e6573fd34962a234a189cbc0b07
|
4
|
+
data.tar.gz: 47bf2e0eaf657984053ac2de9064b42b5199027e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2013bfb732ef5243d4b37599d6a32c6e9e1af199aea5dbff98019383039a2628a9f78ebd2fd9225ef1390e241386ab3bc7e9c348cee302e459208cfc08b905d9
|
7
|
+
data.tar.gz: f72ae7e4798e51e3a02e43256fa2c447d0e07595f1063beb95b1db859653fd2464cce7caab621db6352f527dea7cfe9a08fa40de75e5772758463c6a6d225480
|
data/bin/dev
CHANGED
data/lib/base/environment.rb
CHANGED
@@ -70,14 +70,8 @@ class Environment < Hash
|
|
70
70
|
dir
|
71
71
|
end
|
72
72
|
|
73
|
-
#def publish_dir
|
74
|
-
# dir="#{root_dir}/publish"
|
75
|
-
# FileUtils.mkdir_p dir if !File.exists? dir
|
76
|
-
# dir
|
77
|
-
#end
|
78
|
-
|
79
73
|
def wrk_dir
|
80
|
-
dir="#{root_dir}/
|
74
|
+
dir="#{root_dir}/work"
|
81
75
|
FileUtils.mkdir_p dir if !File.exists? dir
|
82
76
|
dir
|
83
77
|
end
|
@@ -91,8 +85,6 @@ class Environment < Hash
|
|
91
85
|
|
92
86
|
def user
|
93
87
|
get_env('USERNAME')
|
94
|
-
#return ENV['USER'] if !ENV['USER'].nil? #on Unix
|
95
|
-
#ENV['USERNAME']
|
96
88
|
end
|
97
89
|
|
98
90
|
def get_env key
|
@@ -184,25 +176,6 @@ class Environment < Hash
|
|
184
176
|
unix? and not mac?
|
185
177
|
end
|
186
178
|
|
187
|
-
#def self.configuration
|
188
|
-
# config="#{Environment.home}/dev.config.rb"
|
189
|
-
# if(!File.exists?(config))
|
190
|
-
# text=IO.read("#{File.dirname(__FILE__)}/../dev.config.rb")
|
191
|
-
# File.open(config,'w'){|f|f.write(text)}
|
192
|
-
# end
|
193
|
-
# config
|
194
|
-
#end
|
195
|
-
|
196
|
-
#def self.remove directory
|
197
|
-
# if(File.exists?(directory))
|
198
|
-
# begin
|
199
|
-
# FileUtils.rm_rf directory
|
200
|
-
# FileUtils.rm_r directory
|
201
|
-
# rescue
|
202
|
-
# end
|
203
|
-
# end
|
204
|
-
#end
|
205
|
-
|
206
179
|
def self.check
|
207
180
|
puts 'checking commands...'
|
208
181
|
missing_command=false
|
@@ -251,14 +224,4 @@ class Environment < Hash
|
|
251
224
|
end
|
252
225
|
}
|
253
226
|
end
|
254
|
-
|
255
|
-
#def self.get_latest_mtime directory
|
256
|
-
# mtime=Time.new(1980)
|
257
|
-
# Dir.chdir(directory) do
|
258
|
-
# Dir.glob('**/*.*').each{|f|
|
259
|
-
# mtime=File.mtime(f) if mtime.nil? || File.mtime(f) > mtime
|
260
|
-
# }
|
261
|
-
# end
|
262
|
-
# mtime
|
263
|
-
#end
|
264
227
|
end
|
data/lib/base/source.rb
CHANGED
@@ -10,7 +10,7 @@ SOURCE.include('**/*.{swift}')
|
|
10
10
|
SOURCE.include('**/*.{xcodeproj,plist,storyboard,json}')
|
11
11
|
SOURCE.include('**/*.{csproj,sln,nuspec,config,snk}')
|
12
12
|
SOURCE.include('**/*.{saproj}')
|
13
|
-
SOURCE.include('**/*.{jpeg,jpg,png,bmp}')
|
13
|
+
SOURCE.include('**/*.{jpeg,jpg,png,bmp,gif,tif}')
|
14
14
|
SOURCE.include('**/*.{html,htm}')
|
15
15
|
SOURCE.include('**/*.{txt}')
|
16
16
|
SOURCE.include('**/*.{wxs,_wxs}')
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dev
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.26
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lou Parslow
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-08-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|