inpost_parcels_tracker 1.0.1 → 1.0.2

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: 7be7e2804491a69a28a710438b610edd328f1f83
4
- data.tar.gz: f364aa2d0b5be2f8d374ea2fea6e27762fadf00c
3
+ metadata.gz: 8cc8765ddb25b9d9d74ab0932d234ea896f8ebec
4
+ data.tar.gz: 511bf81df7620369801601c76fad2b9e95dbb62e
5
5
  SHA512:
6
- metadata.gz: c337d36b1a4fb9f1bb59f2bcd95323132293e8f754ee59ab5624d4c1a33d69cd8be156fadd24151364833a1b2e3082f44c61ebbfaab0fe8382e934583220c835
7
- data.tar.gz: 949c03576882f8813fb87ba4e7414a5eae5366a8e44b8bc09f4da3abe4455bd77d6bb23b51b265c3ffd71bcdd249637a083813ead12489e62231dcb24b7fc5de
6
+ metadata.gz: 8583ca4383d5e5d3819f5295da2f3ca06b403820810369e11b3cd60b4400bb12b865edee9a7944a3e7b6055432a18d46015c970961f558af6330929961893662
7
+ data.tar.gz: 6b26971a6b62c1d062834671b871d9eaedf2495270d06fd3e578b75540455587b43e94750e84f6c9d40831781104bd939f95eec62b10e46adee624772b0e0ffb
data/README.md CHANGED
@@ -24,10 +24,14 @@ Inpost::Parcel.new('111111111111111111111111').track
24
24
  ```
25
25
  example success response :
26
26
  ```ruby
27
- => {:tracking_number=>"111111111111111111111111", :type=>"inpost_locker_standard", :custom_attributes=>{:target_machine_id=>"XXXXXX"}, :status=>"ready_to_pickup", :tracking_details=>[{:status=>"ready_to_pickup", :origin_status=>"XXX", :datetime=>"datetime"},
28
- {:status=>"out_for_delivery", :origin_status=>"XXX", :datetime=>"datetime"},
27
+ =>
28
+ {:tracking_number=>"111111111111111111111111", :type=>"inpost_locker_standard", :custom_attributes=>{:target_machine_id=>"XXXXXX"}, :status=>"ready_to_pickup", :tracking_details=>
29
+ [
30
+ {:status=>"ready_to_pickup", :origin_status=>"XXX", :datetime=>"datetime"},
31
+ {:status=>"out_for_delivery", :origin_status=>"XXX", :datetime=>"datetime"},
29
32
  {:status=>"adopted_at_source_branch", :origin_status=>"XXX", :datetime=>"datetime"},
30
- {:status=>"confirmed", :origin_status=>"PPN", :datetime=>"datetime"}],
33
+ {:status=>"confirmed", :origin_status=>"PPN", :datetime=>"datetime"}
34
+ ],
31
35
  :expected_flow=>[], :created_at=>"datetime", :updated_at=>"datetime"}
32
36
  ```
33
37
  example fail responses :
@@ -51,7 +55,9 @@ This is what eventually will be returned:
51
55
  Inpost::Parcel.new('222222222222222222222222').track
52
56
  ```
53
57
  ```ruby
54
- => {:status=>404, :error=>"resource_not_found", :message=>"Tracking information about 222222222222222222222222 shipment has not been found.", :details=>{}}
58
+ => {:status=>404, :error=>"resource_not_found",
59
+ :message=>"Tracking information about 222222222222222222222222 shipment has not been found.",
60
+ :details=>{}}
55
61
  ```
56
62
  ## Contributing
57
63
 
@@ -6,8 +6,8 @@ require 'inpost_parcels_tracker/version'
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = "inpost_parcels_tracker"
8
8
  spec.version = InpostParcelsTracker::VERSION
9
- spec.authors = ["Michal Andros"]
10
- spec.email = ["michalandros@gmail.com"]
9
+ spec.authors = ["Filip Stybel", "Michal Andros"]
10
+ spec.email = ["filip.stybel@justcode.io", "michalandros@gmail.com"]
11
11
 
12
12
  spec.summary = %q{Track changes to Your parcels when using Inpost services}
13
13
  spec.description = %q{Check your parcel status and history by providing a inpost parcel tracking number}
@@ -1,3 +1,3 @@
1
1
  module InpostParcelsTracker
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inpost_parcels_tracker
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
+ - Filip Stybel
7
8
  - Michal Andros
8
9
  autorequire:
9
10
  bindir: exe
10
11
  cert_chain: []
11
- date: 2017-09-25 00:00:00.000000000 Z
12
+ date: 2017-09-29 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: bundler
@@ -55,6 +56,7 @@ dependencies:
55
56
  description: Check your parcel status and history by providing a inpost parcel tracking
56
57
  number
57
58
  email:
59
+ - filip.stybel@justcode.io
58
60
  - michalandros@gmail.com
59
61
  executables: []
60
62
  extensions: []