rcap 1.2.2 → 1.2.3

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.rdoc CHANGED
@@ -1,6 +1,10 @@
1
1
  = Change Log
2
2
 
3
- == 1.2.1 - 29 October 2011
3
+ == 1.2.3 - 10 November 2011
4
+
5
+ * Fixed Time#utc_hours_offset to use localtime to preserve TZ info (Earle Clubb)
6
+
7
+ == 1.2.2 - 29 October 2011
4
8
 
5
9
  * Fixed polygon parsing and made it consitent across versions
6
10
 
data/README.rdoc CHANGED
@@ -8,7 +8,7 @@ RCAP currently supports CAP 1.0, 1.1 and 1.2.
8
8
 
9
9
  == Version
10
10
 
11
- 1.2.2
11
+ 1.2.3
12
12
 
13
13
  == Dependencies
14
14
 
@@ -190,7 +190,7 @@ will produce the following YAML document
190
190
 
191
191
  Note: If you use Ruby 1.8 the order of the attributes is jumbled due to hashes being unorderd (Ruby 1.9 implements ordered hashes). This does not affect the ability to parse documents generated from RCAP::Alert#to_yaml, it just makes things the output slightly messy.
192
192
 
193
- === To JSON
193
+ ==== To JSON
194
194
 
195
195
  JSON(JavaScript Object Notation) is a text serialization format that can be easily loaded in a JavaScript environment.
196
196
 
@@ -9,6 +9,6 @@ class Time # :nodoc:
9
9
 
10
10
  private
11
11
  def utc_hours_offset
12
- self.utc_offset/3600
12
+ self.localtime.utc_offset/3600
13
13
  end
14
14
  end
data/lib/rcap/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module RCAP
2
- VERSION = '1.2.2'
2
+ VERSION = '1.2.3'
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rcap
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 2
9
- - 2
10
- version: 1.2.2
9
+ - 3
10
+ version: 1.2.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Farrel Lifson
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-10-28 00:00:00 Z
18
+ date: 2011-11-10 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: assistance