web-connect-rails 0.1.5.1 → 0.1.7
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 +4 -4
- data/README.md +22 -0
- data/lib/netfira/web_connect/rails/request_trap.rb +1 -0
- data/lib/netfira/web_connect/rails/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 60e8ac3864967cefbb7b0277f8301220cb01d61e
|
4
|
+
data.tar.gz: f415d104fc0aab7121e4ac5fcc0044bab193c82c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bba2d797bb8585ea94c071d183b9e9eb94e778109bf39ba4e9f86d45d2f3af101d193c63b31a93a537db719fd3cf216eebab2a38b9069f86c955e1e42f17285f
|
7
|
+
data.tar.gz: 3b16e317ac0f9604e839486304c22eab30e4c04c0d82f6ca1ae20ccf0943e22ffdbb70016ec2f73c4b4ac5e068d7e510663e1ef50fc4768bcb1f5b6cc3aa4738
|
data/README.md
CHANGED
@@ -1 +1,23 @@
|
|
1
1
|
This gem adds WebConnect support to existing Rails apps.
|
2
|
+
|
3
|
+
**For general configuration and event handling, see the README for the [web-connect](https://github.com/netfira/web-connect) gem.**
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
First, add this gem to your Gemfile.
|
8
|
+
|
9
|
+
```ruby
|
10
|
+
gem 'web-connect-rails'
|
11
|
+
```
|
12
|
+
|
13
|
+
Next, run the included installer from your Rails root.
|
14
|
+
|
15
|
+
```bash
|
16
|
+
rails g web_connect:install
|
17
|
+
```
|
18
|
+
|
19
|
+
By default, WebConnect will use your Rails database(s), and prefix its tables with `wc_`. Edit `config/initializers/web_connect.rb` if you want to use a different prefix, or a completely different database.
|
20
|
+
|
21
|
+
### URI Namespace
|
22
|
+
|
23
|
+
The WebConnect initializer allows you to set a `uri_namespace`, which, by default, is `webconnect`. Change this if you want to access WebConnect by a different URI.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: web-connect-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Neil E. Pearson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-06-
|
11
|
+
date: 2014-06-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -28,16 +28,16 @@ dependencies:
|
|
28
28
|
name: web-connect
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - '='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: 0.1.7
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - '='
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: 0.1.7
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: sqlite3
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|