padrino_gelflogger 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/HISTORY.md ADDED
@@ -0,0 +1,2 @@
1
+ ## v0.1.1
2
+ - remove dependencies from padrino-core.gem
@@ -11,7 +11,7 @@ module Padrino
11
11
  devel: 0
12
12
  }
13
13
 
14
- Padrino::Logger::Levels.each_pair do |name, number|
14
+ LevelMappings.each_pair do |name, number|
15
15
  define_method(name) do |*args|
16
16
  if args.size > 1
17
17
  bench(*args)
@@ -1,3 +1,3 @@
1
1
  module PadrinoGelflogger
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
@@ -1,4 +1,3 @@
1
1
  require 'padrino_gelflogger/version'
2
2
  require 'gelf'
3
- require 'padrino-core/logger'
4
3
  require 'padrino_gelflogger/gelf_logger'
@@ -15,12 +15,10 @@ Gem::Specification.new do |gem|
15
15
  gem.require_paths = ["lib"]
16
16
  gem.version = PadrinoGelflogger::VERSION
17
17
  gem.add_dependency 'gelf', '>=1.3.2'
18
- gem.add_dependency 'padrino-core', '>=0.10.5'
19
18
 
20
19
  gem.add_development_dependency 'minitest', '>=2.10.0'
21
20
  gem.add_development_dependency 'minitest-reporters'
22
21
  gem.add_development_dependency 'rr'
23
22
  gem.add_development_dependency 'timecop'
24
23
  gem.add_development_dependency 'rake'
25
-
26
24
  end
data/spec/spec_helper.rb CHANGED
@@ -10,8 +10,6 @@ require 'timecop'
10
10
 
11
11
  require 'rr'
12
12
 
13
-
14
-
15
13
  class MockSpec < MiniTest::Spec
16
14
  include RR::Adapters::RRMethods
17
15
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: padrino_gelflogger
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-01-18 00:00:00.000000000Z
12
+ date: 2012-01-19 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: gelf
16
- requirement: &70175824024040 !ruby/object:Gem::Requirement
16
+ requirement: &70307894137320 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,21 +21,10 @@ dependencies:
21
21
  version: 1.3.2
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70175824024040
25
- - !ruby/object:Gem::Dependency
26
- name: padrino-core
27
- requirement: &70175824023340 !ruby/object:Gem::Requirement
28
- none: false
29
- requirements:
30
- - - ! '>='
31
- - !ruby/object:Gem::Version
32
- version: 0.10.5
33
- type: :runtime
34
- prerelease: false
35
- version_requirements: *70175824023340
24
+ version_requirements: *70307894137320
36
25
  - !ruby/object:Gem::Dependency
37
26
  name: minitest
38
- requirement: &70175824022480 !ruby/object:Gem::Requirement
27
+ requirement: &70307894136480 !ruby/object:Gem::Requirement
39
28
  none: false
40
29
  requirements:
41
30
  - - ! '>='
@@ -43,10 +32,10 @@ dependencies:
43
32
  version: 2.10.0
44
33
  type: :development
45
34
  prerelease: false
46
- version_requirements: *70175824022480
35
+ version_requirements: *70307894136480
47
36
  - !ruby/object:Gem::Dependency
48
37
  name: minitest-reporters
49
- requirement: &70175824021980 !ruby/object:Gem::Requirement
38
+ requirement: &70307894135860 !ruby/object:Gem::Requirement
50
39
  none: false
51
40
  requirements:
52
41
  - - ! '>='
@@ -54,10 +43,10 @@ dependencies:
54
43
  version: '0'
55
44
  type: :development
56
45
  prerelease: false
57
- version_requirements: *70175824021980
46
+ version_requirements: *70307894135860
58
47
  - !ruby/object:Gem::Dependency
59
48
  name: rr
60
- requirement: &70175824021280 !ruby/object:Gem::Requirement
49
+ requirement: &70307894135040 !ruby/object:Gem::Requirement
61
50
  none: false
62
51
  requirements:
63
52
  - - ! '>='
@@ -65,10 +54,10 @@ dependencies:
65
54
  version: '0'
66
55
  type: :development
67
56
  prerelease: false
68
- version_requirements: *70175824021280
57
+ version_requirements: *70307894135040
69
58
  - !ruby/object:Gem::Dependency
70
59
  name: timecop
71
- requirement: &70175824020520 !ruby/object:Gem::Requirement
60
+ requirement: &70307894134320 !ruby/object:Gem::Requirement
72
61
  none: false
73
62
  requirements:
74
63
  - - ! '>='
@@ -76,10 +65,10 @@ dependencies:
76
65
  version: '0'
77
66
  type: :development
78
67
  prerelease: false
79
- version_requirements: *70175824020520
68
+ version_requirements: *70307894134320
80
69
  - !ruby/object:Gem::Dependency
81
70
  name: rake
82
- requirement: &70175824019660 !ruby/object:Gem::Requirement
71
+ requirement: &70307894133680 !ruby/object:Gem::Requirement
83
72
  none: false
84
73
  requirements:
85
74
  - - ! '>='
@@ -87,7 +76,7 @@ dependencies:
87
76
  version: '0'
88
77
  type: :development
89
78
  prerelease: false
90
- version_requirements: *70175824019660
79
+ version_requirements: *70307894133680
91
80
  description: Log from Padrino to Graylog2
92
81
  email:
93
82
  - pz@anixe.pl
@@ -97,6 +86,7 @@ extra_rdoc_files: []
97
86
  files:
98
87
  - .gitignore
99
88
  - Gemfile
89
+ - HISTORY.md
100
90
  - LICENSE
101
91
  - README.md
102
92
  - Rakefile
@@ -120,7 +110,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
120
110
  version: '0'
121
111
  segments:
122
112
  - 0
123
- hash: -3409828036910420846
113
+ hash: -2648094041456503352
124
114
  required_rubygems_version: !ruby/object:Gem::Requirement
125
115
  none: false
126
116
  requirements:
@@ -129,7 +119,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
129
119
  version: '0'
130
120
  segments:
131
121
  - 0
132
- hash: -3409828036910420846
122
+ hash: -2648094041456503352
133
123
  requirements: []
134
124
  rubyforge_project:
135
125
  rubygems_version: 1.8.6