trackman 0.2.87 → 0.2.88

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.
@@ -1,3 +1,3 @@
1
1
  module Trackman
2
- VERSION = "0.2.87"
2
+ VERSION = "0.2.88"
3
3
  end
data/spec/sync_spec.rb CHANGED
@@ -64,4 +64,12 @@ describe Trackman::Assets::Asset do
64
64
 
65
65
  result.should be_false
66
66
  end
67
+
68
+ it "logs the error when sync is broken" do
69
+ MyTestAsset.stub!(:sync).and_raise("something is wrong")
70
+
71
+ RemoteAsset.should_receive(:log_exception).once
72
+
73
+ lambda { result = MyTestAsset.autosync }.should_not raise_error
74
+ end
67
75
  end
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.2.87
4
+ version: 0.2.88
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-08-10 00:00:00.000000000 Z
13
+ date: 2012-08-16 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rest-client
@@ -489,7 +489,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
489
489
  version: '0'
490
490
  requirements: []
491
491
  rubyforge_project:
492
- rubygems_version: 1.8.24
492
+ rubygems_version: 1.8.22
493
493
  signing_key:
494
494
  specification_version: 3
495
495
  summary: Client version of the Trackman addon on Heroku