bunchr 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/bunchr/version.rb +2 -2
- data/lib/bunchr.rb +1 -1
- metadata +62 -155
- data/Rakefile +0 -9
- data/TODO +0 -7
- data/bunchr.gemspec +0 -34
- data/doc/Bunchr/Logger.html +0 -201
- data/doc/Bunchr/Ohai.html +0 -201
- data/doc/Bunchr/Packages.html +0 -1840
- data/doc/Bunchr/Software.html +0 -1727
- data/doc/Bunchr/Utils.html +0 -334
- data/doc/Bunchr.html +0 -124
- data/doc/_index.html +0 -181
- data/doc/class_list.html +0 -47
- data/doc/css/common.css +0 -1
- data/doc/css/full_list.css +0 -55
- data/doc/css/style.css +0 -322
- data/doc/file.README.html +0 -376
- data/doc/file_list.html +0 -49
- data/doc/frames.html +0 -13
- data/doc/index.html +0 -376
- data/doc/js/app.js +0 -205
- data/doc/js/full_list.js +0 -173
- data/doc/js/jquery.js +0 -16
- data/doc/method_list.html +0 -438
- data/doc/top-level-namespace.html +0 -105
- data/example_recipes/autoconf.rake +0 -18
- data/example_recipes/libyaml.rake +0 -18
- data/example_recipes/openssl.rake +0 -54
- data/example_recipes/ruby.rake +0 -38
- data/example_recipes/sensu.rake +0 -18
- data/example_recipes/sensu_bin_stubs.rake +0 -17
- data/example_recipes/sensu_configs.rake +0 -30
- data/example_recipes/sensu_dashboard.rake +0 -17
- data/example_recipes/zlib.rake +0 -32
- data/pkg/bunchr-0.1.1/README.md +0 -355
- data/pkg/bunchr-0.1.1/Rakefile +0 -9
- data/pkg/bunchr-0.1.1/TODO +0 -7
- data/pkg/bunchr-0.1.1/bunchr.gemspec +0 -34
- data/pkg/bunchr-0.1.1/doc/Bunchr/Logger.html +0 -201
- data/pkg/bunchr-0.1.1/doc/Bunchr/Ohai.html +0 -201
- data/pkg/bunchr-0.1.1/doc/Bunchr/Packages.html +0 -1840
- data/pkg/bunchr-0.1.1/doc/Bunchr/Software.html +0 -1727
- data/pkg/bunchr-0.1.1/doc/Bunchr/Utils.html +0 -334
- data/pkg/bunchr-0.1.1/doc/Bunchr.html +0 -124
- data/pkg/bunchr-0.1.1/doc/_index.html +0 -181
- data/pkg/bunchr-0.1.1/doc/class_list.html +0 -47
- data/pkg/bunchr-0.1.1/doc/css/common.css +0 -1
- data/pkg/bunchr-0.1.1/doc/css/full_list.css +0 -55
- data/pkg/bunchr-0.1.1/doc/css/style.css +0 -322
- data/pkg/bunchr-0.1.1/doc/file.README.html +0 -376
- data/pkg/bunchr-0.1.1/doc/file_list.html +0 -49
- data/pkg/bunchr-0.1.1/doc/frames.html +0 -13
- data/pkg/bunchr-0.1.1/doc/index.html +0 -376
- data/pkg/bunchr-0.1.1/doc/js/app.js +0 -205
- data/pkg/bunchr-0.1.1/doc/js/full_list.js +0 -173
- data/pkg/bunchr-0.1.1/doc/js/jquery.js +0 -16
- data/pkg/bunchr-0.1.1/doc/method_list.html +0 -438
- data/pkg/bunchr-0.1.1/doc/top-level-namespace.html +0 -105
- data/pkg/bunchr-0.1.1/example_recipes/autoconf.rake +0 -18
- data/pkg/bunchr-0.1.1/example_recipes/libyaml.rake +0 -18
- data/pkg/bunchr-0.1.1/example_recipes/openssl.rake +0 -54
- data/pkg/bunchr-0.1.1/example_recipes/ruby.rake +0 -38
- data/pkg/bunchr-0.1.1/example_recipes/sensu.rake +0 -18
- data/pkg/bunchr-0.1.1/example_recipes/sensu_bin_stubs.rake +0 -17
- data/pkg/bunchr-0.1.1/example_recipes/sensu_configs.rake +0 -30
- data/pkg/bunchr-0.1.1/example_recipes/sensu_dashboard.rake +0 -17
- data/pkg/bunchr-0.1.1/example_recipes/zlib.rake +0 -32
- data/pkg/bunchr-0.1.1/lib/bunchr/logger.rb +0 -18
- data/pkg/bunchr-0.1.1/lib/bunchr/ohai.rb +0 -18
- data/pkg/bunchr-0.1.1/lib/bunchr/packages.rb +0 -176
- data/pkg/bunchr-0.1.1/lib/bunchr/software.rb +0 -164
- data/pkg/bunchr-0.1.1/lib/bunchr/utils.rb +0 -36
- data/pkg/bunchr-0.1.1/lib/bunchr/version.rb +0 -3
- data/pkg/bunchr-0.1.1/lib/bunchr.rb +0 -44
- data/pkg/bunchr-0.1.1.gem +0 -0
data/lib/bunchr/version.rb
CHANGED
@@ -1,3 +1,3 @@
|
|
1
1
|
module Bunchr
|
2
|
-
VERSION = '0.1.
|
3
|
-
end
|
2
|
+
VERSION = '0.1.3'
|
3
|
+
end
|
data/lib/bunchr.rb
CHANGED
metadata
CHANGED
@@ -1,118 +1,76 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: bunchr
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
6
|
-
- 0
|
7
|
-
- 1
|
8
|
-
- 2
|
9
|
-
version: 0.1.2
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.3
|
5
|
+
prerelease:
|
10
6
|
platform: ruby
|
11
|
-
authors:
|
7
|
+
authors:
|
12
8
|
- Joe Miller
|
13
9
|
autorequire:
|
14
10
|
bindir: bin
|
15
11
|
cert_chain: []
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
dependencies:
|
20
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2012-04-17 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
21
15
|
name: rake
|
22
|
-
|
23
|
-
|
24
|
-
requirements:
|
25
|
-
- -
|
26
|
-
- !ruby/object:Gem::Version
|
27
|
-
segments:
|
28
|
-
- 0
|
29
|
-
- 8
|
30
|
-
- 7
|
16
|
+
requirement: &70334137301140 !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
31
21
|
version: 0.8.7
|
32
22
|
type: :runtime
|
33
|
-
version_requirements: *id001
|
34
|
-
- !ruby/object:Gem::Dependency
|
35
|
-
name: ohai
|
36
23
|
prerelease: false
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
24
|
+
version_requirements: *70334137301140
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: ohai
|
27
|
+
requirement: &70334137300680 !ruby/object:Gem::Requirement
|
28
|
+
none: false
|
29
|
+
requirements:
|
30
|
+
- - ! '>='
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '0'
|
44
33
|
type: :runtime
|
45
|
-
version_requirements: *id002
|
46
|
-
- !ruby/object:Gem::Dependency
|
47
|
-
name: systemu
|
48
34
|
prerelease: false
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
35
|
+
version_requirements: *70334137300680
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: systemu
|
38
|
+
requirement: &70334137300160 !ruby/object:Gem::Requirement
|
39
|
+
none: false
|
40
|
+
requirements:
|
41
|
+
- - ! '>='
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '0'
|
56
44
|
type: :runtime
|
57
|
-
version_requirements: *id003
|
58
|
-
- !ruby/object:Gem::Dependency
|
59
|
-
name: fpm
|
60
45
|
prerelease: false
|
61
|
-
|
62
|
-
|
46
|
+
version_requirements: *70334137300160
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: fpm
|
49
|
+
requirement: &70334137299380 !ruby/object:Gem::Requirement
|
50
|
+
none: false
|
51
|
+
requirements:
|
63
52
|
- - ~>
|
64
|
-
- !ruby/object:Gem::Version
|
65
|
-
segments:
|
66
|
-
- 0
|
67
|
-
- 4
|
68
|
-
- 6
|
53
|
+
- !ruby/object:Gem::Version
|
69
54
|
version: 0.4.6
|
70
55
|
type: :runtime
|
71
|
-
|
72
|
-
|
73
|
-
|
56
|
+
prerelease: false
|
57
|
+
version_requirements: *70334137299380
|
58
|
+
description: ! 'A DSL for building complex software projects and packaging them (RPM,
|
59
|
+
DEB, etc).
|
60
|
+
|
74
61
|
Originally developed to create "omnibus" style packages that include an entire
|
62
|
+
|
75
63
|
ruby stack along with one or more gems, but useful for general compilation and
|
64
|
+
|
76
65
|
packaging as well.
|
77
66
|
|
67
|
+
'
|
78
68
|
email: joeym@joeym.net
|
79
69
|
executables: []
|
80
|
-
|
81
70
|
extensions: []
|
82
|
-
|
83
71
|
extra_rdoc_files: []
|
84
|
-
|
85
|
-
|
86
|
-
- bunchr.gemspec
|
87
|
-
- doc/_index.html
|
88
|
-
- doc/Bunchr/Logger.html
|
89
|
-
- doc/Bunchr/Ohai.html
|
90
|
-
- doc/Bunchr/Packages.html
|
91
|
-
- doc/Bunchr/Software.html
|
92
|
-
- doc/Bunchr/Utils.html
|
93
|
-
- doc/Bunchr.html
|
94
|
-
- doc/class_list.html
|
95
|
-
- doc/css/common.css
|
96
|
-
- doc/css/full_list.css
|
97
|
-
- doc/css/style.css
|
98
|
-
- doc/file.README.html
|
99
|
-
- doc/file_list.html
|
100
|
-
- doc/frames.html
|
101
|
-
- doc/index.html
|
102
|
-
- doc/js/app.js
|
103
|
-
- doc/js/full_list.js
|
104
|
-
- doc/js/jquery.js
|
105
|
-
- doc/method_list.html
|
106
|
-
- doc/top-level-namespace.html
|
107
|
-
- example_recipes/autoconf.rake
|
108
|
-
- example_recipes/libyaml.rake
|
109
|
-
- example_recipes/openssl.rake
|
110
|
-
- example_recipes/ruby.rake
|
111
|
-
- example_recipes/sensu.rake
|
112
|
-
- example_recipes/sensu_bin_stubs.rake
|
113
|
-
- example_recipes/sensu_configs.rake
|
114
|
-
- example_recipes/sensu_dashboard.rake
|
115
|
-
- example_recipes/zlib.rake
|
72
|
+
files:
|
73
|
+
- README.md
|
116
74
|
- lib/bunchr/logger.rb
|
117
75
|
- lib/bunchr/ohai.rb
|
118
76
|
- lib/bunchr/packages.rb
|
@@ -120,79 +78,28 @@ files:
|
|
120
78
|
- lib/bunchr/utils.rb
|
121
79
|
- lib/bunchr/version.rb
|
122
80
|
- lib/bunchr.rb
|
123
|
-
- pkg/bunchr-0.1.1/bunchr.gemspec
|
124
|
-
- pkg/bunchr-0.1.1/doc/_index.html
|
125
|
-
- pkg/bunchr-0.1.1/doc/Bunchr/Logger.html
|
126
|
-
- pkg/bunchr-0.1.1/doc/Bunchr/Ohai.html
|
127
|
-
- pkg/bunchr-0.1.1/doc/Bunchr/Packages.html
|
128
|
-
- pkg/bunchr-0.1.1/doc/Bunchr/Software.html
|
129
|
-
- pkg/bunchr-0.1.1/doc/Bunchr/Utils.html
|
130
|
-
- pkg/bunchr-0.1.1/doc/Bunchr.html
|
131
|
-
- pkg/bunchr-0.1.1/doc/class_list.html
|
132
|
-
- pkg/bunchr-0.1.1/doc/css/common.css
|
133
|
-
- pkg/bunchr-0.1.1/doc/css/full_list.css
|
134
|
-
- pkg/bunchr-0.1.1/doc/css/style.css
|
135
|
-
- pkg/bunchr-0.1.1/doc/file.README.html
|
136
|
-
- pkg/bunchr-0.1.1/doc/file_list.html
|
137
|
-
- pkg/bunchr-0.1.1/doc/frames.html
|
138
|
-
- pkg/bunchr-0.1.1/doc/index.html
|
139
|
-
- pkg/bunchr-0.1.1/doc/js/app.js
|
140
|
-
- pkg/bunchr-0.1.1/doc/js/full_list.js
|
141
|
-
- pkg/bunchr-0.1.1/doc/js/jquery.js
|
142
|
-
- pkg/bunchr-0.1.1/doc/method_list.html
|
143
|
-
- pkg/bunchr-0.1.1/doc/top-level-namespace.html
|
144
|
-
- pkg/bunchr-0.1.1/example_recipes/autoconf.rake
|
145
|
-
- pkg/bunchr-0.1.1/example_recipes/libyaml.rake
|
146
|
-
- pkg/bunchr-0.1.1/example_recipes/openssl.rake
|
147
|
-
- pkg/bunchr-0.1.1/example_recipes/ruby.rake
|
148
|
-
- pkg/bunchr-0.1.1/example_recipes/sensu.rake
|
149
|
-
- pkg/bunchr-0.1.1/example_recipes/sensu_bin_stubs.rake
|
150
|
-
- pkg/bunchr-0.1.1/example_recipes/sensu_configs.rake
|
151
|
-
- pkg/bunchr-0.1.1/example_recipes/sensu_dashboard.rake
|
152
|
-
- pkg/bunchr-0.1.1/example_recipes/zlib.rake
|
153
|
-
- pkg/bunchr-0.1.1/lib/bunchr/logger.rb
|
154
|
-
- pkg/bunchr-0.1.1/lib/bunchr/ohai.rb
|
155
|
-
- pkg/bunchr-0.1.1/lib/bunchr/packages.rb
|
156
|
-
- pkg/bunchr-0.1.1/lib/bunchr/software.rb
|
157
|
-
- pkg/bunchr-0.1.1/lib/bunchr/utils.rb
|
158
|
-
- pkg/bunchr-0.1.1/lib/bunchr/version.rb
|
159
|
-
- pkg/bunchr-0.1.1/lib/bunchr.rb
|
160
|
-
- pkg/bunchr-0.1.1/Rakefile
|
161
|
-
- pkg/bunchr-0.1.1/README.md
|
162
|
-
- pkg/bunchr-0.1.1/TODO
|
163
|
-
- pkg/bunchr-0.1.1.gem
|
164
|
-
- Rakefile
|
165
|
-
- README.md
|
166
|
-
- TODO
|
167
|
-
has_rdoc: true
|
168
81
|
homepage: https://github.com/joemiller/bunchr
|
169
82
|
licenses: []
|
170
|
-
|
171
83
|
post_install_message:
|
172
84
|
rdoc_options: []
|
173
|
-
|
174
|
-
require_paths:
|
85
|
+
require_paths:
|
175
86
|
- lib
|
176
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
requirements:
|
185
|
-
- -
|
186
|
-
- !ruby/object:Gem::Version
|
187
|
-
|
188
|
-
- 0
|
189
|
-
version: "0"
|
87
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
88
|
+
none: false
|
89
|
+
requirements:
|
90
|
+
- - ! '>='
|
91
|
+
- !ruby/object:Gem::Version
|
92
|
+
version: '0'
|
93
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
94
|
+
none: false
|
95
|
+
requirements:
|
96
|
+
- - ! '>='
|
97
|
+
- !ruby/object:Gem::Version
|
98
|
+
version: '0'
|
190
99
|
requirements: []
|
191
|
-
|
192
100
|
rubyforge_project:
|
193
|
-
rubygems_version: 1.
|
101
|
+
rubygems_version: 1.8.15
|
194
102
|
signing_key:
|
195
103
|
specification_version: 3
|
196
104
|
summary: A DSL for bundling complex software projects into 'omnibus'-style packages.
|
197
105
|
test_files: []
|
198
|
-
|
data/Rakefile
DELETED
data/TODO
DELETED
data/bunchr.gemspec
DELETED
@@ -1,34 +0,0 @@
|
|
1
|
-
|
2
|
-
# -*- encoding: utf-8 -*-
|
3
|
-
$:.push('lib')
|
4
|
-
require "bunchr/version"
|
5
|
-
|
6
|
-
Gem::Specification.new do |s|
|
7
|
-
s.name = "bunchr"
|
8
|
-
s.version = Bunchr::VERSION.dup
|
9
|
-
s.date = "2012-04-17"
|
10
|
-
s.summary = "A DSL for bundling complex software projects into 'omnibus'-style packages."
|
11
|
-
s.email = "joeym@joeym.net"
|
12
|
-
s.homepage = "https://github.com/joemiller/bunchr"
|
13
|
-
s.authors = ['Joe Miller']
|
14
|
-
|
15
|
-
s.description = <<-EOF
|
16
|
-
A DSL for building complex software projects and packaging them (RPM, DEB, etc).
|
17
|
-
Originally developed to create "omnibus" style packages that include an entire
|
18
|
-
ruby stack along with one or more gems, but useful for general compilation and
|
19
|
-
packaging as well.
|
20
|
-
EOF
|
21
|
-
|
22
|
-
s.files = Dir['**/*']
|
23
|
-
s.require_paths = ["lib"]
|
24
|
-
|
25
|
-
## Make sure you can build the gem on older versions of RubyGems too:
|
26
|
-
s.rubygems_version = "1.3.6"
|
27
|
-
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
28
|
-
s.specification_version = 3 if s.respond_to? :specification_version
|
29
|
-
|
30
|
-
s.add_dependency("rake", ">= 0.8.7")
|
31
|
-
s.add_dependency("ohai")
|
32
|
-
s.add_dependency("systemu")
|
33
|
-
s.add_dependency("fpm", "~> 0.4.6")
|
34
|
-
end
|
data/doc/Bunchr/Logger.html
DELETED
@@ -1,201 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
2
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
|
-
<head>
|
5
|
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
6
|
-
<title>
|
7
|
-
Class: Bunchr::Logger
|
8
|
-
|
9
|
-
— Documentation by YARD 0.7.5
|
10
|
-
|
11
|
-
</title>
|
12
|
-
|
13
|
-
<link rel="stylesheet" href="../css/style.css" type="text/css" media="screen" charset="utf-8" />
|
14
|
-
|
15
|
-
<link rel="stylesheet" href="../css/common.css" type="text/css" media="screen" charset="utf-8" />
|
16
|
-
|
17
|
-
<script type="text/javascript" charset="utf-8">
|
18
|
-
relpath = '..';
|
19
|
-
if (relpath != '') relpath += '/';
|
20
|
-
</script>
|
21
|
-
|
22
|
-
<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
|
23
|
-
|
24
|
-
<script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
|
25
|
-
|
26
|
-
|
27
|
-
</head>
|
28
|
-
<body>
|
29
|
-
<script type="text/javascript" charset="utf-8">
|
30
|
-
if (window.top.frames.main) document.body.className = 'frames';
|
31
|
-
</script>
|
32
|
-
|
33
|
-
<div id="header">
|
34
|
-
<div id="menu">
|
35
|
-
|
36
|
-
<a href="../_index.html">Index (L)</a> »
|
37
|
-
<span class='title'><span class='object_link'><a href="../Bunchr.html" title="Bunchr (module)">Bunchr</a></span></span>
|
38
|
-
»
|
39
|
-
<span class="title">Logger</span>
|
40
|
-
|
41
|
-
|
42
|
-
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
43
|
-
</div>
|
44
|
-
|
45
|
-
<div id="search">
|
46
|
-
|
47
|
-
<a id="class_list_link" href="#">Class List</a>
|
48
|
-
|
49
|
-
<a id="method_list_link" href="#">Method List</a>
|
50
|
-
|
51
|
-
<a id="file_list_link" href="#">File List</a>
|
52
|
-
|
53
|
-
</div>
|
54
|
-
<div class="clear"></div>
|
55
|
-
</div>
|
56
|
-
|
57
|
-
<iframe id="search_frame"></iframe>
|
58
|
-
|
59
|
-
<div id="content"><h1>Class: Bunchr::Logger
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
</h1>
|
64
|
-
|
65
|
-
<dl class="box">
|
66
|
-
|
67
|
-
<dt class="r1">Inherits:</dt>
|
68
|
-
<dd class="r1">
|
69
|
-
<span class="inheritName">Object</span>
|
70
|
-
|
71
|
-
<ul class="fullTree">
|
72
|
-
<li>Object</li>
|
73
|
-
|
74
|
-
<li class="next">Bunchr::Logger</li>
|
75
|
-
|
76
|
-
</ul>
|
77
|
-
<a href="#" class="inheritanceTree">show all</a>
|
78
|
-
|
79
|
-
</dd>
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
<dt class="r2 last">Defined in:</dt>
|
90
|
-
<dd class="r2 last">lib/bunchr/logger.rb</dd>
|
91
|
-
|
92
|
-
</dl>
|
93
|
-
<div class="clear"></div>
|
94
|
-
|
95
|
-
|
96
|
-
<h2>Constant Summary</h2>
|
97
|
-
|
98
|
-
<dl class="constants">
|
99
|
-
|
100
|
-
<dt id="log-classvariable" class="">@@log =
|
101
|
-
|
102
|
-
</dt>
|
103
|
-
<dd><pre class="code"><span class='kw'>nil</span></pre></dd>
|
104
|
-
|
105
|
-
</dl>
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
<h2>
|
116
|
-
Class Method Summary
|
117
|
-
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
|
118
|
-
</h2>
|
119
|
-
|
120
|
-
<ul class="summary">
|
121
|
-
|
122
|
-
<li class="public ">
|
123
|
-
<span class="summary_signature">
|
124
|
-
|
125
|
-
<a href="#logger-class_method" title="logger (class method)">+ (Object) <strong>logger</strong> </a>
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
</span>
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
<span class="summary_desc"><div class='inline'></div></span>
|
139
|
-
|
140
|
-
</li>
|
141
|
-
|
142
|
-
|
143
|
-
</ul>
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
<div id="class_method_details" class="method_details_list">
|
149
|
-
<h2>Class Method Details</h2>
|
150
|
-
|
151
|
-
|
152
|
-
<div class="method_details first">
|
153
|
-
<p class="signature first" id="logger-class_method">
|
154
|
-
|
155
|
-
+ (<tt>Object</tt>) <strong>logger</strong>
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
</p><table class="source_code">
|
160
|
-
<tr>
|
161
|
-
<td>
|
162
|
-
<pre class="lines">
|
163
|
-
|
164
|
-
|
165
|
-
8
|
166
|
-
9
|
167
|
-
10
|
168
|
-
11
|
169
|
-
12
|
170
|
-
13
|
171
|
-
14
|
172
|
-
15</pre>
|
173
|
-
</td>
|
174
|
-
<td>
|
175
|
-
<pre class="code"><span class="info file"># File 'lib/bunchr/logger.rb', line 8</span>
|
176
|
-
|
177
|
-
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_logger'>logger</span><span class='lparen'>(</span><span class='rparen'>)</span>
|
178
|
-
<span class='kw'>if</span> <span class='cvar'>@@log</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
179
|
-
<span class='cvar'>@@log</span> <span class='op'>||=</span> <span class='op'>::</span><span class='const'>Logger</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='const'>STDOUT</span><span class='rparen'>)</span>
|
180
|
-
<span class='cvar'>@@log</span><span class='period'>.</span><span class='id identifier rubyid_level'>level</span> <span class='op'>=</span> <span class='const'>ENV</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>BUNCHR_DEBUG</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span> <span class='op'>?</span> <span class='op'>::</span><span class='const'>Logger</span><span class='op'>::</span><span class='const'>DEBUG</span> <span class='op'>:</span> <span class='op'>::</span><span class='const'>Logger</span><span class='op'>::</span><span class='const'>INFO</span>
|
181
|
-
<span class='comment'># @@log.level = ::Logger::DEBUG
|
182
|
-
</span> <span class='kw'>end</span>
|
183
|
-
<span class='cvar'>@@log</span>
|
184
|
-
<span class='kw'>end</span></pre>
|
185
|
-
</td>
|
186
|
-
</tr>
|
187
|
-
</table>
|
188
|
-
</div>
|
189
|
-
|
190
|
-
</div>
|
191
|
-
|
192
|
-
</div>
|
193
|
-
|
194
|
-
<div id="footer">
|
195
|
-
Generated on Wed Apr 18 17:18:48 2012 by
|
196
|
-
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
197
|
-
0.7.5 (ruby-1.9.2).
|
198
|
-
</div>
|
199
|
-
|
200
|
-
</body>
|
201
|
-
</html>
|