hydna 0.1.9 → 0.1.10
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 +3 -3
- 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: 978c8420a928720d8601b3b83a47df767bc90e54
|
|
4
|
+
data.tar.gz: a137d31073e8be48fbf958243082fd194229dedf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 565490eb089fa4d844e96682444b46c06997d7fabb0fd4527d5af35ea5c4d96be274edfebe534729a26e1d30f6cb6be985ca5c7b767067e559be6c88e52d6706
|
|
7
|
+
data.tar.gz: d77c690d6238153a61a877393fc119dadfe19ac5653c470037157413076a51a9b396f6a613c830bd8bd900426e16a80deaa7bf5448ba0e0a5fbe867d9c5a5d24
|
data/lib/hydna.rb
CHANGED
|
@@ -5,8 +5,8 @@ require 'net/https'
|
|
|
5
5
|
module Hydna
|
|
6
6
|
|
|
7
7
|
DEFAULT_CHANNEL = "/"
|
|
8
|
-
MAX_PAYLOAD_SIZE =
|
|
9
|
-
MAX_TOKEN_SIZE =
|
|
8
|
+
MAX_PAYLOAD_SIZE = 0xFFFA
|
|
9
|
+
MAX_TOKEN_SIZE = MAX_PAYLOAD_SIZE
|
|
10
10
|
|
|
11
11
|
def self.emit(domain, data, ctoken=nil, agent='hydna-ruby-push')
|
|
12
12
|
|
|
@@ -142,4 +142,4 @@ module Hydna
|
|
|
142
142
|
}
|
|
143
143
|
|
|
144
144
|
end
|
|
145
|
-
end
|
|
145
|
+
end
|
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.10
|
|
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-11-20 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
|