log4ever 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile ADDED
@@ -0,0 +1,5 @@
1
+ source :rubygems
2
+ gem 'log4r'
3
+ gem 'active_support'
4
+ gem 'nokogiri'
5
+
data/Gemfile.lock ADDED
@@ -0,0 +1,16 @@
1
+ GEM
2
+ remote: http://rubygems.org/
3
+ specs:
4
+ active_support (3.0.0)
5
+ activesupport (= 3.0.0)
6
+ activesupport (3.0.0)
7
+ log4r (1.1.10)
8
+ nokogiri (1.5.5)
9
+
10
+ PLATFORMS
11
+ ruby
12
+
13
+ DEPENDENCIES
14
+ active_support
15
+ log4r
16
+ nokogiri
data/README.md CHANGED
@@ -2,19 +2,22 @@
2
2
  log4ever is simple logger for evernote. It is available as an extension of [log4r](http://log4r.rubyforge.org/).
3
3
  ***
4
4
  ###Usage
5
+ # -*- coding: utf-8 -*-
6
+ require 'log4r'
7
+ require 'log4r/evernote'
5
8
 
6
- logger = Logger.new("Evernote")
7
- logger.outputters = StdoutOutputter.new('console')
8
- formatter = PatternFormatter.new(
9
+ logger = Log4r::Logger.new("Evernote")
10
+ logger.outputters = Log4r::StdoutOutputter.new('console')
11
+ formatter = Log4r::PatternFormatter.new(
9
12
  :pattern => "%d %C[%l]: %M ",
10
13
  :date_format => "%Y/%m/%d %H:%M:%Sm"
11
14
  )
12
- stdoutOutputter = StdoutOutputter.new('console', {
15
+ stdoutOutputter = Log4r::StdoutOutputter.new('console', {
13
16
  :formatter => formatter
14
17
  })
15
- evernoteOutputter = EvernoteOutputter.new('evernote', {
18
+ evernoteOutputter = Log4r::EvernoteOutputter.new('evernote', {
16
19
  :env => "production", # Execution environment in Evernote (production or sandbox)
17
- :auth_token => "xxxxxxxxxxxxxxxxxxxxxxx" # evernote auth token
20
+ :auth_token => "xxxxxxxxxxxxxxxxxxxxxxx", # evernote auth token
18
21
  :stack => "Log4ever", # evernote stack name
19
22
  :notebook => "DevelopmentLog", # evernote notebook name
20
23
  :tags => ['Log'], # evernote tag (Can be specified in the list)
data/Rakefile ADDED
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env rake
2
+ require "bundler/gem_tasks"
Binary file
data/log4ever.gemspec ADDED
@@ -0,0 +1,15 @@
1
+ # -*- encoding: utf-8 -*-
2
+ Gem::Specification.new do |gem|
3
+ gem.authors = ["mapserver2007"]
4
+ gem.email = ["mapserver2007@gmail.com"]
5
+ gem.description = %q{log4ever is simple logger for evernote. It is available as an extension of log4r.}
6
+ gem.summary = %q{log4ever is simple logger for evernote.}
7
+ gem.homepage = "https://github.com/mapserver2007/log4ever"
8
+ gem.files = `git ls-files`.split($\)
9
+ gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
10
+ gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
11
+ gem.name = "log4ever"
12
+ gem.require_paths = ["lib"]
13
+ gem.version = '0.0.2'
14
+ end
15
+
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.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -22,9 +22,13 @@ extra_rdoc_files: []
22
22
  files:
23
23
  - .gitignore
24
24
  - .project
25
+ - Gemfile
26
+ - Gemfile.lock
25
27
  - README.md
28
+ - Rakefile
26
29
  - config/evernote.auth.test.yml
27
30
  - config/log4r.xml
31
+ - gem/log4ever-0.0.1.gem
28
32
  - lib/log4r/evernote.rb
29
33
  - lib/log4r/evernote/lib/Evernote/EDAM/errors_constants.rb
30
34
  - lib/log4r/evernote/lib/Evernote/EDAM/errors_types.rb
@@ -73,6 +77,7 @@ files:
73
77
  - lib/log4r/evernote/lib/thrift/types.rb
74
78
  - lib/log4r/evernote/lib/thrift/union.rb
75
79
  - lib/log4r/outputter/evernoteoutputter.rb
80
+ - log4ever.gemspec
76
81
  - spec/log4ever_spec.rb
77
82
  - spec/spec_helper.rb
78
83
  has_rdoc: true