cowtech-extensions 2.1.0 → 2.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -25,7 +25,7 @@ Gem::Specification.new do |gem|
25
25
  gem.add_dependency("actionpack", "~> 3.0")
26
26
  gem.add_dependency("tzinfo", "~> 0.3.33")
27
27
 
28
- gem.add_development_dependency("rspec", "~> 2.10")
28
+ gem.add_development_dependency("rspec", "~> 2.11")
29
29
  gem.add_development_dependency("rcov", "~> 1.0.0")
30
30
  gem.add_development_dependency("pry", "~> 0.9.9")
31
31
  end
@@ -90,7 +90,7 @@ module Cowtech
90
90
  end
91
91
 
92
92
  def find_parameterized_zone(tz, as_string = false)
93
- tz = tz.to_s if !tz.is_a?(String)
93
+ tz = Date.parameterize_zone(tz) if !tz.is_a?(String)
94
94
  tz.gsub!(/^(.\d{4}@)?/, "")
95
95
 
96
96
  rv = catch(:zone) do
@@ -9,7 +9,7 @@ module Cowtech
9
9
  module Version
10
10
  MAJOR = 2
11
11
  MINOR = 1
12
- PATCH = 0
12
+ PATCH = 1
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: 11
4
+ hash: 9
5
5
  prerelease:
6
6
  segments:
7
7
  - 2
8
8
  - 1
9
- - 0
10
- version: 2.1.0
9
+ - 1
10
+ version: 2.1.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Shogun
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-06-12 00:00:00 Z
18
+ date: 2012-07-12 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: actionpack
@@ -56,11 +56,11 @@ dependencies:
56
56
  requirements:
57
57
  - - ~>
58
58
  - !ruby/object:Gem::Version
59
- hash: 23
59
+ hash: 21
60
60
  segments:
61
61
  - 2
62
- - 10
63
- version: "2.10"
62
+ - 11
63
+ version: "2.11"
64
64
  type: :development
65
65
  version_requirements: *id003
66
66
  - !ruby/object:Gem::Dependency