availability 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/availability.gemspec +13 -12
- data/lib/availability/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b27f01102a6bdb5c8a7aa11844f3a9fd568c9d09
|
4
|
+
data.tar.gz: a8fc64785938d22e1751314441936f17e5b52b9b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 691256a8b27a1dadb57fbac13b44855e5c65b7c891c554792c3cf99b16066a292043a0611be829ed2df4c1e5f846117615ca1afd2b6d78942a2e531c630a5e43
|
7
|
+
data.tar.gz: 324414f8022f9a464274d95b43788c9d523d449b86467b74bbc9c4b82b0894656d8294237aa37d0006b97862bb8c057faf83d6f498a89b1ff5e22257bebc3af2
|
data/README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# availability - easily and quickly calculate schedule availability
|
2
2
|
|
3
|
-
[![Build Status]
|
4
|
-
[![Gem Version](https://badge.fury.io/rb/availability.svg)](
|
3
|
+
[![Build Status](https://travis-ci.org/upper-hand/availability.svg?branch=master)](https://travis-ci.org/upper-hand/availability)
|
4
|
+
[![Gem Version](https://badge.fury.io/rb/availability.svg)](https://badge.fury.io/rb/availability)
|
5
5
|
|
6
6
|
This library uses modular arithmetic and residue classes to calculate schedule availability for dates. Time ranges within a date are handled differently. The goal is to create an easy-to-use API for schedule availability that is very fast and lightweight that is also easy and lightweight to persist in a database.
|
7
7
|
|
data/availability.gemspec
CHANGED
@@ -4,20 +4,21 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
require 'availability/version'
|
5
5
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
|
-
spec.name
|
8
|
-
spec.version
|
9
|
-
spec.authors
|
10
|
-
spec.email
|
7
|
+
spec.name = "availability"
|
8
|
+
spec.version = Availability::VERSION
|
9
|
+
spec.authors = ["Jason Rogers"]
|
10
|
+
spec.email = ["jacaetevha@gmail.com"]
|
11
11
|
|
12
|
-
spec.summary
|
13
|
-
spec.description
|
14
|
-
spec.homepage
|
15
|
-
spec.license
|
12
|
+
spec.summary = %q{Calculating schedule availability}
|
13
|
+
spec.description = %q{Use modular arithmetic and residue classes to calculate schedule availability for dates (times handled separately).}
|
14
|
+
spec.homepage = "https://github.com/upper-hand/availability"
|
15
|
+
spec.license = "Unlicense"
|
16
|
+
spec.required_ruby_version = '>= 2.0'
|
16
17
|
|
17
|
-
spec.files
|
18
|
-
spec.bindir
|
19
|
-
spec.executables
|
20
|
-
spec.require_paths
|
18
|
+
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
19
|
+
spec.bindir = "exe"
|
20
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
21
|
+
spec.require_paths = ["lib"]
|
21
22
|
|
22
23
|
spec.add_dependency "activesupport"
|
23
24
|
|
data/lib/availability/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: availability
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jason Rogers
|
@@ -128,7 +128,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
128
128
|
requirements:
|
129
129
|
- - ">="
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version: '0'
|
131
|
+
version: '2.0'
|
132
132
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
133
133
|
requirements:
|
134
134
|
- - ">="
|