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
@@ -1,6 +1,5 @@
1
1
  require "bundler/gem_tasks"
2
2
 
3
-
4
3
  desc "creates a new app to the server and outputs the credentials"
5
4
  task :create_app do
6
5
  require 'trackman'
@@ -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[:create]
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
 
@@ -28,9 +28,6 @@ module Trackman
28
28
  end
29
29
 
30
30
  def self.find id
31
- puts "For #{@@site}"
32
- puts RestClient.get "#{@@site}"
33
-
34
31
  response = RestClient.get "#{@@site}/#{id}"
35
32
 
36
33
  body = Hash[JSON.parse(response).map{ |k, v| [k.to_sym, v] }]
@@ -1,3 +1,3 @@
1
1
  module Trackman
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
@@ -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, :debug do |t, args|
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
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trackman
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: