towsta 1.2.9 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/towsta/kinds/formated.rb +4 -0
- data/lib/towsta/kinds/main.rb +1 -1
- data/lib/towsta/synchronizer.rb +1 -1
- data/lib/towsta/version.rb +1 -1
- metadata +4 -4
data/lib/towsta/kinds/main.rb
CHANGED
data/lib/towsta/synchronizer.rb
CHANGED
@@ -21,7 +21,7 @@ module Towsta
|
|
21
21
|
uri = URI.parse("http://manager.towsta.com/synchronizers/#{$towsta_secret}/import.json")
|
22
22
|
return JSON.parse Net::HTTP.post_form(uri, {:code => export.to_json}).body.to_s, :symbolize_names => true
|
23
23
|
rescue
|
24
|
-
return {:status => false}
|
24
|
+
return {:status => false, :message => 'Internal Server Error'}
|
25
25
|
end
|
26
26
|
end
|
27
27
|
|
data/lib/towsta/version.rb
CHANGED
metadata
CHANGED
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
|
|
4
4
|
prerelease: false
|
5
5
|
segments:
|
6
6
|
- 1
|
7
|
-
-
|
8
|
-
-
|
9
|
-
version: 1.
|
7
|
+
- 3
|
8
|
+
- 0
|
9
|
+
version: 1.3.0
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Mortaro
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2012-01-
|
17
|
+
date: 2012-01-30 00:00:00 -02:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|