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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/hydna.rb +3 -3
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a0f0d90e7539d6af9d876a6d6c8852c4fa4a19a0
4
- data.tar.gz: 57facea14364370b218d660d35501be2b5bb3d71
3
+ metadata.gz: 978c8420a928720d8601b3b83a47df767bc90e54
4
+ data.tar.gz: a137d31073e8be48fbf958243082fd194229dedf
5
5
  SHA512:
6
- metadata.gz: 28ce646ed53c462fb94b68c7936bc49cb8fc4b755a9752a58338812324cc640db66e5fe3ffe038fae4f562473b166141ae8ddc11a9de956a955217502100261c
7
- data.tar.gz: 59ab7952d06fbd3c7510a535f755940b5bb47a13b1c7860eb45df4df44df72c42b16441fbfd53b5167e166ba031a76464288cbe1ace9eb6a9c325db1eb3aa34b
6
+ metadata.gz: 565490eb089fa4d844e96682444b46c06997d7fabb0fd4527d5af35ea5c4d96be274edfebe534729a26e1d30f6cb6be985ca5c7b767067e559be6c88e52d6706
7
+ data.tar.gz: d77c690d6238153a61a877393fc119dadfe19ac5653c470037157413076a51a9b396f6a613c830bd8bd900426e16a80deaa7bf5448ba0e0a5fbe867d9c5a5d24
@@ -5,8 +5,8 @@ require 'net/https'
5
5
  module Hydna
6
6
 
7
7
  DEFAULT_CHANNEL = "/"
8
- MAX_PAYLOAD_SIZE = 0xFFF8
9
- MAX_TOKEN_SIZE = 0xFFFF
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.9
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-10-18 00:00:00.000000000 Z
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