ultrahook 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: eca7ea24fa46f90513699730b1dd6f2c25a2d06a
4
+ data.tar.gz: e77fb90563e7af9b70282b4a49d08ac23e927cb8
5
+ SHA512:
6
+ metadata.gz: cf3283536e621e7887f5fa35defe0eee4da30cf7e1507bad863eeb47704bb5aafbd112345529e98cfca1d311344346f937c146a839f4c81ed8946e68c3cb16d7
7
+ data.tar.gz: 70549b14bcb5c36db536a704d5a9459288cb621ff0daa991ddb07e4429f970a17ba93bce4b7436239281bcc6518e615f74657553609023b7b1f29d697acf2546
@@ -81,7 +81,7 @@ module UltraHook
81
81
 
82
82
  def process(msg)
83
83
  begin
84
- payload = JSON.parse(Base64.decode64(msg))
84
+ payload = JSON.parse(Base64.decode64(msg).force_encoding("utf-8"))
85
85
  rescue
86
86
  error "Cannot communicate with server."
87
87
  end
@@ -1,3 +1,3 @@
1
1
  module UltraHook
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
metadata CHANGED
@@ -1,30 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ultrahook
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
5
- prerelease:
4
+ version: 0.1.5
6
5
  platform: ruby
7
6
  authors:
8
7
  - Vinay Sahni
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2015-07-20 00:00:00.000000000 Z
11
+ date: 2018-03-29 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: json
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - ">="
20
18
  - !ruby/object:Gem::Version
21
19
  version: 1.8.0
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - ">="
28
25
  - !ruby/object:Gem::Version
29
26
  version: 1.8.0
30
27
  description: UltraHook lets you receive webhooks on localhost. It relays HTTP POST
@@ -36,34 +33,33 @@ executables:
36
33
  extensions: []
37
34
  extra_rdoc_files: []
38
35
  files:
39
- - lib/ultrahook/client.rb
40
- - lib/ultrahook/version.rb
41
- - lib/ultrahook.rb
42
36
  - LICENSE
43
37
  - bin/ultrahook
38
+ - lib/ultrahook.rb
39
+ - lib/ultrahook/client.rb
40
+ - lib/ultrahook/version.rb
44
41
  homepage: http://www.ultrahook.com
45
42
  licenses:
46
43
  - Commercial
44
+ metadata: {}
47
45
  post_install_message:
48
46
  rdoc_options: []
49
47
  require_paths:
50
48
  - lib
51
49
  required_ruby_version: !ruby/object:Gem::Requirement
52
- none: false
53
50
  requirements:
54
- - - ! '>='
51
+ - - ">="
55
52
  - !ruby/object:Gem::Version
56
53
  version: '0'
57
54
  required_rubygems_version: !ruby/object:Gem::Requirement
58
- none: false
59
55
  requirements:
60
- - - ! '>='
56
+ - - ">="
61
57
  - !ruby/object:Gem::Version
62
58
  version: '0'
63
59
  requirements: []
64
60
  rubyforge_project:
65
- rubygems_version: 1.8.23
61
+ rubygems_version: 2.4.8
66
62
  signing_key:
67
- specification_version: 3
63
+ specification_version: 4
68
64
  summary: Receive webhooks on localhost
69
65
  test_files: []