process_metrics_activerecord 0.1.0 → 0.1.3

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 80cd1a3f50fbee3ef9269339108eddaf6fab8540
4
- data.tar.gz: da628822038403b92fda381e6bab6ff879040c4c
3
+ metadata.gz: dd22bfff7bea5917996958810ba6100542b28284
4
+ data.tar.gz: ea40d7be12a886642ea75fdbd20806a678eabfd0
5
5
  SHA512:
6
- metadata.gz: 0e1e4f95e5bbd2bfdf21f0e633351c28cc12552cb5371d5d7ebfe442985acb4282867fbf1ecbcf586d4e4e6bfa689343182d6cc24de88d90d4b56ca5825fb764
7
- data.tar.gz: 42047ca458f9fb2949247ca5fcde9522a45231ac95f56675e91c60bcd9666251a786fc196598050e219bfedf2f4115bd3565e52a120754927a88d43da22b1383
6
+ metadata.gz: 513ed5b50002b9b09ae51292b2040f221fc80cd77958dac1bbf96ff03a4bed6f4d6c7d818bf6b5269b6ce154941041063e3e34e59fc1a65a207800d0c6ae5f56
7
+ data.tar.gz: 56d4bf90f7e3a63dfa99c370cd80a426fc6f8503ae4d37a13d75774fdd7830edc99a117be9192838d5b906b79380f806cb55ff4ecd88a500959016b776f2996d
@@ -1,7 +1,7 @@
1
1
  module ProcessMetrics
2
2
  module Persistence
3
3
  module ActiveRecord
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.3"
5
5
  end
6
6
  end
7
7
  end
@@ -3,5 +3,3 @@ require 'process_metrics/persistence/active_record'
3
3
 
4
4
  ::Time::DATE_FORMATS[:db] = "%Y-%m-%d %H:%M:%S.%N"
5
5
  ProcessMetrics.config.persistence = ProcessMetrics::Persistence::ActiveRecord
6
- ProcessMetrics.config.active_record = Hashie::Mash.new
7
- ProcessMetrics.config.active_record.connection = nil
data/test/test_simple.rb CHANGED
@@ -8,7 +8,7 @@ ProcessMetrics::Persistence::ActiveRecord.connection = {
8
8
  }
9
9
 
10
10
  # ProcessMetrics::Persistence::ActiveRecord.table_name = 'onon'
11
- ProcessMetrics::Persistence::ActiveRecord.setup!
11
+ # ProcessMetrics::Persistence::ActiveRecord.setup!
12
12
 
13
13
  class MyClass
14
14
  include ProcessMetrics::Timer
@@ -65,7 +65,7 @@ end
65
65
  class MyChildProcClass
66
66
  include ProcessMetrics::Timer
67
67
  measure :do_simple_work,
68
- parent_uuid: -> { "b0d50400-cae0-4cc4-b289-f487d3c9b397" }
68
+ parent_uuid: -> obj { "b0d50400-cae0-4cc4-b289-f487d3c9b397" }
69
69
 
70
70
  attr_accessor :my_var
71
71
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: process_metrics_activerecord
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lucas Uyezu
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-18 00:00:00.000000000 Z
11
+ date: 2014-03-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -39,7 +39,7 @@ dependencies:
39
39
  version: '0.1'
40
40
  - - ">="
41
41
  - !ruby/object:Gem::Version
42
- version: 0.1.2
42
+ version: 0.1.3
43
43
  type: :runtime
44
44
  prerelease: false
45
45
  version_requirements: !ruby/object:Gem::Requirement
@@ -49,7 +49,7 @@ dependencies:
49
49
  version: '0.1'
50
50
  - - ">="
51
51
  - !ruby/object:Gem::Version
52
- version: 0.1.2
52
+ version: 0.1.3
53
53
  - !ruby/object:Gem::Dependency
54
54
  name: minitest
55
55
  requirement: !ruby/object:Gem::Requirement