loggability 0.9.0.pre.73 → 0.9.0

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
  SHA1:
3
- metadata.gz: ca197a7e5f2104cf971a2f8f416b3a4d6fa581db
4
- data.tar.gz: 6be12107ba29eb58a9e6ae9570faa7535d5e40f4
3
+ metadata.gz: 1497b6514a93d2e6fefc3fb1c540203cf8373a2c
4
+ data.tar.gz: 60995f4e004948547422d1be31fd7a889b9dda6e
5
5
  SHA512:
6
- metadata.gz: 41a0aeb5f7633c34e28f294c03750dc4d7f4be00178f9c7383f98aa877295c1825c4b12dc1c71a91d8dc1149371100284293fd4b9652eb23b841e78f543db58a
7
- data.tar.gz: d413ef02c1479adc8dfb8579135b720a956c93990bf084d1e6c1ac3f2e4608513f807cc3de41f6f30ddc01bf4549998dbd9c6f3e7e17a157961b7eb518db0fed
6
+ metadata.gz: 6c6fbe16b601fd5f7aaeee05bac34661d50b705427153a9b63dc2b741d95a62b7cb40e360478f858b1fe7f33af5a559ccd44a046aef5467083535a64e0857170
7
+ data.tar.gz: 207e8f1fd7e7cd3442d67851532c272cc2f64f84e3aa3f8ee315f443ed471fa2b664b71b84a397941527a44c52612d99bbb0da5479ced87e2d983660f57b7368
Binary file
data.tar.gz.sig CHANGED
@@ -1 +1,3 @@
1
- +~�?��h�-��OFJ��=ce��w��Bܐ]��;��%�Dn��zld���s��J@/��䬀#-�W�ʸpNE�)]�H�f>χ����u`�~c�s4f���|�t�EC#�V���\j�M�p��q�/��_��B��n�#�av���ܥ�"��&��&�w������a;}�����nњ����^�9q��7w�0yƑ�&p>$�:�}�w�y)}f�$���<r�t}��F����_4�9T��v�
1
+ v��/�PoXP�YxK��\�w��ↅF_3�����0pnC�&�L��Pn8�e��ۆ!�!�
2
+ ۫����V�Hz��{ �Vch�)�f���@�4|z����,��6����^�\�b��"F�kSb��;\s�gԁGXq����F��Ǫ�߯�� ����7< sd^:Z .�.kOv'�T�,�5�6j�!H|\<�U80��xfӲ�����ߡa�+4Xjw�����ޯ3����
3
+ @D����
@@ -1,3 +1,14 @@
1
+ == v0.9.0 [2014-01-08] Michael Granger <ged@FaerieMUD.org>
2
+
3
+ Make the spechelpers a little more intelligent.
4
+
5
+ - You no longer need to do setup_logging/reset_logging in a
6
+ before(:all)/after(:all) block; that's done for you.
7
+ - You can now override the logging level for any example group by
8
+ adding 'logging' or 'log' metadata.
9
+ - Fixed some documentation, added docs for the spec helpers.
10
+
11
+
1
12
  == v0.8.1 [2013-10-09] Michael Granger <ged@FaerieMUD.org>
2
13
 
3
14
  - Fix the problem with blocks not being called in chained overrides.
data/Rakefile CHANGED
@@ -22,7 +22,7 @@ hoespec = Hoe.spec 'loggability' do
22
22
 
23
23
  self.developer 'Michael Granger', 'ged@FaerieMUD.org'
24
24
 
25
- self.dependency 'hoe-deveiate', '~> 0.3', :developer
25
+ self.dependency 'hoe-deveiate', '~> 0.4', :developer
26
26
  self.dependency 'hoe-bundler', '~> 1.2', :developer
27
27
  self.dependency 'simplecov', '~> 0.7', :developer
28
28
  self.dependency 'configurability', '~> 2.0', :developer
@@ -9,10 +9,10 @@ require 'date'
9
9
  module Loggability
10
10
 
11
11
  # Package version constant
12
- VERSION = '0.9.0.pre.73'
12
+ VERSION = '0.9.0'
13
13
 
14
14
  # VCS revision
15
- REVISION = %q$Revision: db603bf7b399 $
15
+ REVISION = %q$Revision: 469cf788e750 $
16
16
 
17
17
  # The key for the global logger (Loggability's own logger)
18
18
  GLOBAL_KEY = :__global__
@@ -154,7 +154,7 @@ describe Loggability::Logger do
154
154
  expect( @logger.logdev ).to be_a( Loggability::Logger::AppendingLogDevice )
155
155
  @logger.level = :debug
156
156
  @logger.info( "Something happened." )
157
- expect( logmessages ).to have( 1 ).member
157
+ expect( logmessages.size ).to eq( 1 )
158
158
  expect( logmessages.first ).to match( /something happened/i )
159
159
  end
160
160
 
@@ -55,7 +55,7 @@ describe Loggability::Override do
55
55
  end
56
56
  loghost.logger.debug "This shouldn't either."
57
57
 
58
- expect( log ).to have( 1 ).log_entry
58
+ expect( log.size ).to eq( 1 )
59
59
  end
60
60
 
61
61
 
@@ -80,8 +80,8 @@ describe Loggability::Override do
80
80
  end
81
81
  loghost.logger.debug "This should be output to the original destination"
82
82
 
83
- expect( original_destination ).to have( 2 ).log_entries
84
- expect( new_destination ).to have( 1 ).log_entry
83
+ expect( original_destination.size ).to eq( 2 )
84
+ expect( new_destination.size ).to eq( 1 )
85
85
  end
86
86
 
87
87
 
@@ -108,8 +108,8 @@ describe Loggability::Override do
108
108
 
109
109
  html_log = log.grep( /<div/ )
110
110
 
111
- expect( log ).to have( 3 ).entries
112
- expect( html_log ).to have( 1 ).entry
111
+ expect( log.size ).to eq( 3 )
112
+ expect( html_log.size ).to eq( 1 )
113
113
  end
114
114
 
115
115
 
@@ -142,7 +142,7 @@ describe Loggability::Override do
142
142
 
143
143
 
144
144
  expect( result ).to eq( :did_it )
145
- expect( log ).to have( 1 ).entry
145
+ expect( log.size ).to eq( 1 )
146
146
  expect( log.first ).to match( /Doing it!/ )
147
147
  end
148
148
 
@@ -178,8 +178,8 @@ describe Loggability do
178
178
  end
179
179
  Loggability[ @loghost ].info "After the override"
180
180
 
181
- expect( @default_output ).to have( 2 ).log_entries
182
- expect( tmp_output ).to have( 1 ).log_entry
181
+ expect( @default_output.size ).to eq( 2 )
182
+ expect( tmp_output.size ).to eq( 1 )
183
183
  end
184
184
 
185
185
 
@@ -197,8 +197,8 @@ describe Loggability do
197
197
  end
198
198
  Loggability[ @loghost ].info "After the overrides"
199
199
 
200
- expect( @default_output ).to have( 3 ).log_entries
201
- expect( tmp_output ).to have( 2 ).log_entries
200
+ expect( @default_output.size ).to eq( 3 )
201
+ expect( tmp_output.size ).to eq( 2 )
202
202
  end
203
203
 
204
204
 
@@ -209,7 +209,7 @@ describe Loggability do
209
209
  end
210
210
  Loggability[ @loghost ].debug "After the override"
211
211
 
212
- expect( @default_output ).to have( 1 ).log_entry
212
+ expect( @default_output.size ).to eq( 1 )
213
213
  end
214
214
 
215
215
 
@@ -226,7 +226,7 @@ describe Loggability do
226
226
  end
227
227
  Loggability[ @loghost ].debug "After the overrides"
228
228
 
229
- expect( @default_output ).to have( 2 ).log_entries
229
+ expect( @default_output.size ).to eq( 2 )
230
230
  end
231
231
 
232
232
 
@@ -237,8 +237,8 @@ describe Loggability do
237
237
  end
238
238
  Loggability[ @loghost ].info "After the override"
239
239
 
240
- expect( @default_output ).to have( 3 ).log_entries
241
- expect( @default_output.grep(/<div/) ).to have( 1 ).entry
240
+ expect( @default_output.size ).to eq( 3 )
241
+ expect( @default_output.grep(/<div/).size ).to eq( 1 )
242
242
  end
243
243
 
244
244
 
@@ -255,8 +255,8 @@ describe Loggability do
255
255
  end
256
256
  Loggability[ @loghost ].info "After the overrides"
257
257
 
258
- expect( @default_output ).to have( 5 ).log_entries
259
- expect( @default_output.grep(/<div/) ).to have( 2 ).log_entries
258
+ expect( @default_output.size ).to eq( 5 )
259
+ expect( @default_output.grep(/<div/).size ).to eq( 2 )
260
260
  end
261
261
 
262
262
 
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.9.0.pre.73
4
+ version: 0.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Granger
@@ -30,7 +30,7 @@ cert_chain:
30
30
  6mKCwjpegytE0oifXfF8k75A9105cBnNiMZOe1tXiqYc/exCgWvbggurzDOcRkZu
31
31
  /YSusaiDXHKU2O3Akc3htA==
32
32
  -----END CERTIFICATE-----
33
- date: 2013-11-23 00:00:00.000000000 Z
33
+ date: 2014-01-17 00:00:00.000000000 Z
34
34
  dependencies:
35
35
  - !ruby/object:Gem::Dependency
36
36
  name: hoe-mercurial
@@ -80,14 +80,14 @@ dependencies:
80
80
  requirements:
81
81
  - - ~>
82
82
  - !ruby/object:Gem::Version
83
- version: '0.3'
83
+ version: '0.4'
84
84
  type: :development
85
85
  prerelease: false
86
86
  version_requirements: !ruby/object:Gem::Requirement
87
87
  requirements:
88
88
  - - ~>
89
89
  - !ruby/object:Gem::Version
90
- version: '0.3'
90
+ version: '0.4'
91
91
  - !ruby/object:Gem::Dependency
92
92
  name: hoe-bundler
93
93
  requirement: !ruby/object:Gem::Requirement
@@ -165,6 +165,7 @@ extra_rdoc_files:
165
165
  - Manifest.txt
166
166
  - README.rdoc
167
167
  files:
168
+ - .gemtest
168
169
  - ChangeLog
169
170
  - History.rdoc
170
171
  - Manifest.txt
@@ -189,7 +190,6 @@ files:
189
190
  - spec/loggability/override_spec.rb
190
191
  - spec/loggability/spechelpers_spec.rb
191
192
  - spec/loggability_spec.rb
192
- - .gemtest
193
193
  homepage: http://deveiate.org/projects/loggability
194
194
  licenses:
195
195
  - Ruby
@@ -207,12 +207,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
207
207
  version: 1.9.3
208
208
  required_rubygems_version: !ruby/object:Gem::Requirement
209
209
  requirements:
210
- - - '>'
210
+ - - '>='
211
211
  - !ruby/object:Gem::Version
212
- version: 1.3.1
212
+ version: '0'
213
213
  requirements: []
214
214
  rubyforge_project: loggability
215
- rubygems_version: 2.1.10
215
+ rubygems_version: 2.2.1
216
216
  signing_key:
217
217
  specification_version: 4
218
218
  summary: A composable logging system built on the standard Logger library
metadata.gz.sig CHANGED
Binary file