bit-twiddle 0.0.2 → 0.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.
- checksums.yaml +5 -5
- data/LICENSE +1 -1
- data/README.md +3 -4
- data/ext/bit_twiddle/Makefile +266 -0
- data/ext/bit_twiddle/bit_twiddle.c +1879 -0
- data/ext/bit_twiddle/bit_twiddle.o +0 -0
- data/ext/bit_twiddle/bit_twiddle.so +0 -0
- data/ext/bit_twiddle/extconf.rb +26 -6
- data/ext/bit_twiddle/mkmf.log +270 -0
- data/ext/bit_twiddle/ruby22/bt_bignum.h +61 -0
- data/ext/bit_twiddle/ruby23/bt_bignum.h +52 -0
- data/ext/bit_twiddle/ruby30/bt_bignum.h +83 -0
- data/lib/bit-twiddle/core_ext.rb +2 -0
- data/lib/bit_twiddle.so +0 -0
- metadata +24 -17
data/lib/bit_twiddle.so
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bit-twiddle
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alex Dowad
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-04-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|
@@ -16,28 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '3.
|
19
|
+
version: '3.7'
|
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: '3.
|
26
|
+
version: '3.7'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '12.2'
|
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: '12.2'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rake-compiler
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -58,28 +58,28 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '2.
|
61
|
+
version: '2.7'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '2.
|
68
|
+
version: '2.7'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: yard
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: '0.
|
75
|
+
version: '0.9'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: '0.
|
82
|
+
version: '0.9'
|
83
83
|
description: Fast (native) bitwise operations for Ruby, in addition to the ones provided
|
84
84
|
by the standard library
|
85
85
|
email: alexinbeijing@gmail.com
|
@@ -90,14 +90,23 @@ extra_rdoc_files: []
|
|
90
90
|
files:
|
91
91
|
- LICENSE
|
92
92
|
- README.md
|
93
|
+
- ext/bit_twiddle/Makefile
|
94
|
+
- ext/bit_twiddle/bit_twiddle.c
|
95
|
+
- ext/bit_twiddle/bit_twiddle.o
|
96
|
+
- ext/bit_twiddle/bit_twiddle.so
|
93
97
|
- ext/bit_twiddle/extconf.rb
|
98
|
+
- ext/bit_twiddle/mkmf.log
|
99
|
+
- ext/bit_twiddle/ruby22/bt_bignum.h
|
100
|
+
- ext/bit_twiddle/ruby23/bt_bignum.h
|
101
|
+
- ext/bit_twiddle/ruby30/bt_bignum.h
|
94
102
|
- lib/bit-twiddle.rb
|
103
|
+
- lib/bit-twiddle/core_ext.rb
|
95
104
|
- lib/bit_twiddle.so
|
96
105
|
homepage: http://github.com/alexdowad/bit-twiddle
|
97
106
|
licenses:
|
98
107
|
- None (Public Domain)
|
99
108
|
metadata: {}
|
100
|
-
post_install_message:
|
109
|
+
post_install_message:
|
101
110
|
rdoc_options: []
|
102
111
|
require_paths:
|
103
112
|
- lib
|
@@ -105,17 +114,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
105
114
|
requirements:
|
106
115
|
- - ">="
|
107
116
|
- !ruby/object:Gem::Version
|
108
|
-
version:
|
117
|
+
version: 2.2.8
|
109
118
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
110
119
|
requirements:
|
111
120
|
- - ">="
|
112
121
|
- !ruby/object:Gem::Version
|
113
122
|
version: '0'
|
114
123
|
requirements: []
|
115
|
-
|
116
|
-
|
117
|
-
signing_key:
|
124
|
+
rubygems_version: 3.2.15
|
125
|
+
signing_key:
|
118
126
|
specification_version: 4
|
119
127
|
summary: Fast bitwise operations for Ruby
|
120
128
|
test_files: []
|
121
|
-
has_rdoc:
|