hpfeeds 0.1.5 → 0.1.6
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 +4 -4
- data/README.md +2 -0
- data/lib/hpfeeds/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: dc12c81b25dbb4039affdce014d7c4af220aca81
|
|
4
|
+
data.tar.gz: ce85a6e663faa4eba9eaf47565797da3695da8d0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0142b027a55252e987cadb998dbdcf567f886f07cf6bb19b7397f2f3e9808347b2ed92021875bea66110664edc497f015277380c26cdda4040b687abaa8735d0
|
|
7
|
+
data.tar.gz: 3c8e557fc15854b90ab97dc32229bf5ef584ea413f238c28d170a27d6db058d107dc2723a3751aeb8925234872c103cd9387cce627d2fa32c64a50764c8b69ce
|
data/README.md
CHANGED
|
@@ -52,6 +52,7 @@ end
|
|
|
52
52
|
```
|
|
53
53
|
### HPFeeds messages handler
|
|
54
54
|
It's also possibile to set separate handlers for messages from different channels, as follows:
|
|
55
|
+
|
|
55
56
|
```ruby
|
|
56
57
|
@hp.subscribe(chan1, chan2) do
|
|
57
58
|
puts "Received something"
|
|
@@ -73,6 +74,7 @@ It's optional: if you don't provide any handler, an exception will be raised (`H
|
|
|
73
74
|
|
|
74
75
|
### Logging
|
|
75
76
|
It's possibile to specify a path for log file (default is stdout) and a log level, as follows
|
|
77
|
+
|
|
76
78
|
```ruby
|
|
77
79
|
@hp = HPFeeds::Client.new({
|
|
78
80
|
host: hpfeeds_server_name_here,
|
data/lib/hpfeeds/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: hpfeeds
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Francesco Coda Zabetta
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2013-
|
|
11
|
+
date: 2013-06-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|