hey-pubsub 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e106c00b92859e48ed6d87a3f52440676de4c4a9
4
- data.tar.gz: 88e530dd1ccc7ae593187b3d1638b0cd2f4955ca
3
+ metadata.gz: 3c74de34205a5130567e4da8566e1f80db98512f
4
+ data.tar.gz: e5861a7f3e86de7e0c6632a516b2b583d45ad667
5
5
  SHA512:
6
- metadata.gz: f2b7a8732e177084e9cc5860da10c0d80dfb60203c6cc790ca92e0d3b35dcd6fb10397c9c5e011617190910a5ec33487c51868fd5836ceffb52ba923a6cebb6b
7
- data.tar.gz: 521d7417b7ffe5081980c7177a8b7c4e277e32fa739f8af8b328b0514e7ae5e2b41890289848b060d7688c4112dee033a5d376dee69f2b68743d4770d19e3d2a
6
+ metadata.gz: 634763cc8d9e7f78c96bff528d72b4a74d25e1392c85103b85e7f7481a4792631a64844964cdcbd2b7d2c64581d245a177dd6ca908873c94d61956830a12f947
7
+ data.tar.gz: 9882eb37d972a6a20f6172d64ee0fda09c468a7e8015f23d32457cbaa6602ca93fbbdfd6358a9ff2039c6c13572a3d2cb7cc306cd29f0ee4b832295abea5c40b
data/hey-pubsub.gemspec CHANGED
@@ -1,7 +1,7 @@
1
1
  # coding: utf-8
2
- lib = File.expand_path('../lib', __FILE__)
2
+ lib = File.expand_path("../lib", __FILE__)
3
3
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- require 'hey/version'
4
+ require "hey/version"
5
5
 
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = "hey-pubsub"
@@ -22,4 +22,5 @@ Gem::Specification.new do |spec|
22
22
  spec.add_development_dependency "rake", "~> 10.0"
23
23
  spec.add_development_dependency "rspec"
24
24
  spec.add_dependency "activesupport"
25
+ spec.add_dependency "faraday_middleware"
25
26
  end
@@ -1,10 +1,10 @@
1
1
  module Hey::Pubsub::Middleware
2
- class Faraday
2
+ class Faraday < Faraday::Middleware
3
3
  def call(env)
4
- Hey.publish("request", request: env)
4
+ Hey.publish!("request", request: env)
5
5
 
6
6
  @app.call(env).on_complete do |env|
7
- Hey.publish("response", response: env)
7
+ Hey.publish!("response", response: env)
8
8
  end
9
9
  end
10
10
  end
data/lib/hey/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Hey
2
- VERSION = "0.2.2"
2
+ VERSION = "0.2.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hey-pubsub
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - ShippingEasy
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-09-25 00:00:00.000000000 Z
11
+ date: 2015-09-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -66,6 +66,20 @@ dependencies:
66
66
  - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: faraday_middleware
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
69
83
  description:
70
84
  email:
71
85
  - dev@shippingeasy.com