dartsclone 0.2.3 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/build.yml +1 -1
- data/CHANGELOG.md +3 -0
- data/Gemfile +2 -0
- data/Steepfile +20 -0
- data/lib/dartsclone/version.rb +1 -1
- data/sig/dartsclone.rbs +20 -0
- metadata +8 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1da00e4a34b27cfb6c92d84becee7272ae1750435162fc54569ac56eac480e3a
|
4
|
+
data.tar.gz: b4eef44bc5a1bed3e90a2feb672583042c06c663546753867281f470f16a8295
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1a56790440c9bbd25ade6b59b5998d5201e119e92750afc659bc673c652e127d2edb19700de238ab6f03edc9e7272c300a7a995b49157ca952347c7ed1017e8b
|
7
|
+
data.tar.gz: 542dc9c97512fc29b2cfb54366370aca0105c724aa6f1a230071615a07667e1e2956089b966241fc936cfafa1faf6e1d6defe105c788e4fe1e30ead7a77993d4
|
data/.github/workflows/build.yml
CHANGED
data/CHANGELOG.md
CHANGED
data/Gemfile
CHANGED
data/Steepfile
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
target :lib do
|
2
|
+
signature "sig"
|
3
|
+
#
|
4
|
+
check "lib" # Directory name
|
5
|
+
# check "Gemfile" # File name
|
6
|
+
# check "app/models/**/*.rb" # Glob
|
7
|
+
# # ignore "lib/templates/*.rb"
|
8
|
+
#
|
9
|
+
# # library "pathname", "set" # Standard libraries
|
10
|
+
# # library "strong_json" # Gems
|
11
|
+
end
|
12
|
+
|
13
|
+
# target :spec do
|
14
|
+
# signature "sig", "sig-private"
|
15
|
+
#
|
16
|
+
# check "spec"
|
17
|
+
#
|
18
|
+
# # library "pathname", "set" # Standard libraries
|
19
|
+
# # library "rspec"
|
20
|
+
# end
|
data/lib/dartsclone/version.rb
CHANGED
data/sig/dartsclone.rbs
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
module DartsClone
|
2
|
+
VERSION: String
|
3
|
+
DARTS_CLONE_VERSION: String
|
4
|
+
|
5
|
+
class DoubleArray
|
6
|
+
def initialize: () -> void
|
7
|
+
def build: (Array[String] keys, ?values: Array[Integer]? values) -> bool
|
8
|
+
def open: (String filename) -> bool
|
9
|
+
def save: (String filename, ?mode: String mode, ?offset: Integer offset) -> bool
|
10
|
+
def get_array: () -> String
|
11
|
+
def set_array: (String str) -> nil
|
12
|
+
def exact_match_search: (String key, ?length: Integer length, ?node_pos: Integer node_pos) -> Integer
|
13
|
+
def common_prefix_search: (String key, ?max_num_results: Integer? max_num_results, ?length: Integer length, ?node_pos: Integer node_pos) -> [Array[String], Array[Integer]]
|
14
|
+
def traverse: (String key, ?node_pos: Integer? node_pos, ?key_pos: Integer? key_pos, ?length: Integer? length) -> { value: Integer, node_pos: Integer, key_pos: Integer }
|
15
|
+
def unit_size: () -> Integer
|
16
|
+
def size: () -> Integer
|
17
|
+
def total_size: () -> Integer
|
18
|
+
def clear: () -> nil
|
19
|
+
end
|
20
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dartsclone
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- yoshoku
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-05-29 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Darts-clone.rb is a Ruby binding for the Darts-clone.
|
14
14
|
email:
|
@@ -27,6 +27,7 @@ files:
|
|
27
27
|
- LICENSE.txt
|
28
28
|
- README.md
|
29
29
|
- Rakefile
|
30
|
+
- Steepfile
|
30
31
|
- dartsclone.gemspec
|
31
32
|
- ext/dartsclone/dartscloneext.cpp
|
32
33
|
- ext/dartsclone/dartscloneext.hpp
|
@@ -35,6 +36,7 @@ files:
|
|
35
36
|
- ext/dartsclone/src/darts.h
|
36
37
|
- lib/dartsclone.rb
|
37
38
|
- lib/dartsclone/version.rb
|
39
|
+
- sig/dartsclone.rbs
|
38
40
|
homepage: https://github.com/yoshoku/darts-clone.rb
|
39
41
|
licenses:
|
40
42
|
- BSD-2-Clause
|
@@ -43,7 +45,7 @@ metadata:
|
|
43
45
|
source_code_uri: https://github.com/yoshoku/darts-clone.rb
|
44
46
|
changelog_uri: https://github.com/yoshoku/darts-clone.rb/blob/master/CHANGELOG.md
|
45
47
|
documentation_uri: https://github.com/yoshoku/darts-clone.rb#usage
|
46
|
-
post_install_message:
|
48
|
+
post_install_message:
|
47
49
|
rdoc_options: []
|
48
50
|
require_paths:
|
49
51
|
- lib
|
@@ -58,8 +60,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
58
60
|
- !ruby/object:Gem::Version
|
59
61
|
version: '0'
|
60
62
|
requirements: []
|
61
|
-
rubygems_version: 3.
|
62
|
-
signing_key:
|
63
|
+
rubygems_version: 3.1.6
|
64
|
+
signing_key:
|
63
65
|
specification_version: 4
|
64
66
|
summary: Ruby binding for the Darts-clone.
|
65
67
|
test_files: []
|