scribbler 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/.rvmrc +5 -0
- data/README.markdown +2 -2
- data/lib/scribbler/includeables.rb +2 -1
- data/lib/scribbler/version.rb +1 -1
- metadata +5 -4
data/.rvmrc
ADDED
data/README.markdown
CHANGED
@@ -2,6 +2,8 @@
|
|
2
2
|
|
3
3
|
[![TravisCI](https://secure.travis-ci.org/jphenow/scribbler.png "TravisCI")](http://travis-ci.org/jphenow/scribbler "Travis-CI Scribbler")
|
4
4
|
|
5
|
+
[RubyGems](https://rubygems.org/gems/scribbler)
|
6
|
+
|
5
7
|
Scribbler is a little utility for simplifying logging across one application or more.
|
6
8
|
Currently it assists in:
|
7
9
|
|
@@ -63,7 +65,5 @@ More importantly you're given access to a sweet `log` method:
|
|
63
65
|
## Todo
|
64
66
|
|
65
67
|
* More options in configure
|
66
|
-
* More testing
|
67
|
-
- Specifically New executable and cli stuff
|
68
68
|
* Make block available in log method for better extensibility
|
69
69
|
* Currently attempts to notify NewRelic if its there, abstract and allow custom services
|
@@ -78,8 +78,9 @@ module Scribbler
|
|
78
78
|
|
79
79
|
#if File.exists?(real_location) and options[:message].present?
|
80
80
|
if options[:message].present?
|
81
|
+
message = options[:message].strip_heredoc
|
81
82
|
log = File.open(real_location, 'a')
|
82
|
-
log.puts
|
83
|
+
log.puts message
|
83
84
|
log.close
|
84
85
|
end
|
85
86
|
end
|
data/lib/scribbler/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: scribbler
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-06-
|
12
|
+
date: 2012-06-20 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|
@@ -100,6 +100,7 @@ extensions: []
|
|
100
100
|
extra_rdoc_files: []
|
101
101
|
files:
|
102
102
|
- .gitignore
|
103
|
+
- .rvmrc
|
103
104
|
- .travis.yml
|
104
105
|
- Gemfile
|
105
106
|
- Gemfile.lock
|
@@ -139,7 +140,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
139
140
|
version: '0'
|
140
141
|
segments:
|
141
142
|
- 0
|
142
|
-
hash: -
|
143
|
+
hash: -2255771618684195708
|
143
144
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
144
145
|
none: false
|
145
146
|
requirements:
|
@@ -148,7 +149,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
148
149
|
version: '0'
|
149
150
|
segments:
|
150
151
|
- 0
|
151
|
-
hash: -
|
152
|
+
hash: -2255771618684195708
|
152
153
|
requirements: []
|
153
154
|
rubyforge_project:
|
154
155
|
rubygems_version: 1.8.24
|