Version bump
This commit is contained in:
parent
ea96ff92ee
commit
ce5a7d09d2
|
@ -1,4 +1,7 @@
|
||||||
= Ruby Holidays Gem CHANGELOG
|
= Ruby Holidays Gem CHANGELOG
|
||||||
|
|
||||||
|
== 1.0.2
|
||||||
|
* Add `orthodox_easter` method and Greek holiday definitions (thanks https://github.com/ddimitriadis)
|
||||||
|
|
||||||
== 1.0.0
|
== 1.0.0
|
||||||
* Support calculating mday from negative weeks other than -1 (thanks http://github.com/bjeanes)
|
* Support calculating mday from negative weeks other than -1 (thanks http://github.com/bjeanes)
|
||||||
|
|
|
@ -68,6 +68,6 @@ Lookup Canada Day in different regions.
|
||||||
* Docs: http://rdoc.info/github/alexdunae/holidays/master/frames
|
* Docs: http://rdoc.info/github/alexdunae/holidays/master/frames
|
||||||
* Contributors: https://github.com/alexdunae/holidays/contributors
|
* Contributors: https://github.com/alexdunae/holidays/contributors
|
||||||
|
|
||||||
Started by Alex Dunae (dunae.ca, e-mail 'code' at the same domain), 2007-10.
|
Started by Alex Dunae (dunae.ca, e-mail 'code' at the same domain), 2007-11.
|
||||||
|
|
||||||
Made on Vancouver Island.
|
Made on Vancouver Island.
|
||||||
|
|
266
holidays.gemspec
266
holidays.gemspec
|
@ -1,155 +1,161 @@
|
||||||
# Generated by jeweler
|
# Generated by jeweler
|
||||||
# DO NOT EDIT THIS FILE DIRECTLY
|
# DO NOT EDIT THIS FILE DIRECTLY
|
||||||
# Instead, edit Jeweler::Tasks in rakefile.rb, and run 'rake gemspec'
|
# Instead, edit Jeweler::Tasks in rakefile.rb, and run the gemspec command
|
||||||
# -*- encoding: utf-8 -*-
|
# -*- encoding: utf-8 -*-
|
||||||
|
|
||||||
Gem::Specification.new do |s|
|
Gem::Specification.new do |s|
|
||||||
s.name = %q{holidays}
|
s.name = %q{holidays}
|
||||||
s.version = "1.0.1"
|
s.version = "1.0.2"
|
||||||
|
|
||||||
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
||||||
s.authors = ["Alex Dunae", "Rowan Crawford"]
|
s.authors = ["Alex Dunae", "Rowan Crawford"]
|
||||||
s.date = %q{2011-04-29}
|
s.date = %q{2011-05-13}
|
||||||
s.description = %q{A collection of Ruby methods to deal with statutory and other holidays. You deserve a holiday!}
|
s.description = %q{A collection of Ruby methods to deal with statutory and other holidays. You deserve a holiday!}
|
||||||
s.email = %q{code@dunae.ca}
|
s.email = %q{code@dunae.ca}
|
||||||
s.extra_rdoc_files = [
|
s.extra_rdoc_files = [
|
||||||
"LICENSE",
|
"LICENSE",
|
||||||
"README.rdoc"
|
"README.rdoc"
|
||||||
]
|
]
|
||||||
s.files = [
|
s.files = [
|
||||||
"CHANGELOG",
|
".gitignore",
|
||||||
"LICENSE",
|
"CHANGELOG",
|
||||||
"README.rdoc",
|
"LICENSE",
|
||||||
"REFERENCES",
|
"README.rdoc",
|
||||||
"data/SYNTAX.rdoc",
|
"REFERENCES",
|
||||||
"data/au.yaml",
|
"data/SYNTAX.rdoc",
|
||||||
"data/br.yaml",
|
"data/au.yaml",
|
||||||
"data/build_defs.rb",
|
"data/br.yaml",
|
||||||
"data/ca.yaml",
|
"data/build_defs.rb",
|
||||||
"data/cz.yaml",
|
"data/ca.yaml",
|
||||||
"data/de.yaml",
|
"data/cz.yaml",
|
||||||
"data/dk.yaml",
|
"data/de.yaml",
|
||||||
"data/es.yaml",
|
"data/dk.yaml",
|
||||||
"data/fi.yaml",
|
"data/el.yaml",
|
||||||
"data/fr.yaml",
|
"data/es.yaml",
|
||||||
"data/gb.yaml",
|
"data/fi.yaml",
|
||||||
"data/ie.yaml",
|
"data/fr.yaml",
|
||||||
"data/index.yaml",
|
"data/gb.yaml",
|
||||||
"data/is.yaml",
|
"data/ie.yaml",
|
||||||
"data/it.yaml",
|
"data/index.yaml",
|
||||||
"data/jp.yaml",
|
"data/is.yaml",
|
||||||
"data/mx.yaml",
|
"data/it.yaml",
|
||||||
"data/nl.yaml",
|
"data/jp.yaml",
|
||||||
"data/no.yaml",
|
"data/mx.yaml",
|
||||||
"data/north_america_informal.yaml",
|
"data/nl.yaml",
|
||||||
"data/nyse.yaml",
|
"data/no.yaml",
|
||||||
"data/nz.yaml",
|
"data/north_america_informal.yaml",
|
||||||
"data/pt.yaml",
|
"data/nyse.yaml",
|
||||||
"data/se.yaml",
|
"data/nz.yaml",
|
||||||
"data/united_nations.yaml",
|
"data/pt.yaml",
|
||||||
"data/ups.yaml",
|
"data/se.yaml",
|
||||||
"data/us.yaml",
|
"data/united_nations.yaml",
|
||||||
"data/za.yaml",
|
"data/ups.yaml",
|
||||||
"holidays.gemspec",
|
"data/us.yaml",
|
||||||
"lib/holidays.rb",
|
"data/za.yaml",
|
||||||
"lib/holidays/MANIFEST",
|
"holidays.gemspec",
|
||||||
"lib/holidays/au.rb",
|
"lib/holidays.rb",
|
||||||
"lib/holidays/br.rb",
|
"lib/holidays/MANIFEST",
|
||||||
"lib/holidays/ca.rb",
|
"lib/holidays/au.rb",
|
||||||
"lib/holidays/cz.rb",
|
"lib/holidays/br.rb",
|
||||||
"lib/holidays/de.rb",
|
"lib/holidays/ca.rb",
|
||||||
"lib/holidays/dk.rb",
|
"lib/holidays/cz.rb",
|
||||||
"lib/holidays/es.rb",
|
"lib/holidays/de.rb",
|
||||||
"lib/holidays/europe.rb",
|
"lib/holidays/dk.rb",
|
||||||
"lib/holidays/fi.rb",
|
"lib/holidays/el.rb",
|
||||||
"lib/holidays/fr.rb",
|
"lib/holidays/es.rb",
|
||||||
"lib/holidays/gb.rb",
|
"lib/holidays/europe.rb",
|
||||||
"lib/holidays/ie.rb",
|
"lib/holidays/fi.rb",
|
||||||
"lib/holidays/is.rb",
|
"lib/holidays/fr.rb",
|
||||||
"lib/holidays/it.rb",
|
"lib/holidays/gb.rb",
|
||||||
"lib/holidays/jp.rb",
|
"lib/holidays/ie.rb",
|
||||||
"lib/holidays/mx.rb",
|
"lib/holidays/is.rb",
|
||||||
"lib/holidays/nl.rb",
|
"lib/holidays/it.rb",
|
||||||
"lib/holidays/no.rb",
|
"lib/holidays/jp.rb",
|
||||||
"lib/holidays/north_america.rb",
|
"lib/holidays/mx.rb",
|
||||||
"lib/holidays/nyse.rb",
|
"lib/holidays/nl.rb",
|
||||||
"lib/holidays/nz.rb",
|
"lib/holidays/no.rb",
|
||||||
"lib/holidays/pt.rb",
|
"lib/holidays/north_america.rb",
|
||||||
"lib/holidays/scandinavia.rb",
|
"lib/holidays/nyse.rb",
|
||||||
"lib/holidays/se.rb",
|
"lib/holidays/nz.rb",
|
||||||
"lib/holidays/united_nations.rb",
|
"lib/holidays/pt.rb",
|
||||||
"lib/holidays/ups.rb",
|
"lib/holidays/scandinavia.rb",
|
||||||
"lib/holidays/us.rb",
|
"lib/holidays/se.rb",
|
||||||
"lib/holidays/za.rb",
|
"lib/holidays/united_nations.rb",
|
||||||
"rakefile.rb",
|
"lib/holidays/ups.rb",
|
||||||
"test/defs/test_defs_au.rb",
|
"lib/holidays/us.rb",
|
||||||
"test/defs/test_defs_br.rb",
|
"lib/holidays/za.rb",
|
||||||
"test/defs/test_defs_ca.rb",
|
"rakefile.rb",
|
||||||
"test/defs/test_defs_cz.rb",
|
"test/defs/test_defs_au.rb",
|
||||||
"test/defs/test_defs_de.rb",
|
"test/defs/test_defs_br.rb",
|
||||||
"test/defs/test_defs_dk.rb",
|
"test/defs/test_defs_ca.rb",
|
||||||
"test/defs/test_defs_es.rb",
|
"test/defs/test_defs_cz.rb",
|
||||||
"test/defs/test_defs_europe.rb",
|
"test/defs/test_defs_de.rb",
|
||||||
"test/defs/test_defs_fi.rb",
|
"test/defs/test_defs_dk.rb",
|
||||||
"test/defs/test_defs_fr.rb",
|
"test/defs/test_defs_el.rb",
|
||||||
"test/defs/test_defs_gb.rb",
|
"test/defs/test_defs_es.rb",
|
||||||
"test/defs/test_defs_ie.rb",
|
"test/defs/test_defs_europe.rb",
|
||||||
"test/defs/test_defs_is.rb",
|
"test/defs/test_defs_fi.rb",
|
||||||
"test/defs/test_defs_it.rb",
|
"test/defs/test_defs_fr.rb",
|
||||||
"test/defs/test_defs_jp.rb",
|
"test/defs/test_defs_gb.rb",
|
||||||
"test/defs/test_defs_mx.rb",
|
"test/defs/test_defs_ie.rb",
|
||||||
"test/defs/test_defs_nl.rb",
|
"test/defs/test_defs_is.rb",
|
||||||
"test/defs/test_defs_no.rb",
|
"test/defs/test_defs_it.rb",
|
||||||
"test/defs/test_defs_north_america.rb",
|
"test/defs/test_defs_jp.rb",
|
||||||
"test/defs/test_defs_nyse.rb",
|
"test/defs/test_defs_mx.rb",
|
||||||
"test/defs/test_defs_nz.rb",
|
"test/defs/test_defs_nl.rb",
|
||||||
"test/defs/test_defs_pt.rb",
|
"test/defs/test_defs_no.rb",
|
||||||
"test/defs/test_defs_scandinavia.rb",
|
"test/defs/test_defs_north_america.rb",
|
||||||
"test/defs/test_defs_se.rb",
|
"test/defs/test_defs_nyse.rb",
|
||||||
"test/defs/test_defs_ups.rb",
|
"test/defs/test_defs_nz.rb",
|
||||||
"test/defs/test_defs_us.rb",
|
"test/defs/test_defs_pt.rb",
|
||||||
"test/defs/test_defs_za.rb",
|
"test/defs/test_defs_scandinavia.rb",
|
||||||
"test/test_date.rb",
|
"test/defs/test_defs_se.rb",
|
||||||
"test/test_helper.rb",
|
"test/defs/test_defs_ups.rb",
|
||||||
"test/test_holidays.rb",
|
"test/defs/test_defs_us.rb",
|
||||||
"test/test_multiple_regions.rb"
|
"test/defs/test_defs_za.rb",
|
||||||
|
"test/test_date.rb",
|
||||||
|
"test/test_helper.rb",
|
||||||
|
"test/test_holidays.rb",
|
||||||
|
"test/test_multiple_regions.rb"
|
||||||
]
|
]
|
||||||
s.homepage = %q{https://github.com/alexdunae/holidays}
|
s.homepage = %q{https://github.com/alexdunae/holidays}
|
||||||
|
s.rdoc_options = ["--charset=UTF-8"]
|
||||||
s.require_paths = ["lib"]
|
s.require_paths = ["lib"]
|
||||||
s.rubygems_version = %q{1.3.7}
|
s.rubygems_version = %q{1.3.7}
|
||||||
s.summary = %q{A collection of Ruby methods to deal with statutory and other holidays. You deserve a holiday!}
|
s.summary = %q{A collection of Ruby methods to deal with statutory and other holidays. You deserve a holiday!}
|
||||||
s.test_files = [
|
s.test_files = [
|
||||||
"test/defs/test_defs_au.rb",
|
"test/defs/test_defs_au.rb",
|
||||||
"test/defs/test_defs_br.rb",
|
"test/defs/test_defs_br.rb",
|
||||||
"test/defs/test_defs_ca.rb",
|
"test/defs/test_defs_ca.rb",
|
||||||
"test/defs/test_defs_cz.rb",
|
"test/defs/test_defs_cz.rb",
|
||||||
"test/defs/test_defs_de.rb",
|
"test/defs/test_defs_de.rb",
|
||||||
"test/defs/test_defs_dk.rb",
|
"test/defs/test_defs_dk.rb",
|
||||||
"test/defs/test_defs_es.rb",
|
"test/defs/test_defs_el.rb",
|
||||||
"test/defs/test_defs_europe.rb",
|
"test/defs/test_defs_es.rb",
|
||||||
"test/defs/test_defs_fi.rb",
|
"test/defs/test_defs_europe.rb",
|
||||||
"test/defs/test_defs_fr.rb",
|
"test/defs/test_defs_fi.rb",
|
||||||
"test/defs/test_defs_gb.rb",
|
"test/defs/test_defs_fr.rb",
|
||||||
"test/defs/test_defs_ie.rb",
|
"test/defs/test_defs_gb.rb",
|
||||||
"test/defs/test_defs_is.rb",
|
"test/defs/test_defs_ie.rb",
|
||||||
"test/defs/test_defs_it.rb",
|
"test/defs/test_defs_is.rb",
|
||||||
"test/defs/test_defs_jp.rb",
|
"test/defs/test_defs_it.rb",
|
||||||
"test/defs/test_defs_mx.rb",
|
"test/defs/test_defs_jp.rb",
|
||||||
"test/defs/test_defs_nl.rb",
|
"test/defs/test_defs_mx.rb",
|
||||||
"test/defs/test_defs_no.rb",
|
"test/defs/test_defs_nl.rb",
|
||||||
"test/defs/test_defs_north_america.rb",
|
"test/defs/test_defs_no.rb",
|
||||||
"test/defs/test_defs_nyse.rb",
|
"test/defs/test_defs_north_america.rb",
|
||||||
"test/defs/test_defs_nz.rb",
|
"test/defs/test_defs_nyse.rb",
|
||||||
"test/defs/test_defs_pt.rb",
|
"test/defs/test_defs_nz.rb",
|
||||||
"test/defs/test_defs_scandinavia.rb",
|
"test/defs/test_defs_pt.rb",
|
||||||
"test/defs/test_defs_se.rb",
|
"test/defs/test_defs_scandinavia.rb",
|
||||||
"test/defs/test_defs_ups.rb",
|
"test/defs/test_defs_se.rb",
|
||||||
"test/defs/test_defs_us.rb",
|
"test/defs/test_defs_ups.rb",
|
||||||
"test/defs/test_defs_za.rb",
|
"test/defs/test_defs_us.rb",
|
||||||
"test/test_date.rb",
|
"test/defs/test_defs_za.rb",
|
||||||
"test/test_helper.rb",
|
"test/test_date.rb",
|
||||||
"test/test_holidays.rb",
|
"test/test_helper.rb",
|
||||||
"test/test_multiple_regions.rb"
|
"test/test_holidays.rb",
|
||||||
|
"test/test_multiple_regions.rb"
|
||||||
]
|
]
|
||||||
|
|
||||||
if s.respond_to? :specification_version then
|
if s.respond_to? :specification_version then
|
||||||
|
|
|
@ -43,7 +43,7 @@ module Holidays
|
||||||
# Exception thrown when an unknown region is requested.
|
# Exception thrown when an unknown region is requested.
|
||||||
class UnknownRegionError < ArgumentError; end
|
class UnknownRegionError < ArgumentError; end
|
||||||
|
|
||||||
VERSION = '1.0.1'
|
VERSION = '1.0.2'
|
||||||
|
|
||||||
@@regions = []
|
@@regions = []
|
||||||
@@holidays_by_month = {}
|
@@holidays_by_month = {}
|
||||||
|
|
Loading…
Reference in a new issue