informant-rails 0.8.0 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.markdown +8 -7
- data/lib/informant-rails/railtie.rb +1 -1
- data/lib/informant-rails/version.rb +1 -1
- metadata +3 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fe7d5a4a3c28ccce2ab93020a3d570580df87db8
|
4
|
+
data.tar.gz: 187df0e582d9cf3dc9dcab092f0babf2a8ab9735
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7ce177517050224007d768bff07ce6dc7f65bcf6cb639b2d791b9bde15decf9a60db1202f6a4ddbeaa7a6dd51cb4596d01f56af9c187ebc3064a89d3c4114a1a
|
7
|
+
data.tar.gz: 7548d20a622c124e884e7ce61f999bd8267daeb40942358ca51263c0f77cd1795662ba69a3c50eee0815f5725e01cb734569e2e409d22f45500935b3dea40aa5
|
data/README.markdown
CHANGED
@@ -8,25 +8,26 @@ The informant-rails gem provides Rails and ActiveRecord hooks for The Informant.
|
|
8
8
|
|
9
9
|
## Compatibility
|
10
10
|
|
11
|
-
The informant-rails gem supports
|
12
|
-
- 1.9.x
|
13
|
-
- 2.x
|
14
|
-
- rubinius
|
15
|
-
- jruby
|
11
|
+
The informant-rails gem officially supports Ruby 2.0+.
|
16
12
|
|
17
|
-
It will work automatically with Rails 3
|
13
|
+
It will work automatically with Rails 3 and up as well as Mongoid 3 and up.
|
18
14
|
|
19
15
|
[![Build Status](https://travis-ci.org/informantapp/informant-rails.svg?branch=master)](https://travis-ci.org/informantapp/informant-rails)
|
20
16
|
[![Code Climate](https://codeclimate.com/github/informantapp/informant-rails.png)](https://codeclimate.com/github/informantapp/informant-rails)
|
21
17
|
|
22
18
|
## Installation
|
23
19
|
|
24
|
-
|
20
|
+
1) Sign up for an account on https://www.informantapp.com or provision the Heroku add-on through https://dashboard.heroku.com
|
21
|
+
2) Add the `informant-rails` gem to your `Gemfile`
|
25
22
|
|
26
23
|
```
|
27
24
|
gem 'informant-rails', group: :production
|
28
25
|
```
|
29
26
|
|
27
|
+
3) Verify the INFORMANT_API_KEY is set in your app's environment (it will be set automatically if you provision through Heroku)
|
28
|
+
4) Deploy with the gem installed
|
29
|
+
5) Submit a form and you'll see it appear in our web interface
|
30
|
+
|
30
31
|
## Usage
|
31
32
|
|
32
33
|
By default, any request that causes an ActiveRecord or Mongoid model to be validated will be tracked by the Informant once the gem is added to your project.
|
@@ -1,7 +1,7 @@
|
|
1
1
|
module InformantRails
|
2
2
|
class Railtie < ::Rails::Railtie
|
3
3
|
initializer 'informant middleware' do |config|
|
4
|
-
config.middleware.use
|
4
|
+
config.middleware.use InformantRails::Middleware
|
5
5
|
end
|
6
6
|
|
7
7
|
initializer 'informant ActionController binding' do
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: informant-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Paul Elliott
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2016-02-04 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -18,9 +18,6 @@ dependencies:
|
|
18
18
|
- - ">="
|
19
19
|
- !ruby/object:Gem::Version
|
20
20
|
version: 3.0.0
|
21
|
-
- - "<"
|
22
|
-
- !ruby/object:Gem::Version
|
23
|
-
version: 4.3.0
|
24
21
|
type: :runtime
|
25
22
|
prerelease: false
|
26
23
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -28,9 +25,6 @@ dependencies:
|
|
28
25
|
- - ">="
|
29
26
|
- !ruby/object:Gem::Version
|
30
27
|
version: 3.0.0
|
31
|
-
- - "<"
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: 4.3.0
|
34
28
|
description: The Informant tracks what users do wrong in your forms so you can make
|
35
29
|
them better.
|
36
30
|
email:
|
@@ -76,7 +70,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
76
70
|
version: '0'
|
77
71
|
requirements: []
|
78
72
|
rubyforge_project:
|
79
|
-
rubygems_version: 2.4.
|
73
|
+
rubygems_version: 2.4.8
|
80
74
|
signing_key:
|
81
75
|
specification_version: 4
|
82
76
|
summary: The Informant tracks server-side validation errors and gives you metrics
|