quaff 0.4.1 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/endpoint.rb +1 -0
  2. metadata +2 -2
data/lib/endpoint.rb CHANGED
@@ -100,6 +100,7 @@ module Quaff
100
100
  def register expires="3600", aka=false
101
101
  @reg_call ||= outgoing_call(@uri)
102
102
  auth_hdr = Quaff::Auth.gen_empty_auth_header @username
103
+ @reg_call.update_branch
103
104
  @reg_call.send_request("REGISTER", "", {"Authorization" => auth_hdr, "Expires" => expires.to_s})
104
105
  response_data = @reg_call.recv_response("401|200")
105
106
  if response_data.status_code == "401"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: quaff
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-02-05 00:00:00.000000000 Z
12
+ date: 2014-02-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: facter