baran 0.1.2 → 0.1.4

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: 1ba68ca754f6d94e7d9fa28970f025ecfb24f884bcfa80016949fb642b8eec2d
4
- data.tar.gz: 63a03a1f15ae69be0c056677357c954980abdfb888b63bb19e0c581cff65b4a9
3
+ metadata.gz: d64ad8b3b3b0f9d1bd32ce37453a6bf70581f5e229883b2d78b5200c236f01cc
4
+ data.tar.gz: 703df213c544557522ac36ac16404d04f369fd24c03446928aed7c2cadca1be4
5
5
  SHA512:
6
- metadata.gz: 7909200392f0b439666a0758875147f3fd4f5da55958e42a9db822ca9ef9b518d83d22d47d03609be68972a7e5bfbeaf500a845ac1ca4567513b1a11189bc8b4
7
- data.tar.gz: e2371e892418e0eddcf09bc4a06b68299c207869ed1313a1150dc4e4341d9bb2feb80ef1a9c0831126a2f59b84b4dcd3c1fdf1df16d500efd485e52c7d5eebf9
6
+ metadata.gz: 471f2d07989fce4ec393eaff5dc995ae721902f607632f00816d7d8652a5740be13c75d5bae8e2d30028243de05c1eabac259806ff97758c6987efaf619873dc
7
+ data.tar.gz: f74445571e79a792c9d485f06b943b4a84f8366e80f02036ef7be14b628a1e9124b385a39a543d5964490f52a00b234f29f349e2327744f07b20a19a5242d746
data/CHANGELOG.md CHANGED
@@ -11,4 +11,13 @@
11
11
 
12
12
  ## [0.1.2] - 2023-05-28
13
13
 
14
+ - Fix README
15
+
16
+ ## [0.1.3] - 2023-05-28
17
+
18
+ - Fix README
19
+
20
+ ## [0.1.4] - 2023-05-28
21
+
22
+ - Fix test
14
23
  - Fix README
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- baran (0.1.2)
4
+ baran (0.1.4)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -32,6 +32,7 @@ splitter = Baran::CharacterTextSplitter.new(
32
32
  separator: "\n\n"
33
33
  )
34
34
  splitter.chunks(text)
35
+ # => [{ cursor: 0, text: "..." }, ...]
35
36
  ```
36
37
 
37
38
  ### Recursive Character Text Splitter
@@ -40,9 +41,10 @@ Splitting by the specified characters recursively.
40
41
 
41
42
  ```ruby
42
43
  splitter = Baran::RecursiveCharacterTextSplitter.new(
43
- separators: ["\nn", "\n", " ", ""]
44
+ separators: ["\n\n", "\n", " ", ""]
44
45
  )
45
46
  splitter.chunks(text)
47
+ # => [{ cursor: 0, text: "..." }, ...]
46
48
  ```
47
49
 
48
50
  ### Markdown Text Splitter
@@ -52,6 +54,7 @@ Splitting by the Markdown descriptions.
52
54
  ```ruby
53
55
  splitter = Baran::MarkdownSplitter.new
54
56
  splitter.chunks(markdown)
57
+ # => [{ cursor: 0, text: "..." }, ...]
55
58
  ```
56
59
 
57
60
  Split with the following priority.
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.2"
4
+ VERSION = "0.1.4"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: baran
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Moeki Kawakami