nanolog 0.1.1b → 0.1.1c

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/lib/nanolog.rb +9 -0
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fb8f1f3bcfb8ed4cac6c1c2634151f370512bc40
4
- data.tar.gz: abfb771b6b8b32fc3c2c7ff398d0d7040ce43097
3
+ metadata.gz: a00177c38a17a4e5cdfd8fbcea1394ddaf21d5a3
4
+ data.tar.gz: 65988594aa81cceea0d02a117a00ced729fb992d
5
5
  SHA512:
6
- metadata.gz: c871f69def49d9cf688a2496ab07bc23112548c29c12331be3cccd5803243cd6c127e8cdc3500f7571556e7dc3bfd88aa34ee83bef4f40b0d129e0ad90ba5d62
7
- data.tar.gz: e4c3574555ecd69216867a95cf026757237112ed4c33003fb46fedb8b3c70ae430c51e021d4fdf9b5f257b1a702e2ab7ce7494d13fe1e46257bfb252b8a9f67b
6
+ metadata.gz: 41b639cbf1909b053a447405e674e59a32d1a8119bd89ff626473cb3031b9009f0c01ac3081793e7b2516b3160ef52aa8600c59e6d282e0817b017ea80fd5ed8
7
+ data.tar.gz: e470a7d9fb019789f4f205b92e4683ab07613564c6c40947a4d9d99d0bb093f70bc2dc13c74ed919624462c0728e8879628a3c3d7fcfea00394afda5c58a4930
data/README.md CHANGED
@@ -19,10 +19,10 @@ Install the gem like so:
19
19
 
20
20
  or add the following line to your `Gemfile`:
21
21
 
22
- `gem 'nanolog', '~> 0.1.1'`
22
+ `gem 'nanolog', '~> 0.1.1b'`
23
23
 
24
24
  ## Documentation
25
- Available [here](http://www.rubydoc.info/gems/nanolog/0.1.1)
25
+ Available [here](http://www.rubydoc.info/gems/nanolog/0.1.1b)
26
26
 
27
27
  ## Authors
28
28
  - Carter Brainerd (cbrnrd) - [GitHub](https://github.com/cbrnrd)
@@ -65,6 +65,15 @@ module NanoLog
65
65
  @logfile.rewind
66
66
  end
67
67
 
68
+ #
69
+ # Write a message with no category to the log file
70
+ # @param message [String] the message to log
71
+ #
72
+ def none(message='')
73
+ @logfile.write("#{Time.now} #{message}\n")
74
+ @logfile.rewind
75
+ end
76
+
68
77
  end
69
78
 
70
79
  #
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nanolog
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1b
4
+ version: 0.1.1c
5
5
  platform: ruby
6
6
  authors:
7
7
  - Carter Brainerd
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-07-12 00:00:00.000000000 Z
11
+ date: 2017-07-15 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: cbawsome77@gmail.com