instrumental 0.1.7 → 0.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION +1 -1
- data/instrumental.gemspec +3 -2
- data/lib/instrumental.rb +2 -0
- data/lib/instrumental/railtie.rb +13 -0
- data/spec/instrumental/configuration_spec.rb +8 -2
- metadata +5 -4
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.8
|
data/instrumental.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{instrumental}
|
8
|
-
s.version = "0.1.
|
8
|
+
s.version = "0.1.8"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Douglas F Shearer"]
|
12
|
-
s.date = %q{2011-06-
|
12
|
+
s.date = %q{2011-06-15}
|
13
13
|
s.description = %q{Rails instrumentation and client for imperialapp.com}
|
14
14
|
s.email = %q{support@imperialapp.com}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -29,6 +29,7 @@ Gem::Specification.new do |s|
|
|
29
29
|
"lib/instrumental/agent.rb",
|
30
30
|
"lib/instrumental/configuration.rb",
|
31
31
|
"lib/instrumental/intervalometer.rb",
|
32
|
+
"lib/instrumental/railtie.rb",
|
32
33
|
"lib/tasks/install.rake",
|
33
34
|
"lib/tasks/milestone.rake",
|
34
35
|
"lib/tasks/templates/instrumental.rb.erb",
|
data/lib/instrumental.rb
CHANGED
@@ -3,10 +3,16 @@ require 'instrumental/configuration'
|
|
3
3
|
|
4
4
|
include Instrumental
|
5
5
|
|
6
|
-
class Rails;end # Used for testing the logger.
|
7
|
-
|
8
6
|
describe Instrumental::Configuration do
|
9
7
|
|
8
|
+
before(:all) do
|
9
|
+
@rails_class = class Rails;end # Used for testing the logger.
|
10
|
+
end
|
11
|
+
|
12
|
+
after(:all) do
|
13
|
+
@rails_class = nil
|
14
|
+
end
|
15
|
+
|
10
16
|
before(:each) do
|
11
17
|
@config = Configuration.new
|
12
18
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: instrumental
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 11
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 8
|
10
|
+
version: 0.1.8
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Douglas F Shearer
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-06-
|
18
|
+
date: 2011-06-15 00:00:00 +01:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -82,6 +82,7 @@ files:
|
|
82
82
|
- lib/instrumental/agent.rb
|
83
83
|
- lib/instrumental/configuration.rb
|
84
84
|
- lib/instrumental/intervalometer.rb
|
85
|
+
- lib/instrumental/railtie.rb
|
85
86
|
- lib/tasks/install.rake
|
86
87
|
- lib/tasks/milestone.rake
|
87
88
|
- lib/tasks/templates/instrumental.rb.erb
|