nzholidays 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +9 -2
- data/lib/nzholidays/version.rb +1 -1
- data/lib/nzholidays.rb +1 -1
- data/nzholidays.gemspec +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 135a3d95439494843b22cb324de71c80b921c1b1a6e83cfc9d8e9de08e522f02
|
4
|
+
data.tar.gz: 50cd2f1c90da2bb63e8426162f370acc6b83a38ed327db80cb3db22f55a329ad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3f9bff62d06be98da72368e8d9d786f28759a3b2ccf1dacd1c4a0a3c5a8d8190e16a817c987c0e63a767f15506076986473de49c73ed94c3aa8302894d6d7245
|
7
|
+
data.tar.gz: d1b30d1f137d9eee94b1e994ec43798d2b4470dd9c81664502edd0eba5d3603cbc2775102fb612c6af6375df12944fe322424758f3ce90707519d0084c3f4d6d
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Nzholidays
|
1
|
+
# Nzholidays🏖
|
2
2
|
|
3
3
|
This gem offers a way to determine whether a date is a New Zealand public
|
4
4
|
holiday.
|
@@ -28,7 +28,14 @@ Or install it yourself as:
|
|
28
28
|
|
29
29
|
## Usage
|
30
30
|
|
31
|
-
|
31
|
+
This can be used in your code, e.g.
|
32
|
+
|
33
|
+
```ruby
|
34
|
+
require 'nzholidays'
|
35
|
+
|
36
|
+
Nzholidays.nz_public_holiday?(Time.now)
|
37
|
+
```
|
38
|
+
|
32
39
|
|
33
40
|
## Development
|
34
41
|
|
data/lib/nzholidays/version.rb
CHANGED
data/lib/nzholidays.rb
CHANGED
data/nzholidays.gemspec
CHANGED
@@ -26,5 +26,5 @@ Gem::Specification.new do |spec|
|
|
26
26
|
spec.add_development_dependency "bundler", "~> 1.16"
|
27
27
|
spec.add_development_dependency "rake", "~> 10.0"
|
28
28
|
spec.add_development_dependency "rspec", "~> 3.0"
|
29
|
-
spec.add_development_dependency "icalendar", "
|
29
|
+
spec.add_development_dependency "icalendar", "= 2.4"
|
30
30
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nzholidays
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Carl Douglas
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-10-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tzinfo
|
@@ -70,14 +70,14 @@ dependencies:
|
|
70
70
|
name: icalendar
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- -
|
73
|
+
- - '='
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: '2.4'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- -
|
80
|
+
- - '='
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '2.4'
|
83
83
|
description: New Zealand Public Holidays
|
@@ -121,7 +121,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
121
121
|
version: '0'
|
122
122
|
requirements: []
|
123
123
|
rubyforge_project:
|
124
|
-
rubygems_version: 2.6
|
124
|
+
rubygems_version: 2.7.6
|
125
125
|
signing_key:
|
126
126
|
specification_version: 4
|
127
127
|
summary: New Zealand Public Holidays
|