fcntl 1.0.2 → 1.1.0

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. checksums.yaml +4 -4
  2. data/ext/fcntl/fcntl.c +6 -0
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 80b17a247c77e5f9d90df98db79ea4fad010c708591d4b9ebf747da37cc0d7a9
4
- data.tar.gz: a3cb9608903122b80a1e3fcfb6c89a00708baaf5b4538050d8115c79caf3c834
3
+ metadata.gz: 7e7c991d1b9de093aeae813fb84183cab403c9056cf9b23132d3e8aa69b5e408
4
+ data.tar.gz: bc201a3be6cc6219b5a71a2572f11ba34954521cbc6255e447ad5c3412170e22
5
5
  SHA512:
6
- metadata.gz: 22627ca3ecdcd922c13625ad4382ae676e35c0c078ef0da5526c8d333d67cc541b383b86a90f90277cc73c1ddf7c4af1226e86abe06d502f0b32255dba673e13
7
- data.tar.gz: 3f8f5794736bf2f2090ed50a3e0de64d78906b3a3f720e56be8e417736e7734b35efea12d0a3b5556741df76f54835b082aa09ce948407e63bd5aef112090806
6
+ metadata.gz: 6f18cad987cebc00180caee04ec4f1b1d3d9c98f58bd095649c41c8ec55ed76cb9f55717b222fb4affe1d8093bb1374231c976dd8169d6ab3eee5002a0554f7f
7
+ data.tar.gz: 348b5d867917b56864920378867db54b5dfa0152c32c8377c9734b516751e210d5db6f64813a47175a750b209a8761b67a187c72ee9732531cda89bf3a6cafad
data/ext/fcntl/fcntl.c CHANGED
@@ -61,10 +61,16 @@ pack up your own arguments to pass as args for locking functions, etc.
61
61
  * f.fcntl(Fcntl::F_SETFL, Fcntl::O_NONBLOCK|m)
62
62
  *
63
63
  */
64
+
65
+ #define FCNTL_VERSION "1.1.0"
66
+
64
67
  void
65
68
  Init_fcntl(void)
66
69
  {
67
70
  VALUE mFcntl = rb_define_module("Fcntl");
71
+
72
+ rb_define_const(mFcntl, "VERSION", rb_str_new_cstr(FCNTL_VERSION));
73
+
68
74
  #ifdef F_DUPFD
69
75
  /* Document-const: F_DUPFD
70
76
  *
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fcntl
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yukihiro Matsumoto
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-12-05 00:00:00.000000000 Z
11
+ date: 2023-11-07 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Loads constants defined in the OS fcntl.h C header file
14
14
  email:
@@ -40,7 +40,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
40
40
  - !ruby/object:Gem::Version
41
41
  version: '0'
42
42
  requirements: []
43
- rubygems_version: 3.4.0.dev
43
+ rubygems_version: 3.5.0.dev
44
44
  signing_key:
45
45
  specification_version: 4
46
46
  summary: Loads constants defined in the OS fcntl.h C header file