GunnyLog 1.0.4 → 1.0.5
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 +4 -4
- data/lib/GunnyLog.rb +4 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c19d520898a9cc4b37e37c9c6c3a8c57d3922fff
|
4
|
+
data.tar.gz: d05934002edcccf016fb72ab2ee2212b49cfbb60
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 96c08e7dccb7201844d823004701d7508d6379eb3d15e72b1c46dab17f59b9715cea40b1788afd24fddfbb03c0c144be218517c3891ec6b86fab70dc41e4e1ba
|
7
|
+
data.tar.gz: 5ca8db77684d938a216cddcc6f378233835b540af60c5a0e8c2ea37386e578e05d1d5d368c322e8d1127c9560c07850ec5a694649439c79ac0d8504bd8c9b1ab
|
data/lib/GunnyLog.rb
CHANGED
@@ -7,9 +7,9 @@ require 'date'
|
|
7
7
|
class GunnyLog
|
8
8
|
|
9
9
|
# Singleton instance method
|
10
|
-
def self.instance
|
11
|
-
|
12
|
-
end
|
10
|
+
#def self.instance
|
11
|
+
# @@instance ||= new
|
12
|
+
#end
|
13
13
|
|
14
14
|
# Set logging on and off
|
15
15
|
#
|
@@ -115,6 +115,7 @@ class GunnyLog
|
|
115
115
|
if loc == nil
|
116
116
|
loc = @location
|
117
117
|
else
|
118
|
+
# new, not sure
|
118
119
|
@location = loc
|
119
120
|
end
|
120
121
|
if @onoffswitch
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: GunnyLog
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GunnyHwy
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-09-09 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Ruby class for logging to screen or file
|
14
14
|
email: gunnyhwy21@yahoo.com
|