filebound_client 0.3.2 → 0.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 78c968b126940138166073c4d4737a5a9e2299075f8e612a0b201a10dd7c5e06
4
- data.tar.gz: bd92c85ec24b82f53cccca5d24ebf623498e9ff154d1b9c390275ad09c089453
3
+ metadata.gz: dc63ed349ba36895b622b4566afe25a7389ef808a2c99f7794925aac0a15f12b
4
+ data.tar.gz: cdda043425d0021371cd5d2ae70bac8d0ecb9915183b7299f4868badb814db57
5
5
  SHA512:
6
- metadata.gz: a2bb9e29ddf5bc4585c908501c5f9ab1217f0e5cfa6fa50d28d782c6eae6a4a5aaa9399d43ee3235e3ebd06168cf9325e2d68545633e443935ed16fabe758079
7
- data.tar.gz: 3afd1349d71c255e9a8397fbfc56d48a010289b7e775c23acad77a1a1c381b44cfea04fb005f75f00c04b49935cf0f9d5464ebe20b28a5f407708d8931cd0751
6
+ metadata.gz: aca782ffc4effb7bd0b40c1bf527ce029a90db8a6b854f3e1fe64e909c646573c016b020c720e8aad4f66234f652aba904c81ad1aa3af4b59f25ca8d652d620d
7
+ data.tar.gz: 42caa6adc6504e2860092a85143c83cd2b9d6d6a7f7f9a1c5e36560c2bedd9293c77f5ed8054466a379b7c5a25a9c3552328e8083625bad3a3cdce13f48d9c38
@@ -3,6 +3,12 @@
3
3
 
4
4
  Changes to this gem will be noted here.
5
5
 
6
+ ## [0.3.3] - 2019-02-01
7
+
8
+ ### Removed
9
+
10
+ - Unnecessary logger config.
11
+
6
12
  ## [0.3.2] - 2019-01-31
7
13
 
8
14
  ### Added
@@ -5,7 +5,6 @@ require 'filebound_client/configuration'
5
5
  require 'filebound_client/config'
6
6
  require 'filebound_client/connection'
7
7
  require 'filebound_client/endpoints'
8
- require 'logger'
9
8
 
10
9
  # This is the core module
11
10
  module FileboundClient
@@ -7,27 +7,10 @@ module FileboundClient
7
7
  @configuration
8
8
  end
9
9
 
10
- # Retrieve the default logger
11
- # @return [Logger] the default logger
12
- def default_logger
13
- logger ||= Logger.new(STDOUT)
14
- logger.level = Logger::DEBUG
15
- logger
16
- end
17
-
18
10
  # Creates a new Configuration object and yields to the caller
19
- # Also sets the logger
20
11
  def configure
21
12
  @configuration ||= Configuration.new
22
13
  yield @configuration
23
-
24
- @configuration.logger ||= default_logger
25
- end
26
-
27
- # Simple logger plugin for debugging
28
- def logger(message)
29
- return unless configuration.logger
30
- configuration.logger.debug(message)
31
14
  end
32
15
  end
33
16
  end
@@ -1,6 +1,6 @@
1
1
  module FileboundClient
2
2
  # Encapsulate configuration data
3
3
  class Configuration
4
- attr_accessor :host, :api_base_uri, :username, :password, :logger, :ntlm_auth
4
+ attr_accessor :host, :api_base_uri, :username, :password, :ntlm_auth
5
5
  end
6
6
  end
@@ -1,4 +1,4 @@
1
1
  module FileboundClient
2
2
  # Current version of gem
3
- VERSION = '0.3.2'.freeze
3
+ VERSION = '0.3.3'.freeze
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: filebound_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bryan Richardson
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-01-31 00:00:00.000000000 Z
11
+ date: 2019-02-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler