loggability 0.12.0.pre20161214121603 → 0.12.0

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: f46621fee7bd204de1d1872520844f0cf4493e0c
4
- data.tar.gz: 468ba3b10292e91ba42caccb7987a051646a662b
3
+ metadata.gz: dd51d8a4cfbff47781f351f3f50b808f44c02434
4
+ data.tar.gz: 92a4e5a92182c16a0ca50c15b594063491934330
5
5
  SHA512:
6
- metadata.gz: 118ba817043e8310dcda717d69bdb22b97836369f64ba73291044899876543735e7025548ecc13216c3c2878a16d8af794e3b8cb7ae9e0cef207454290206514
7
- data.tar.gz: 7b8e546d2ccac2c1804f5d7419ea7ab9cc4a9ec6706477f6584eacb3a2ae38341dda61bd275d062bd250343f5ab56f3cd8ab94eca207885b9b861989a831ab53
6
+ metadata.gz: 8864cd2db0a9b3fa25fe921b18684e11bdb27c343f8591075ae4c10952d20fa0f110d736964734f57f28324191a286ce0d9236313af0bc61409f233cc12aaa54
7
+ data.tar.gz: 8669e87c4d19d9591bba20fedcb1f767e3b09c655b8a00083cb422e768e10588f39ec1a2461f18f5066680997a1ce5032db77bc8c1beb9d2366681be41775a22
checksums.yaml.gz.sig ADDED
Binary file
data.tar.gz.sig ADDED
Binary file
data/Manifest.txt CHANGED
@@ -20,6 +20,7 @@ spec/loggability/formatter/color_spec.rb
20
20
  spec/loggability/formatter/html_spec.rb
21
21
  spec/loggability/formatter_spec.rb
22
22
  spec/loggability/logger_spec.rb
23
+ spec/loggability/loghost_spec.rb
23
24
  spec/loggability/override_spec.rb
24
25
  spec/loggability/spechelpers_spec.rb
25
26
  spec/loggability_spec.rb
data/lib/loggability.rb CHANGED
@@ -12,7 +12,7 @@ module Loggability
12
12
  VERSION = '0.12.0'
13
13
 
14
14
  # VCS revision
15
- REVISION = %q$Revision: 6379f2040f92 $
15
+ REVISION = %q$Revision: f4e0960bd29c $
16
16
 
17
17
  # The key for the global logger (Loggability's own logger)
18
18
  GLOBAL_KEY = :__global__
@@ -0,0 +1,23 @@
1
+ #!/usr/bin/env rspec -cfd
2
+
3
+ require_relative '../helpers'
4
+
5
+ require 'loggability/loghost'
6
+
7
+
8
+ describe Loggability::LogHost do
9
+
10
+
11
+ let( :class_with_loggability ) do
12
+ Class.new { extend Loggability; log_as :loghost_specs }
13
+ end
14
+
15
+
16
+ it "makes subclasses log clients of itself" do
17
+ subclass = Class.new( class_with_loggability )
18
+ expect( subclass.log ).to be_a( Loggability::Logger::ObjectNameProxy )
19
+ expect( subclass.log.logger ).to eq( class_with_loggability.logger )
20
+ end
21
+
22
+ end
23
+
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: loggability
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0.pre20161214121603
4
+ version: 0.12.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Granger
@@ -35,7 +35,7 @@ cert_chain:
35
35
  w8aNA5re5+Rt/Vvjxj5AcEnZnZiz5x959NaddQocX32Z1unHw44pzRNUur1GInfW
36
36
  p4vpx2kUSFSAGjtCbDGTNV2AH8w9OU4xEmNz8c5lyoA=
37
37
  -----END CERTIFICATE-----
38
- date: 2016-12-14 00:00:00.000000000 Z
38
+ date: 2016-12-28 00:00:00.000000000 Z
39
39
  dependencies:
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: hoe-mercurial
@@ -192,6 +192,7 @@ files:
192
192
  - spec/loggability/formatter/html_spec.rb
193
193
  - spec/loggability/formatter_spec.rb
194
194
  - spec/loggability/logger_spec.rb
195
+ - spec/loggability/loghost_spec.rb
195
196
  - spec/loggability/override_spec.rb
196
197
  - spec/loggability/spechelpers_spec.rb
197
198
  - spec/loggability_spec.rb
@@ -212,9 +213,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
212
213
  version: 1.9.3
213
214
  required_rubygems_version: !ruby/object:Gem::Requirement
214
215
  requirements:
215
- - - ">"
216
+ - - ">="
216
217
  - !ruby/object:Gem::Version
217
- version: 1.3.1
218
+ version: '0'
218
219
  requirements: []
219
220
  rubyforge_project:
220
221
  rubygems_version: 2.6.8
metadata.gz.sig ADDED
Binary file