motion-form 0.0.4 → 0.0.5

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
  SHA1:
3
- metadata.gz: 7ec0e3983a3800bb6edc7c633122be829717b91c
4
- data.tar.gz: f58908af2255c1b33fda2f7e5f2e0a57df626f91
3
+ metadata.gz: 4e3d23204e901a1c9c7613f06210b68d2cb4b522
4
+ data.tar.gz: 768a418ce327e9ca5c4ea9395d0ad22c8339994c
5
5
  SHA512:
6
- metadata.gz: 34ce98d6e227ccb7dd1c9bf3d4c2d8aa6272dd479413580ac2f70654b2a3b1bfdd74e9ea0a94ad4b210dac2858ae5a32cdcfe77a61d35591b43a54a13e4f500c
7
- data.tar.gz: 49d98fd12486955a5fa75510077c172ecec548ab8beb512669e270ef0069dedaf8f856f74427e1b9519cf6b48aa854aa62c33f8da6d815ddd41781b35b0411f1
6
+ metadata.gz: 4ca6e278373778e03f495c05dcdd63a3cb78f0a0d59349c71735b83b5c5a37cf48d43984859d39acf417ec11be131933d1272e2997e63b548e9092c926539b46
7
+ data.tar.gz: 71b1e387576ce464f2cc82af538783a333b36f1cb7a19f0cfe949d48b53fa04582fb18729df53125e9375765a3fd713a728e5ce0ddc5eb8b5ab0db1e36da12aa
@@ -14,6 +14,10 @@ class TextFieldCell < BaseCell
14
14
  text_field.placeholder = label
15
15
  end
16
16
 
17
+ def secure=(secure)
18
+ text_field.secureTextEntry = secure
19
+ end
20
+
17
21
  def icon=(icon)
18
22
  left_view.name = icon
19
23
  end
@@ -25,7 +25,8 @@ class TextFieldRow < BaseRow
25
25
  def update_cell(cell)
26
26
  super
27
27
 
28
- cell.value = options[:value]
28
+ cell.secure = options[:secure]
29
+ cell.value = options[:value]
29
30
  end
30
31
 
31
32
  def cell_type
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: motion-form
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Devon Blandin
@@ -14,16 +14,16 @@ dependencies:
14
14
  name: motion-keyboard-avoiding
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - ~>
18
18
  - !ruby/object:Gem::Version
19
- version: '0'
19
+ version: 0.0.2
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '>='
24
+ - - ~>
25
25
  - !ruby/object:Gem::Version
26
- version: '0'
26
+ version: 0.0.2
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: motion-require
29
29
  requirement: !ruby/object:Gem::Requirement