carnivore-http 0.2.2 → 0.2.4

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2f249ff2bcc32e656dea42855b1c9f5002c7f7c5
4
- data.tar.gz: da5167bc1fa804b63b741da4bea7483d2d544653
3
+ metadata.gz: 37467796ce245a347449a07231e2f70f6ac07c9b
4
+ data.tar.gz: d9a37d58b50449b003bc95c78a1d7e023eacae97
5
5
  SHA512:
6
- metadata.gz: 5f6975483b01d2f7060cc6d213bd9513eb345b4c268fe0ddb0ab76b5a81026edb4bf421dcdb6fa07746ec647a3e9dd09f21a8846268e2dee8e90f0bdb4bacc1f
7
- data.tar.gz: f1d1f7147463224541388146d95c9e19e7a4f8a5d86f045fa947e15c5f2db939e4655475bd476d8ab7ac05b24e0d8157cc2aedbc73ac5d8f29103132ca02843b
6
+ metadata.gz: b39823d634cab46702f942faa37ac92e86eaeac025bb4743dc4ee151639d3a158df8fd986b1c0937659231d321b6b0dc771578fe11a226192897d4888fb6d34f
7
+ data.tar.gz: cb6e3b2acc5eb175ec4a5c4b023065f90b16567917dee7b497645b33a49a4dc827abb17de5163056b420a959bf6202daf3ffe486acb152c019167caf20cce6aa
@@ -1,3 +1,6 @@
1
+ # v0.2.4
2
+ * Add fix for memoization issues on init
3
+
1
4
  # v0.2.2
2
5
  * Add glob support to `:http_path` source
3
6
  * Allow disabling automatic response on `:http_path`
@@ -34,6 +34,7 @@ module Carnivore
34
34
  def setup(*_)
35
35
  @http_path = args.fetch(:path, '/')
36
36
  @http_method = args.fetch(:method, 'get').to_s.downcase.to_sym
37
+ super
37
38
  if(message_queues[queue_key])
38
39
  raise ArgumentError.new "Conflicting HTTP path source provided! path: #{http_path} method: #{http_method}"
39
40
  else
@@ -41,7 +42,6 @@ module Carnivore
41
42
  :queue => Queue.new
42
43
  )
43
44
  end
44
- super
45
45
  message_queues[queue_key].merge!(
46
46
  Smash.new(:config => args.to_smash)
47
47
  )
@@ -1,6 +1,6 @@
1
1
  module Carnivore
2
2
  module Http
3
3
  # current library version
4
- VERSION = Gem::Version.new('0.2.2')
4
+ VERSION = Gem::Version.new('0.2.4')
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: carnivore-http
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Roberts
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-26 00:00:00.000000000 Z
11
+ date: 2015-02-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: carnivore