rangeary 1.0.1 → 2.0
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 +4 -4
- data/ChangeLog +18 -0
- data/Makefile +2 -1
- data/News +4 -0
- data/README.ja.rdoc +461 -260
- data/lib/rangeary/util/hash_inf.rb +233 -0
- data/lib/rangeary/util.rb +727 -0
- data/lib/rangeary.rb +1420 -0
- data/rangeary.gemspec +51 -0
- data/test/tee_io.rb +111 -0
- data/test/test_rangeary.rb +400 -79
- metadata +25 -19
- data/lib/rangeary/rangeary.rb +0 -1643
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 301b05a7a161196a40c421d89825c26d8bbe3c9f1971de9821fba564581b4ac9
|
4
|
+
data.tar.gz: 4ff0db19597ed9248c62dd8f14598c4a0e55b5565240d73f11c9ee87e5cb7a5a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 10bcc78ae9fc24bf0687c967f3c9e6c35df967dd43d14336210056bdeb03365ab4d68952e3c7d3fd144c3c4e5d55b4bcb1c92f9aab05c407e010d2a0f83f2643
|
7
|
+
data.tar.gz: d460e745d769c073542e0b67e2db57cc557889ce81b1c55f92084da9c92c5b13b2ce223c3ba87b622223b5f0692c776c831da5126ae882b550220178f5545cee
|
data/ChangeLog
CHANGED
@@ -1,3 +1,21 @@
|
|
1
|
+
-----
|
2
|
+
(Version: 2.0)
|
3
|
+
2022-09-08 Masa Sakano
|
4
|
+
* Major upgrade to deal with Beginless Range of Ruby-2.7
|
5
|
+
|
6
|
+
* Library path changed from `rangeary/rangeary.rb` to `rangeary.rb`
|
7
|
+
* `range_extd/infinity/infinity.rb` => `range_extd/infinity.rb`
|
8
|
+
* require RangeExtd `range_extd` Ver.2.
|
9
|
+
* The default infinity is now +nil+ except for Float, changed from the `RangeExtd::Infinity` objects.
|
10
|
+
* New Module `Rangeary::Util`
|
11
|
+
* containing private methods common to Rangeary instance and class methods.
|
12
|
+
* New Module `Rangeary::Util::HashInf`
|
13
|
+
* extended to Hash to represent infinity objects.
|
14
|
+
* `Rangeary#infinities` now returns the internal object (Hash extended with `HashInf`) in default.
|
15
|
+
* Explicitly and implicitly given infinities are now handled according to its priorities.
|
16
|
+
* The defined infinities are now properly inherited.
|
17
|
+
* `Array#==` is now much closer to the original.
|
18
|
+
|
1
19
|
-----
|
2
20
|
(Version: 1.0.1)
|
3
21
|
2020-01-27 Masa Sakano
|
data/Makefile
CHANGED
@@ -19,5 +19,6 @@ test:
|
|
19
19
|
rake test
|
20
20
|
|
21
21
|
doc:
|
22
|
-
yard doc; [[ -x ".github" && ( "README.ja.rdoc" -nt ".github/README.md" ) ]] && ( ruby -r rdoc -e 'puts RDoc::Markup::ToMarkdown.new.convert ARGF.read' < README.ja.rdoc > .github/README.md
|
22
|
+
yard doc; [[ -x ".github" && ( "README.ja.rdoc" -nt ".github/README.md" ) ]] && ( ruby -r rdoc -e 'puts RDoc::Markup::ToMarkdown.new.convert ARGF.read' < README.ja.rdoc | yard2md_afterclean > .github/README.md.$$ && ( mv -f .github/README.md.$$ .github/README.md && echo ".github/README.md and .github/README.html are updated." && pandoc --from=gfm .github/README.md -o .github/README.html ) || ( echo "ERROR: failed to create .github/README.md" >&2 ) ) || exit 0
|
23
|
+
## --privat does not show private methods??
|
23
24
|
|
data/News
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
-----
|
2
|
+
(Version: 2.0) 2022-09-08
|
3
|
+
* Release of Version 2.0. Library path changed. Beginless Range in Ruby 2.7 is supported for range_extd '>= 2'
|
4
|
+
|
1
5
|
-----
|
2
6
|
(Version: 1.0) 2019-11-01
|
3
7
|
* Release of Version 1.0. Endless Range in Ruby 2.6 is supported for range_extd '>= 1.1'
|