dboard 3.0.0 → 3.0.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/api.rb +4 -1
  3. data/lib/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5b304b24b1a81668338947ec710dac13e40154546ef7223bbdd1c0ccf85707d1
4
- data.tar.gz: 0b541c61c457f728d1e07e92ddc46579e25f9e228643ab605b7dda5f8410ccbb
3
+ metadata.gz: d5b007fa0f768847e5a5155f08205ca9b8bc3ec1afbe60dfbc21d0e0ba7fb279
4
+ data.tar.gz: 665d3e307f3af7c5192e30b2864b195e2f842d4165acd9f7f5ad062439191ace
5
5
  SHA512:
6
- metadata.gz: 777077451031641618207a7e6e90e50a8eda8cd50e87f142d75826fd2ac5bbe970da2b9fbdd915d8739750274a5ab177b03aeaa77e2cbeac5044b4e3b8d88600
7
- data.tar.gz: 3d3b5d8f1920e6ef2ec58c0374aaaebaeb4e6caf329e8da17e2779a909405f7f60ef26c1cd77df63c50a815f897bd220f7d9b4a941a5c50d78104876cd6be29f
6
+ metadata.gz: 166b2aa677c0234e1de2574df03f17072adab4e09c7bd68e26a8be03640f1b4ac50ccd3246657c383cd741611823c3efbd8fdd299a582a17d534a3c40164e5cf
7
+ data.tar.gz: aa99aae44e6a0a968150f42438dca61893f45960df655a06722a93d0ff52a2e3daa6abb56ed9f827b8647f6a718b0f5c230cb117c83e696fd22868852d5402e4
data/lib/api.rb CHANGED
@@ -20,7 +20,10 @@ module Dboard
20
20
  Class.new {
21
21
  include HTTParty
22
22
  base_uri config.fetch(:base_uri)
23
- basic_auth *config.fetch(:basic_auth)
23
+
24
+ if config[:basic_auth]
25
+ basic_auth *config.fetch(:basic_auth)
26
+ end
24
27
  }
25
28
  }
26
29
  end
data/lib/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Dboard
2
- VERSION = "3.0.0"
2
+ VERSION = "3.0.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dboard
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joakim Kolsjö