fcntl 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +5 -5
  2. data/ext/fcntl/fcntl.c +14 -0
  3. metadata +8 -50
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 19f13d543bd61907ca527a212da3cba5ed9e2180
4
- data.tar.gz: 02f8a1466f0342d0210237c47a6d97b140a3f3d8
2
+ SHA256:
3
+ metadata.gz: b7988a10f0d6202b7f7a2518fba8522800529c1c6cc84081d1d66542593a24ab
4
+ data.tar.gz: fd4a2e5ef518b89e0fc3f88cee99f5360dc0deceb2e9ac3a262508c57246cae4
5
5
  SHA512:
6
- metadata.gz: 808273367a27baaa61ebdf74db2f4c126792a47e60c052bc8bf666b9df89bd05f8f937b82e88791296e1b10abb9a5c326293904fb720f1a4b30a1e9e884d9fa4
7
- data.tar.gz: 14be6010cf1c4167a62cf0d04dec71e58030a59c8fd08a58f19cf13d871514687ab7b74c52940179015731d090f9fdfc52cfc899e5cc409940dd2d1438c0a414
6
+ metadata.gz: 4d63be385cae9b541bf9891e4c3d307ad4fcbb3169851b12714da5ece34b0ecf81cc1032d1cc4229bba3e2ec70c115f537f514e6c62f484fbef718a46c7995f2
7
+ data.tar.gz: '02208356284e6642cf5c8f48b67d513c8329bc754ba4824930cd132a40606db6ae53da61511066ef92a6411139b505a2e439fa7f360b849718b0f8c4ba244cec'
data/ext/fcntl/fcntl.c CHANGED
@@ -159,6 +159,20 @@ Init_fcntl(void)
159
159
  */
160
160
  rb_define_const(mFcntl, "F_WRLCK", INT2NUM(F_WRLCK));
161
161
  #endif
162
+ #ifdef F_SETPIPE_SZ
163
+ /* Document-const: F_SETPIPE_SZ
164
+ *
165
+ * Change the capacity of the pipe referred to by fd to be at least arg bytes.
166
+ */
167
+ rb_define_const(mFcntl, "F_SETPIPE_SZ", INT2NUM(F_SETPIPE_SZ));
168
+ #endif
169
+ #ifdef F_GETPIPE_SZ
170
+ /* Document-const: F_GETPIPE_SZ
171
+ *
172
+ * Return (as the function result) the capacity of the pipe referred to by fd.
173
+ */
174
+ rb_define_const(mFcntl, "F_GETPIPE_SZ", INT2NUM(F_GETPIPE_SZ));
175
+ #endif
162
176
  #ifdef O_CREAT
163
177
  /* Document-const: O_CREAT
164
178
  *
metadata CHANGED
@@ -1,57 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fcntl
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
  - Yukihiro Matsumoto
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-12-11 00:00:00.000000000 Z
12
- dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: bundler
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: '1.14'
20
- type: :development
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - "~>"
25
- - !ruby/object:Gem::Version
26
- version: '1.14'
27
- - !ruby/object:Gem::Dependency
28
- name: rake
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - "~>"
32
- - !ruby/object:Gem::Version
33
- version: '12'
34
- type: :development
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - "~>"
39
- - !ruby/object:Gem::Version
40
- version: '12'
41
- - !ruby/object:Gem::Dependency
42
- name: rake-compiler
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - ">="
46
- - !ruby/object:Gem::Version
47
- version: '0'
48
- type: :development
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - ">="
53
- - !ruby/object:Gem::Version
54
- version: '0'
11
+ date: 2021-10-14 00:00:00.000000000 Z
12
+ dependencies: []
55
13
  description: Loads constants defined in the OS fcntl.h C header file
56
14
  email:
57
15
  - matz@ruby-lang.org
@@ -64,9 +22,10 @@ files:
64
22
  - ext/fcntl/fcntl.c
65
23
  homepage: https://github.com/ruby/fcntl
66
24
  licenses:
25
+ - Ruby
67
26
  - BSD-2-Clause
68
27
  metadata: {}
69
- post_install_message:
28
+ post_install_message:
70
29
  rdoc_options: []
71
30
  require_paths:
72
31
  - lib
@@ -81,9 +40,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
81
40
  - !ruby/object:Gem::Version
82
41
  version: '0'
83
42
  requirements: []
84
- rubyforge_project:
85
- rubygems_version: 2.5.2.1
86
- signing_key:
43
+ rubygems_version: 3.3.0.dev
44
+ signing_key:
87
45
  specification_version: 4
88
46
  summary: Loads constants defined in the OS fcntl.h C header file
89
47
  test_files: []