isomorfeus-iodine 0.7.45 → 0.7.46

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
  SHA256:
3
- metadata.gz: 277aa32d5edd69e6be34c20fac615da31e888c3f314904d69792f5d3ed5cd6f8
4
- data.tar.gz: 5f2a07b678c05bf3a2ac25c6dcd664f2455d1bb10a5116c68607ee508628154a
3
+ metadata.gz: c337af508230df51518a03d1e31cb89be788bebaafdedb46de6bc4e2b3f947b6
4
+ data.tar.gz: b481e007b094e90548e14f285f9ecfa52483fc362e8a5b9d59e22e91ef0dc28e
5
5
  SHA512:
6
- metadata.gz: f60ea8f0d7d3b500371465c61b576a5600c493cd44a5965855936252c503cea129cf47b0ee32e8b20a63b0cc66596cebe3fc75db498512e22a9903d397d0c042
7
- data.tar.gz: 61377e06f198ed4c2b1b37e40a832cfa6c5cdd3066e05d4cb5ee428898cbc5e391d0f22c9e38f99621016ced805cc61a34873b9b3fcacb3fc681ec64ccf7526f
6
+ metadata.gz: 7ca3e7fcd9f6fb4061b631187917a5d936a995a357ca6b3dfd6b41a46c16e11d159353b043f621e4a5599ea4021871dc66b0d20a264c91cb30bdfdd40d2c5fe5
7
+ data.tar.gz: 2e3e14177ba93b473e5827c00ed1512a2c5b743e06f15c6cb11d4eb1817767cc264265715a75c1bad648533cc7e1532fc95badec1dd34bdbdd400c5a01306395
@@ -1,40 +1,40 @@
1
- ---
2
- name: Bug report
3
- about: Create a report to help us improve
4
- title: ''
5
- labels: ''
6
- assignees: ''
7
-
8
- ---
9
-
10
- ### System Information
11
-
12
- - **OS**: [e.g. macOS 10.15.4]
13
- - **Ruby**: [e.g. 2.7.0]
14
- - **Version**: [e.g. 0.7.38]
15
- - **OpenSSL**: [OpenSSL 1.1.1f 20 Mar 2020]
16
-
17
- ### Description
18
-
19
- A clear and concise description of what the bug is.
20
-
21
- ### Rack App to Reproduce
22
-
23
- ```ruby
24
- APP = {|env| [200, {}, "Hello World"] }
25
- run APP
26
- ```
27
-
28
- ### Testing code
29
-
30
- ```sh
31
- curl http://localhost:3000/
32
- ```
33
-
34
- ### Expected behavior
35
-
36
- A clear and concise description of what you expected to happen.
37
-
38
- ### Actual behavior
39
-
40
- A clear and concise description of what actually happened.
1
+ ---
2
+ name: Bug report
3
+ about: Create a report to help us improve
4
+ title: ''
5
+ labels: ''
6
+ assignees: ''
7
+
8
+ ---
9
+
10
+ ### System Information
11
+
12
+ - **OS**: [e.g. macOS 10.15.4]
13
+ - **Ruby**: [e.g. 2.7.0]
14
+ - **Version**: [e.g. 0.7.38]
15
+ - **OpenSSL**: [OpenSSL 1.1.1f 20 Mar 2020]
16
+
17
+ ### Description
18
+
19
+ A clear and concise description of what the bug is.
20
+
21
+ ### Rack App to Reproduce
22
+
23
+ ```ruby
24
+ APP = {|env| [200, {}, "Hello World"] }
25
+ run APP
26
+ ```
27
+
28
+ ### Testing code
29
+
30
+ ```sh
31
+ curl http://localhost:3000/
32
+ ```
33
+
34
+ ### Expected behavior
35
+
36
+ A clear and concise description of what you expected to happen.
37
+
38
+ ### Actual behavior
39
+
40
+ A clear and concise description of what actually happened.
@@ -14,10 +14,10 @@ jobs:
14
14
  runs-on: ${{ matrix.os }}
15
15
  steps:
16
16
  - uses: actions/checkout@v2
17
- - name: Set up Ruby 3.0
17
+ - name: Set up Ruby 3.1
18
18
  uses: ruby/setup-ruby@v1
19
19
  with:
20
- ruby-version: 3.0
20
+ ruby-version: 3.1
21
21
  bundler-cache: true
22
22
  - name: Build and test with Rake
23
23
  run: |
@@ -1,50 +1,50 @@
1
- /*
2
- Copyright: Boaz Segev, 2018-2019
3
- License: MIT
4
- */
5
- #ifndef H_FIO_TMPFILE_H
6
- /** a simple helper to create temporary files and file names */
7
- #define H_FIO_TMPFILE_H
8
-
9
- #ifndef _GNU_SOURCE
10
- #define _GNU_SOURCE
11
- #endif
12
-
13
- #include <stdio.h>
14
- #include <stdlib.h>
15
-
16
- #include <fcntl.h>
17
- #include <sys/stat.h>
18
- #include <sys/types.h>
19
- #include <unistd.h>
20
-
21
- #ifdef __MINGW32__
22
- #include <fileapi.h>
23
- #endif
24
-
25
- static inline int fio_tmpfile(void) {
26
- // create a temporary file to contain the data.
27
- int fd = 0;
28
- #ifdef __MINGW32__
29
- char name_template[] = "fio";
30
- TCHAR temp_path[(MAX_PATH-14)];
31
- TCHAR temp_filename[MAX_PATH];
32
- GetTempPath(MAX_PATH - 14, temp_path);
33
- GetTempFileNameA(temp_path, name_template, 0, temp_filename);
34
- fd = _open(temp_filename, _O_CREAT | _O_RDWR);
35
- _chmod(temp_filename, _S_IREAD | _S_IWRITE);
36
- #elif defined(P_tmpdir)
37
- if (P_tmpdir[sizeof(P_tmpdir) - 1] == '/') {
38
- char name_template[] = P_tmpdir "facil_io_tmpfile_XXXXXXXX";
39
- fd = mkstemp(name_template);
40
- } else {
41
- char name_template[] = P_tmpdir "/facil_io_tmpfile_XXXXXXXX";
42
- fd = mkstemp(name_template);
43
- }
44
- #else
45
- char name_template[] = "/tmp/facil_io_tmpfile_XXXXXXXX";
46
- fd = mkstemp(name_template);
47
- #endif
48
- return fd;
49
- }
50
- #endif
1
+ /*
2
+ Copyright: Boaz Segev, 2018-2019
3
+ License: MIT
4
+ */
5
+ #ifndef H_FIO_TMPFILE_H
6
+ /** a simple helper to create temporary files and file names */
7
+ #define H_FIO_TMPFILE_H
8
+
9
+ #ifndef _GNU_SOURCE
10
+ #define _GNU_SOURCE
11
+ #endif
12
+
13
+ #include <stdio.h>
14
+ #include <stdlib.h>
15
+
16
+ #include <fcntl.h>
17
+ #include <sys/stat.h>
18
+ #include <sys/types.h>
19
+ #include <unistd.h>
20
+
21
+ #ifdef __MINGW32__
22
+ #include <fileapi.h>
23
+ #endif
24
+
25
+ static inline int fio_tmpfile(void) {
26
+ // create a temporary file to contain the data.
27
+ int fd = 0;
28
+ #ifdef __MINGW32__
29
+ char name_template[] = "fio";
30
+ TCHAR temp_path[(MAX_PATH-14)];
31
+ TCHAR temp_filename[MAX_PATH];
32
+ GetTempPath(MAX_PATH - 14, temp_path);
33
+ GetTempFileNameA(temp_path, name_template, 0, temp_filename);
34
+ fd = _open(temp_filename, _O_CREAT | _O_RDWR);
35
+ _chmod(temp_filename, _S_IREAD | _S_IWRITE);
36
+ #elif defined(P_tmpdir)
37
+ if (P_tmpdir[sizeof(P_tmpdir) - 1] == '/') {
38
+ char name_template[] = P_tmpdir "facil_io_tmpfile_XXXXXXXX";
39
+ fd = mkstemp(name_template);
40
+ } else {
41
+ char name_template[] = P_tmpdir "/facil_io_tmpfile_XXXXXXXX";
42
+ fd = mkstemp(name_template);
43
+ }
44
+ #else
45
+ char name_template[] = "/tmp/facil_io_tmpfile_XXXXXXXX";
46
+ fd = mkstemp(name_template);
47
+ #endif
48
+ return fd;
49
+ }
50
+ #endif