gls_agent 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,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YjEwMjEzMTBjMGM0NGJhZjEyMzhmNTAyZGIwNjc4NzczNDgzMTUwOA==
4
+ OTg4YmNkMGNhNWI3NzRjYzM4MzY1ODEwMjA3M2IxOWQyOWU4NTIxYw==
5
5
  data.tar.gz: !binary |-
6
- ZTliNDAxYTdhNWI1ODAwZjdmYjVjOGIxY2RiNDA0NzU2MGU5ZTIxZg==
6
+ OGQ0Y2ZlYTg1YTRkMTVhNTlhOTUwMWVjMjliNWFjYWZjZjhlNzc2OQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- YWQ2OWQ0YTYyM2ZmMGQxN2QyNTBhNWE5NmFkMjE3OGM2ODhhYmFjMzRjNGM4
10
- NDFlZjc1YWZlMmU0MDA1N2Y0MGJiMDY3OThmNjU4Yzk4MmU5YmM3MGE4MTg2
11
- YzExODZmMGNhNTNkMGVjOWZiNjU0YjQzYThlNjdkNmJhNDYyZjE=
9
+ NTQ0M2JhZmYwYjljMWNjYzU4MjM2MDM0NGNmZDlhNGIyMmNmMDVlYTc2YWNl
10
+ MjE0NjEzZTI3NGIyMGRiNzVjNjVkZDQ0ZGU5NzBkODJhYWUzOTkxZGY0ODQ3
11
+ MmM5NzE4NTkzMGY0YjM4MzI1YWFlNDM5MTI0OGM5ODBmY2Q0Njc=
12
12
  data.tar.gz: !binary |-
13
- OGJhZjk4NjNkMjUyNTJiYzZkNmQ4NTNmODI2ZmJlNTI5NmRmZTFmZDdlMTc3
14
- ZDczN2YwYzNiMmI5YTk2OTZmYjBhNTgxMDA5MTMxNjBhYWNmYTZjYjljMzgy
15
- NjhkMmZmN2M3ZjZkYmQ4ZTM0MjgwODMxODhmM2NiOWVkYTg0YjU=
13
+ NDU2MzFhNDFiOTZjZTBmYmQ4MjAxNmVmODk4M2ExYzQ4N2U1ODdlZGM2MzFm
14
+ MWY1NzYyZjFmZDMxZDhmZTZlYmEwMTgwODViZTExYjk1Njc5Yjk0NTQ0ZmVi
15
+ MWIwNDg4ZDE5OWQ1ZDdmOGRlYjg2ODJhYTk1NzQzZGM5OGYzNDc=
@@ -8,12 +8,13 @@ class GLSMech
8
8
  attr_accessor :mech
9
9
  attr_accessor :user
10
10
  attr_accessor :pass
11
- @@parcel_creation_url = 'http://www.your-gls.eu/276-I-PORTAL-WEB/content/GLS/DE03/DE/15001.htm'.freeze
11
+ @@parcel_creation_url = 'http://www.your-gls.eu/276-I-PORTAL-WEB/content/GLS/DE03/DE/15005.htm'.freeze
12
12
 
13
13
  # Setup the mech.
14
14
  def initialize
15
15
  @mech = Mechanize.new
16
16
  @mech.user_agent_alias = 'Windows Mozilla'
17
+ @mech.agent.allowed_error_codes = [404]
17
18
  end
18
19
 
19
20
  # Enable logging to given file.
@@ -1,3 +1,3 @@
1
1
  module GLSAgent
2
- VERSION = "0.4.2".freeze
2
+ VERSION = "0.4.3".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gls_agent
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
  - Felix Wolfsteller
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-19 00:00:00.000000000 Z
11
+ date: 2014-08-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mechanize