br_railties 0.4.2 → 0.4.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/routes.rb +3 -5
- data/lib/br_railties/version.rb +1 -1
- 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: 2017be09e01ef2b3bb00e68c07f6945f831f850c17c8c73490881f203ccb9488
|
4
|
+
data.tar.gz: a722daedd5253ff3fa1df8df092677b343d918736eb25e555ba2680f2321e949
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 912e69d99334e5a1ba36c5dec6c9ec5fd8d8d6704d66c09612b955dad334353ae3da72f02bb2fd0b161be0b452f9d0354a343a23bda15d0e9706b1462d689c81
|
7
|
+
data.tar.gz: 229b7b77e8ddca7c2c680c47fbc9d8217617087f13b3e905d9900ff2ff5018170d753e5ce2de12eb782b31cd497a9b08f96d9da87441de987ce536505974e9e5
|
data/config/routes.rb
CHANGED
@@ -1,9 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
BrRailties::Engine.routes.draw do
|
4
|
-
|
5
|
-
resources(:
|
6
|
-
|
7
|
-
record_select_routes
|
8
|
-
end
|
4
|
+
concern :active_scaffold, ActiveScaffold::Routing::Basic.new(association: true)
|
5
|
+
resources(:federal_units, concerns: :active_scaffold)
|
6
|
+
resources(:municipalities, concerns: :active_scaffold) { record_select_routes }
|
9
7
|
end
|
data/lib/br_railties/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: br_railties
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Esquilo Azul Company
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-10-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: active_scaffold
|