rangeary 0.3.0 → 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
- SHA1:
3
- metadata.gz: a68fed02c28c7598ccd0e5e850012be4d1212948
4
- data.tar.gz: a13032cc6cd7020224255079aaf63f6f8d314411
2
+ SHA256:
3
+ metadata.gz: 301b05a7a161196a40c421d89825c26d8bbe3c9f1971de9821fba564581b4ac9
4
+ data.tar.gz: 4ff0db19597ed9248c62dd8f14598c4a0e55b5565240d73f11c9ee87e5cb7a5a
5
5
  SHA512:
6
- metadata.gz: 6124f036424de4b48bbfa1950602677b61ba780c6d686cc95605803ac7d3e49547f36473f58bc1f148f629cdd5bb99e7e526ace4de95a1f2d8d39c9bfc8997ba
7
- data.tar.gz: 9bd1973fb2f6006363c7c5f8280a4462fc9f79239aa58183f50f0a899f63816a16b8c5dbf7f8b0e684ee6f7eb2aef191354d7d7abaf057f53ad8f8707d1ca938
6
+ metadata.gz: 10bcc78ae9fc24bf0687c967f3c9e6c35df967dd43d14336210056bdeb03365ab4d68952e3c7d3fd144c3c4e5d55b4bcb1c92f9aab05c407e010d2a0f83f2643
7
+ data.tar.gz: d460e745d769c073542e0b67e2db57cc557889ce81b1c55f92084da9c92c5b13b2ce223c3ba87b622223b5f0692c776c831da5126ae882b550220178f5545cee
data/.gitignore ADDED
@@ -0,0 +1,55 @@
1
+ # See https://help.github.com/articles/ignoring-files for more about ignoring files.
2
+ #
3
+ # If you find yourself ignoring temporary files generated by your text editor
4
+ # or operating system, you probably want to add a global ignore instead:
5
+ # git config --global core.excludesfile '~/.gitignore_global'
6
+
7
+ # Ignore bundler config.
8
+ /.bundle
9
+ /vendor/bundle
10
+
11
+ # Ignore all logfiles and tempfiles.
12
+ /log/*
13
+ /tmp/*
14
+ !/log/.keep
15
+ !/tmp/.keep
16
+
17
+ .rbenv-version
18
+ # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
19
+ .rvmrc
20
+
21
+ /node_modules
22
+ /yarn-error.log
23
+
24
+ .byebug_history
25
+
26
+ *.[oa]
27
+ *.so
28
+ *~
29
+ *.nogem
30
+ *nogem.*
31
+ *.bak
32
+ *.BAK
33
+ *.backup
34
+ *.org
35
+ *.orig
36
+ *.elc
37
+ *.pyc
38
+ \#*\#
39
+ .\#*
40
+
41
+ # Elastic Beanstalk Files
42
+ .elasticbeanstalk/*
43
+ !.elasticbeanstalk/*.cfg.yml
44
+ !.elasticbeanstalk/*.global.yml
45
+
46
+ # macOS
47
+ .DS_Store
48
+
49
+ # yard
50
+ *.yardoc
51
+
52
+ # Ruby Gem doc
53
+ *.gem
54
+ doc/*
55
+
data/ChangeLog CHANGED
@@ -1,3 +1,36 @@
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
+
19
+ -----
20
+ (Version: 1.0.1)
21
+ 2020-01-27 Masa Sakano
22
+ * Fixed warnings with Ruby-2.7. A bug for Ruby-2.7 only still remains.
23
+
24
+ -----
25
+ (Version: 1.0)
26
+ 2019-11-01 Masa Sakano
27
+ * Release of Ver.1! Fully compatible of Endless Range introduced in Ruby 2.6.
28
+ * requiring RangeExtd Ver.1.1 or later.
29
+ * Now requiring Ruby-2.1.
30
+ * The method infinities is now written explicitly, as opposed to attr_reader.
31
+ * Class method comparable_end is added.
32
+ * Major refactoring in the initialisation routine and Array#== .
33
+
1
34
  -----
2
35
  (Version: 0.3.0)
3
36
  2016-05-27 Masa Sakano
data/Makefile ADDED
@@ -0,0 +1,24 @@
1
+ ALL =
2
+
3
+ objs =
4
+
5
+ .SUFFIXES: .so .o .c .f
6
+
7
+ #.o.so:
8
+ # ${LD} ${LFLAGS} -o $@ $< ${LINK_LIB}
9
+
10
+ all: ${ALL}
11
+
12
+
13
+ .PHONY: clean test doc
14
+ clean:
15
+ $(RM) bin/*~
16
+
17
+ ## You may need RUBYLIB=`pwd`/lib:$RUBYLIB
18
+ test:
19
+ rake test
20
+
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 | 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??
24
+
data/News CHANGED
@@ -1,3 +1,11 @@
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
+
5
+ -----
6
+ (Version: 1.0) 2019-11-01
7
+ * Release of Version 1.0. Endless Range in Ruby 2.6 is supported for range_extd '>= 1.1'
8
+
1
9
  -----
2
10
  (Version: 0.2.0) 2014-05-11
3
11
  * New method of Rangeary#equiv?(), following the upgraded dependency on range_extd '>= 0.4.0'.