justlogging-justlogging-rails_logger 1.1.3 → 1.1.4
Sign up to get free protection for your applications and to get access to all the features.
- data/README.textile +18 -1
- metadata +1 -3
- data/init.rb +0 -1
- data/rails/init.rb +0 -2
data/README.textile
CHANGED
@@ -16,13 +16,30 @@ Just install it as a plugin:
|
|
16
16
|
</code>
|
17
17
|
</pre>
|
18
18
|
|
19
|
+
Or install it as a gem:
|
20
|
+
|
21
|
+
Add this to your enviroment.rb
|
22
|
+
<pre>
|
23
|
+
<code>
|
24
|
+
config.gem "justlogging-rails_logger", :lib => 'justlogging'
|
25
|
+
</code>
|
26
|
+
</pre>
|
27
|
+
and run
|
28
|
+
<pre>
|
29
|
+
<code>
|
30
|
+
rake gems:install
|
31
|
+
script/generate justlogging
|
32
|
+
</code>
|
33
|
+
</pre>
|
34
|
+
|
19
35
|
The generator copies a file called @justlogging.rb@ to the @RAILS_ROOT/config/initializer@ directory. You need to set you api key there and optionally your default log key.
|
20
36
|
|
37
|
+
|
38
|
+
|
21
39
|
h2. Usage
|
22
40
|
|
23
41
|
@Justlogging.log('this is my first entry')@
|
24
42
|
|
25
43
|
Easy as pie.
|
26
44
|
|
27
|
-
|
28
45
|
Copyright (c) 2009 Justlogging, released under the MIT license
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: justlogging-justlogging-rails_logger
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Robert Beekman
|
@@ -27,8 +27,6 @@ files:
|
|
27
27
|
- lib/justlogging.rb
|
28
28
|
- generators/justlogging/justlogging_generator.rb
|
29
29
|
- generators/justlogging/templates/justlogging.rb
|
30
|
-
- rails/init.rb
|
31
|
-
- init.rb
|
32
30
|
has_rdoc: true
|
33
31
|
homepage: http://github.com/justlogging/rails_logger
|
34
32
|
licenses:
|
data/init.rb
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
require File.dirname(__FILE__) + '/rails/init'
|
data/rails/init.rb
DELETED