halton 0.2.1.4-x86_64-linux → 0.3.0-x86_64-linux

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: 7d052de097032cb9af5367b72eda195bde6f615616a04479c05cb6564390c8a0
4
- data.tar.gz: 51b081e2aa2b7d316dd423627b0bdfe5111f28c11a75082df536239ec2b8b11b
3
+ metadata.gz: 1cce3a029b13aa355508e899eda2a038918862cfaa6904bf0e050366f02c1159
4
+ data.tar.gz: 3bb8febd0379b2b8892279acf08859da8afd5dbe81d06d39a313b170e73ca410
5
5
  SHA512:
6
- metadata.gz: '00893d4176a20572ec99c79efd76b57443d82545d3d003f2529a6d5cfafb3354ece10c33e7f24547aa682521853edb09e952437ab06dc28c3c526c171f12cf25'
7
- data.tar.gz: e5c921fe9bf0c1ee73e284fd99e6235a603d3b8babe3bb9b96e7b55119c352991dbaf2dc1c7074b62602c746d7179eb5cf692417b8508f871697fbe6716a22f2
6
+ metadata.gz: 2df9503403ad63c95f238b068cab5bdc99598095757a4b1bcee6fa4e98b4ea338a514c00c4526bea8876315d0134cadaf1becfb23801105b7faf6da62d6d24ef
7
+ data.tar.gz: 53a442d9eb4cf881f9a66cde4c031aea215b6051115294d76a07dd789bca409365d495c05ea4c9688df8372ab762b5d007aa19c2e2b08dec5d24fd63e807926b
data/Cargo.lock ADDED
@@ -0,0 +1,303 @@
1
+ # This file is automatically @generated by Cargo.
2
+ # It is not intended for manual editing.
3
+ version = 3
4
+
5
+ [[package]]
6
+ name = "aho-corasick"
7
+ version = "1.0.3"
8
+ source = "registry+https://github.com/rust-lang/crates.io-index"
9
+ checksum = "86b8f9420f797f2d9e935edf629310eb938a0d839f984e25327f3c7eed22300c"
10
+ dependencies = [
11
+ "memchr",
12
+ ]
13
+
14
+ [[package]]
15
+ name = "bindgen"
16
+ version = "0.66.1"
17
+ source = "registry+https://github.com/rust-lang/crates.io-index"
18
+ checksum = "f2b84e06fc203107bfbad243f4aba2af864eb7db3b1cf46ea0a023b0b433d2a7"
19
+ dependencies = [
20
+ "bitflags",
21
+ "cexpr",
22
+ "clang-sys",
23
+ "lazy_static",
24
+ "lazycell",
25
+ "peeking_take_while",
26
+ "proc-macro2",
27
+ "quote",
28
+ "regex",
29
+ "rustc-hash",
30
+ "shlex",
31
+ "syn",
32
+ ]
33
+
34
+ [[package]]
35
+ name = "bitflags"
36
+ version = "2.3.3"
37
+ source = "registry+https://github.com/rust-lang/crates.io-index"
38
+ checksum = "630be753d4e58660abd17930c71b647fe46c27ea6b63cc59e1e3851406972e42"
39
+
40
+ [[package]]
41
+ name = "cexpr"
42
+ version = "0.6.0"
43
+ source = "registry+https://github.com/rust-lang/crates.io-index"
44
+ checksum = "6fac387a98bb7c37292057cffc56d62ecb629900026402633ae9160df93a8766"
45
+ dependencies = [
46
+ "nom",
47
+ ]
48
+
49
+ [[package]]
50
+ name = "cfg-if"
51
+ version = "1.0.0"
52
+ source = "registry+https://github.com/rust-lang/crates.io-index"
53
+ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
54
+
55
+ [[package]]
56
+ name = "clang-sys"
57
+ version = "1.6.1"
58
+ source = "registry+https://github.com/rust-lang/crates.io-index"
59
+ checksum = "c688fc74432808e3eb684cae8830a86be1d66a2bd58e1f248ed0960a590baf6f"
60
+ dependencies = [
61
+ "glob",
62
+ "libc",
63
+ "libloading",
64
+ ]
65
+
66
+ [[package]]
67
+ name = "glob"
68
+ version = "0.3.1"
69
+ source = "registry+https://github.com/rust-lang/crates.io-index"
70
+ checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b"
71
+
72
+ [[package]]
73
+ name = "halton"
74
+ version = "0.1.0"
75
+ dependencies = [
76
+ "halton 0.2.1",
77
+ "magnus",
78
+ ]
79
+
80
+ [[package]]
81
+ name = "halton"
82
+ version = "0.2.1"
83
+ source = "registry+https://github.com/rust-lang/crates.io-index"
84
+ checksum = "be629448e3d85a1be12868f190df524655fea8ec3f143e14d803e298f618acae"
85
+
86
+ [[package]]
87
+ name = "lazy_static"
88
+ version = "1.4.0"
89
+ source = "registry+https://github.com/rust-lang/crates.io-index"
90
+ checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
91
+
92
+ [[package]]
93
+ name = "lazycell"
94
+ version = "1.3.0"
95
+ source = "registry+https://github.com/rust-lang/crates.io-index"
96
+ checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55"
97
+
98
+ [[package]]
99
+ name = "libc"
100
+ version = "0.2.147"
101
+ source = "registry+https://github.com/rust-lang/crates.io-index"
102
+ checksum = "b4668fb0ea861c1df094127ac5f1da3409a82116a4ba74fca2e58ef927159bb3"
103
+
104
+ [[package]]
105
+ name = "libloading"
106
+ version = "0.7.4"
107
+ source = "registry+https://github.com/rust-lang/crates.io-index"
108
+ checksum = "b67380fd3b2fbe7527a606e18729d21c6f3951633d0500574c4dc22d2d638b9f"
109
+ dependencies = [
110
+ "cfg-if",
111
+ "winapi",
112
+ ]
113
+
114
+ [[package]]
115
+ name = "magnus"
116
+ version = "0.6.0"
117
+ source = "registry+https://github.com/rust-lang/crates.io-index"
118
+ checksum = "68e9585bfe236e88e6b10b6d8eb5349bd0e0009f3f9dff8d2e99a82601b33743"
119
+ dependencies = [
120
+ "magnus-macros",
121
+ "rb-sys",
122
+ "rb-sys-env",
123
+ "seq-macro",
124
+ ]
125
+
126
+ [[package]]
127
+ name = "magnus-macros"
128
+ version = "0.6.0"
129
+ source = "registry+https://github.com/rust-lang/crates.io-index"
130
+ checksum = "5968c820e2960565f647819f5928a42d6e874551cab9d88d75e3e0660d7f71e3"
131
+ dependencies = [
132
+ "proc-macro2",
133
+ "quote",
134
+ "syn",
135
+ ]
136
+
137
+ [[package]]
138
+ name = "memchr"
139
+ version = "2.5.0"
140
+ source = "registry+https://github.com/rust-lang/crates.io-index"
141
+ checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d"
142
+
143
+ [[package]]
144
+ name = "minimal-lexical"
145
+ version = "0.2.1"
146
+ source = "registry+https://github.com/rust-lang/crates.io-index"
147
+ checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a"
148
+
149
+ [[package]]
150
+ name = "nom"
151
+ version = "7.1.3"
152
+ source = "registry+https://github.com/rust-lang/crates.io-index"
153
+ checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a"
154
+ dependencies = [
155
+ "memchr",
156
+ "minimal-lexical",
157
+ ]
158
+
159
+ [[package]]
160
+ name = "peeking_take_while"
161
+ version = "0.1.2"
162
+ source = "registry+https://github.com/rust-lang/crates.io-index"
163
+ checksum = "19b17cddbe7ec3f8bc800887bab5e717348c95ea2ca0b1bf0837fb964dc67099"
164
+
165
+ [[package]]
166
+ name = "proc-macro2"
167
+ version = "1.0.66"
168
+ source = "registry+https://github.com/rust-lang/crates.io-index"
169
+ checksum = "18fb31db3f9bddb2ea821cde30a9f70117e3f119938b5ee630b7403aa6e2ead9"
170
+ dependencies = [
171
+ "unicode-ident",
172
+ ]
173
+
174
+ [[package]]
175
+ name = "quote"
176
+ version = "1.0.32"
177
+ source = "registry+https://github.com/rust-lang/crates.io-index"
178
+ checksum = "50f3b39ccfb720540debaa0164757101c08ecb8d326b15358ce76a62c7e85965"
179
+ dependencies = [
180
+ "proc-macro2",
181
+ ]
182
+
183
+ [[package]]
184
+ name = "rb-sys"
185
+ version = "0.9.81"
186
+ source = "registry+https://github.com/rust-lang/crates.io-index"
187
+ checksum = "a57240b308b155b09dce81e32829966a99f52d1088b45957e4283e526c5317a1"
188
+ dependencies = [
189
+ "rb-sys-build",
190
+ ]
191
+
192
+ [[package]]
193
+ name = "rb-sys-build"
194
+ version = "0.9.81"
195
+ source = "registry+https://github.com/rust-lang/crates.io-index"
196
+ checksum = "f24ce877a4c5d07f06f6aa6fec3ac95e4b357b9f73b0f5445d8cbb7266d410e8"
197
+ dependencies = [
198
+ "bindgen",
199
+ "lazy_static",
200
+ "proc-macro2",
201
+ "quote",
202
+ "regex",
203
+ "shell-words",
204
+ "syn",
205
+ ]
206
+
207
+ [[package]]
208
+ name = "rb-sys-env"
209
+ version = "0.1.2"
210
+ source = "registry+https://github.com/rust-lang/crates.io-index"
211
+ checksum = "a35802679f07360454b418a5d1735c89716bde01d35b1560fc953c1415a0b3bb"
212
+
213
+ [[package]]
214
+ name = "regex"
215
+ version = "1.9.3"
216
+ source = "registry+https://github.com/rust-lang/crates.io-index"
217
+ checksum = "81bc1d4caf89fac26a70747fe603c130093b53c773888797a6329091246d651a"
218
+ dependencies = [
219
+ "aho-corasick",
220
+ "memchr",
221
+ "regex-automata",
222
+ "regex-syntax",
223
+ ]
224
+
225
+ [[package]]
226
+ name = "regex-automata"
227
+ version = "0.3.6"
228
+ source = "registry+https://github.com/rust-lang/crates.io-index"
229
+ checksum = "fed1ceff11a1dddaee50c9dc8e4938bd106e9d89ae372f192311e7da498e3b69"
230
+ dependencies = [
231
+ "aho-corasick",
232
+ "memchr",
233
+ "regex-syntax",
234
+ ]
235
+
236
+ [[package]]
237
+ name = "regex-syntax"
238
+ version = "0.7.4"
239
+ source = "registry+https://github.com/rust-lang/crates.io-index"
240
+ checksum = "e5ea92a5b6195c6ef2a0295ea818b312502c6fc94dde986c5553242e18fd4ce2"
241
+
242
+ [[package]]
243
+ name = "rustc-hash"
244
+ version = "1.1.0"
245
+ source = "registry+https://github.com/rust-lang/crates.io-index"
246
+ checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2"
247
+
248
+ [[package]]
249
+ name = "seq-macro"
250
+ version = "0.3.5"
251
+ source = "registry+https://github.com/rust-lang/crates.io-index"
252
+ checksum = "a3f0bf26fd526d2a95683cd0f87bf103b8539e2ca1ef48ce002d67aad59aa0b4"
253
+
254
+ [[package]]
255
+ name = "shell-words"
256
+ version = "1.1.0"
257
+ source = "registry+https://github.com/rust-lang/crates.io-index"
258
+ checksum = "24188a676b6ae68c3b2cb3a01be17fbf7240ce009799bb56d5b1409051e78fde"
259
+
260
+ [[package]]
261
+ name = "shlex"
262
+ version = "1.1.0"
263
+ source = "registry+https://github.com/rust-lang/crates.io-index"
264
+ checksum = "43b2853a4d09f215c24cc5489c992ce46052d359b5109343cbafbf26bc62f8a3"
265
+
266
+ [[package]]
267
+ name = "syn"
268
+ version = "2.0.28"
269
+ source = "registry+https://github.com/rust-lang/crates.io-index"
270
+ checksum = "04361975b3f5e348b2189d8dc55bc942f278b2d482a6a0365de5bdd62d351567"
271
+ dependencies = [
272
+ "proc-macro2",
273
+ "quote",
274
+ "unicode-ident",
275
+ ]
276
+
277
+ [[package]]
278
+ name = "unicode-ident"
279
+ version = "1.0.11"
280
+ source = "registry+https://github.com/rust-lang/crates.io-index"
281
+ checksum = "301abaae475aa91687eb82514b328ab47a211a533026cb25fc3e519b86adfc3c"
282
+
283
+ [[package]]
284
+ name = "winapi"
285
+ version = "0.3.9"
286
+ source = "registry+https://github.com/rust-lang/crates.io-index"
287
+ checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
288
+ dependencies = [
289
+ "winapi-i686-pc-windows-gnu",
290
+ "winapi-x86_64-pc-windows-gnu",
291
+ ]
292
+
293
+ [[package]]
294
+ name = "winapi-i686-pc-windows-gnu"
295
+ version = "0.4.0"
296
+ source = "registry+https://github.com/rust-lang/crates.io-index"
297
+ checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
298
+
299
+ [[package]]
300
+ name = "winapi-x86_64-pc-windows-gnu"
301
+ version = "0.4.0"
302
+ source = "registry+https://github.com/rust-lang/crates.io-index"
303
+ checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
data/Cargo.toml ADDED
@@ -0,0 +1,2 @@
1
+ [workspace]
2
+ members = ["ext/halton"]
Binary file
Binary file
Binary file
Binary file
data/lib/halton.rb CHANGED
@@ -4,7 +4,11 @@ begin
4
4
  /(?<ruby_version>\d+\.\d+)/ =~ RUBY_VERSION
5
5
  require_relative "halton/#{ruby_version}/halton"
6
6
  rescue LoadError
7
- require_relative "halton/halton"
7
+ begin
8
+ require_relative "halton/halton"
9
+ rescue LoadError # Cargo Builder in RubyGems < 3.4.6 doesn't install to dir
10
+ require_relative "halton.so"
11
+ end
8
12
  end
9
13
 
10
14
  # The Halton module provides methods for generating Halton sequences, a
metadata CHANGED
@@ -1,57 +1,71 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: halton
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1.4
4
+ version: 0.3.0
5
5
  platform: x86_64-linux
6
6
  authors:
7
7
  - Mat Sadler
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-12-13 00:00:00.000000000 Z
11
+ date: 2023-08-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: rb_sys
14
+ name: rake-compiler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 0.9.46
19
+ version: '1.2'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 0.9.46
26
+ version: '1.2'
27
27
  - !ruby/object:Gem::Dependency
28
- name: rake-compiler
28
+ name: rb_sys
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '1'
33
+ version: '0.9'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '1'
40
+ version: '0.9'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: test-unit
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '3'
47
+ version: '3.5'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '3.5'
55
+ - !ruby/object:Gem::Dependency
56
+ name: benchmark-ips
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '2.10'
48
62
  type: :development
49
63
  prerelease: false
50
64
  version_requirements: !ruby/object:Gem::Requirement
51
65
  requirements:
52
66
  - - "~>"
53
67
  - !ruby/object:Gem::Version
54
- version: '3'
68
+ version: '2.10'
55
69
  description: A module implementing the fast generation of Halton sequences. The method
56
70
  of generation is adapted from "Fast, portable, and reliable algorithm for the calculation
57
71
  of Halton number" by Miroslav Kolář and Seamus F. O'Shea.
@@ -62,16 +76,19 @@ extensions: []
62
76
  extra_rdoc_files:
63
77
  - README.rdoc
64
78
  files:
79
+ - Cargo.lock
80
+ - Cargo.toml
65
81
  - README.rdoc
66
82
  - lib/halton.rb
67
83
  - lib/halton/2.7/halton.so
68
84
  - lib/halton/3.0/halton.so
69
85
  - lib/halton/3.1/halton.so
86
+ - lib/halton/3.2/halton.so
70
87
  homepage: https://github.com/matsadler/halton-rb
71
88
  licenses:
72
89
  - MIT
73
90
  metadata: {}
74
- post_install_message:
91
+ post_install_message:
75
92
  rdoc_options:
76
93
  - "--main"
77
94
  - README.rdoc
@@ -88,16 +105,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
88
105
  version: '2.7'
89
106
  - - "<"
90
107
  - !ruby/object:Gem::Version
91
- version: 3.2.dev
108
+ version: 3.3.dev
92
109
  required_rubygems_version: !ruby/object:Gem::Requirement
93
110
  requirements:
94
111
  - - ">="
95
112
  - !ruby/object:Gem::Version
96
113
  version: '0'
97
- requirements:
98
- - Rust >= 1.51.0
99
- rubygems_version: 3.3.22
100
- signing_key:
114
+ requirements: []
115
+ rubygems_version: 3.4.4
116
+ signing_key:
101
117
  specification_version: 4
102
118
  summary: A module for generating Halton sequences
103
119
  test_files: []