ultrahook 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -34,7 +34,7 @@ module UltraHook
34
34
  end
35
35
 
36
36
  if @options["key"].nil? || @options["key"] == ""
37
- path = "#{Dir.home}/.ultrahook"
37
+ path = File.expand_path("~/.ultrahook")
38
38
  if File.readable?(path)
39
39
  if matchdata = /api_key:\s*([^\s]+)/.match(IO.read(path))
40
40
  @options["key"] = matchdata.captures[0]
@@ -1,3 +1,3 @@
1
1
  module UltraHook
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ultrahook
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-07-17 00:00:00.000000000 Z
12
+ date: 2013-07-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: json
@@ -27,9 +27,9 @@ dependencies:
27
27
  - - ! '>='
28
28
  - !ruby/object:Gem::Version
29
29
  version: 1.8.0
30
- description: UltraHook is a simple command line tool that connects public endpoints
31
- (provided by the ultrahook.com service) to private endpoints accessible from your
32
- computer. It relays any HTTP POST requests sent to the public endpoint.
30
+ description: UltraHook lets you receive webhooks on localhost. It relays HTTP POST
31
+ requests sent from a public endpoints (provided by the ultrahook.com service) to
32
+ private endpoints accessible from your computer.
33
33
  email: vinay@sahni.org
34
34
  executables:
35
35
  - ultrahook
@@ -65,6 +65,5 @@ rubyforge_project:
65
65
  rubygems_version: 1.8.25
66
66
  signing_key:
67
67
  specification_version: 3
68
- summary: A simple command line tool that enables you to receive webhooks while behind
69
- firewalls
68
+ summary: Receive webhooks on localhost
70
69
  test_files: []