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 +4 -4
- data/hey-pubsub.gemspec +3 -2
- data/lib/hey/pubsub/middleware/faraday.rb +3 -3
- data/lib/hey/version.rb +1 -1
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3c74de34205a5130567e4da8566e1f80db98512f
|
4
|
+
data.tar.gz: e5861a7f3e86de7e0c6632a516b2b583d45ad667
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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(
|
2
|
+
lib = File.expand_path("../lib", __FILE__)
|
3
3
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
-
require
|
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
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.
|
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-
|
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
|