lib/trackman/assets/asset.rb in trackman-0.5.4 vs lib/trackman/assets/asset.rb in trackman-0.5.5
- old
+ new
@@ -1,9 +1,9 @@
module Trackman
module Assets
class Asset
- extend Components::AssetFactory, Components::Conventions
+ extend AssetFactory, Components::Conventions
extend Components::Diffable, Components::Shippable
include Comparable
def initialize attributes = {}
@assets = []
@@ -65,11 +65,11 @@
local = Asset.all
remote = RemoteAsset.all
diff_result = diff(local, remote)
- Debugger.trace diff_result.inspect
+ Trackman::Utility::Debugger.trace diff_result.inspect
ship diff_result
true
end
@@ -84,10 +84,10 @@
begin
return sync if autosync
rescue Exception => ex
begin
- ::Trackman::Assets::RemoteAsset.log_exception ex
+ Trackman::Utility::Debugger.log_exception ex
ensure
return false
end
end
autosync
\ No newline at end of file