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
metadata
CHANGED
@@ -1,36 +1,37 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rangeary
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: '2.0'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Masa Sakano
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-09-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: range_extd
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '2'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
27
|
-
description: Rangeary is a sub-class of Array and represents any 1-dimensional multiple-range
|
28
|
-
example, (x<4 and 7<x<=9)
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
26
|
+
version: '2'
|
27
|
+
description: Rangeary is a sub-class of Array and represents any 1-dimensional multiple-range,
|
28
|
+
for example, (x<4 and 7<x<=9) or (x<="c" and "f"<=x), where the infinities can be
|
29
|
+
abstract like nil or be defined by the user. All the standard logical operations,
|
30
|
+
including negation, conjunction and disjunction, are supported and can be used with
|
31
|
+
conventional Ruby-style operators. Each range is represented as RangeExtd class
|
32
|
+
(Extended Range), which is a sub-class of Range and supports exclude-begin and open-ended
|
33
|
+
(to Infinity) ranges, and is downloadable from https://rubygems.org/gems/range_extd
|
34
|
+
email:
|
34
35
|
executables: []
|
35
36
|
extensions: []
|
36
37
|
extra_rdoc_files:
|
@@ -42,14 +43,18 @@ files:
|
|
42
43
|
- News
|
43
44
|
- README.ja.rdoc
|
44
45
|
- Rakefile
|
45
|
-
- lib/rangeary
|
46
|
+
- lib/rangeary.rb
|
47
|
+
- lib/rangeary/util.rb
|
48
|
+
- lib/rangeary/util/hash_inf.rb
|
49
|
+
- rangeary.gemspec
|
50
|
+
- test/tee_io.rb
|
46
51
|
- test/test_rangeary.rb
|
47
52
|
homepage: https://www.wisebabel.com
|
48
53
|
licenses:
|
49
54
|
- MIT
|
50
55
|
metadata:
|
51
56
|
yard.run: yri
|
52
|
-
post_install_message:
|
57
|
+
post_install_message:
|
53
58
|
rdoc_options:
|
54
59
|
- "--charset=UTF-8"
|
55
60
|
require_paths:
|
@@ -58,16 +63,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
58
63
|
requirements:
|
59
64
|
- - ">="
|
60
65
|
- !ruby/object:Gem::Version
|
61
|
-
version: '2.
|
66
|
+
version: '2.7'
|
62
67
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
63
68
|
requirements:
|
64
69
|
- - ">="
|
65
70
|
- !ruby/object:Gem::Version
|
66
71
|
version: '0'
|
67
72
|
requirements: []
|
68
|
-
rubygems_version: 3.
|
69
|
-
signing_key:
|
73
|
+
rubygems_version: 3.3.7
|
74
|
+
signing_key:
|
70
75
|
specification_version: 4
|
71
76
|
summary: Rangeary - class to represent any 1-dimensional multiple-range
|
72
77
|
test_files:
|
78
|
+
- test/tee_io.rb
|
73
79
|
- test/test_rangeary.rb
|