glw 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0bdbbfb78dda24bd5a804415c774b09409abad81
4
- data.tar.gz: fb70b89fd9182a4da1d2473a353f5bd0328659c4
3
+ metadata.gz: f7e0f7398adeb038e08845ff62060b8e9261c9d8
4
+ data.tar.gz: 39b18ca199a24b490f95549146da09d8ea8f62ed
5
5
  SHA512:
6
- metadata.gz: 14fcfe53fa01ef10a7975208a18df05afe9315d664987e92e27bb3510c688124d2d225e3de31e3d471635bbabc490f762a4eca8e42f1cf4af84f6881d7bb7da1
7
- data.tar.gz: 6c51ba4c6446641d110e76a72fa1081b82975fc3295acf3b4bb9bced7dc5c872326e996d4a6cf6665c349cf2b09d1c2da4f77fe3dba2f1852e143eb205b1679b
6
+ metadata.gz: 434833abef38f57ab3d0de92575a51fb51c41326302193956d85e7b5fcf4aa5960c6669cfa1672c8d5ae3c9afd7feec8882e0797d81262949259beba56cdc6cb
7
+ data.tar.gz: b0b0ee0ff955057ae9d31651b22a3342d18eb969eb4fd4a2f45a82e4894975bd44680b98c6d8b36ec4692d4b1e1cd2b74723fafab0a43fb03345ba076ae0f32b
checksums.yaml.gz.sig CHANGED
Binary file
data.tar.gz.sig CHANGED
Binary file
data/lib/glw.rb CHANGED
@@ -8,6 +8,7 @@ require 'geodesic'
8
8
  require 'recordx_sqlite'
9
9
 
10
10
 
11
+
11
12
  class Glw
12
13
 
13
14
  def initialize(dbfile='glw.db')
@@ -38,7 +39,7 @@ class Glw
38
39
  street_number types)
39
40
 
40
41
  h = fields.inject({}) {|hash, x| hash.merge(x => loc.method(x).call) }
41
- h.merge({relative_distance: d, relative_bearing: b})
42
+ OpenStruct.new h.merge({relative_distance: d, relative_bearing: b}).freeze
42
43
 
43
44
  end
44
45
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: glw
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
metadata.gz.sig CHANGED
Binary file