madhawk57-log 0.1.0 → 0.1.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: e658101d8d7eb4fc8bfd4b68b84d173c3160405359ff9643b42c9753b7d55712
4
- data.tar.gz: be5eb51793b4876cc4d20ef502b195cc41a65fd3242caf9067b669450a9e47db
3
+ metadata.gz: 3d7fdf6ac2be4c621f0613a76493a71b88bdd9092b95c795deae03c5949af03d
4
+ data.tar.gz: e2a47f2e095f8fce7951e24e587eec377b8c67bdcfe7b09012086df5b22e36fb
5
5
  SHA512:
6
- metadata.gz: 88ffa2d3a61162e24fe89a3fe92a1afed1737faa97c8e0eda188ce7b11ce5244c266590b36f1514ed617b2980f5886d16b0f947f78159383550565bf8bfe1747
7
- data.tar.gz: b9ec57f4c3b4960b57731a8780310c9d71d9340a4ca3e93c08d8acccf151a660ad8e1e66fafc4310429e0e4d857a0135b8fb8d31326e1f894ee6439c5e392faf
6
+ metadata.gz: '083f1878c3f1516f8c34f7fe03cc7b8b8f3e635a30f8b99f498087a225ec20173c153a399e29fd597a4997616654926d71fe3a0a63c7f41ac23c423e11430a14'
7
+ data.tar.gz: a79597240a520f7d0a4de464f6be18dfc95ad530e289cf5466480edddf96fb7f805cb91dd399a8d430a41021888f93cc1ea60c87c81e3ea4b42f140af429ce53
@@ -11,7 +11,7 @@ Gem::Specification.new do |gem|
11
11
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
12
12
  gem.name = "madhawk57-log"
13
13
  gem.require_paths = ["lib"]
14
- gem.version = '0.1.0'
14
+ gem.version = '0.1.1'
15
15
  gem.required_ruby_version = ">= 2.1.0"
16
16
 
17
17
  gem.add_dependency "fluentd", [">= 0.10.58", "< 2"]
@@ -78,8 +78,10 @@ module Fluent
78
78
  }
79
79
  end
80
80
 
81
- def self.fetch(logger)
82
- logger.info "fetching secret with name #{@secretName} in project with id: #{@projectId} and version: #{@version}"
81
+ def self.fetch(log)
82
+ if log != nil
83
+ log.info "fetching secret with name #{@secretName} in project with id: #{@projectId} and version: #{@version}"
84
+ end
83
85
 
84
86
  client = Google::Cloud::SecretManager.secret_manager_service
85
87
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: madhawk57-log
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martin Falk
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-06-09 00:00:00.000000000 Z
11
+ date: 2020-06-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fluentd