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 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
@@ -15,7 +15,7 @@ require "Evernote/EDAM/note_store"
15
15
  require "Evernote/EDAM/limits_constants.rb"
16
16
 
17
17
  module Log4ever
18
- VERSION = '0.0.5'
18
+ VERSION = '0.0.6'
19
19
  class TypeError < StandardError; end
20
20
  module ShiftAge
21
21
  DAILY = 1
@@ -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)
@@ -11,6 +11,6 @@ Gem::Specification.new do |gem|
11
11
  gem.name = "log4ever"
12
12
  gem.require_paths = ["lib"]
13
13
  gem.add_dependency('log4r', '>= 1.1.10')
14
- gem.version = '0.0.5'
14
+ gem.version = '0.0.6'
15
15
  end
16
16
 
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.5
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-08-29 00:00:00.000000000 +09:00
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: &2160928800 !ruby/object:Gem::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: *2160928800
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: