dagger 2.3.0 → 2.3.1

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: 10733130d8f24aa8ba7fb7e27837fdc34ab854348aed2e82a09347c039689b2d
4
- data.tar.gz: 9e3c600a111cdd1cf7090b8b48aa1103fa48e1f763588623902a9bb9daa704b6
3
+ metadata.gz: 68668f30fc2f2e51feda2b49d46a1f8971a3f0fb641c17778c19c8f8dd312c5e
4
+ data.tar.gz: 93756757ac9dc138e4bca19b1da0af4137b93acc585c5f71696089a8ed0392a3
5
5
  SHA512:
6
- metadata.gz: c1d486fd374676a0f1892dfc98e89048729941a4ba10c0f207ebc87fefc100fe3ed172b31a3ba9d238124c1d8d8dfd01d3deda79b06eb93e7a60c04d67fbf7c6
7
- data.tar.gz: fefd2e08f939a0dcfe8ba1c52c8e07c20eda4cdf921d120393cd4e52ade3002180ef29329ce2f9f1085ad27e2785cf76dc00a90cc499ba3724ac057a487c46b4
6
+ metadata.gz: e65cf269e3283168e9ad70dfe5580818a7bfcacef0abf7910ddc7ab38c4af84ea403ab65b895af4f9bd1172285281b9e6765bdc154fe89cecdba385e0fa5038e
7
+ data.tar.gz: 548219ffe3e0338fab08ef677d89ec063927cdfef43ab4f9f1c11119fb8f517443584986b9aa1d9c5e0f6e87c2ea871a891f0e1e48407ed04de75bc40b6cf443
@@ -34,7 +34,7 @@ module Dagger
34
34
  alias_method :ok?, :success?
35
35
 
36
36
  def redirect?
37
- [301, 302, 303, 307].include?(code)
37
+ [301, 302, 303, 307, 308].include?(code)
38
38
  end
39
39
 
40
40
  def to_s
@@ -1,7 +1,7 @@
1
1
  module Dagger
2
2
  MAJOR = 2
3
3
  MINOR = 3
4
- PATCH = 0
4
+ PATCH = 1
5
5
 
6
6
  VERSION = [MAJOR, MINOR, PATCH].join('.')
7
7
  end
data/lib/dagger.rb CHANGED
@@ -194,7 +194,7 @@ module Dagger
194
194
 
195
195
  if opts[:username] # opts[:password] is optional
196
196
  str = [opts[:username], opts[:password]].compact.join(':')
197
- headers['Authorization'] = 'Basic ' + Base64.encode64(str)
197
+ headers['Authorization'] = 'Basic ' + Base64.strict_encode64(str)
198
198
  end
199
199
 
200
200
  if opts[:json]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dagger
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.0
4
+ version: 2.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tomás Pollak
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-12-01 00:00:00.000000000 Z
11
+ date: 2024-06-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -154,7 +154,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
154
154
  - !ruby/object:Gem::Version
155
155
  version: 1.3.6
156
156
  requirements: []
157
- rubygems_version: 3.4.6
157
+ rubyforge_project: dagger
158
+ rubygems_version: 2.7.3
158
159
  signing_key:
159
160
  specification_version: 4
160
161
  summary: Simplified Net::HTTP wrapper.