br_railties 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/br_railties/municipalities_controller.rb +6 -0
- data/config/routes.rb +4 -1
- data/lib/br_railties/version.rb +1 -1
- data/lib/br_railties.rb +1 -0
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e117c6f42821127c068f7f36c047ba0fc061756377ab1582851b1c05833b1e31
|
4
|
+
data.tar.gz: dd2a3c5fae949385c47cdd01ae2acafb88894a887dae1fdbf4ed1682d9801646
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4f62c2ec35b893ddcee2092137575ea62094b4f6f1427744c0c764734e3f1ad879ae11f3f37b957e81d96e4140cadbe92e1f7dcd866d3fd711e66594d1b13c80
|
7
|
+
data.tar.gz: 48b5951dbd1a1ce3676e1ff2885f864f06722ce2e7c6255415edaccdd5b0cc72a050b58fd89ffa0fe0dd71d7c2bfa1462296d98fac7f3657fc9e001b197a5419
|
@@ -2,6 +2,12 @@
|
|
2
2
|
|
3
3
|
module BrRailties
|
4
4
|
class MunicipalitiesController < ApplicationController
|
5
|
+
record_select per_page: 10,
|
6
|
+
search_on: [:name],
|
7
|
+
order_by: 'name ASC',
|
8
|
+
model: ::BrRailties::Municipality,
|
9
|
+
full_text_search: true
|
10
|
+
|
5
11
|
active_scaffold :"br_railties/municipality" do |conf|
|
6
12
|
conf.columns[:federal_unit].form_ui = :select
|
7
13
|
end
|
data/config/routes.rb
CHANGED
data/lib/br_railties/version.rb
CHANGED
data/lib/br_railties.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
|
+
version: 0.4.0
|
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: 2019-
|
11
|
+
date: 2019-03-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: active_scaffold
|
@@ -44,6 +44,20 @@ dependencies:
|
|
44
44
|
- - "<"
|
45
45
|
- !ruby/object:Gem::Version
|
46
46
|
version: 5.0.0
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: recordselect
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - "~>"
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '3.10'
|
54
|
+
type: :runtime
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
requirements:
|
58
|
+
- - "~>"
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: '3.10'
|
47
61
|
description:
|
48
62
|
email:
|
49
63
|
executables: []
|