trackman 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile
CHANGED
@@ -61,10 +61,8 @@ module Trackman
|
|
61
61
|
local = Asset.all
|
62
62
|
remote = RemoteAsset.all
|
63
63
|
diff_result = diff(local, remote)
|
64
|
-
|
65
|
-
Debugger.trace diff_result
|
66
|
-
Debugger.trace diff_result[:update]
|
67
|
-
Debugger.trace diff_result[:delete]
|
64
|
+
|
65
|
+
Debugger.trace diff_result.inspect
|
68
66
|
|
69
67
|
ship diff_result
|
70
68
|
|
data/lib/trackman/version.rb
CHANGED
@@ -7,10 +7,8 @@ namespace :trackman do
|
|
7
7
|
TRACKMAN_MAINTENANCE = 'TRACKMAN_MAINTENANCE_PAGE_URL'
|
8
8
|
|
9
9
|
desc "Syncs your assets with the server, this is what gets executed when you deploy to heroku."
|
10
|
-
task :sync
|
11
|
-
if Debugger.debug_mode?
|
12
|
-
RestClient.log = Logger.new(STDOUT)
|
13
|
-
end
|
10
|
+
task :sync do
|
11
|
+
RestClient.log = Logger.new(STDOUT) if Debugger.debug_mode?
|
14
12
|
Trackman::Assets::Asset.sync
|
15
13
|
end
|
16
14
|
|