range_extd 1.1.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 228c1335aeaf661aff3db78c73956a09f7f36e172afecb82fc45847d8e719a67
4
- data.tar.gz: 143bc81562425d744ed187499301f4eb47146ead0930cbc636929829633dab63
3
+ metadata.gz: 925a44972bdb0ab8358f4a879ab13a7c774c94a3dc928af4cb820c1b549620cc
4
+ data.tar.gz: 90106d1f343c84537d93d4e1a30190d5b1b826bf0eaf50241c10f57e0ef6b6d3
5
5
  SHA512:
6
- metadata.gz: 57366c3ddc28bdb8c492bb225344018a79b89bdca9a2ea693336733f9b0978d1e4b737e7aacecc674b66fc50a3286542fbc02305998c565ebdef4c652217807e
7
- data.tar.gz: 063a3be273a83cf001d871e458ecc5bf26e667d97abc997752922e90eca7b22ebde928dac9b84a1e0979fb9c7f5f941e5fca12bbdca73a2cea234a9e33abf3df
6
+ metadata.gz: b79ef9022549c1161874f98e47a01505556075d7e257ec95304319d9216adc12ed2e60d5cf4579e110c7195d6208d60ebb0c19fa048ee297e15687cfd5963237
7
+ data.tar.gz: a372b80b33daa7b0868c1691900025177c24b1d2f710983e4a50336ce2e77414c400c80af3c7b30ff502b6a3e3007b48b60f40aff716505d9bebcf7f5dadabef
data/ChangeLog CHANGED
@@ -1,3 +1,19 @@
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 `range_extd/range_extd.rb` to `range_extd.rb`
7
+ * `range_extd/infinity/infinity.rb` => `range_extd/infinity.rb`
8
+ * New class `RangeExtd::Nowhere` is created.
9
+ * Inclusion of changes to Object and Numeric is now optional.
10
+ * Files split into sub files under `range_extd/`
11
+ * `range.rb`
12
+ * `numeric.rb`
13
+ * `nil_class.rb`
14
+ * `object.rb`
15
+ * Utility loading script is added: `range_extd/load_all.rb`
16
+
1
17
  -----
2
18
  (Version: 1.1.1)
3
19
  2020-01-27 Masa Sakano
data/Makefile CHANGED
@@ -10,14 +10,18 @@ objs =
10
10
  all: ${ALL}
11
11
 
12
12
 
13
- .PHONY: clean test doc
13
+ .PHONY: clean test test2 doc
14
14
  clean:
15
15
  $(RM) bin/*~
16
16
 
17
17
  ## You may need RUBYLIB=`pwd`/lib:$RUBYLIB
18
+ # If the first test fails, the second test is not run. If you want to run the second test only
18
19
  test:
19
- rake test
20
+ (rake test && rake test all_required=t) || (stat=$$?; echo "WARNING: Second test was not run. To separately test the second only: make test2" >&2; exit $$stat)
21
+
22
+ test2:
23
+ rake test all_required=t
20
24
 
21
25
  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 ; echo ".github/README.md is updated." ) || exit 0
26
+ 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
27
 
data/News CHANGED
@@ -1,3 +1,7 @@
1
+ -----
2
+ (Version: 2.0) 2022-09-03
3
+ * Release of Ver.2.0. Supports Beginless Range in Ruby 2.7. Change in the library paths.
4
+
1
5
  -----
2
6
  (Version: 1.1) 2019-11-01
3
7
  * Release of Ver.1.1. A significant upgrade with some change in the specification of how to deal with infinities.