ProMotion-XLForm 0.0.13 → 0.0.15

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
  SHA1:
3
- metadata.gz: d2fae928fe6875a1e6ef361a02b1121c64e9f33d
4
- data.tar.gz: d3cc93c130c85a81dd57e3c70b1d878f5818eef9
3
+ metadata.gz: bdb1986018fcffdf8c45322d5d9efc70d9a47ef1
4
+ data.tar.gz: fbc2a8ac3073bb74bf6fedd1e26e0fc96dc7d906
5
5
  SHA512:
6
- metadata.gz: 8492da93c9cb5131e4252435ff7fc5a8ad3a6a0a45586ea2ff5b2fa276226fb3baac21b7bf2ee95f5b4d86f220a014e922ad786c8e2e4917f6cb5a8d7e49d45a
7
- data.tar.gz: 3bd4a0fcc1535b1648d6c6535e530e73ca49cb9634e022f52e3c5ad0a0f0d502c8edc2920972367d76f848fd7a2879226eed07562c33ff0a56c88a87f1684c3f
6
+ metadata.gz: 4f2f6064a0d9cb7aabf0da03a97d6e0b5e6ded73dcba949d66b9ce254786d49cc71bb021f6d1c158792dfd63a5c50a716de375005afb1abbee6e88986636605d
7
+ data.tar.gz: 52db2a4bc3ee8507ef7cf7e05363595440d86e46bf02eb7f1e482b52a7759cc523677960fb46b316cfd433b281ad4014213cfe2db59ceb47ca2e09bd12e546e7
@@ -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', :head
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.13
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-02-16 00:00:00.000000000 Z
11
+ date: 2016-03-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ProMotion