trestle-mobility 1.1.1 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +14 -0
- data/README.md +1 -1
- data/app/views/trestle/mobility/_check_box.html.erb +2 -2
- data/app/views/trestle/mobility/_text_area.html.erb +1 -1
- data/app/views/trestle/mobility/_text_field.html.erb +1 -1
- data/lib/trestle/mobility/fields/check_box.rb +1 -0
- data/lib/trestle/mobility/fields/text_area.rb +1 -0
- data/lib/trestle/mobility/fields/text_field.rb +1 -0
- data/lib/trestle/mobility/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: a1d5aa705c867a39c105fcdc6e621d783f6485d40347ca6c62ebdbe5b9cd0fe7
|
4
|
+
data.tar.gz: 958dfef164ef8b039adaa59e347644f84bdb4c341db3b6aa41a5d98381612177
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ad09d055e86c09e63e1b29a13e787757afd0247b99f2c5c74257c7823b5dbbbf5b2540fa3d5287011d04772c584c82d3dd7a940e0ba671273b934e2c60550e00
|
7
|
+
data.tar.gz: 40636a3d7d8763c587e04d852e83d0cb786bba4eb2757131efae349a9564d26f9446bd2d311d82636dadb67ce73b9af3e4a4a44e9c1afc2c2e9be9c0f953f258
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
# Changelog
|
2
|
+
All notable changes to this project will be documented in this file.
|
3
|
+
|
4
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
5
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
6
|
+
|
7
|
+
## [Unreleased]
|
8
|
+
|
9
|
+
## [1.2.0] - 2019-08-14
|
10
|
+
### Added
|
11
|
+
- Start documenting changes
|
12
|
+
|
13
|
+
### Changed
|
14
|
+
- Support nested forms ([#3](https://github.com/richardvenneman/trestle-mobility/pull/3))
|
data/README.md
CHANGED
@@ -13,8 +13,8 @@
|
|
13
13
|
<% locales.each do |locale| %>
|
14
14
|
<%=
|
15
15
|
content_tag(:div, "#{field_name.to_s.humanize} (#{locale.upcase})", { class: "form-control mobility-checkbox mobility-field#{locale == selected ? '' : ' hidden'}", data: { locale: locale } }) do
|
16
|
-
|
17
|
-
|
16
|
+
builder.raw_check_box("#{field_name}_#{locale}", { class: "mobility-checkbox__input" }, "1", "0") +
|
17
|
+
builder.label("#{field_name}_#{locale}", "#{label} (#{locale.upcase})", class: "mobility-checkbox__label")
|
18
18
|
end
|
19
19
|
%>
|
20
20
|
<% end %>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: trestle-mobility
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Richard Venneman
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-08-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: emoji_flag
|
@@ -89,6 +89,7 @@ extra_rdoc_files: []
|
|
89
89
|
files:
|
90
90
|
- ".gitignore"
|
91
91
|
- ".travis.yml"
|
92
|
+
- CHANGELOG.md
|
92
93
|
- Gemfile
|
93
94
|
- LICENSE.md
|
94
95
|
- README.md
|