heywatch 1.0.4 → 1.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/bin/heywatch +1 -0
  2. data/lib/heywatch.rb +2 -2
  3. metadata +5 -7
data/bin/heywatch CHANGED
@@ -95,6 +95,7 @@ begin
95
95
  end
96
96
 
97
97
  resource, method = ARGV[0].split(":")
98
+ method ||= "all"
98
99
  params = ARGV[1..-1]
99
100
 
100
101
  $stderr.puts [resource, method, params].inspect if ENV["DEBUG"]
data/lib/heywatch.rb CHANGED
@@ -5,8 +5,8 @@ class HeyWatch
5
5
  class InvalidResource < ArgumentError; end
6
6
  class BadRequest < RuntimeError; end
7
7
 
8
- URL = "https://heywatch.com"
9
- VERSION = "1.0.4"
8
+ URL = ENV["HEYWATCH_URL"] || "https://heywatch.com"
9
+ VERSION = "1.0.6"
10
10
 
11
11
  attr_reader :cli
12
12
 
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: 31
4
+ hash: 27
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 4
10
- version: 1.0.4
9
+ - 6
10
+ version: 1.0.6
11
11
  platform: ruby
12
12
  authors:
13
13
  - Bruno Celeste
@@ -15,8 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-06-22 00:00:00 +02:00
19
- default_executable:
18
+ date: 2012-05-23 00:00:00 Z
20
19
  dependencies:
21
20
  - !ruby/object:Gem::Dependency
22
21
  name: rest-client
@@ -57,7 +56,6 @@ extra_rdoc_files: []
57
56
  files:
58
57
  - lib/heywatch.rb
59
58
  - bin/heywatch
60
- has_rdoc: true
61
59
  homepage: http://heywatch.com
62
60
  licenses: []
63
61
 
@@ -87,7 +85,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
87
85
  requirements: []
88
86
 
89
87
  rubyforge_project:
90
- rubygems_version: 1.5.0
88
+ rubygems_version: 1.8.24
91
89
  signing_key:
92
90
  specification_version: 3
93
91
  summary: Client library and CLI to encode videos with HeyWatch