ja 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/ja/api.rb +1 -1
  3. data/lib/ja/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 79797ea17317f08a380c22f55d19e1785ae3f9721951927d9d508b1ab280cac7
4
- data.tar.gz: c776feb143950eb918018b80bfc04741c55f2efd11dffbb195e4429991a2f637
3
+ metadata.gz: d176ba68a796401f5f1ad807a9fff8cf5862c0ff63d9cffb8bfcd26063b33ddf
4
+ data.tar.gz: f013fc94bcb1fab67fbb2677a2fe6132ae297ab27f00021b00d7646baf6bbb11
5
5
  SHA512:
6
- metadata.gz: 89b61d3719c61eb835213a6bfb99e21895e43b079efd24cf49a0df00b18c16ea3e2690c124c5422d52acde7e0b9502dd5b855cd1e2c60053de954ca920c18dbf
7
- data.tar.gz: 77c1184f4b5ace74384d365fc142e90f17dc309efd705ac25fbb58c4255dd5fe99a527734510350b7e7bb19d980d40b363860e80b9c691b3ffea9da9f3535451
6
+ metadata.gz: ba9e004a3d785e640eca5c160d3aef619735e204afb89e9d46fbfa74eda54b5eed4a0269a7b5dcedbcc16ca557a7b91cf17b41a4ed70ae5a69dea5523d2f899f
7
+ data.tar.gz: 6b6e0b3c2cc59f22ab500da04df7f9297dd8c7d20989ce683e3c5c2aabb25e823a1bdd19ecb411dc4b7ba1792ce50577e3afaf97dbd7f32221bf87243e9dfb7f
@@ -19,7 +19,7 @@ module Ja
19
19
  if url
20
20
  uri = URI.parse(url)
21
21
  if uri.user || uri.password
22
- @client = @client.basic_auth(uri.user, uri.password)
22
+ @client = @client.basic_auth(user: uri.user, pass: uri.password)
23
23
  uri.user = nil
24
24
  uri.password = nil
25
25
  @url = uri.to_s
@@ -2,7 +2,7 @@
2
2
 
3
3
  module Ja
4
4
 
5
- VERSION = "0.2.0"
5
+ VERSION = "0.2.1"
6
6
  public_constant :VERSION
7
7
 
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ja
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - iain