carve_range 0.1.0 → 0.1.1
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/README.md +1 -1
- data/carve_range.gemspec +2 -2
- data/lib/carve_range/version.rb +1 -1
- metadata +6 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ff40a151d9ed0087fa8a029bf288ad0387b58cc4
|
|
4
|
+
data.tar.gz: 8333b0383ff1db4639318c5248d877f61b41bcc5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4d8a4ee59f604bd2fec49e321fcbfd20eeee981ceb717aee3f4f653d022c26b19b50bdfb3a14194f8f94d5d3513e180695b47cdb721100bb6e3ca1ecdec87bf8
|
|
7
|
+
data.tar.gz: e26bfac53f3a068cad3303e1c7287c33ec478632b11064a857ee8f950753a19756d6847f3fc581578f56f234095a051796a56c08976d0246cfa1068600093de0
|
data/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# CarveRange
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Takes two date ranges (A,B) and returns an array of date ranges in A that do not overlap with date range B, and returns B.
|
|
4
4
|
|
|
5
5
|
## Example 1
|
|
6
6
|
|
data/carve_range.gemspec
CHANGED
|
@@ -9,8 +9,8 @@ Gem::Specification.new do |spec|
|
|
|
9
9
|
spec.authors = ["Tyler Brothers"]
|
|
10
10
|
spec.email = ["tylerbrothers1@gmail.com"]
|
|
11
11
|
|
|
12
|
-
spec.summary = "Takes two date ranges and returns
|
|
13
|
-
spec.description = "See README."
|
|
12
|
+
spec.summary = "Takes two date ranges (A,B) and returns an array of date ranges in A that do not overlap with date range B, and returns B. See the README for more info (https://github.com/possibly/carve_range)"
|
|
13
|
+
spec.description = "Takes two date ranges (A,B) and returns an array of date ranges in A that do not overlap with date range B, and returns B. See the README for more info (https://github.com/possibly/carve_range)"
|
|
14
14
|
spec.homepage = "https://github.com/possibly/carve_range"
|
|
15
15
|
spec.license = "MIT"
|
|
16
16
|
|
data/lib/carve_range/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: carve_range
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tyler Brothers
|
|
@@ -52,7 +52,9 @@ dependencies:
|
|
|
52
52
|
- - "~>"
|
|
53
53
|
- !ruby/object:Gem::Version
|
|
54
54
|
version: '5.0'
|
|
55
|
-
description:
|
|
55
|
+
description: Takes two date ranges (A,B) and returns an array of date ranges in A
|
|
56
|
+
that do not overlap with date range B, and returns B. See the README for more info
|
|
57
|
+
(https://github.com/possibly/carve_range)
|
|
56
58
|
email:
|
|
57
59
|
- tylerbrothers1@gmail.com
|
|
58
60
|
executables: []
|
|
@@ -93,6 +95,6 @@ rubyforge_project:
|
|
|
93
95
|
rubygems_version: 2.6.14
|
|
94
96
|
signing_key:
|
|
95
97
|
specification_version: 4
|
|
96
|
-
summary: Takes two date ranges and returns
|
|
97
|
-
|
|
98
|
+
summary: Takes two date ranges (A,B) and returns an array of date ranges in A that
|
|
99
|
+
do not overlap with date range B, and returns B. See the README for more info (https://github.com/possibly/carve_range)
|
|
98
100
|
test_files: []
|