wombleton-holidays 0.9.6 → 0.9.7
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.
- data/VERSION +1 -1
- data/lib/holidays.rb +1 -1
- metadata +12 -5
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.9.
|
|
1
|
+
0.9.7
|
data/lib/holidays.rb
CHANGED
|
@@ -261,7 +261,7 @@ private
|
|
|
261
261
|
|
|
262
262
|
require "holidays/north_america" if regions.include?(:us) # special case for north_america/US cross-linking
|
|
263
263
|
|
|
264
|
-
raise UnknownRegionError unless regions.all? { |r| r == :any or @@regions.include?(r) or begin require "holidays/#{r.to_s}"; rescue LoadError; false; end }
|
|
264
|
+
raise UnknownRegionError unless regions.all? { |r| r == :any or @@regions.include?(r) or begin require "holidays/#{r.to_s.split('_').first}"; rescue LoadError; false; end }
|
|
265
265
|
regions
|
|
266
266
|
end
|
|
267
267
|
|
metadata
CHANGED
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: wombleton-holidays
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
|
|
4
|
+
prerelease: false
|
|
5
|
+
segments:
|
|
6
|
+
- 0
|
|
7
|
+
- 9
|
|
8
|
+
- 7
|
|
9
|
+
version: 0.9.7
|
|
5
10
|
platform: ruby
|
|
6
11
|
authors:
|
|
7
12
|
- Alex Dunae
|
|
@@ -10,7 +15,7 @@ autorequire:
|
|
|
10
15
|
bindir: bin
|
|
11
16
|
cert_chain: []
|
|
12
17
|
|
|
13
|
-
date: 2010-
|
|
18
|
+
date: 2010-05-01 00:00:00 +12:00
|
|
14
19
|
default_executable:
|
|
15
20
|
dependencies: []
|
|
16
21
|
|
|
@@ -126,18 +131,20 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
126
131
|
requirements:
|
|
127
132
|
- - ">="
|
|
128
133
|
- !ruby/object:Gem::Version
|
|
134
|
+
segments:
|
|
135
|
+
- 0
|
|
129
136
|
version: "0"
|
|
130
|
-
version:
|
|
131
137
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
132
138
|
requirements:
|
|
133
139
|
- - ">="
|
|
134
140
|
- !ruby/object:Gem::Version
|
|
141
|
+
segments:
|
|
142
|
+
- 0
|
|
135
143
|
version: "0"
|
|
136
|
-
version:
|
|
137
144
|
requirements: []
|
|
138
145
|
|
|
139
146
|
rubyforge_project:
|
|
140
|
-
rubygems_version: 1.3.
|
|
147
|
+
rubygems_version: 1.3.6
|
|
141
148
|
signing_key:
|
|
142
149
|
specification_version: 3
|
|
143
150
|
summary: A collection of Ruby methods to deal with statutory and other holidays. You deserve a holiday!
|