BibOpsworks 0.0.9.2 → 0.0.9.3

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
  SHA1:
3
- metadata.gz: 03f789efcc970f9d677060d426366dbbbdfcef3d
4
- data.tar.gz: 02e26ec6980af2b0af24b6759b585118a38366d4
3
+ metadata.gz: 7bfc277b960068e6047cd1b2a60e57e44ec422d0
4
+ data.tar.gz: ff671e288dc4a2c3617fcfa084c53bc8959445f0
5
5
  SHA512:
6
- metadata.gz: cb182e5e551115833de3f2b10b12c13b8c320c271c7b9dedd073cb298d77df71e70a6bcf11596347b8a8eeeb2784ccb7571b490aa2b4668fae6d9c9ccf96ed14
7
- data.tar.gz: 95f78ee76e5e733c2bd56720b33faa7acd8ea573c39f8bb5ce47eb1b2838461627e80466062f80b1fdc2f2387f57d9d248aee61e8dbf525aff26c19f57777888
6
+ metadata.gz: f545e8e8248578167467a36d597e9bca67b7b5c3b48933098a6e67dff433ebc8986b22952cdb42578d073695924c874f1c16cacdcb7ba8ecbd805df58c404a8c
7
+ data.tar.gz: 56e8d12f1c710816619d80d4219b230f735d79c982091d33f312d1a1d35590d99906be53005b838cb6a5f2d9fa7a02d4cd29478ab9b2f66a70f8d141517107c7
@@ -0,0 +1,19 @@
1
+ require 'logger'
2
+
3
+ module Bib
4
+ module Opsworks
5
+ module Logging
6
+ def log
7
+ if(defined?(Chef::Log))
8
+ Chef::Log
9
+ else
10
+ unless(@logger)
11
+ require 'logger'
12
+ @logger = Logger.new(STDOUT)
13
+ end
14
+ @logger
15
+ end
16
+ end
17
+ end
18
+ end
19
+ end
@@ -1,5 +1,5 @@
1
1
  module Bib
2
2
  module Opsworks
3
- VERSION = "0.0.9.2"
3
+ VERSION = "0.0.9.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: BibOpsworks
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9.2
4
+ version: 0.0.9.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - fh
@@ -97,6 +97,7 @@ files:
97
97
  - Rakefile
98
98
  - lib/bib/opsworks.rb
99
99
  - lib/bib/opsworks/composer.rb
100
+ - lib/bib/opsworks/logging.rb
100
101
  - lib/bib/opsworks/newrelic.rb
101
102
  - lib/bib/opsworks/version.rb
102
103
  - tests/composer_test.rb