hydna 0.1.0 → 0.1.1

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. data/README.md +2 -3
  2. data/lib/hydna.rb +2 -2
  3. metadata +3 -3
data/README.md CHANGED
@@ -7,9 +7,8 @@ features.
7
7
  More info: https://www.hydna.com/
8
8
 
9
9
  ## Installation
10
-
11
-
12
-
10
+
11
+ gem install hydna
13
12
 
14
13
  ## Usage
15
14
 
data/lib/hydna.rb CHANGED
@@ -5,7 +5,7 @@ require 'net/https'
5
5
  module Hydna
6
6
 
7
7
  DEFAULT_CHANNEL = 1
8
- MAX_PAYLOAD_SIZE = 10240;
8
+ MAX_PAYLOAD_SIZE = 0xFFF8
9
9
  MAX_CHANNEL_VALUE = 0xFFFFFFF
10
10
  MAX_TOKEN_SIZE = 0xFFF8
11
11
 
@@ -84,7 +84,7 @@ module Hydna
84
84
  raise "Priority needs to be a number 1-4"
85
85
  end
86
86
 
87
- if prio < 0 or prio > 4
87
+ if prio < 1 or prio > 4
88
88
  raise "Priority needs to be 1-4"
89
89
  end
90
90
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hydna
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 0
10
- version: 0.1.0
9
+ - 1
10
+ version: 0.1.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - "Isak Wistr\xC3\xB6m"