tramway-admin 1.3 → 1.3.1

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: e9883d9c9d20b8bb8dbbeb6a2f320ae0c40f099c2164957449a522a11fbd79e0
4
- data.tar.gz: aa6c0f86459400e9350a4af6f3f2b1dc40f299a308ebd191c3415d40cebf08b1
3
+ metadata.gz: b38a914657ae53f7ebef4e5799148c777f87ea072887e1c17eefade8d4b79bf9
4
+ data.tar.gz: 98b2441a75df6d5cb9803b505b465dfbfab80b7df3ade54638662fe7f73358e0
5
5
  SHA512:
6
- metadata.gz: ecef84086a393464e6c95808977dd9050a21251d2da899b904454990f2caaadcf33faae148824a2ec9d926c5066d1c6004c3c1e94daadbe750e5a4a8ebac6dab
7
- data.tar.gz: ac11460a86ed260b4dbff044287800130265263eae71b6404c3e8d4c3d1c283fcd920eefc45a246bf8ccc68797dff9b5f4f7fd20b66966961b5c3c0372407cde
6
+ metadata.gz: 79bdc74f1a8f1ba17ce45acad3d9017562d3fce7360a3ffd45d95f3e3fd362d8241e81d8e5e61219b14f547505004a03d2cd833978eb9cac23965616d9cdc2f2
7
+ data.tar.gz: b08bde65aa1107cb59bf1ac72525199811c2beb468f4a6d33c8f4da1e20a28fa3accf02c595ac740785efd0caf719c2743a30f7ea8393d782fe159a4804043e0
@@ -4,6 +4,6 @@
4
4
  - when :default
5
5
  = form.input property, input_html: { name: "#{object}[#{property}]", id: "#{object}_#{property}", value: (form_object.model.send(property) || value) }, selected: (form_object.model.send(property) || value)
6
6
  - when :association
7
- = form.association property, input_html: { name: "#{object}[#{property}]", id: "#{object}_#{property}", value: (form_object.model.send("#{property}_id") || value) }, selected: (form_object.model.send("#{property}_id") || value)
7
+ = form.association property, input_html: { name: "#{object}[#{property}]", id: "#{object}_#{property}", value: (form_object.model.send("#{property}_id") || value) }, selected: (form_object.model.send("#{property}_id") || value)#, collection: property.to_s.camelize.constantize.active
8
8
  - else
9
9
  = form.input property, as: type, input_html: { name: "#{object}[#{property}]", id: "#{object}_#{property}", value: (form_object.model.send(property) || value) }
@@ -1,5 +1,5 @@
1
1
  module Tramway
2
2
  module Admin
3
- VERSION = '1.3'
3
+ VERSION = '1.3.1'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,35 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tramway-admin
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.3'
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pavel Kalashnikov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-09-15 00:00:00.000000000 Z
11
+ date: 2018-09-16 00:00:00.000000000 Z
12
12
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: tramway-user
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: 1.0.3
20
- - - ">="
21
- - !ruby/object:Gem::Version
22
- version: 1.0.3
23
- type: :runtime
24
- prerelease: false
25
- version_requirements: !ruby/object:Gem::Requirement
26
- requirements:
27
- - - "~>"
28
- - !ruby/object:Gem::Version
29
- version: 1.0.3
30
- - - ">="
31
- - !ruby/object:Gem::Version
32
- version: 1.0.3
33
13
  - !ruby/object:Gem::Dependency
34
14
  name: bootstrap-kaminari-views
35
15
  requirement: !ruby/object:Gem::Requirement