rubysl-socket 1.0.0 → 1.0.1

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: d5e21fdfc61f5707b0b303649a7305011531cae8
4
- data.tar.gz: 05ce0441f53ad6b4346fe4e1517660dc3b108888
3
+ metadata.gz: a687efad1b7199d53b21fe71763459fec39b3283
4
+ data.tar.gz: f854d3362dae260928e72a7c4f4a556c55883e97
5
5
  SHA512:
6
- metadata.gz: f900e95109a6b7714a4c8c65c98b6bf213901166d6d63849767c6cadb61d86cbab41f77bdda795525ffed204707d0798d167c4d5b7ad6c7cf330d70db610c7f3
7
- data.tar.gz: 7f6a2ec38d91765320511279cc3c3a7f2243f6ae958469ae19d1c2a2da6d8e7ebea9a74533206dce661cac9e5e8d4d0dc27357e782b1c61320f264ef6605c0a4
6
+ metadata.gz: d185e6ab0ba0c801a1c6279ff7e3091b42476f0fb9438f7b30040acda156b26092deb4a10954746c5db64d5ed414a1acedf8f9c12c5735f2f01008a7c0abd0c3
7
+ data.tar.gz: 265d200b3494d2551b0fa96ca4039cb861ed0f6ac022cc03f3dcf4bf0aafbb61d551a5799c4e5016768f1b53dca6f042244a10a225f086a5e572535d3ada7eac
data/.travis.yml CHANGED
@@ -1,7 +1,14 @@
1
1
  language: ruby
2
2
  env:
3
3
  - RUBYLIB=lib
4
- script: bundle exec mspec
4
+ - RUBYLIB=
5
+ script: mspec spec
5
6
  rvm:
6
7
  - 1.8.7
7
- - rbx-nightly-18mode
8
+ - rbx-1
9
+ matrix:
10
+ exclude:
11
+ - rvm: 1.8.7
12
+ env: RUBYLIB=lib
13
+ - rvm: rbx-1
14
+ env: RUBYLIB=
@@ -617,12 +617,12 @@ class Socket < BasicSocket
617
617
  # IPv4 address
618
618
  offset = FFI.config("sockaddr_in.sin_addr.offset")
619
619
  size = FFI.config("sockaddr_in.sin_addr.size")
620
- addresses << sockaddr.byteslice(offset, size)
620
+ addresses << sockaddr.slice(offset, size)
621
621
  elsif family == AF_INET6
622
622
  # Ipv6 address
623
623
  offset = FFI.config("sockaddr_in6.sin6_addr.offset")
624
624
  size = FFI.config("sockaddr_in6.sin6_addr.size")
625
- addresses << sockaddr.byteslice(offset, size)
625
+ addresses << sockaddr.slice(offset, size)
626
626
  else
627
627
  addresses << a[3]
628
628
  end
@@ -1,5 +1,5 @@
1
1
  module RubySL
2
2
  module Socket
3
- VERSION = "1.0.0"
3
+ VERSION = "1.0.1"
4
4
  end
5
5
  end
@@ -16,6 +16,10 @@ Gem::Specification.new do |spec|
16
16
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
17
17
  spec.require_paths = ["lib"]
18
18
 
19
+ spec.required_ruby_version = "~> 1.8.7"
20
+
19
21
  spec.add_development_dependency "bundler", "~> 1.3"
20
22
  spec.add_development_dependency "rake", "~> 10.0"
23
+ spec.add_development_dependency "mspec", "~> 1.5"
24
+ spec.add_development_dependency "rubysl-prettyprint", "~> 1.0"
21
25
  end
@@ -1,2 +1 @@
1
- require File.expand_path('../../../../spec_helper', __FILE__)
2
1
  require File.expand_path('../../fixtures/classes', __FILE__)
metadata CHANGED
@@ -1,43 +1,71 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubysl-socket
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Shirai
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-08-27 00:00:00.000000000 Z
11
+ date: 2014-06-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.3'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.3'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ~>
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
33
  version: '10.0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ~>
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '10.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: mspec
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '1.5'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '1.5'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rubysl-prettyprint
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '1.0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '1.0'
41
69
  description: Ruby standard library socket.
42
70
  email:
43
71
  - brixen@gmail.com
@@ -45,8 +73,8 @@ executables: []
45
73
  extensions: []
46
74
  extra_rdoc_files: []
47
75
  files:
48
- - .gitignore
49
- - .travis.yml
76
+ - ".gitignore"
77
+ - ".travis.yml"
50
78
  - Gemfile
51
79
  - LICENSE
52
80
  - README.md
@@ -203,17 +231,17 @@ require_paths:
203
231
  - lib
204
232
  required_ruby_version: !ruby/object:Gem::Requirement
205
233
  requirements:
206
- - - '>='
234
+ - - "~>"
207
235
  - !ruby/object:Gem::Version
208
- version: '0'
236
+ version: 1.8.7
209
237
  required_rubygems_version: !ruby/object:Gem::Requirement
210
238
  requirements:
211
- - - '>='
239
+ - - ">="
212
240
  - !ruby/object:Gem::Version
213
241
  version: '0'
214
242
  requirements: []
215
243
  rubyforge_project:
216
- rubygems_version: 2.0.7
244
+ rubygems_version: 2.2.2
217
245
  signing_key:
218
246
  specification_version: 4
219
247
  summary: Ruby standard library socket.