coap 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c4fa88769ab252aa9e46a96259925a550baa4b31
4
- data.tar.gz: d44c5df8e6655814f7c94ff9154556f74e26dc7b
3
+ metadata.gz: 5c7fd4770f804c5a31cdd504dff4dc9385450cdf
4
+ data.tar.gz: 219d4ab33ebc43ce15e8e79c2b61eba7ca63195f
5
5
  SHA512:
6
- metadata.gz: bfc70277f16981ea5418b8e4a445761ae49d47c6379d1027a36380f87b1001ee29890eeb4df8e87068b09a6667374633908e07f9b81505c834eae5603aba8d53
7
- data.tar.gz: 1642b287ef80007426bee50b503c5c8cf3859e9e31d426384a09da99c5c42993ec532464b1bc9c4a846f868b961fbc5272070f5d4a480e9de97614ad5aa81bd2
6
+ metadata.gz: bf7186ada64381b5f2f4ef5ac710fd81da7135dea44251fc0373e1f9d9f4b4b6449ebdba32b9ad10c79e7e7344b174bbb6b9f2b80ca8930dcacf71911b4ecac8
7
+ data.tar.gz: 28d5c3bc3f54e76414d4e7d8356e303397d40399c18fd6895aec1ebe4dcb62d5ca345a65ba607f058b86529e7eafacae74d33db5e3a5f363419daea2946583f8
@@ -1,12 +1,21 @@
1
1
  language: ruby
2
2
 
3
+ os:
4
+ - linux
5
+ - osx
6
+
3
7
  rvm:
4
- - 2.2
5
- - jruby
8
+ - head
9
+ - 2.3.0
10
+ - 2.2.4
11
+ - jruby-9.0.4.0
6
12
 
7
13
  matrix:
14
+ fast_finish: true
8
15
  allow_failures:
9
- - rvm: jruby
16
+ - os: osx
17
+ - rvm: head
18
+ - rvm: jruby-9.0.4.0
10
19
 
11
20
  notifications:
12
21
  email: false
@@ -33,6 +33,6 @@ Gem::Specification.new do |s|
33
33
  s.add_development_dependency 'rake', '~> 10.3'
34
34
  s.add_development_dependency 'rspec', '~> 3.0'
35
35
 
36
- s.add_dependency 'celluloid-io', '>= 0.16.1', '< 0.17'
36
+ s.add_dependency 'celluloid-io', '~> 0.17.3'
37
37
  s.add_dependency 'resolv-ipv6favor', '~> 0'
38
38
  end
@@ -1,5 +1,5 @@
1
1
  module CoRE
2
2
  module CoAP
3
- VERSION = '0.1.2'
3
+ VERSION = '0.1.3'
4
4
  end
5
5
  end
@@ -16,10 +16,20 @@ class TestClient < Minitest::Test
16
16
  assert_equal([2, 5], answer.mcode)
17
17
  assert_equal('world', answer.payload)
18
18
 
19
+ coap_me_ipv4_address = Addrinfo.ip("4.coap.me").ip_address
20
+
19
21
  client = CoRE::CoAP::Client.new
20
- answer = client.get('/hello', '134.102.218.16')
22
+ answer = client.get('/hello', coap_me_ipv4_address)
21
23
  assert_equal([2, 5], answer.mcode)
22
24
  assert_equal('world', answer.payload)
25
+
26
+ # coap_me_ipv6_address = Addrinfo.ip("6.coap.me").ip_address
27
+
28
+ # client = CoRE::CoAP::Client.new
29
+ # answer = client.get('/hello', coap_me_ipv6_address)
30
+ # assert_equal([2, 5], answer.mcode)
31
+ # assert_equal('world', answer.payload)
32
+
23
33
  end
24
34
 
25
35
  def test_client_404
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: coap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Carsten Bormann
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2015-10-17 00:00:00.000000000 Z
13
+ date: 2016-01-24 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bundler
@@ -100,22 +100,16 @@ dependencies:
100
100
  name: celluloid-io
101
101
  requirement: !ruby/object:Gem::Requirement
102
102
  requirements:
103
- - - ">="
104
- - !ruby/object:Gem::Version
105
- version: 0.16.1
106
- - - "<"
103
+ - - "~>"
107
104
  - !ruby/object:Gem::Version
108
- version: '0.17'
105
+ version: 0.17.3
109
106
  type: :runtime
110
107
  prerelease: false
111
108
  version_requirements: !ruby/object:Gem::Requirement
112
109
  requirements:
113
- - - ">="
114
- - !ruby/object:Gem::Version
115
- version: 0.16.1
116
- - - "<"
110
+ - - "~>"
117
111
  - !ruby/object:Gem::Version
118
- version: '0.17'
112
+ version: 0.17.3
119
113
  - !ruby/object:Gem::Dependency
120
114
  name: resolv-ipv6favor
121
115
  requirement: !ruby/object:Gem::Requirement
@@ -207,7 +201,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
207
201
  version: '0'
208
202
  requirements: []
209
203
  rubyforge_project:
210
- rubygems_version: 2.5.0
204
+ rubygems_version: 2.5.1
211
205
  signing_key:
212
206
  specification_version: 4
213
207
  summary: Pure Ruby implementation of RFC 7252 (Constrained Application Protocol (CoAP))