hydna 0.1.6 → 0.1.7
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/lib/hydna.rb +2 -2
- 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: cb7c756cc881dd9040ad1558d97a7dbe6a8f9cf8
|
|
4
|
+
data.tar.gz: 33d0ea576634f21b400c11810f1adbe6c2149927
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: db4f3db2b4c10bad7b0129fac610ebc52566ae326cccf176fb0efb3872830890f6bfd6070a6c6e0cb0bf57c0e5bfc4655e3eba0f5634614127bbdafa57fc6acd
|
|
7
|
+
data.tar.gz: a23435b74f860bf2bbeaad833b58a1383a9c3a2cd8cfd40f34fb789c2a045c17841efa580729c5151c6004e2c4761a0a8660fa9255ae8b714c1844c57e133b85
|
data/lib/hydna.rb
CHANGED
|
@@ -5,9 +5,9 @@ require 'net/https'
|
|
|
5
5
|
module Hydna
|
|
6
6
|
|
|
7
7
|
DEFAULT_CHANNEL = 1
|
|
8
|
-
MAX_PAYLOAD_SIZE =
|
|
8
|
+
MAX_PAYLOAD_SIZE = 0xFFF8
|
|
9
9
|
MAX_CHANNEL_VALUE = 0xFFFFFFFF
|
|
10
|
-
MAX_TOKEN_SIZE =
|
|
10
|
+
MAX_TOKEN_SIZE = 0xFFFF
|
|
11
11
|
|
|
12
12
|
def self.emit(domain, data, ctoken=nil, agent='hydna-ruby-push')
|
|
13
13
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: hydna
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Isak Wiström
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2013-
|
|
11
|
+
date: 2013-06-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: Hydna exposes a straightforward API over HTTP. It uses a single resource;
|
|
14
14
|
sending messages is done by making POST requests to the same URI you'd use to connect
|