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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: b7cb0b4b943d7217e7b2c60ba4703a07d67162f6
4
- data.tar.gz: 8d5251377c40121461f1c7b382ed277032f853cd
2
+ SHA256:
3
+ metadata.gz: 135a3d95439494843b22cb324de71c80b921c1b1a6e83cfc9d8e9de08e522f02
4
+ data.tar.gz: 50cd2f1c90da2bb63e8426162f370acc6b83a38ed327db80cb3db22f55a329ad
5
5
  SHA512:
6
- metadata.gz: e6ec5d6de699f0f7aa30eb01ea8ecc134fe5e82f9d823ec5abce0a60ee7243809b2dc9f3cfc1cd8071a07cbc57fa634e3e5888deafcc9a127caf61759b56dccb
7
- data.tar.gz: 566596bca83d26643e041f652c9691e457d044e517dc117a7ebe0da00c7dd643df62e42316925e5b6fc516bce1c68441c59f10f94755c82194be7e9f3ceda3ea
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
- TODO: Write usage instructions here
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
 
@@ -1,3 +1,3 @@
1
1
  module Nzholidays
2
- VERSION = "0.3.0"
2
+ VERSION = "0.4.0"
3
3
  end
data/lib/nzholidays.rb CHANGED
@@ -1,4 +1,4 @@
1
- # Auto-generated at 2017-12-18 12:30:19 +1300
1
+ # Auto-generated at 2018-10-02 16:57:02 +1300
2
2
  # Do not edit - see template lib/nzholidays/template.erb
3
3
  # To regenerate, `bundle exec rake generate`
4
4
 
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", "~> 2.4"
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.3.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: 2017-12-17 00:00:00.000000000 Z
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.13
124
+ rubygems_version: 2.7.6
125
125
  signing_key:
126
126
  specification_version: 4
127
127
  summary: New Zealand Public Holidays