beyond_canvas 0.8.0.pre → 0.8.1.pre
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +7 -4
- data/app/controllers/beyond_canvas/application_controller.rb +1 -1
- data/lib/beyond_canvas/version.rb +1 -1
- data/lib/beyond_canvas.rb +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2b4a9611b4fb459d4454a166f9984e56403afd19d40b872e873481a57b58026d
|
4
|
+
data.tar.gz: adc77192a838146243ccfb8572f33b01f0e5d4d27950ab02e4ee84c35cce83ad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bd712299f19099d27f198c4d48fdd6c2ec68fbe3480aba124335816b8880c7f61d148c65f09c0eed27ef8f5fa9db3f0a442673ba6c3119ecc4a69c6569db9f33
|
7
|
+
data.tar.gz: b62e2a194d42964e6bff4f1b31fdf561803b7944252665f974f2888907026aab098bbcb6c043fc4f7c70952d3c88178c5452dc41f114ce335194d146e70dfe90
|
data/README.md
CHANGED
@@ -37,16 +37,19 @@
|
|
37
37
|
//= require beyond_canvas
|
38
38
|
```
|
39
39
|
|
40
|
+
1. Mount the engine in your routes file:
|
41
|
+
|
42
|
+
```ruby
|
43
|
+
mount BeyondCanvas::Engine => "/<your-mounting-path>"
|
44
|
+
```
|
45
|
+
|
40
46
|
1. Run the generator:
|
41
47
|
|
42
48
|
```bash
|
43
49
|
$ rails g beyond_canvas:install
|
44
50
|
```
|
45
51
|
|
46
|
-
This will generate
|
47
|
-
|
48
|
-
1. `config/initializers/beyond_canvas.rb`, used for general Beyond Canvas configuration and
|
49
|
-
2. `config/initializers/beyond_canvas_form_utils.rb`, needed for changing the form generation behavior
|
52
|
+
This will generate `config/initializers/beyond_canvas.rb` file, used for general Beyond Canvas configuration
|
50
53
|
|
51
54
|
## Style Customization
|
52
55
|
|
@@ -3,7 +3,7 @@
|
|
3
3
|
module BeyondCanvas
|
4
4
|
class ApplicationController < ActionController::Base
|
5
5
|
protect_from_forgery with: :exception
|
6
|
-
before_action :set_locale
|
6
|
+
before_action :set_locale, except: :update_locale
|
7
7
|
|
8
8
|
############################################################################
|
9
9
|
# Locale management
|
data/lib/beyond_canvas.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: beyond_canvas
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.1.pre
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Unai Abrisketa
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-03-
|
11
|
+
date: 2020-03-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bourbon
|