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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5be5cd3559547e02e00ab068bf3083c0ac8cb6f950bcb63a8ada2b9d5492e11f
4
- data.tar.gz: 5ea9fa40f1fe8c98bf355609a661c2976dbbf1cb157f6662d082efe91b364c41
3
+ metadata.gz: 2017be09e01ef2b3bb00e68c07f6945f831f850c17c8c73490881f203ccb9488
4
+ data.tar.gz: a722daedd5253ff3fa1df8df092677b343d918736eb25e555ba2680f2321e949
5
5
  SHA512:
6
- metadata.gz: f2bb6236338094b192b307598b8ef0cba15cfb59ed05470f86372cd3d69a23970fab28ba5e59c6eeaec8d451a0ec2c9367e2da8b327a31c464d2ae9b69dde3ca
7
- data.tar.gz: adef2f1e076f5c2ffbe73f718dbf26ac13a9b9b1f5d3bdae668b888aa9ff5981d98c9329ec3133932ba34d74362f2c415707631218cd9d3bf95530a18dd2c5fd
6
+ metadata.gz: 912e69d99334e5a1ba36c5dec6c9ec5fd8d8d6704d66c09612b955dad334353ae3da72f02bb2fd0b161be0b452f9d0354a343a23bda15d0e9706b1462d689c81
7
+ data.tar.gz: 229b7b77e8ddca7c2c680c47fbc9d8217617087f13b3e905d9900ff2ff5018170d753e5ce2de12eb782b31cd497a9b08f96d9da87441de987ce536505974e9e5
@@ -1,9 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  BrRailties::Engine.routes.draw do
4
- resources(:federal_units) { as_routes }
5
- resources(:municipalities) do
6
- as_routes
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module BrRailties
4
- VERSION = '0.4.2'
4
+ VERSION = '0.4.3'
5
5
  end
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.2
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-09-13 00:00:00.000000000 Z
11
+ date: 2020-10-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: active_scaffold