ht_retro 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  module HoptoadNotifier
2
- self.const_set("HEADERS", {
2
+ HEADERS.replace({
3
3
  "X-Hoptoad-Client-Name" =>"Hoptoad Notifier",
4
4
  "Content-type" =>"application/x-yaml",
5
5
  "X-Hoptoad-Client-Version" =>"1.2.4",
@@ -7,7 +7,8 @@ module HoptoadNotifier
7
7
  })
8
8
 
9
9
  class Sender
10
- self.const_set("NOTICES_URI", '/notices/'.freeze)
10
+ self.send(:remove_const, "NOTICES_URI")
11
+ NOTICES_URI = '/notices/'
11
12
  end
12
13
 
13
14
  class << self
@@ -1,5 +1,5 @@
1
1
  module Hoptoad
2
2
  module Retro
3
- VERSION = "0.0.2"
3
+ VERSION = "0.0.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ht_retro
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 2
10
- version: 0.0.2
9
+ - 3
10
+ version: 0.0.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jake Varghese