gullah 0.0.0 → 0.0.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6c5345d281d3e785973c68f4c0bb05466f5563c45bce2d2e71871b0fcc5d3c4e
4
- data.tar.gz: 7640864e5cdc6c5b788798e2364f8d72e6ff43b2eb30d57a6c7e32a549161e29
3
+ metadata.gz: 73c8674a510b84d261ae0575c6d9b65109aea210b1b3bc0832a018ef572ee6b5
4
+ data.tar.gz: e5497a3d4e967fd3547496caf23728d03ce0f2f485bc97c53332713331027b9e
5
5
  SHA512:
6
- metadata.gz: 7e5eed3d8ea6bfcc00f5594b636fc74e98c14b1efc3af447c956a869c1137e00ea9e7f2d0804cbffd1c3923e92c58cc319c5e4b6934af7a44d558e461ebef20a
7
- data.tar.gz: f47ca345b05f9ab747b1bd2cff6d85be1773979d98bb76e9d5d0ebcb3ada5e599d2cf3c1d8cf4006ab55fc29a6399ba600ec78949b11b5dd34d5890bee5363d1
6
+ metadata.gz: b51e5eb27bec2a7d1554f332c5c71e26280ad76a704e07f7146e60cb60b59ef106c6e61bef1cb5c877889487cb51033a968a6d62575e429468486dbfb939c921
7
+ data.tar.gz: 0fdc0bc2d67ac9833f92ae9a6535e092ede3e5c95fde414604d685a0e0835f016fae11db1578dee251bf7947b0f861e6c428b81b2ae25a45b349bea50a808ebc
data/.gitignore CHANGED
@@ -1 +1,2 @@
1
1
  doc/*
2
+ .yardoc/*
data/.yardopts ADDED
@@ -0,0 +1 @@
1
+ --no-private
data/CHANGES.md ADDED
@@ -0,0 +1,7 @@
1
+ # Change Log
2
+
3
+ ## 0.0.1 *2021-8-29*
4
+ * improvements to documentation
5
+
6
+ ## 0.0.0 *2021-8-28*
7
+ * initial release
data/gullah.gemspec CHANGED
@@ -16,7 +16,7 @@ Gem::Specification.new do |s|
16
16
  s.authors = ['David F. Houghton']
17
17
  s.email = 'dfhoughton@gmail.com'
18
18
  s.homepage =
19
- 'https://rubygems.org/gems/gullah'
19
+ 'https://github.com/dfhoughton/gullah'
20
20
  s.license = 'MIT'
21
21
  s.required_ruby_version = '>= 2.6'
22
22
  s.files = `git ls-files -z`.split("\x0")
data/lib/gullah/atom.rb CHANGED
@@ -2,6 +2,7 @@
2
2
 
3
3
  module Gullah
4
4
  # a minimal rule fragment; this is where the actual matching occurs
5
+ # @private
5
6
  class Atom # :nodoc:
6
7
  attr_reader :seeking, :min_repeats, :max_repeats, :parent, :next, :literal
7
8
 
@@ -2,6 +2,7 @@
2
2
 
3
3
  module Gullah
4
4
  # a node just for trash
5
+ # @private
5
6
  class Boundary < Node # :nodoc:
6
7
  # is this node something that cannot be the child of another node?
7
8
  def boundary?
data/lib/gullah/hopper.rb CHANGED
@@ -3,6 +3,7 @@
3
3
  module Gullah
4
4
  # a Hopper keeps completed parses, deleting inferior ones as better parses are found
5
5
  # this facilitates efficient memory use and parsing
6
+ # @private
6
7
  class Hopper # :nodoc:
7
8
  def initialize(filters, number_sought)
8
9
  dross = filters - %i[completion correctness size pending]
@@ -2,6 +2,7 @@
2
2
 
3
3
  module Gullah
4
4
  # for iterating over reductions of a given parse
5
+ # @private
5
6
  class Iterator # :nodoc:
6
7
  attr_reader :parse
7
8
 
data/lib/gullah/leaf.rb CHANGED
@@ -2,6 +2,7 @@
2
2
 
3
3
  module Gullah
4
4
  # a rule used in string tokenization
5
+ # @private
5
6
  class Leaf # :nodoc:
6
7
  attr_reader :rx, :name, :ignorable, :boundary, :tests, :ancestor_tests, :preconditions
7
8
 
data/lib/gullah/node.rb CHANGED
@@ -478,6 +478,7 @@ module Gullah
478
478
  end
479
479
  end
480
480
 
481
+ # @private
481
482
  class Ancestors
482
483
  include Enumerable
483
484
  def initialize(n, skip)
@@ -495,6 +496,7 @@ module Gullah
495
496
  end
496
497
  end
497
498
 
499
+ # @private
498
500
  class Descendants
499
501
  include Enumerable
500
502
  def initialize(n, skip)
data/lib/gullah/parse.rb CHANGED
@@ -150,6 +150,7 @@ module Gullah
150
150
  ## ADVISORILY PRIVATE
151
151
 
152
152
  # :stopdoc:
153
+ # @!visibility private
153
154
 
154
155
  # for debugging
155
156
  def own_text
@@ -212,6 +213,7 @@ module Gullah
212
213
  @summary = str
213
214
  end
214
215
 
216
+ # @private
215
217
  class NodeIterator # :nodoc:
216
218
  include Enumerable
217
219
 
data/lib/gullah/picker.rb CHANGED
@@ -3,6 +3,7 @@
3
3
  module Gullah
4
4
  # a Picker keeps a sorted set of iterators so we can always pick the iterator
5
5
  # most likely to lead quickly to a satisfactory parse
6
+ # @private
6
7
  class Picker # :nodoc:
7
8
  def initialize
8
9
  # a sorted list of the
data/lib/gullah/rule.rb CHANGED
@@ -2,6 +2,7 @@
2
2
 
3
3
  module Gullah
4
4
  # a non-terminal grammatical rule
5
+ # @private
5
6
  class Rule # :nodoc:
6
7
  # name -- a symbol identifying the rule
7
8
  # body -- preserved for debugging
@@ -3,6 +3,7 @@
3
3
  module Gullah
4
4
  # a segment handles the portion of a string between boundaries
5
5
  # or a boundary itself
6
+ # @private
6
7
  class Segment # :nodoc:
7
8
  attr_reader :start, :end, :done
8
9
  attr_accessor :continuations
data/lib/gullah/trash.rb CHANGED
@@ -2,6 +2,7 @@
2
2
 
3
3
  module Gullah
4
4
  # a node just for trash
5
+ # @private
5
6
  class Trash < Node # :nodoc:
6
7
  # does this node represent a character sequence no leaf rule matched?
7
8
  def trash?
@@ -3,5 +3,5 @@
3
3
  module Gullah
4
4
  # This is an alpha release. Gullah has not yet been used in anything
5
5
  # other than unit tests.
6
- VERSION = '0.0.0'
6
+ VERSION = '0.0.1'
7
7
  end
data/lib/gullah.rb CHANGED
@@ -582,6 +582,7 @@ module Gullah
582
582
  end
583
583
  end
584
584
 
585
+ # @private
585
586
  class LoopCheck
586
587
  def initialize(link)
587
588
  @seen = Set.new(link)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gullah
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.0
4
+ version: 0.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - David F. Houghton
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-08-28 00:00:00.000000000 Z
11
+ date: 2021-08-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -88,6 +88,8 @@ extensions: []
88
88
  extra_rdoc_files: []
89
89
  files:
90
90
  - ".gitignore"
91
+ - ".yardopts"
92
+ - CHANGES.md
91
93
  - LICENSE
92
94
  - README.md
93
95
  - Rakefile
@@ -121,7 +123,7 @@ files:
121
123
  - test/precondition_test.rb
122
124
  - test/tests_per_subrule_test.rb
123
125
  - test/tree_walking_test.rb
124
- homepage: https://rubygems.org/gems/gullah
126
+ homepage: https://github.com/dfhoughton/gullah
125
127
  licenses:
126
128
  - MIT
127
129
  metadata: {}