log4ever 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +5 -0
- data/lib/log4r/evernote.rb +1 -1
- data/lib/log4r/outputter/evernoteoutputter.rb +1 -1
- data/log4ever.gemspec +1 -1
- metadata +4 -4
data/README.md
CHANGED
@@ -1,6 +1,9 @@
|
|
1
1
|
#log4ever
|
2
2
|
log4ever is simple logger for evernote. It is available as an extension of [log4r](http://log4r.rubyforge.org/).
|
3
3
|
***
|
4
|
+
###Install
|
5
|
+
$> gem install log4ever
|
6
|
+
|
4
7
|
###Usage
|
5
8
|
# -*- coding: utf-8 -*-
|
6
9
|
require 'log4r'
|
@@ -45,6 +48,8 @@ If tag, notebook does not exist, it will be created.
|
|
45
48
|
Add dependency gem.
|
46
49
|
* 0.0.5
|
47
50
|
Bug fix.
|
51
|
+
* 0.0.6
|
52
|
+
Bug fix.
|
48
53
|
|
49
54
|
##License
|
50
55
|
Licensed under the MIT
|
data/lib/log4r/evernote.rb
CHANGED
@@ -29,8 +29,8 @@ module Log4r
|
|
29
29
|
@auth_token = hash[:auth_token] || hash['auth_token'] || ""
|
30
30
|
raise ArgumentError, "Must specify from auth token" if @auth_token.empty?
|
31
31
|
notebook_name = hash[:notebook] || hash['notebook'] || ""
|
32
|
+
raise ArgumentError, "Must specify from notebook" if notebook_name.empty?
|
32
33
|
stack_name = hash[:stack] || hash['stack']
|
33
|
-
raise ArgumentError, "Must specify from notebook" if @notebook_name.empty?
|
34
34
|
@evernote = MyEvernote.new(@env, @auth_token)
|
35
35
|
tags = @evernote.get_tags(hash[:tags] || hash['tags'] || [])
|
36
36
|
notebook = @evernote.get_notebook(notebook_name, stack_name)
|
data/log4ever.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: log4ever
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,12 +9,12 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-10-15 00:00:00.000000000 +09:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: log4r
|
17
|
-
requirement: &
|
17
|
+
requirement: &2156843060 !ruby/object:Gem::Requirement
|
18
18
|
none: false
|
19
19
|
requirements:
|
20
20
|
- - ! '>='
|
@@ -22,7 +22,7 @@ dependencies:
|
|
22
22
|
version: 1.1.10
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
|
-
version_requirements: *
|
25
|
+
version_requirements: *2156843060
|
26
26
|
description: log4ever is simple logger for evernote. It is available as an extension
|
27
27
|
of log4r.
|
28
28
|
email:
|