cowtech-extensions 2.1.1 → 2.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -91,7 +91,7 @@ module Cowtech
91
91
 
92
92
  def find_parameterized_zone(tz, as_string = false)
93
93
  tz = Date.parameterize_zone(tz) if !tz.is_a?(String)
94
- tz.gsub!(/^(.\d{4}@)?/, "")
94
+ tz.gsub!(/^(.+\d{4}@)?/, "")
95
95
 
96
96
  rv = catch(:zone) do
97
97
  ActiveSupport::TimeZone::MAPPING.each_key do |zone|
@@ -9,7 +9,7 @@ module Cowtech
9
9
  module Version
10
10
  MAJOR = 2
11
11
  MINOR = 1
12
- PATCH = 1
12
+ PATCH = 2
13
13
 
14
14
  STRING = [MAJOR, MINOR, PATCH].compact.join(".")
15
15
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cowtech-extensions
3
3
  version: !ruby/object:Gem::Version
4
- hash: 9
4
+ hash: 15
5
5
  prerelease:
6
6
  segments:
7
7
  - 2
8
8
  - 1
9
- - 1
10
- version: 2.1.1
9
+ - 2
10
+ version: 2.1.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Shogun