heywatch 1.0.2 → 1.0.3
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.
- data/lib/heywatch.rb +2 -2
- metadata +4 -4
data/lib/heywatch.rb
CHANGED
|
@@ -6,7 +6,7 @@ class HeyWatch
|
|
|
6
6
|
class BadRequest < RuntimeError; end
|
|
7
7
|
|
|
8
8
|
URL = "https://heywatch.com"
|
|
9
|
-
VERSION = "1.0.
|
|
9
|
+
VERSION = "1.0.3"
|
|
10
10
|
|
|
11
11
|
attr_reader :cli
|
|
12
12
|
|
|
@@ -109,7 +109,7 @@ class HeyWatch
|
|
|
109
109
|
# hw.update :format, 9877, :video_bitrate => 890
|
|
110
110
|
def update(resource, id, data={})
|
|
111
111
|
@cli["/#{resource}/#{id}"].put(data)
|
|
112
|
-
|
|
112
|
+
true
|
|
113
113
|
rescue RestClient::BadRequest=> e
|
|
114
114
|
raise BadRequest, e.http_body
|
|
115
115
|
end
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: heywatch
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 17
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 1
|
|
8
8
|
- 0
|
|
9
|
-
-
|
|
10
|
-
version: 1.0.
|
|
9
|
+
- 3
|
|
10
|
+
version: 1.0.3
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Bruno Celeste
|
|
@@ -15,7 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2011-06-
|
|
18
|
+
date: 2011-06-22 00:00:00 +02:00
|
|
19
19
|
default_executable:
|
|
20
20
|
dependencies:
|
|
21
21
|
- !ruby/object:Gem::Dependency
|