qr_reader-native 0.0.1
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.
- checksums.yaml +7 -0
- data/LICENSE-mruby.txt +22 -0
- data/LICENSE-spinel.txt +19 -0
- data/LICENSE.txt +21 -0
- data/README.md +61 -0
- data/ext/qr_reader_native/SPINEL_VERSION +1 -0
- data/ext/qr_reader_native/extconf.rb +8 -0
- data/ext/qr_reader_native/mruby/error.h +13 -0
- data/ext/qr_reader_native/mruby/internal.h +145 -0
- data/ext/qr_reader_native/mruby/string.h +22 -0
- data/ext/qr_reader_native/mruby.h +93 -0
- data/ext/qr_reader_native/mruby_shim.h +118 -0
- data/ext/qr_reader_native/qr_reader_native.c +13513 -0
- data/ext/qr_reader_native/qr_reader_native.h +29 -0
- data/ext/qr_reader_native/qr_reader_native_ext.c +598 -0
- data/ext/qr_reader_native/re_cased.h +71 -0
- data/ext/qr_reader_native/re_compile.c +5784 -0
- data/ext/qr_reader_native/re_ctype.h +3540 -0
- data/ext/qr_reader_native/re_exec.c +2190 -0
- data/ext/qr_reader_native/re_internal.h +671 -0
- data/ext/qr_reader_native/re_prop.h +4629 -0
- data/ext/qr_reader_native/re_spinel.c +363 -0
- data/ext/qr_reader_native/re_spinel.h +22 -0
- data/ext/qr_reader_native/re_spinel_utf8.inc +97 -0
- data/ext/qr_reader_native/re_utf8.c +156 -0
- data/ext/qr_reader_native/sp_alloc.c +1447 -0
- data/ext/qr_reader_native/sp_alloc.h +1196 -0
- data/ext/qr_reader_native/sp_argf.h +33 -0
- data/ext/qr_reader_native/sp_array.c +1052 -0
- data/ext/qr_reader_native/sp_array.h +456 -0
- data/ext/qr_reader_native/sp_bigint.c +5826 -0
- data/ext/qr_reader_native/sp_bigint.h +117 -0
- data/ext/qr_reader_native/sp_cold.c +5259 -0
- data/ext/qr_reader_native/sp_compat.h +402 -0
- data/ext/qr_reader_native/sp_core.c +818 -0
- data/ext/qr_reader_native/sp_core.h +56 -0
- data/ext/qr_reader_native/sp_crypto.c +877 -0
- data/ext/qr_reader_native/sp_crypto.h +169 -0
- data/ext/qr_reader_native/sp_dtoa.c +1533 -0
- data/ext/qr_reader_native/sp_dtoa.h +29 -0
- data/ext/qr_reader_native/sp_encoding_names.h +172 -0
- data/ext/qr_reader_native/sp_enum.h +86 -0
- data/ext/qr_reader_native/sp_exc.c +1185 -0
- data/ext/qr_reader_native/sp_exc.h +186 -0
- data/ext/qr_reader_native/sp_exc_ctx.h +56 -0
- data/ext/qr_reader_native/sp_fiber.c +889 -0
- data/ext/qr_reader_native/sp_fiber.h +162 -0
- data/ext/qr_reader_native/sp_fiber_ctx.h +84 -0
- data/ext/qr_reader_native/sp_format.c +695 -0
- data/ext/qr_reader_native/sp_format.h +83 -0
- data/ext/qr_reader_native/sp_gc.c +1793 -0
- data/ext/qr_reader_native/sp_gc.h +762 -0
- data/ext/qr_reader_native/sp_hash.c +131 -0
- data/ext/qr_reader_native/sp_hash.h +131 -0
- data/ext/qr_reader_native/sp_inspect.c +215 -0
- data/ext/qr_reader_native/sp_inspect.h +128 -0
- data/ext/qr_reader_native/sp_io.c +1676 -0
- data/ext/qr_reader_native/sp_io.h +272 -0
- data/ext/qr_reader_native/sp_iobuffer.c +1014 -0
- data/ext/qr_reader_native/sp_iobuffer.h +167 -0
- data/ext/qr_reader_native/sp_marshal.c +487 -0
- data/ext/qr_reader_native/sp_marshal.h +60 -0
- data/ext/qr_reader_native/sp_net.c +1029 -0
- data/ext/qr_reader_native/sp_net.h +205 -0
- data/ext/qr_reader_native/sp_pack.c +1254 -0
- data/ext/qr_reader_native/sp_poly_cold.c +1220 -0
- data/ext/qr_reader_native/sp_proc.c +410 -0
- data/ext/qr_reader_native/sp_proc.h +327 -0
- data/ext/qr_reader_native/sp_process.c +547 -0
- data/ext/qr_reader_native/sp_process_status.c +211 -0
- data/ext/qr_reader_native/sp_process_status.h +66 -0
- data/ext/qr_reader_native/sp_random.c +287 -0
- data/ext/qr_reader_native/sp_random.h +52 -0
- data/ext/qr_reader_native/sp_range.h +144 -0
- data/ext/qr_reader_native/sp_re.c +1379 -0
- data/ext/qr_reader_native/sp_re.h +186 -0
- data/ext/qr_reader_native/sp_re_names.h +59 -0
- data/ext/qr_reader_native/sp_sched.c +4044 -0
- data/ext/qr_reader_native/sp_sched.h +295 -0
- data/ext/qr_reader_native/sp_slab.c +1507 -0
- data/ext/qr_reader_native/sp_str.c +1462 -0
- data/ext/qr_reader_native/sp_str.h +306 -0
- data/ext/qr_reader_native/sp_str_crypt.c +23 -0
- data/ext/qr_reader_native/sp_string.c +92 -0
- data/ext/qr_reader_native/sp_string.h +253 -0
- data/ext/qr_reader_native/sp_system.c +78 -0
- data/ext/qr_reader_native/sp_system.h +18 -0
- data/ext/qr_reader_native/sp_time.c +860 -0
- data/ext/qr_reader_native/sp_time.h +100 -0
- data/ext/qr_reader_native/sp_types.h +292 -0
- data/ext/qr_reader_native/spinel_rt.h +19017 -0
- data/ext/qr_reader_native/unicase.c +399 -0
- data/ext/qr_reader_native/unicase.h +901 -0
- data/lib/qr_reader/native.rb +6 -0
- metadata +153 -0
metadata
ADDED
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: qr_reader-native
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.0.1
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Andi Idogawa
|
|
8
|
+
bindir: bin
|
|
9
|
+
cert_chain: []
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
11
|
+
dependencies:
|
|
12
|
+
- !ruby/object:Gem::Dependency
|
|
13
|
+
name: qr_reader
|
|
14
|
+
requirement: !ruby/object:Gem::Requirement
|
|
15
|
+
requirements:
|
|
16
|
+
- - '='
|
|
17
|
+
- !ruby/object:Gem::Version
|
|
18
|
+
version: 0.0.1
|
|
19
|
+
type: :runtime
|
|
20
|
+
prerelease: false
|
|
21
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
22
|
+
requirements:
|
|
23
|
+
- - '='
|
|
24
|
+
- !ruby/object:Gem::Version
|
|
25
|
+
version: 0.0.1
|
|
26
|
+
description: The hot loops of the pure-Ruby qr_reader gem, compiled to C with the
|
|
27
|
+
Spinel Ruby AOT compiler. qr_reader uses them automatically when this gem is installed;
|
|
28
|
+
without it, qr_reader runs the same code as plain Ruby.
|
|
29
|
+
email:
|
|
30
|
+
- andi@idogawa.com
|
|
31
|
+
executables: []
|
|
32
|
+
extensions:
|
|
33
|
+
- ext/qr_reader_native/extconf.rb
|
|
34
|
+
extra_rdoc_files: []
|
|
35
|
+
files:
|
|
36
|
+
- LICENSE-mruby.txt
|
|
37
|
+
- LICENSE-spinel.txt
|
|
38
|
+
- LICENSE.txt
|
|
39
|
+
- README.md
|
|
40
|
+
- ext/qr_reader_native/SPINEL_VERSION
|
|
41
|
+
- ext/qr_reader_native/extconf.rb
|
|
42
|
+
- ext/qr_reader_native/mruby.h
|
|
43
|
+
- ext/qr_reader_native/mruby/error.h
|
|
44
|
+
- ext/qr_reader_native/mruby/internal.h
|
|
45
|
+
- ext/qr_reader_native/mruby/string.h
|
|
46
|
+
- ext/qr_reader_native/mruby_shim.h
|
|
47
|
+
- ext/qr_reader_native/qr_reader_native.c
|
|
48
|
+
- ext/qr_reader_native/qr_reader_native.h
|
|
49
|
+
- ext/qr_reader_native/qr_reader_native_ext.c
|
|
50
|
+
- ext/qr_reader_native/re_cased.h
|
|
51
|
+
- ext/qr_reader_native/re_compile.c
|
|
52
|
+
- ext/qr_reader_native/re_ctype.h
|
|
53
|
+
- ext/qr_reader_native/re_exec.c
|
|
54
|
+
- ext/qr_reader_native/re_internal.h
|
|
55
|
+
- ext/qr_reader_native/re_prop.h
|
|
56
|
+
- ext/qr_reader_native/re_spinel.c
|
|
57
|
+
- ext/qr_reader_native/re_spinel.h
|
|
58
|
+
- ext/qr_reader_native/re_spinel_utf8.inc
|
|
59
|
+
- ext/qr_reader_native/re_utf8.c
|
|
60
|
+
- ext/qr_reader_native/sp_alloc.c
|
|
61
|
+
- ext/qr_reader_native/sp_alloc.h
|
|
62
|
+
- ext/qr_reader_native/sp_argf.h
|
|
63
|
+
- ext/qr_reader_native/sp_array.c
|
|
64
|
+
- ext/qr_reader_native/sp_array.h
|
|
65
|
+
- ext/qr_reader_native/sp_bigint.c
|
|
66
|
+
- ext/qr_reader_native/sp_bigint.h
|
|
67
|
+
- ext/qr_reader_native/sp_cold.c
|
|
68
|
+
- ext/qr_reader_native/sp_compat.h
|
|
69
|
+
- ext/qr_reader_native/sp_core.c
|
|
70
|
+
- ext/qr_reader_native/sp_core.h
|
|
71
|
+
- ext/qr_reader_native/sp_crypto.c
|
|
72
|
+
- ext/qr_reader_native/sp_crypto.h
|
|
73
|
+
- ext/qr_reader_native/sp_dtoa.c
|
|
74
|
+
- ext/qr_reader_native/sp_dtoa.h
|
|
75
|
+
- ext/qr_reader_native/sp_encoding_names.h
|
|
76
|
+
- ext/qr_reader_native/sp_enum.h
|
|
77
|
+
- ext/qr_reader_native/sp_exc.c
|
|
78
|
+
- ext/qr_reader_native/sp_exc.h
|
|
79
|
+
- ext/qr_reader_native/sp_exc_ctx.h
|
|
80
|
+
- ext/qr_reader_native/sp_fiber.c
|
|
81
|
+
- ext/qr_reader_native/sp_fiber.h
|
|
82
|
+
- ext/qr_reader_native/sp_fiber_ctx.h
|
|
83
|
+
- ext/qr_reader_native/sp_format.c
|
|
84
|
+
- ext/qr_reader_native/sp_format.h
|
|
85
|
+
- ext/qr_reader_native/sp_gc.c
|
|
86
|
+
- ext/qr_reader_native/sp_gc.h
|
|
87
|
+
- ext/qr_reader_native/sp_hash.c
|
|
88
|
+
- ext/qr_reader_native/sp_hash.h
|
|
89
|
+
- ext/qr_reader_native/sp_inspect.c
|
|
90
|
+
- ext/qr_reader_native/sp_inspect.h
|
|
91
|
+
- ext/qr_reader_native/sp_io.c
|
|
92
|
+
- ext/qr_reader_native/sp_io.h
|
|
93
|
+
- ext/qr_reader_native/sp_iobuffer.c
|
|
94
|
+
- ext/qr_reader_native/sp_iobuffer.h
|
|
95
|
+
- ext/qr_reader_native/sp_marshal.c
|
|
96
|
+
- ext/qr_reader_native/sp_marshal.h
|
|
97
|
+
- ext/qr_reader_native/sp_net.c
|
|
98
|
+
- ext/qr_reader_native/sp_net.h
|
|
99
|
+
- ext/qr_reader_native/sp_pack.c
|
|
100
|
+
- ext/qr_reader_native/sp_poly_cold.c
|
|
101
|
+
- ext/qr_reader_native/sp_proc.c
|
|
102
|
+
- ext/qr_reader_native/sp_proc.h
|
|
103
|
+
- ext/qr_reader_native/sp_process.c
|
|
104
|
+
- ext/qr_reader_native/sp_process_status.c
|
|
105
|
+
- ext/qr_reader_native/sp_process_status.h
|
|
106
|
+
- ext/qr_reader_native/sp_random.c
|
|
107
|
+
- ext/qr_reader_native/sp_random.h
|
|
108
|
+
- ext/qr_reader_native/sp_range.h
|
|
109
|
+
- ext/qr_reader_native/sp_re.c
|
|
110
|
+
- ext/qr_reader_native/sp_re.h
|
|
111
|
+
- ext/qr_reader_native/sp_re_names.h
|
|
112
|
+
- ext/qr_reader_native/sp_sched.c
|
|
113
|
+
- ext/qr_reader_native/sp_sched.h
|
|
114
|
+
- ext/qr_reader_native/sp_slab.c
|
|
115
|
+
- ext/qr_reader_native/sp_str.c
|
|
116
|
+
- ext/qr_reader_native/sp_str.h
|
|
117
|
+
- ext/qr_reader_native/sp_str_crypt.c
|
|
118
|
+
- ext/qr_reader_native/sp_string.c
|
|
119
|
+
- ext/qr_reader_native/sp_string.h
|
|
120
|
+
- ext/qr_reader_native/sp_system.c
|
|
121
|
+
- ext/qr_reader_native/sp_system.h
|
|
122
|
+
- ext/qr_reader_native/sp_time.c
|
|
123
|
+
- ext/qr_reader_native/sp_time.h
|
|
124
|
+
- ext/qr_reader_native/sp_types.h
|
|
125
|
+
- ext/qr_reader_native/spinel_rt.h
|
|
126
|
+
- ext/qr_reader_native/unicase.c
|
|
127
|
+
- ext/qr_reader_native/unicase.h
|
|
128
|
+
- lib/qr_reader/native.rb
|
|
129
|
+
homepage: https://github.com/largo/qr_reader
|
|
130
|
+
licenses:
|
|
131
|
+
- MIT
|
|
132
|
+
metadata:
|
|
133
|
+
rubygems_mfa_required: 'true'
|
|
134
|
+
source_code_uri: https://github.com/largo/qr_reader
|
|
135
|
+
changelog_uri: https://github.com/largo/qr_reader/blob/main/CHANGELOG.md
|
|
136
|
+
rdoc_options: []
|
|
137
|
+
require_paths:
|
|
138
|
+
- lib
|
|
139
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
140
|
+
requirements:
|
|
141
|
+
- - ">="
|
|
142
|
+
- !ruby/object:Gem::Version
|
|
143
|
+
version: '3.2'
|
|
144
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
145
|
+
requirements:
|
|
146
|
+
- - ">="
|
|
147
|
+
- !ruby/object:Gem::Version
|
|
148
|
+
version: '0'
|
|
149
|
+
requirements: []
|
|
150
|
+
rubygems_version: 4.0.20
|
|
151
|
+
specification_version: 4
|
|
152
|
+
summary: Optional native speed-up for qr_reader (its Ruby kernels compiled by Spinel).
|
|
153
|
+
test_files: []
|