scribbler 0.0.1 → 0.0.2

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.
data/.rvmrc ADDED
@@ -0,0 +1,5 @@
1
+ rvm --create ruby-1.9.3-p125@scribbler
2
+ # Ensure that Bundler is installed, install it if it is not.
3
+ if ! command -v bundle > /dev/null; then
4
+ gem install bundler
5
+ fi
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 options[:message]
83
+ log.puts message
83
84
  log.close
84
85
  end
85
86
  end
@@ -1,3 +1,3 @@
1
1
  module Scribbler
2
- VERSION = '0.0.1'
2
+ VERSION = '0.0.2'
3
3
  end
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.1
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-14 00:00:00.000000000 Z
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: -3576438178393875545
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: -3576438178393875545
152
+ hash: -2255771618684195708
152
153
  requirements: []
153
154
  rubyforge_project:
154
155
  rubygems_version: 1.8.24