rigor_logger 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rigor_logger/base.rb +2 -1
- data/lib/rigor_logger/version.rb +1 -1
- metadata +3 -3
data/lib/rigor_logger/base.rb
CHANGED
@@ -5,12 +5,13 @@ require 'dogapi'
|
|
5
5
|
module RigorLogger
|
6
6
|
|
7
7
|
class Base
|
8
|
-
attr_reader :environment, :host, :name, :options
|
8
|
+
attr_reader :environment, :host, :app, :name, :options
|
9
9
|
|
10
10
|
def initialize name, options={}
|
11
11
|
raise(ConfigurationError, 'Please provide an API key!') unless RigorLogger.config[:api_key]
|
12
12
|
@host = options[:host] || RigorLogger.config[:host]
|
13
13
|
@environment = options[:environment] || RigorLogger.config[:environment]
|
14
|
+
@app = options[:app] || RigorLogger.config[:app]
|
14
15
|
@name = name
|
15
16
|
@options = set_options(options)
|
16
17
|
end
|
data/lib/rigor_logger/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rigor_logger
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 27
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 2
|
10
|
+
version: 0.0.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Kyle Conarro
|