scooter 4.5.2 → 4.5.4

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
  SHA256:
3
- metadata.gz: d28d921bb29a43c1a54b237177b9f614c934cf312449dace635c97fe315018aa
4
- data.tar.gz: dea1e7ed4177988ad032d1bed17f277eef7b3e724d1064e8fbf8248fd63e764b
3
+ metadata.gz: 140f45ad0b9707ef584006662c830aa1965f8e7ca2c5b593a3f0d6b5bb36f0b8
4
+ data.tar.gz: beae0106ed41a25240446b225eeebeada7f75b5174ba2eb148a7e763ad790543
5
5
  SHA512:
6
- metadata.gz: 92c27de1b5fd63ce3bd588332e5befa893b4d15f854bec459e5097ac22d6d857a60899bd46a3e3856541d5d66d4644d993deb6113b93dc92f6eb19bb9f24812b
7
- data.tar.gz: 6147ef6db76ecc15f3063d6c07368978388f111f2a06d927120e35a26cf2dc888b05b968c3cc4b4d4730a81d1e948a01731843db0756a8bcc51cd03f2e7c074d
6
+ metadata.gz: 3784b635e886af9fb0af04f11c107269da4b3cdfe45256d0ab5a7cd680e47c8bd69b9cb722cbcc3a28184ca22f4c8dd4b84ae18f8c96dbfc3fd6e5633e34d551
7
+ data.tar.gz: a13caa8a225e042e5333ac669c9512cb2b57321eccc373f91d83d2e27f0c12f7a7a9c3a44e14469421d892ab3cd8bfe07f5fe8c09634ed42712c9925b9621fba
@@ -88,11 +88,9 @@ module Scooter
88
88
  end
89
89
 
90
90
  def signin(login=self.credentials.login, password=self.credentials.password)
91
- response = @connection.get "/auth/login" do |request|
92
- connection.port = 443
93
- end
91
+ response = @connection.get "https://#{host}/auth/login"
94
92
  return response if response.status != 200
95
- # extract the session cookie, if it is present
93
+ # extract the session cookie, if it is present
96
94
  cookie = response.headers['Set-Cookie']
97
95
  response = @connection.post "/auth/login" do |request|
98
96
  request.headers['Content-Type'] = 'application/x-www-form-urlencoded; charset=UTF-8'
@@ -1,5 +1,5 @@
1
1
  module Scooter
2
2
  module Version
3
- STRING = '4.5.2'
3
+ STRING = '4.5.4'
4
4
  end
5
5
  end
@@ -41,7 +41,7 @@ module Scooter
41
41
  "date"=>"Tue, 29 Nov 2016 22:05:41 GMT",
42
42
  "content-length"=>"0",
43
43
  "connection"=>"close",
44
- "set-cookie"=>"__HOST-pl_ssti=0CeHhpz5PPLna7kpaEMcTHjJ62z9eizHTzsxEXNK8W20;Secure;Path=/",
44
+ "set-cookie"=>"pl_ssti=0CeHhpz5PPLna7kpaEMcTHjJ62z9eizHTzsxEXNK8W20;Secure;Path=/",
45
45
  "location"=>"/",
46
46
  "x-frame-options"=>"DENY"})
47
47
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scooter
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.5.2
4
+ version: 4.5.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Puppetlabs