rubysl-fcntl 2.0.4 → 3.0

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: db01b0fc185a1fe2e96681d9a438588cfa1c2985
4
- data.tar.gz: 9b95d366d26edba9046a8daf0dc91437201d36c8
3
+ metadata.gz: 6c5e4ee5e15715010e52d6e16739fe495e20e37e
4
+ data.tar.gz: 5c5c91dc14e26a2bf6782d69e008a1597ac6612f
5
5
  SHA512:
6
- metadata.gz: b3f605d4b1bcca8c13ed1fa10a8a36ff0377aed891ff089fb59d1c5f534b2dd1418498d45fd54a66d02633e84ac818165ec5aac85621b1d8e7a4c3e07532ba0b
7
- data.tar.gz: 16dce68b230de37d87b38ac866c879f8cb6f4a403d55e25f0d6f2ca7b80a15d2d5bc2081729264469d4846d41e52c5a77ee7b49eddf5a084599a1e169a46baf1
6
+ metadata.gz: 81264b7d87660f72cf157c35339503ccdcca062155f464c61d7d097da2cf5ae2e9dd38e85f3708af1494d9d97514e391df5e017ac063781c6c5b1fff7d3daa87
7
+ data.tar.gz: c6815fa184e13402564a90261c5d9b3c411f05fb10dd916036ec3bccd2ca61d1e72dc8e5c20ad377ec2a59adc32691375785ad5998466448897cb66ba454e60a
@@ -1,11 +1,14 @@
1
1
  language: ruby
2
- before_install:
3
- - rvm use $RVM --install --binary --fuzzy
4
- - gem update --system
5
- - gem --version
6
- - gem install rubysl-bundler
7
- - gem install rubysl-rake
8
- - rake
9
2
  env:
10
- - RVM=rbx-nightly-d21
11
- script: bundle exec mspec -Ilib spec
3
+ - RUBYLIB=lib
4
+ - RUBYLIB=
5
+ script: mspec spec
6
+ rvm:
7
+ - 2.0.0
8
+ - rbx-2.2.1
9
+ matrix:
10
+ exclude:
11
+ - rvm: 2.0.0
12
+ env: RUBYLIB=lib
13
+ - rvm: rbx-2.2.1
14
+ env: RUBYLIB=
@@ -0,0 +1,56 @@
1
+ Ruby is copyrighted free software by Yukihiro Matsumoto <matz@netlab.jp>.
2
+ You can redistribute it and/or modify it under either the terms of the
3
+ 2-clause BSDL (see the file BSDL), or the conditions below:
4
+
5
+ 1. You may make and give away verbatim copies of the source form of the
6
+ software without restriction, provided that you duplicate all of the
7
+ original copyright notices and associated disclaimers.
8
+
9
+ 2. You may modify your copy of the software in any way, provided that
10
+ you do at least ONE of the following:
11
+
12
+ a) place your modifications in the Public Domain or otherwise
13
+ make them Freely Available, such as by posting said
14
+ modifications to Usenet or an equivalent medium, or by allowing
15
+ the author to include your modifications in the software.
16
+
17
+ b) use the modified software only within your corporation or
18
+ organization.
19
+
20
+ c) give non-standard binaries non-standard names, with
21
+ instructions on where to get the original software distribution.
22
+
23
+ d) make other distribution arrangements with the author.
24
+
25
+ 3. You may distribute the software in object code or binary form,
26
+ provided that you do at least ONE of the following:
27
+
28
+ a) distribute the binaries and library files of the software,
29
+ together with instructions (in the manual page or equivalent)
30
+ on where to get the original distribution.
31
+
32
+ b) accompany the distribution with the machine-readable source of
33
+ the software.
34
+
35
+ c) give non-standard binaries non-standard names, with
36
+ instructions on where to get the original software distribution.
37
+
38
+ d) make other distribution arrangements with the author.
39
+
40
+ 4. You may modify and include the part of the software into any other
41
+ software (possibly commercial). But some files in the distribution
42
+ are not written by the author, so that they are not under these terms.
43
+
44
+ For the list of those files and their copying conditions, see the
45
+ file LEGAL.
46
+
47
+ 5. The scripts and library files supplied as input to or produced as
48
+ output from the software do not automatically fall under the
49
+ copyright of the software, but belong to whomever generated them,
50
+ and may be sold commercially, and may be aggregated with this
51
+ software.
52
+
53
+ 6. THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
54
+ IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
55
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
56
+ PURPOSE.
@@ -1 +1,25 @@
1
- require "rubysl/fcntl"
1
+ module Fcntl
2
+ FD_CLOEXEC = Rubinius::Config['rbx.platform.fcntl.FD_CLOEXEC']
3
+ F_DUPFD = Rubinius::Config['rbx.platform.fcntl.F_DUPFD']
4
+ F_GETFD = Rubinius::Config['rbx.platform.fcntl.F_GETFD']
5
+ F_GETFL = Rubinius::Config['rbx.platform.fcntl.F_GETFL']
6
+ F_GETLK = Rubinius::Config['rbx.platform.fcntl.F_GETLK']
7
+ F_RDLCK = Rubinius::Config['rbx.platform.fcntl.F_RDLCK']
8
+ F_SETFD = Rubinius::Config['rbx.platform.fcntl.F_SETFD']
9
+ F_SETFL = Rubinius::Config['rbx.platform.fcntl.F_SETFL']
10
+ F_SETLK = Rubinius::Config['rbx.platform.fcntl.F_SETLK']
11
+ F_SETLKW = Rubinius::Config['rbx.platform.fcntl.F_SETLKW']
12
+ F_UNLCK = Rubinius::Config['rbx.platform.fcntl.F_UNLCK']
13
+ F_WRLCK = Rubinius::Config['rbx.platform.fcntl.F_WRLCK']
14
+ O_ACCMODE = Rubinius::Config['rbx.platform.fcntl.O_ACCMODE']
15
+ O_APPEND = Rubinius::Config['rbx.platform.fcntl.O_APPEND']
16
+ O_CREAT = Rubinius::Config['rbx.platform.fcntl.O_CREAT']
17
+ O_EXCL = Rubinius::Config['rbx.platform.fcntl.O_EXCL']
18
+ O_NDELAY = Rubinius::Config['rbx.platform.fcntl.O_NDELAY']
19
+ O_NOCTTY = Rubinius::Config['rbx.platform.fcntl.O_NOCTTY']
20
+ O_NONBLOCK = Rubinius::Config['rbx.platform.fcntl.O_NONBLOCK']
21
+ O_RDONLY = Rubinius::Config['rbx.platform.fcntl.O_RDONLY']
22
+ O_RDWR = Rubinius::Config['rbx.platform.fcntl.O_RDWR']
23
+ O_TRUNC = Rubinius::Config['rbx.platform.fcntl.O_TRUNC']
24
+ O_WRONLY = Rubinius::Config['rbx.platform.fcntl.O_WRONLY']
25
+ end
@@ -1,2 +1 @@
1
1
  require "rubysl/fcntl/version"
2
- require "rubysl/fcntl/fcntl"
@@ -1,5 +1,5 @@
1
1
  module RubySL
2
2
  module Fcntl
3
- VERSION = "2.0.4"
3
+ VERSION = "3.0"
4
4
  end
5
5
  end
@@ -13,7 +13,7 @@ Gem::Specification.new do |spec|
13
13
 
14
14
  spec.files = `git ls-files`.split($/)
15
15
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
16
- spec.extensions = ["lib/rubysl/fcntl/extconf.rb"]
16
+ spec.extensions = []
17
17
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
18
18
  spec.require_paths = ["lib"]
19
19
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubysl-fcntl
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.4
4
+ version: '3.0'
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-09-26 00:00:00.000000000 Z
11
+ date: 2017-11-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi2-generators
@@ -84,20 +84,18 @@ description: Ruby standard library fcntl.
84
84
  email:
85
85
  - brixen@gmail.com
86
86
  executables: []
87
- extensions:
88
- - lib/rubysl/fcntl/extconf.rb
87
+ extensions: []
89
88
  extra_rdoc_files: []
90
89
  files:
91
90
  - ".gitignore"
92
91
  - ".travis.yml"
93
92
  - Gemfile
94
93
  - LICENSE
94
+ - MRI_LICENSE
95
95
  - README.md
96
96
  - Rakefile
97
97
  - lib/fcntl.rb
98
98
  - lib/rubysl/fcntl.rb
99
- - lib/rubysl/fcntl/extconf.rb
100
- - lib/rubysl/fcntl/fcntl.rb.ffi
101
99
  - lib/rubysl/fcntl/version.rb
102
100
  - rubysl-fcntl.gemspec
103
101
  homepage: https://github.com/rubysl/rubysl-fcntl
@@ -120,9 +118,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
120
118
  version: '0'
121
119
  requirements: []
122
120
  rubyforge_project:
123
- rubygems_version: 2.0.7
121
+ rubygems_version: 2.5.1
124
122
  signing_key:
125
123
  specification_version: 4
126
124
  summary: Ruby standard library fcntl.
127
125
  test_files: []
128
- has_rdoc:
@@ -1,15 +0,0 @@
1
- require "ffi2/generators"
2
-
3
- FFI::FileProcessor.new "fcntl.rb.ffi", "fcntl.rb"
4
-
5
- # Fake out rubygem's expected build steps with extconf.rb
6
- File.open "Makefile", "w" do |f|
7
- f.puts <<-EOM
8
- .PHONY: all install
9
-
10
- all:
11
-
12
- install:
13
-
14
- EOM
15
- end
@@ -1,32 +0,0 @@
1
- module Fcntl
2
- @@@
3
- constants do |c|
4
- c.include 'fcntl.h'
5
-
6
- c.const 'F_DUPFD'
7
- c.const 'F_GETFD'
8
- c.const 'F_GETLK'
9
- c.const 'F_SETFD'
10
- c.const 'F_GETFL'
11
- c.const 'F_SETFL'
12
- c.const 'F_SETLK'
13
- c.const 'F_SETLKW'
14
- c.const 'FD_CLOEXEC'
15
- c.const 'F_RDLCK'
16
- c.const 'F_UNLCK'
17
- c.const 'F_WRLCK'
18
- c.const 'O_CREAT'
19
- c.const 'O_EXCL'
20
- c.const 'O_NOCTTY'
21
- c.const 'O_TRUNC'
22
- c.const 'O_APPEND'
23
- c.const 'O_NONBLOCK'
24
- c.const 'O_NDELAY'
25
- c.const 'O_RDONLY'
26
- c.const 'O_RDWR'
27
- c.const 'O_WRONLY'
28
- c.const 'O_ACCMODE'
29
- end
30
- @@@
31
- end
32
-