form-select 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -0
- data/lib/form-select.rb +4 -3
- data/lib/form_select/engine.rb +10 -0
- data/lib/form_select/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c2aa026cc47cb3d1716ea9412beb650b14560aa3f0a9b0be3832e67f46ece1ba
|
4
|
+
data.tar.gz: 391cb70caa3f0f1177a94816eca9b715228ae5ed0e1594b7e568803f2a5c5029
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 70f48c5a4b0623a5adc55f472c3c133a6e16b4d9f8a1734cd70d54641f7ff0b8420c06dcc387d9a58e8026aedfe4bab2c6cadf955ddb3680d66127e06c28aa64
|
7
|
+
data.tar.gz: 63b45af7388169fd7a07319cdcc67c5d033ae6200c355811c7a641ded07167fd36aad95f10f014b49031e3621b6ed4a7f5c68cd7ffa0e28bee8c6a706741f42e
|
data/README.md
CHANGED
@@ -2,6 +2,8 @@
|
|
2
2
|
|
3
3
|
[![Build Status](https://travis-ci.org/rails-engine/form-select.svg?branch=master)](https://travis-ci.org/rails-engine/form-select)
|
4
4
|
|
5
|
+
[中文介绍与说明](https://ruby-china.org/topics/37668)
|
6
|
+
|
5
7
|
A simple improve for Rails form select helper.
|
6
8
|
|
7
9
|
We need use `form.select ::category_id, Category.collect { |record| [record.name, record.id] }` in so many case.
|
data/lib/form-select.rb
CHANGED
@@ -1,9 +1,10 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
|
4
|
-
|
3
|
+
require "form_select/version"
|
4
|
+
require "form_select/engine"
|
5
|
+
require "form_select/model"
|
5
6
|
|
6
7
|
module FormSelect
|
7
8
|
end
|
8
9
|
|
9
|
-
|
10
|
+
|
data/lib/form_select/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: form-select
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jason Lee
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-10-
|
11
|
+
date: 2018-10-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -50,6 +50,7 @@ files:
|
|
50
50
|
- Rakefile
|
51
51
|
- config/routes.rb
|
52
52
|
- lib/form-select.rb
|
53
|
+
- lib/form_select/engine.rb
|
53
54
|
- lib/form_select/model.rb
|
54
55
|
- lib/form_select/version.rb
|
55
56
|
homepage: https://github.com/rails-engine/form-select
|