halton 0.2.1.4 → 0.2.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/{ext/halton/Cargo.lock → Cargo.lock} +18 -18
- data/Cargo.toml +2 -0
- data/ext/halton/Cargo.toml +1 -1
- data/ext/halton/src/lib.rs +1 -1
- data/lib/halton.rb +5 -1
- metadata +31 -17
- data/ext/halton/extconf.rb +0 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7ed27356a6e2a2f658747ba007d3d5f295049e425512a7996e8d31679fa10964
|
4
|
+
data.tar.gz: c368b48acb7bfc73fde7d347de2c9667224daaa7c1b085e170ab9eab60cb26cc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4ade7dfefe049433feb6fef115461f55fb043953444e33b83efd11c62db37f6c46ec554e4f9094a80caa6309f2e9391e8f13b3abf0f6285cd1e6a4aa3927ae9b
|
7
|
+
data.tar.gz: 658632d67fb5ab6e7478067aa8dff286e1d130754bb7f8995b3a47ab1ba854bab8e7f0809da951c82023593c66b3061afc24272456df7210826df354098d20c2
|
@@ -96,9 +96,9 @@ checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55"
|
|
96
96
|
|
97
97
|
[[package]]
|
98
98
|
name = "libc"
|
99
|
-
version = "0.2.
|
99
|
+
version = "0.2.139"
|
100
100
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
101
|
-
checksum = "
|
101
|
+
checksum = "201de327520df007757c1f0adce6e827fe8562fbc28bfd9c15571c66ca1f5f79"
|
102
102
|
|
103
103
|
[[package]]
|
104
104
|
name = "libloading"
|
@@ -112,9 +112,9 @@ dependencies = [
|
|
112
112
|
|
113
113
|
[[package]]
|
114
114
|
name = "magnus"
|
115
|
-
version = "0.4.
|
115
|
+
version = "0.4.4"
|
116
116
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
117
|
-
checksum = "
|
117
|
+
checksum = "fc87660cd7daa49fddbfd524c836de54d5c927d520cd163f43700c5087c57d6c"
|
118
118
|
dependencies = [
|
119
119
|
"magnus-macros",
|
120
120
|
"rb-sys",
|
@@ -123,9 +123,9 @@ dependencies = [
|
|
123
123
|
|
124
124
|
[[package]]
|
125
125
|
name = "magnus-macros"
|
126
|
-
version = "0.
|
126
|
+
version = "0.3.0"
|
127
127
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
128
|
-
checksum = "
|
128
|
+
checksum = "206cb23bfeea05180c97522ef6a3e52a4eb17b0ed2f30ee3ca9c4f994d2378ae"
|
129
129
|
dependencies = [
|
130
130
|
"proc-macro2",
|
131
131
|
"quote",
|
@@ -162,36 +162,36 @@ checksum = "19b17cddbe7ec3f8bc800887bab5e717348c95ea2ca0b1bf0837fb964dc67099"
|
|
162
162
|
|
163
163
|
[[package]]
|
164
164
|
name = "proc-macro2"
|
165
|
-
version = "1.0.
|
165
|
+
version = "1.0.49"
|
166
166
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
167
|
-
checksum = "
|
167
|
+
checksum = "57a8eca9f9c4ffde41714334dee777596264c7825420f521abc92b5b5deb63a5"
|
168
168
|
dependencies = [
|
169
169
|
"unicode-ident",
|
170
170
|
]
|
171
171
|
|
172
172
|
[[package]]
|
173
173
|
name = "quote"
|
174
|
-
version = "1.0.
|
174
|
+
version = "1.0.23"
|
175
175
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
176
|
-
checksum = "
|
176
|
+
checksum = "8856d8364d252a14d474036ea1358d63c9e6965c8e5c1885c18f73d70bff9c7b"
|
177
177
|
dependencies = [
|
178
178
|
"proc-macro2",
|
179
179
|
]
|
180
180
|
|
181
181
|
[[package]]
|
182
182
|
name = "rb-sys"
|
183
|
-
version = "0.9.
|
183
|
+
version = "0.9.53"
|
184
184
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
185
|
-
checksum = "
|
185
|
+
checksum = "aa291f69bcc44f8e96597a3f39e9933fde6977b825415cfaa670ac49b8ab7c99"
|
186
186
|
dependencies = [
|
187
187
|
"rb-sys-build",
|
188
188
|
]
|
189
189
|
|
190
190
|
[[package]]
|
191
191
|
name = "rb-sys-build"
|
192
|
-
version = "0.9.
|
192
|
+
version = "0.9.53"
|
193
193
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
194
|
-
checksum = "
|
194
|
+
checksum = "d998fd6ef588471d6d7cca24c4da88eda5e6757b6885c55760e856ecdb254c3d"
|
195
195
|
dependencies = [
|
196
196
|
"bindgen",
|
197
197
|
"regex",
|
@@ -241,9 +241,9 @@ checksum = "43b2853a4d09f215c24cc5489c992ce46052d359b5109343cbafbf26bc62f8a3"
|
|
241
241
|
|
242
242
|
[[package]]
|
243
243
|
name = "syn"
|
244
|
-
version = "1.0.
|
244
|
+
version = "1.0.107"
|
245
245
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
246
|
-
checksum = "
|
246
|
+
checksum = "1f4064b5b16e03ae50984a5a8ed5d4f8803e6bc1fd170a3cda91a1be4b18e3f5"
|
247
247
|
dependencies = [
|
248
248
|
"proc-macro2",
|
249
249
|
"quote",
|
@@ -252,9 +252,9 @@ dependencies = [
|
|
252
252
|
|
253
253
|
[[package]]
|
254
254
|
name = "unicode-ident"
|
255
|
-
version = "1.0.
|
255
|
+
version = "1.0.6"
|
256
256
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
257
|
-
checksum = "
|
257
|
+
checksum = "84a22b9f218b40614adcb3f4ff08b703773ad44fa9423e4e0d346d5db86e4ebc"
|
258
258
|
|
259
259
|
[[package]]
|
260
260
|
name = "winapi"
|
data/Cargo.toml
ADDED
data/ext/halton/Cargo.toml
CHANGED
data/ext/halton/src/lib.rs
CHANGED
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
|
-
|
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
|
+
version: 0.2.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mat Sadler
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-02-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: rake-compiler
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
20
|
-
type: :
|
19
|
+
version: '1.2'
|
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:
|
26
|
+
version: '1.2'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: rb_sys
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
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: '
|
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
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '3'
|
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'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
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.
|
@@ -59,14 +73,14 @@ email:
|
|
59
73
|
- mat@sourcetagsandcodes.com
|
60
74
|
executables: []
|
61
75
|
extensions:
|
62
|
-
- ext/halton/
|
76
|
+
- ext/halton/Cargo.toml
|
63
77
|
extra_rdoc_files:
|
64
78
|
- README.rdoc
|
65
79
|
files:
|
80
|
+
- Cargo.lock
|
81
|
+
- Cargo.toml
|
66
82
|
- README.rdoc
|
67
|
-
- ext/halton/Cargo.lock
|
68
83
|
- ext/halton/Cargo.toml
|
69
|
-
- ext/halton/extconf.rb
|
70
84
|
- ext/halton/src/lib.rs
|
71
85
|
- lib/halton.rb
|
72
86
|
homepage: https://github.com/matsadler/halton-rb
|
@@ -87,15 +101,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
87
101
|
requirements:
|
88
102
|
- - ">="
|
89
103
|
- !ruby/object:Gem::Version
|
90
|
-
version:
|
104
|
+
version: 2.6.0
|
91
105
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
92
106
|
requirements:
|
93
107
|
- - ">="
|
94
108
|
- !ruby/object:Gem::Version
|
95
|
-
version:
|
109
|
+
version: 3.3.26
|
96
110
|
requirements:
|
97
111
|
- Rust >= 1.51.0
|
98
|
-
rubygems_version: 3.
|
112
|
+
rubygems_version: 3.4.6
|
99
113
|
signing_key:
|
100
114
|
specification_version: 4
|
101
115
|
summary: A module for generating Halton sequences
|
data/ext/halton/extconf.rb
DELETED