physical 0.4.2 → 0.4.3

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: 856b58e65a2eaa086e7cdec7804a1178333b5ff7
4
- data.tar.gz: 754afc6f0c97ec03dbedef253495536ade574bda
3
+ metadata.gz: b5071305935c7247bcd7f1cdc6f67693d5c8cb37
4
+ data.tar.gz: 6040fbc65b93b5d0aced798b9c4f4007952e954f
5
5
  SHA512:
6
- metadata.gz: 131e44d1f2c082ede127cf85cf041b6a4686c677f2fc487b44d4730807464e2c648db3dd7c51780ca221e4e617d503fc96750010b40199423802678c39219766
7
- data.tar.gz: c9146151b7f3c6613f31a1b29bef71ac94fac981e6e126fbf011365fb82f939faa5a0e4c83efcd49e13bb5fedb00423a02eb7f250f4f29f1b594dd6899f04b15
6
+ metadata.gz: 346db67ecfe973dfcf2553331d0d67836e62cff6de2ea688227e37f01703cb1871a4d49b7670d71d0023d5a17cb92e4005bef7e9ebc9a2317c0320a8fbc5b89f
7
+ data.tar.gz: 937e4dbd4098d311d36622db26514e40b15e4f6c9690facb0fda1bc37056e68dc73f14b1c4b1ec03f406bd1e927b0c4172c06311fb0a02992e0dfe28c7b215c1
data/CHANGELOG.md CHANGED
@@ -4,7 +4,19 @@ All notable changes to this project will be documented in this file.
4
4
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5
5
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
- ## [Unreleased]
7
+ ## Unreleased
8
+
9
+ ## [0.4.3] - 2019-10-14
10
+ ### Added
11
+ - Add `#latitude` and `#longitude` to `Physical::Location`
12
+
13
+ ## [0.4.2] - 2019-09-04
14
+ ### Changed
15
+ - Relax `Measured` Gem dependency
16
+
17
+ ## [0.4.1] - 2019-07-15
18
+ ### Added
19
+ - Add `max_weight` to `Physical::Package`
8
20
 
9
21
  ## [0.4.0] - 2019-07-10
10
22
  ### Added
data/README.md CHANGED
@@ -143,7 +143,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
143
143
 
144
144
  ## Contributing
145
145
 
146
- Bug reports and pull requests are welcome on GitHub at https://github.com/mamhoff/physical. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
146
+ Bug reports and pull requests are welcome on GitHub at https://github.com/friendlycart/physical. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
147
147
 
148
148
  ## License
149
149
 
@@ -18,7 +18,9 @@ module Physical
18
18
  :fax,
19
19
  :email,
20
20
  :address_type,
21
- :company_name
21
+ :company_name,
22
+ :latitude,
23
+ :longitude
22
24
 
23
25
  def initialize(
24
26
  name: nil,
@@ -33,7 +35,9 @@ module Physical
33
35
  phone: nil,
34
36
  fax: nil,
35
37
  email: nil,
36
- address_type: nil
38
+ address_type: nil,
39
+ latitude: nil,
40
+ longitude: nil
37
41
  )
38
42
 
39
43
  if country.is_a?(Carmen::Country)
@@ -59,6 +63,8 @@ module Physical
59
63
  @fax = fax
60
64
  @email = email
61
65
  @address_type = address_type
66
+ @latitude = latitude
67
+ @longitude = longitude
62
68
  end
63
69
 
64
70
  def residential?
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Physical
4
- VERSION = "0.4.2"
4
+ VERSION = "0.4.3"
5
5
  end
data/physical.gemspec CHANGED
@@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
12
12
 
13
13
  spec.summary = "A facade to deal with physical packages"
14
14
  spec.description = "A package with boxes and items"
15
- spec.homepage = "https://github.com/mamhoff/physical"
15
+ spec.homepage = "https://github.com/friendlycart/physical"
16
16
  spec.license = "MIT"
17
17
 
18
18
  spec.files = `git ls-files -z`.split("\x0").reject do |f|
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: physical
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martin Meyerhoff
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-09-04 00:00:00.000000000 Z
11
+ date: 2019-10-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: carmen
@@ -153,7 +153,7 @@ files:
153
153
  - lib/physical/types.rb
154
154
  - lib/physical/version.rb
155
155
  - physical.gemspec
156
- homepage: https://github.com/mamhoff/physical
156
+ homepage: https://github.com/friendlycart/physical
157
157
  licenses:
158
158
  - MIT
159
159
  metadata: {}