sequitur 0.1.25 → 0.1.26

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: f70c8a02c1bf095a4ace46d340afe5479ca74fca119c99018f635d629e10af79
4
- data.tar.gz: d61df7bc573f20b46edddafb207a5e1c8b98f5a940337b3d3ddcda378aed5f98
3
+ metadata.gz: 86e5e7a51109f635607be37902ce3edf561b204119005eea6baa0f90d1dc90b8
4
+ data.tar.gz: 686f7ed1ba3e76ab16f06b891809025afd7b020009b3a67cba7600f4c66c18cc
5
5
  SHA512:
6
- metadata.gz: a0be273d0ae70f7cade11ff86af7ae8f52ca4c697c471a8925ee3e75d230d4c0df261fba908e875413903a6ad6e0cba067ca5778e0d91d4fc35e74f00a00c536
7
- data.tar.gz: a352a03ebefe1683e74a59e5d5766eafb44780c65af7f65fe2b6441d15d00193cd1d913976bd7b8cc2e4414a888ec5bd5d6bb0b184be8ecee196398629af1458
6
+ metadata.gz: ff134c984fe467059df107491030b84cfd1c73aca32ef78eca7fca90a5f207db06c552dab126e12e81eb97537789b6d24c36cdf79af0e7934fcf42ff17c818b1
7
+ data.tar.gz: b6c909ca88b6031252c53f11d4e07babae1c0fe0f3b146d50e0aaea55be7befa5a4fdf8ac456c8da76ecac0cfe579f41f939cdb569c605e9da6fb491d5182991
data/Gemfile CHANGED
@@ -4,6 +4,6 @@ source 'https://rubygems.org'
4
4
  # Prevent Bundler to load the dependencies from our .gemspec file
5
5
 
6
6
  group :development do
7
- gem 'rake', '>= 10.0.0'
8
- gem 'rspec', '>= 3.0.0'
7
+ gem 'rake', '>= 13.1.0'
8
+ gem 'rspec', '>= 3.10.0'
9
9
  end
data/LICENSE.txt CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2014-2023 Dimitri Geshef
1
+ Copyright (c) 2014-2025 Dimitri Geshef
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  of this software and associated documentation files (the "Software"), to deal
data/README.md CHANGED
@@ -246,4 +246,4 @@ More examples are available in the examples folder.
246
246
 
247
247
  Copyright
248
248
  ---------
249
- Copyright (c) 2014-2013, Dimitri Geshef. Sequitur is released under the MIT License see [LICENSE.txt](https://github.com/famished-tiger/Sequitur/blob/master/LICENSE.txt) for details.
249
+ Copyright (c) 2014-2025, Dimitri Geshef. Sequitur is released under the MIT License see [LICENSE.txt](https://github.com/famished-tiger/Sequitur/blob/master/LICENSE.txt) for details.
@@ -3,11 +3,12 @@
3
3
  # File: constants.rb
4
4
  # Purpose: definition of Sequitur constants.
5
5
 
6
- module Sequitur # Module used as a namespace
6
+ # Module used as a namespace for Sequitur classes
7
+ module Sequitur
7
8
  # rubocop:disable Naming/ConstantName
8
9
 
9
10
  # @return [String] The version number of the gem.
10
- Version = '0.1.25'
11
+ Version = '0.1.26'
11
12
 
12
13
  # @return [String] Brief description of the gem.
13
14
  Description = 'Ruby implementation of the Sequitur algorithm'
@@ -42,7 +42,7 @@ module Sequitur # Re-open the module to get rid of qualified names
42
42
  expect(clone_a).to eq(instance)
43
43
 
44
44
  # Reference objects are distinct but points to same production
45
- expect(clone_a.symbols[1].object_id).not_to eq(instance.symbols[1])
45
+ expect(clone_a.symbols[1]).not_to equal(instance.symbols[1])
46
46
 
47
47
  # Modifying the clone...
48
48
  clone_a.symbols[1] = 'diff'
@@ -91,9 +91,6 @@ module Sequitur # Re-open the module to get rid of qualified names
91
91
  expect(refs.size).to eq(2)
92
92
  expect(refs).to eq([ref, ref])
93
93
 
94
- refs = subject.references
95
- expect(refs.size).to eq(2)
96
- expect(refs).to eq([ref, ref])
97
94
  specific_refs = subject.references_of(a_prod)
98
95
  expect(specific_refs).to eq(refs)
99
96
 
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sequitur
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.25
4
+ version: 0.1.26
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dimitri Geshef
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2023-07-10 00:00:00.000000000 Z
10
+ date: 2025-02-15 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: rake
@@ -16,20 +15,20 @@ dependencies:
16
15
  requirements:
17
16
  - - "~>"
18
17
  - !ruby/object:Gem::Version
19
- version: 13.0.0
18
+ version: 13.1.0
20
19
  - - ">="
21
20
  - !ruby/object:Gem::Version
22
- version: 13.0.0
21
+ version: 13.1.0
23
22
  type: :development
24
23
  prerelease: false
25
24
  version_requirements: !ruby/object:Gem::Requirement
26
25
  requirements:
27
26
  - - "~>"
28
27
  - !ruby/object:Gem::Version
29
- version: 13.0.0
28
+ version: 13.1.0
30
29
  - - ">="
31
30
  - !ruby/object:Gem::Version
32
- version: 13.0.0
31
+ version: 13.1.0
33
32
  - !ruby/object:Gem::Dependency
34
33
  name: rspec
35
34
  requirement: !ruby/object:Gem::Requirement
@@ -70,6 +69,26 @@ dependencies:
70
69
  - - ">="
71
70
  - !ruby/object:Gem::Version
72
71
  version: 3.2.0
72
+ - !ruby/object:Gem::Dependency
73
+ name: engtagger
74
+ requirement: !ruby/object:Gem::Requirement
75
+ requirements:
76
+ - - "~>"
77
+ - !ruby/object:Gem::Version
78
+ version: 0.4.0
79
+ - - ">="
80
+ - !ruby/object:Gem::Version
81
+ version: 0.4.0
82
+ type: :development
83
+ prerelease: false
84
+ version_requirements: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - "~>"
87
+ - !ruby/object:Gem::Version
88
+ version: 0.4.0
89
+ - - ">="
90
+ - !ruby/object:Gem::Version
91
+ version: 0.4.0
73
92
  description: |
74
93
  Ruby implementation of the Sequitur algorithm. This algorithm automatically
75
94
  finds repetitions and hierarchical structures in a given sequence of input
@@ -156,8 +175,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
156
175
  - !ruby/object:Gem::Version
157
176
  version: '0'
158
177
  requirements: []
159
- rubygems_version: 3.3.7
160
- signing_key:
178
+ rubygems_version: 3.6.2
161
179
  specification_version: 4
162
180
  summary: Ruby implementation of the Sequitur algorithm
163
181
  test_files: