trestle-mobility 1.3.0 → 1.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 534bbecb7fccb11699d0fbfc244f64bbf0655cde3acc2374c3673d1aa4697082
4
- data.tar.gz: 51120c779a740d504aa7e9e29d74c68a855323a8e7bff76845a393c39e2f7446
3
+ metadata.gz: e4975d7d0e80af83f7b3cfa3b7ae2b44271a480a95633d22e94bde04ab05c63c
4
+ data.tar.gz: 4e3286506ad4402daa7ae713512a3dabc427b8a228f1509cc060830e5992750a
5
5
  SHA512:
6
- metadata.gz: 80ca367f0af684735c30f2170f2008c5aaed9392a1f184b2d9c52b1894fe87c821269c01d90a0f7eb0ddc8ab7abc02e8276e7b115b3301d5fe88dac55a12d96b
7
- data.tar.gz: 634582ad49e6fd9865bf0278a470b17c37ce5c0ea3cdfcad9663c85a820dfbf9a6281a23fa27040f2c364011154c5a61b71791c6efbb09a27bd34eb2363a5e94
6
+ metadata.gz: 63d50b633c31eaa5ee891bbb8b82942fbadd2a5579bb14fc7abc6e838ce05843ee9021b9e33330d66880576119fa65cc06c7fc7902bf5e833f13bb9b84d6c4f7
7
+ data.tar.gz: 7629c8c73cb70615fb7188c060c3dded5d15249264e720c54e4fd4e9375751c231c821b35ba13d65b80c65f2a162fc1b0e1ed144f7f760eb045c38c058b67f2a
@@ -6,6 +6,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [1.4.0] - 2020-12-08
10
+ - Ability to customise placeholder on the fields ([#5](https://github.com/richardvenneman/trestle-mobility/pull/5), thanks [@asad-ali-bhatti](https://github.com/asad-ali-bhatti))
11
+
9
12
  ## [1.3.0] - 2019-11-08
10
13
  ### Added
11
14
  - Support for Bootstrap 4 (that comes with Trestle 0.9.0)
@@ -16,7 +16,7 @@
16
16
  "#{field_name}_#{locale}",
17
17
  options.merge(
18
18
  class: "form-control mobility-field#{locale == selected ? '' : ' mobility-field--hidden'}",
19
- placeholder: "#{label} (#{locale.upcase})",
19
+ placeholder: options[:placeholder] || "#{label} (#{locale.upcase})",
20
20
  data: { locale: locale }
21
21
  )
22
22
  )
@@ -16,7 +16,7 @@
16
16
  "#{field_name}_#{locale}",
17
17
  options.merge(
18
18
  class: "form-control mobility-field#{locale == selected ? '' : ' mobility-field--hidden'}",
19
- placeholder: "#{label} (#{locale.upcase})",
19
+ placeholder: options[:placeholder] || "#{label} (#{locale.upcase})",
20
20
  data: { locale: locale }
21
21
  )
22
22
  )
@@ -1,5 +1,5 @@
1
1
  module Trestle
2
2
  module Mobility
3
- VERSION = "1.3.0"
3
+ VERSION = "1.4.0"
4
4
  end
5
5
  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.3.0
4
+ version: 1.4.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-08 00:00:00.000000000 Z
11
+ date: 2020-12-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: emoji_flag
@@ -136,7 +136,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
136
136
  - !ruby/object:Gem::Version
137
137
  version: '0'
138
138
  requirements: []
139
- rubygems_version: 3.0.3
139
+ rubygems_version: 3.1.2
140
140
  signing_key:
141
141
  specification_version: 4
142
142
  summary: Mobility integration plugin for the Trestle admin framework