baran 0.1.10 → 0.1.12

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: f6cd3f94a89b19931ba237a67a23119a23549a70a200d6074e072d4ccd84f459
4
- data.tar.gz: e395826b7cde638a330dfbf8f66a0864053bf96cebd0c49127706d0b1556bee6
3
+ metadata.gz: 27ec927ed0af9bafe1a15e2844abcda91966b53aab50d3c4e34ba03638200ba3
4
+ data.tar.gz: 8746c0aae319f0bd925855e8025715906e88036a70839313fe60e62e945db3c7
5
5
  SHA512:
6
- metadata.gz: 421472e67d0279cac41ce4a36db642dadc3ca5b1b3f1f6cde6cb86e7d08038eec007e32b622e099fd6169a23cca2b25fd994598cfabd154901edfee74fe22ce4
7
- data.tar.gz: 54e61bb7255e7269a06aa8df912d8a839c3c124dc4f2f73bba502070d07eafa3d04728848842b80005e4a0cfe3fcd0fb6244ee413ac1c6e283e87c2e2f21f451
6
+ metadata.gz: eefdb623105249441368ba3a88eb3c958a4046d371c8cef21ad7960cf1609d6cfec218d56c11faa929db2ee2b216e86cc2fd53e0bd5ad5863be536126b490258
7
+ data.tar.gz: af48e71277ab4b28a81b92ffb733c28f55f66f17a6741862fc954a5511ac1c7250dc07ac9b9d726974ce8747aa4b7b168eeb594820503a3388c63dbc994decfb
data/CHANGELOG.md CHANGED
@@ -8,7 +8,6 @@
8
8
 
9
9
  - Update README
10
10
 
11
-
12
11
  ## [0.1.2] - 2023-05-28
13
12
 
14
13
  - Fix README
@@ -24,4 +23,8 @@
24
23
 
25
24
  ## [0.1.5] - 2023-06-02
26
25
 
27
- - Refactor
26
+ - Refactor
27
+
28
+ ## [0.1.10] - 2024-03-09
29
+
30
+ - https://github.com/kawakamimoeki/baran/pull/17
data/Gemfile CHANGED
@@ -5,6 +5,6 @@ source "https://rubygems.org"
5
5
  # Specify your gem's dependencies in baran.gemspec
6
6
  gemspec
7
7
 
8
- gem "minitest", "~> 5.20"
8
+ gem "minitest", "~> 5.21"
9
9
 
10
- gem "rake", "~> 13.0"
10
+ gem "rake", "~> 13.1"
data/Gemfile.lock CHANGED
@@ -1,13 +1,13 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- baran (0.1.10)
4
+ baran (0.1.12)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
8
8
  specs:
9
- minitest (5.20.0)
10
- rake (13.0.6)
9
+ minitest (5.21.2)
10
+ rake (13.1.0)
11
11
 
12
12
  PLATFORMS
13
13
  arm64-darwin-22
@@ -15,8 +15,8 @@ PLATFORMS
15
15
 
16
16
  DEPENDENCIES
17
17
  baran!
18
- minitest (~> 5.20)
19
- rake (~> 13.0)
18
+ minitest (~> 5.21)
19
+ rake (~> 13.1)
20
20
 
21
21
  BUNDLED WITH
22
22
  2.4.7
@@ -22,7 +22,7 @@ module Baran
22
22
  chunk = { text: chunk, cursor: cursor }
23
23
  chunk[:metadata] = metadata if metadata
24
24
  chunks << chunk
25
- cursor += chunk.length
25
+ cursor += chunk[:text].length
26
26
  end
27
27
 
28
28
  chunks
data/lib/baran/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Baran
4
- VERSION = "0.1.10"
4
+ VERSION = "0.1.12"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: baran
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.10
4
+ version: 0.1.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Moeki Kawakami
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-11-14 00:00:00.000000000 Z
11
+ date: 2024-05-31 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Text Splitter for Large Language Model Datasets.
14
14
  email: