tremolo-rails 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +9 -0
- data/.rspec +2 -0
- data/.ruby-version +1 -0
- data/.travis.yml +3 -0
- data/CODE_OF_CONDUCT.md +13 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +21 -0
- data/README.md +120 -0
- data/Rakefile +6 -0
- data/bin/console +14 -0
- data/bin/setup +7 -0
- data/lib/tremolo/exception_tracking.rb +42 -0
- data/lib/tremolo/railtie.rb +49 -0
- data/lib/tremolo/session_tracking.rb +19 -0
- data/lib/tremolo/subscribers/base.rb +60 -0
- data/lib/tremolo/subscribers/page.rb +9 -0
- data/lib/tremolo/subscribers/timing.rb +23 -0
- data/lib/tremolo-rails/version.rb +5 -0
- data/lib/tremolo-rails.rb +18 -0
- data/tremolo-rails.gemspec +31 -0
- metadata +176 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: f607880f67a6363f812625bf502991d85aaee20f
|
4
|
+
data.tar.gz: 131a8f8817bc10aacc99860b17529a342ecbfbac
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 273aeb95d37e15dc13592b63c0a9489b941dbed6b3d38124cc99c2ffc65c14c935070ce24859a97ef80d173e27a09702c0d7354b2b88755303bb19ac8e3797fb
|
7
|
+
data.tar.gz: 2f723624bed6b59984792201cfb267e9c8c00143d40adc651804b2251818d7a120fc794a4bc39daf6e1325382884f073b4d3ecbc485bc96dfe299f0e3c045b7e
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
2.2.2
|
data/.travis.yml
ADDED
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
# Contributor Code of Conduct
|
2
|
+
|
3
|
+
As contributors and maintainers of this project, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.
|
4
|
+
|
5
|
+
We are committed to making participation in this project a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, age, or religion.
|
6
|
+
|
7
|
+
Examples of unacceptable behavior by participants include the use of sexual language or imagery, derogatory comments or personal attacks, trolling, public or private harassment, insults, or other unprofessional conduct.
|
8
|
+
|
9
|
+
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct. Project maintainers who do not follow the Code of Conduct may be removed from the project team.
|
10
|
+
|
11
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by opening an issue or contacting one or more of the project maintainers.
|
12
|
+
|
13
|
+
This Code of Conduct is adapted from the [Contributor Covenant](http:contributor-covenant.org), version 1.0.0, available at [http://contributor-covenant.org/version/1/0/0/](http://contributor-covenant.org/version/1/0/0/)
|
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2016 Tony Pitale
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,120 @@
|
|
1
|
+
# Tremolo::Rails
|
2
|
+
|
3
|
+
Provides seamless integration with basic tracking of rails (timing and pageviews) into the Google Analytics Measurement API.
|
4
|
+
|
5
|
+
[![Build Status](https://travis-ci.org/tpitale/tremolo-rails.png?branch=master)](https://travis-ci.org/tpitale/tremolo-rails)
|
6
|
+
[![Code Climate](https://codeclimate.com/github/tpitale/tremolo-rails.png)](https://codeclimate.com/github/tpitale/tremolo-rails)
|
7
|
+
|
8
|
+
## Installation
|
9
|
+
|
10
|
+
Add this line to your application's Gemfile:
|
11
|
+
|
12
|
+
gem 'tremolo-rails'
|
13
|
+
|
14
|
+
And then execute:
|
15
|
+
|
16
|
+
$ bundle
|
17
|
+
|
18
|
+
Or install it yourself as:
|
19
|
+
|
20
|
+
$ gem install tremolo-rails
|
21
|
+
|
22
|
+
## Provides
|
23
|
+
|
24
|
+
* Timing from instrumentation (total duration, db_runtime, view_runtime)
|
25
|
+
* Pageview tracking on GETs
|
26
|
+
* Tracker hook in controllers that can use a generated UUID request session `client_id`
|
27
|
+
* Exception tracking (tracks only the exception name; not recommended for anything but stat-keeping)
|
28
|
+
|
29
|
+
Session UUID for the `client_id` is handled for you. Can be overridden easily, see [Overriding the client_id](#overriding_the_client_id).
|
30
|
+
|
31
|
+
## Usage
|
32
|
+
|
33
|
+
In environments/production.rb (leave blank in development/test to not track):
|
34
|
+
|
35
|
+
```ruby
|
36
|
+
config.tremolo.trackers << ['0.0.0.0', 4444]
|
37
|
+
```
|
38
|
+
|
39
|
+
In controllers, `tracker` is made available to you:
|
40
|
+
|
41
|
+
```ruby
|
42
|
+
tracker.increment('count.series-name')
|
43
|
+
```
|
44
|
+
|
45
|
+
## Named trackers ##
|
46
|
+
|
47
|
+
In the example above, the tracker is named `default`. If you wish, you can make multiple trackers, each with a name.
|
48
|
+
|
49
|
+
```ruby
|
50
|
+
config.tremolo.trackers << ['0.0.0.0', 4444] # default
|
51
|
+
config.tremolo.trackers << [:secondary, '0.0.0.0', 8191]
|
52
|
+
```
|
53
|
+
|
54
|
+
This named tracker can be retrieved by passing the name to `tracker` in a controller.
|
55
|
+
|
56
|
+
```ruby
|
57
|
+
tracker(:secondary)
|
58
|
+
```
|
59
|
+
|
60
|
+
Further options can be passed to the tracker as a hash in the last element of an array (more details on the namespace below):
|
61
|
+
|
62
|
+
```ruby
|
63
|
+
config.tremolo.trackers << ['0.0.0.0', 4444, {namespace: 'website'}]
|
64
|
+
```
|
65
|
+
|
66
|
+
## Overriding the client_id ##
|
67
|
+
|
68
|
+
A method is added to your controller called `tremolo_client_id`. By default, it's implementation looks like:
|
69
|
+
|
70
|
+
```ruby
|
71
|
+
session['tremolo.client_id'] ||= Tremolo::Rails.build_client_id
|
72
|
+
```
|
73
|
+
|
74
|
+
If you wish to not store the `client_id` in session, or you wish to use another UUID value, you may override the method `tremolo_client_id` as you see fit.
|
75
|
+
|
76
|
+
## Setting a namespace ##
|
77
|
+
|
78
|
+
To set a namespace to be used to prefix all stats for all trackers:
|
79
|
+
|
80
|
+
```ruby
|
81
|
+
config.tremolo.namespace = 'tremolo' # default is nil
|
82
|
+
```
|
83
|
+
|
84
|
+
This will cause pageviews and exceptions to be tracked under the stat `tremolo.pageview` and `tremolo.exception`, for example.
|
85
|
+
|
86
|
+
The namespace can also be set per-tracker by passing it as the last argument to the configuration:
|
87
|
+
|
88
|
+
```ruby
|
89
|
+
config.tremolo.trackers << ['0.0.0.0', 4444, {namespace: 'tremolo'}]
|
90
|
+
```
|
91
|
+
|
92
|
+
## Tracking exceptions ##
|
93
|
+
|
94
|
+
```ruby
|
95
|
+
config.tremolo.exceptions = true
|
96
|
+
```
|
97
|
+
|
98
|
+
Tracking exceptions happens by adding to `ActionController::Base` a `rescue_from` for `Exception`. Because of this, it will only rescue exceptions that have not already been rescued from in your own code. If you wish to track those exceptions, as well, you can call `track_exception_with_tremolo(exception)` to your own `rescue_from` methods.
|
99
|
+
|
100
|
+
## Disable some, or all, tracking
|
101
|
+
|
102
|
+
Inside of your `environment` files, as appropriate
|
103
|
+
|
104
|
+
```ruby
|
105
|
+
config.tremolo.timing = false # stats: runtime.total, runtime.db, runtime.view
|
106
|
+
config.tremolo.pageviews = false # stats: pageview
|
107
|
+
config.tremolo.exceptions = false # default, stats: exception
|
108
|
+
```
|
109
|
+
|
110
|
+
## TODO ##
|
111
|
+
|
112
|
+
* Add controller and action to payload
|
113
|
+
|
114
|
+
## Contributing
|
115
|
+
|
116
|
+
1. Fork it
|
117
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
118
|
+
3. Commit your changes (`git commit -am 'Add some feature'`)
|
119
|
+
4. Push to the branch (`git push origin my-new-feature`)
|
120
|
+
5. Create new Pull Request
|
data/Rakefile
ADDED
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "bundler/setup"
|
4
|
+
require "tremolo/rails"
|
5
|
+
|
6
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
+
# with your gem easier. You can also use a different console, if you like.
|
8
|
+
|
9
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
+
# require "pry"
|
11
|
+
# Pry.start
|
12
|
+
|
13
|
+
require "irb"
|
14
|
+
IRB.start
|
data/bin/setup
ADDED
@@ -0,0 +1,42 @@
|
|
1
|
+
module Tremolo
|
2
|
+
module ExceptionTracking
|
3
|
+
|
4
|
+
def self.included(controller)
|
5
|
+
controller.rescue_from ::Exception,
|
6
|
+
with: :track_exception_with_tremolo_and_raise
|
7
|
+
end
|
8
|
+
|
9
|
+
def track_exception_with_tremolo(exception)
|
10
|
+
tracker.increment('exception', backtrace_tags(exception))
|
11
|
+
end
|
12
|
+
|
13
|
+
def backtrace_tags(exception)
|
14
|
+
{
|
15
|
+
name: exception.class.name
|
16
|
+
}.merge!(backtrace_location(exception))
|
17
|
+
end
|
18
|
+
|
19
|
+
def backtrace_location(exception)
|
20
|
+
if exception.respond_to?(:backtrace_locations)
|
21
|
+
if location = (exception.backtrace_locations || []).first
|
22
|
+
|
23
|
+
{
|
24
|
+
path: location.path,
|
25
|
+
line: location.lineno
|
26
|
+
}
|
27
|
+
else
|
28
|
+
{}
|
29
|
+
end
|
30
|
+
else
|
31
|
+
{}
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
def track_exception_with_tremolo_and_raise(exception)
|
36
|
+
track_exception_with_tremolo(exception)
|
37
|
+
|
38
|
+
# re-raise the exception as normal
|
39
|
+
raise exception
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
@@ -0,0 +1,49 @@
|
|
1
|
+
module Tremolo
|
2
|
+
class Railtie < ::Rails::Railtie
|
3
|
+
config.before_configuration do |app|
|
4
|
+
app.config.tremolo = ActiveSupport::OrderedOptions.new
|
5
|
+
|
6
|
+
# set defaults
|
7
|
+
app.config.tremolo.trackers = []
|
8
|
+
app.config.tremolo.namespace = nil
|
9
|
+
app.config.tremolo.timing = true
|
10
|
+
app.config.tremolo.pageviews = true
|
11
|
+
app.config.tremolo.exceptions = false
|
12
|
+
|
13
|
+
# optional, for page subscribers
|
14
|
+
app.config.tremolo.hostname = nil
|
15
|
+
app.config.tremolo.path_prefix = nil
|
16
|
+
end
|
17
|
+
|
18
|
+
initializer "tremolo.build_trackers" do
|
19
|
+
config.tremolo.trackers.each do |args|
|
20
|
+
# cheap way to detect a named tracker
|
21
|
+
args.unshift(:default) unless args.first.is_a? Symbol
|
22
|
+
|
23
|
+
args << {namespace: config.tremolo.namespace}
|
24
|
+
|
25
|
+
Tremolo.supervised_tracker(*args)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
29
|
+
initializer "tremolo.controller_extension" do
|
30
|
+
track_exceptions = config.tremolo.exceptions
|
31
|
+
|
32
|
+
ActiveSupport.on_load(:action_controller) do
|
33
|
+
include Tremolo::SessionTracking
|
34
|
+
|
35
|
+
include Tremolo::ExceptionTracking if track_exceptions
|
36
|
+
end
|
37
|
+
end
|
38
|
+
|
39
|
+
initializer "tremolo.configure_subscribers" do
|
40
|
+
if config.tremolo.timing
|
41
|
+
ActiveSupport::Notifications.subscribe('process_action.action_controller', Tremolo::Subscribers::Timing)
|
42
|
+
end
|
43
|
+
|
44
|
+
if config.tremolo.pageviews
|
45
|
+
ActiveSupport::Notifications.subscribe('process_action.action_controller', Tremolo::Subscribers::Page)
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
module Tremolo
|
2
|
+
module SessionTracking
|
3
|
+
def tracker(key=:default)
|
4
|
+
@tracker ||= Tremolo.fetch(key)
|
5
|
+
end
|
6
|
+
|
7
|
+
# load or set new uuid in session
|
8
|
+
def tremolo_client_id
|
9
|
+
session['tremolo.client_id'] ||= Tremolo::Rails.build_client_id
|
10
|
+
end
|
11
|
+
|
12
|
+
def append_info_to_payload(payload)
|
13
|
+
super
|
14
|
+
|
15
|
+
payload["tremolo.tracker"] = tracker
|
16
|
+
payload["tremolo.client_id"] = tremolo_client_id
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
@@ -0,0 +1,60 @@
|
|
1
|
+
module Tremolo
|
2
|
+
module Subscribers
|
3
|
+
class Base
|
4
|
+
def self.call(*args)
|
5
|
+
new(args).track!
|
6
|
+
end
|
7
|
+
|
8
|
+
def initialize(args)
|
9
|
+
@args = args
|
10
|
+
end
|
11
|
+
|
12
|
+
def track!
|
13
|
+
# noop, done by page/timing
|
14
|
+
end
|
15
|
+
|
16
|
+
protected
|
17
|
+
|
18
|
+
def tags
|
19
|
+
{
|
20
|
+
path: path,
|
21
|
+
hostname: hostname,
|
22
|
+
method: method,
|
23
|
+
client_id: client_id
|
24
|
+
}
|
25
|
+
end
|
26
|
+
|
27
|
+
def method
|
28
|
+
payload[:method]
|
29
|
+
end
|
30
|
+
|
31
|
+
def path_prefix
|
32
|
+
::Rails.application.config.tremolo.path_prefix.to_s
|
33
|
+
end
|
34
|
+
|
35
|
+
def path
|
36
|
+
path_prefix.to_s + payload[:path]
|
37
|
+
end
|
38
|
+
|
39
|
+
def hostname
|
40
|
+
::Rails.configuration.tremolo.hostname
|
41
|
+
end
|
42
|
+
|
43
|
+
def client_id
|
44
|
+
payload['tremolo.client_id']
|
45
|
+
end
|
46
|
+
|
47
|
+
def tracker
|
48
|
+
@tracker ||= payload['tremolo.tracker']
|
49
|
+
end
|
50
|
+
|
51
|
+
def payload
|
52
|
+
@payload ||= event.payload
|
53
|
+
end
|
54
|
+
|
55
|
+
def event
|
56
|
+
@event ||= ActiveSupport::Notifications::Event.new(*@args)
|
57
|
+
end
|
58
|
+
end
|
59
|
+
end
|
60
|
+
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
module Tremolo
|
2
|
+
module Subscribers
|
3
|
+
class Timing < Base
|
4
|
+
def total_runtime
|
5
|
+
@total_runtime ||= event.duration
|
6
|
+
end
|
7
|
+
|
8
|
+
def db_runtime
|
9
|
+
@db_runtime ||= payload[:db_runtime]
|
10
|
+
end
|
11
|
+
|
12
|
+
def view_runtime
|
13
|
+
@view_runtime ||= payload[:view_runtime]
|
14
|
+
end
|
15
|
+
|
16
|
+
def track!
|
17
|
+
tracker.timing('runtime.total', total_runtime, tags)
|
18
|
+
tracker.timing('runtime.db', db_runtime, tags)
|
19
|
+
tracker.timing('runtime.view', view_runtime, tags)
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
require 'securerandom'
|
2
|
+
require 'tremolo'
|
3
|
+
|
4
|
+
require 'tremolo/session_tracking'
|
5
|
+
require 'tremolo/exception_tracking'
|
6
|
+
require 'tremolo/subscribers/base'
|
7
|
+
require 'tremolo/subscribers/page'
|
8
|
+
require 'tremolo/subscribers/timing'
|
9
|
+
|
10
|
+
module Tremolo
|
11
|
+
module Rails
|
12
|
+
module_function def build_client_id
|
13
|
+
SecureRandom.uuid
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
18
|
+
require 'tremolo/railtie' if defined?(::Rails)
|
@@ -0,0 +1,31 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'tremolo-rails/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "tremolo-rails"
|
8
|
+
spec.version = Tremolo::Rails::VERSION
|
9
|
+
spec.authors = ["Tony Pitale"]
|
10
|
+
spec.email = ["tpitale@gmail.com"]
|
11
|
+
|
12
|
+
spec.summary = %q{Rails integration with Tremolo for seamless Influxdb measurement.}
|
13
|
+
spec.description = %q{Rails integration with Tremolo for seamless Influxdb measurement.}
|
14
|
+
spec.homepage = "https://github.com/tpitale/tremolo-rails"
|
15
|
+
spec.license = "MIT"
|
16
|
+
|
17
|
+
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
18
|
+
spec.bindir = "exe"
|
19
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
20
|
+
spec.require_paths = ["lib"]
|
21
|
+
|
22
|
+
spec.add_development_dependency "bundler", "~> 1.9"
|
23
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
24
|
+
spec.add_development_dependency "rspec", "~> 3.0"
|
25
|
+
spec.add_development_dependency "mocha"
|
26
|
+
spec.add_development_dependency "bourne"
|
27
|
+
spec.add_development_dependency "simplecov"
|
28
|
+
spec.add_development_dependency "rails", ">= 3.0"
|
29
|
+
|
30
|
+
spec.add_dependency "tremolo", ">= 0.2.2"
|
31
|
+
end
|
metadata
ADDED
@@ -0,0 +1,176 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: tremolo-rails
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Tony Pitale
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2016-02-24 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.9'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.9'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '10.0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '10.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rspec
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '3.0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '3.0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: mocha
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: bourne
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: simplecov
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rails
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '3.0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '3.0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: tremolo
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: 0.2.2
|
118
|
+
type: :runtime
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: 0.2.2
|
125
|
+
description: Rails integration with Tremolo for seamless Influxdb measurement.
|
126
|
+
email:
|
127
|
+
- tpitale@gmail.com
|
128
|
+
executables: []
|
129
|
+
extensions: []
|
130
|
+
extra_rdoc_files: []
|
131
|
+
files:
|
132
|
+
- ".gitignore"
|
133
|
+
- ".rspec"
|
134
|
+
- ".ruby-version"
|
135
|
+
- ".travis.yml"
|
136
|
+
- CODE_OF_CONDUCT.md
|
137
|
+
- Gemfile
|
138
|
+
- LICENSE.txt
|
139
|
+
- README.md
|
140
|
+
- Rakefile
|
141
|
+
- bin/console
|
142
|
+
- bin/setup
|
143
|
+
- lib/tremolo-rails.rb
|
144
|
+
- lib/tremolo-rails/version.rb
|
145
|
+
- lib/tremolo/exception_tracking.rb
|
146
|
+
- lib/tremolo/railtie.rb
|
147
|
+
- lib/tremolo/session_tracking.rb
|
148
|
+
- lib/tremolo/subscribers/base.rb
|
149
|
+
- lib/tremolo/subscribers/page.rb
|
150
|
+
- lib/tremolo/subscribers/timing.rb
|
151
|
+
- tremolo-rails.gemspec
|
152
|
+
homepage: https://github.com/tpitale/tremolo-rails
|
153
|
+
licenses:
|
154
|
+
- MIT
|
155
|
+
metadata: {}
|
156
|
+
post_install_message:
|
157
|
+
rdoc_options: []
|
158
|
+
require_paths:
|
159
|
+
- lib
|
160
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
161
|
+
requirements:
|
162
|
+
- - ">="
|
163
|
+
- !ruby/object:Gem::Version
|
164
|
+
version: '0'
|
165
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
166
|
+
requirements:
|
167
|
+
- - ">="
|
168
|
+
- !ruby/object:Gem::Version
|
169
|
+
version: '0'
|
170
|
+
requirements: []
|
171
|
+
rubyforge_project:
|
172
|
+
rubygems_version: 2.4.5
|
173
|
+
signing_key:
|
174
|
+
specification_version: 4
|
175
|
+
summary: Rails integration with Tremolo for seamless Influxdb measurement.
|
176
|
+
test_files: []
|