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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1084fcdf95018817e240a2117dd7dd168582383a
4
- data.tar.gz: 9135bf29b8436439a7b587c2658031c0c2a1e86c
3
+ metadata.gz: ff40a151d9ed0087fa8a029bf288ad0387b58cc4
4
+ data.tar.gz: 8333b0383ff1db4639318c5248d877f61b41bcc5
5
5
  SHA512:
6
- metadata.gz: d34346e12e176204e5a3ce9986584a35247928c611116636857bda3882fd328e31b6f0cf15c6ccde7cd4e7c7c8a32d9bd1b3785d44f25959fd3abe0982b29430
7
- data.tar.gz: ddedb0bf21d4327654c9aece125b3f96ecdbd226aceae30aa0f220491ca9a64c94b96819baa45c85efca404384620573faed5240f44e2bc125572b4fd08787f8
6
+ metadata.gz: 4d8a4ee59f604bd2fec49e321fcbfd20eeee981ceb717aee3f4f653d022c26b19b50bdfb3a14194f8f94d5d3513e180695b47cdb721100bb6e3ca1ecdec87bf8
7
+ data.tar.gz: e26bfac53f3a068cad3303e1c7287c33ec478632b11064a857ee8f950753a19756d6847f3fc581578f56f234095a051796a56c08976d0246cfa1068600093de0
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # CarveRange
2
2
 
3
- Given two date ranges (A and B), return an array of date ranges such that each new date range does not overlap with the date range B (but include date range B)
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 a set of date ranges that do not overlap with the second date range."
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
 
@@ -1,3 +1,3 @@
1
1
  module CarveRange
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
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.0
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: See README.
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 a set of date ranges that do not overlap
97
- with the second date range.
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: []