dev_tasks 0.0.112 → 0.0.113
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.
- data/lib/artifacts.rb +10 -0
- data/lib/dev_tasks.rb +2 -0
- data/lib/spec.json +1 -1
- metadata +1 -1
data/lib/artifacts.rb
CHANGED
data/lib/dev_tasks.rb
CHANGED
@@ -49,6 +49,7 @@ class DevTasks < Hash
|
|
49
49
|
def update
|
50
50
|
self[:dependencies]=Dependencies.new if !has_key?(:dependencies)
|
51
51
|
self[:artifacts]=Artifacts.new if !has_key?(:artifacts)
|
52
|
+
self[:artifacts].update
|
52
53
|
allartifactsexist = true
|
53
54
|
self[:artifacts].each{|f| allartifactsexist=false if !File.exists?(f)}
|
54
55
|
self[:newest_artifact]=self[:artifacts].max_by { |f| File.mtime(f) } if allartifactsexist
|
@@ -155,6 +156,7 @@ end
|
|
155
156
|
|
156
157
|
desc 'displays information about current rake directory'
|
157
158
|
task :info do
|
159
|
+
DEV_TASKS.update
|
158
160
|
Console.print_hash("",DEV_TASKS)
|
159
161
|
end
|
160
162
|
|
data/lib/spec.json
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"name":"dev_tasks","version":"0.0.
|
1
|
+
{"name":"dev_tasks","version":"0.0.113"}
|