marinetraffic 0.0.3 → 0.0.3.1

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: 7fe1149c7a048e9444ed97031b183b34f8278c35
4
- data.tar.gz: fdeefac94cf1ffbd6e60d0f144f2f838d0e3a98b
3
+ metadata.gz: bf8f591bf3cf4c71b55288c3cb2d567e27b8e1dd
4
+ data.tar.gz: cbfd304fcf37660ce6f48f860da6335cb4a1a31e
5
5
  SHA512:
6
- metadata.gz: 0bc0fb29d3fb911bb583c332c9daed7fe656d0c4422046a30952a6e7909cd3fe4a9d174103eb294ffda35198ee5c6ce303a7607964917e39c0785e38ab71d45a
7
- data.tar.gz: 07bf25076fa89f60e5220186c02a7fd1970a3c3487924793458272a459150ab298dbdeaa924a0614df7050fe288732e8939e78b45729efc7575151cfca1499bd
6
+ metadata.gz: 2d65378cd2ecf37618d7295d4fdcc29ceaa732577622389154d4e287720d2bff8f3b1fde67e2127350bf2935025340493c96a0062142e9f1c41ec0a8799081f8
7
+ data.tar.gz: d86c9878b2ed9a322aa317e2ba0808573a7d965ab2f2880789c3b193df7528c06bab1be02f2218b6ab1a79e34eae3285f41635989cc2548b85f4366ab7a077e9
@@ -1,3 +1,3 @@
1
1
  module Marinetraffic
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.3.1"
3
3
  end
@@ -2,7 +2,7 @@ module Marinetraffic
2
2
  class Vessel
3
3
 
4
4
  attr_reader :mmsi, :lat, :lon, :speed, :course, :status, :timestamp
5
- attr_reader :ship_type, :ship_name, :imo, :callsign, :flag, :current_port, :last_port, :last_port_time, :destination, :eta, :length, :draught, :grt, :dwt, :year_built
5
+ attr_reader :ship_type, :ship_name, :imo, :callsign, :flag, :current_port, :last_port, :last_port_time, :destination, :eta, :length, :width, :draught, :grt, :dwt, :year_built
6
6
 
7
7
  def initialize(attributes = {})
8
8
  @mmsi = attributes["mmsi"]
@@ -23,6 +23,7 @@ module Marinetraffic
23
23
  @destination = attributes["destination"]
24
24
  @eta = attributes["eta"]
25
25
  @length = attributes["length"]
26
+ @width = attributes["width"]
26
27
  @draught = attributes["draught"]
27
28
  @grt = attributes["grt"]
28
29
  @dwt = attributes["dwt"]
@@ -58,6 +59,7 @@ module Marinetraffic
58
59
  attributes["destination"] = list.shift
59
60
  attributes["eta"] = list.shift
60
61
  attributes["length"] = list.shift
62
+ attributes["width"] = list.shift
61
63
  attributes["draught"] = list.shift
62
64
  attributes["grt"] = list.shift
63
65
  attributes["dwt"] = list.shift
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: marinetraffic
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fabio Kuhn