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 +8 -8
- data/lib/gls_agent/gls_mech.rb +2 -1
- data/lib/gls_agent/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
OTg4YmNkMGNhNWI3NzRjYzM4MzY1ODEwMjA3M2IxOWQyOWU4NTIxYw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
OGQ0Y2ZlYTg1YTRkMTVhNTlhOTUwMWVjMjliNWFjYWZjZjhlNzc2OQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NTQ0M2JhZmYwYjljMWNjYzU4MjM2MDM0NGNmZDlhNGIyMmNmMDVlYTc2YWNl
|
10
|
+
MjE0NjEzZTI3NGIyMGRiNzVjNjVkZDQ0ZGU5NzBkODJhYWUzOTkxZGY0ODQ3
|
11
|
+
MmM5NzE4NTkzMGY0YjM4MzI1YWFlNDM5MTI0OGM5ODBmY2Q0Njc=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NDU2MzFhNDFiOTZjZTBmYmQ4MjAxNmVmODk4M2ExYzQ4N2U1ODdlZGM2MzFm
|
14
|
+
MWY1NzYyZjFmZDMxZDhmZTZlYmEwMTgwODViZTExYjk1Njc5Yjk0NTQ0ZmVi
|
15
|
+
MWIwNDg4ZDE5OWQ1ZDdmOGRlYjg2ODJhYTk1NzQzZGM5OGYzNDc=
|
data/lib/gls_agent/gls_mech.rb
CHANGED
@@ -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/
|
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.
|
data/lib/gls_agent/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2014-08-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mechanize
|