ProMotion-XLForm 0.0.13 → 0.0.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ProMotion-XLForm.rb +1 -1
- data/lib/ProMotion/XLForm/xl_form_cell_builder.rb +5 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bdb1986018fcffdf8c45322d5d9efc70d9a47ef1
|
4
|
+
data.tar.gz: fbc2a8ac3073bb74bf6fedd1e26e0fc96dc7d906
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4f2f6064a0d9cb7aabf0da03a97d6e0b5e6ded73dcba949d66b9ce254786d49cc71bb021f6d1c158792dfd63a5c50a716de375005afb1abbee6e88986636605d
|
7
|
+
data.tar.gz: 52db2a4bc3ee8507ef7cf7e05363595440d86e46bf02eb7f1e482b52a7759cc523677960fb46b316cfd433b281ad4014213cfe2db59ceb47ca2e09bd12e546e7
|
data/lib/ProMotion-XLForm.rb
CHANGED
@@ -26,7 +26,7 @@ Motion::Project::App.setup do |app|
|
|
26
26
|
app.files << File.join(lib_dir_path, "ProMotion/XLForm/ui_alert_controller.rb")
|
27
27
|
|
28
28
|
app.pods do
|
29
|
-
pod 'XLForm', :
|
29
|
+
pod 'XLForm', git: 'https://github.com/xmartlabs/XLForm.git'
|
30
30
|
pod 'RSColorPicker'
|
31
31
|
end
|
32
32
|
end
|
@@ -13,6 +13,11 @@ module ProMotion
|
|
13
13
|
type = :selector_push
|
14
14
|
end
|
15
15
|
|
16
|
+
if type == :selector_popover && UI_USER_INTERFACE_IDIOM() != UIUserInterfaceIdiomPad
|
17
|
+
mp("Trying to use :selector_popover when device is not an iPad. Falling back to :selector_push", force_color: :red) if RUBYMOTION_ENV && RUBYMOTION_ENV == "development"
|
18
|
+
type = :selector_push
|
19
|
+
end
|
20
|
+
|
16
21
|
mp("Can't find the type #{type}, maybe a typo ?", force_color: :red) if row_type(type).nil? && !cell_data[:cell_class]
|
17
22
|
|
18
23
|
cell = XLFormRowDescriptor.formRowDescriptorWithTag(tag, rowType: row_type(type), title: title)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ProMotion-XLForm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Benjamin Michotte
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-03-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ProMotion
|