sodacan 0.0.5 → 0.0.6

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1de1508cd38cb66a3a646e82a201141a94097068
4
- data.tar.gz: bf1820bf8bcb757b77205ce4f66f254e8458ea0d
3
+ metadata.gz: 7a1212653711b4273c5d2e9de518348e18283dab
4
+ data.tar.gz: 11fb99e15d50aa0217d5ca0d4eff0647b8319c97
5
5
  SHA512:
6
- metadata.gz: 62fdc5fd3df7cb72e58b7f93312b591407f8975a59b27ade452cb3f68a65f1640e8f5f2fb9512a7d26c630d14240dd4fcb180bb0d8e8254cadfb475b345a1491
7
- data.tar.gz: 3739779c611e93901002331c4519828fc44f27cc1361518040a29ee67b7c79194f5cf9aa5355ab143f4d47c49a606e7c2fb53cb7e140bb949a387d5ced4a1816
6
+ metadata.gz: 62fd82e65334ec9e2c4ab923439e024ff5284b32b417c84ca9fb69cfffce80b581afb19825c5f419bb771933b9a4b76d22ac18aedda8c90792dc4e3966d817ae
7
+ data.tar.gz: e7be584bccbd96a84ca05bbf9ce710ae6fe085d41a6d7c5f269e14fa469965bd2d508be56ab0c754a024c30f9b1dfec8576c0d453a43c7aeb5e532f85395181a
@@ -1,11 +1,10 @@
1
1
  module SodaCan
2
2
  class Location
3
3
  def initialize (params)
4
- binding.pry
5
4
  lat = nil
6
- lat = Float(params['latitude']) if params['latitude']
5
+ lat = Float(params['latitude']) if params['latitude'].present?
7
6
  long = nil
8
- long = Float(params['longitude']) if params['longitude']
7
+ long = Float(params['longitude']) if params['longitude'].present?
9
8
  define_singleton_method(:latitude){ lat }
10
9
  define_singleton_method(:longitude){ long }
11
10
  end
@@ -1,3 +1,3 @@
1
1
  module SodaCan
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sodacan
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Trevor John, tjohn