run_loop_tcc 2.1.3 → 2.1.4
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 +4 -4
- data/lib/run_loop/cli/tcc.rb +2 -0
- data/lib/run_loop/sim_control.rb +18 -0
- data/lib/run_loop/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4143b3554f7ad4f25c8fae224252d150707038d6
|
4
|
+
data.tar.gz: 048556097795a71f5dc489f7500c7ffd0fc1c4c2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9ed3f99cc678b9c9e91e3bdb6e1a379dba69016986750f0cceee0975c1e277b08719146db1e530cdbc5bdcdd38c645bd6a81c287aa6c7930f161516a4211ef1e
|
7
|
+
data.tar.gz: f250e465f6466ad04b393769e71b128de2b81437258046aee5d2ee8846f1326b668dc13605ab2367073b7eb2616d85d3c888201c02638aeec2b38715f3c5c0cf
|
data/lib/run_loop/cli/tcc.rb
CHANGED
@@ -84,9 +84,11 @@ module RunLoop
|
|
84
84
|
end
|
85
85
|
|
86
86
|
app = options[:app]
|
87
|
+
simctl = RunLoop::Simctl.new
|
87
88
|
|
88
89
|
RunLoop::Environment.with_debugging(debug) do
|
89
90
|
devices.each do |_device|
|
91
|
+
simctl.ensure_software_keyboard(_device)
|
90
92
|
tcc = RunLoop::TCC.new(_device, app)
|
91
93
|
services.each do |_service|
|
92
94
|
tcc.allow_service(_service)
|
data/lib/run_loop/sim_control.rb
CHANGED
@@ -586,10 +586,28 @@ module RunLoop
|
|
586
586
|
|
587
587
|
CORE_SIMULATOR_KEYBOARD_PROPERTIES_HASH =
|
588
588
|
{
|
589
|
+
# https://github.com/calabash/run_loop/pull/57#issuecomment-58499499
|
589
590
|
:automatic_minimization => {
|
590
591
|
:key => 'AutomaticMinimizationEnabled',
|
591
592
|
:value => 0,
|
592
593
|
:type => 'integer'
|
594
|
+
},
|
595
|
+
# see https://github.com/facebook/FBSimulatorControl/blob/95cfb154fc97eddf4a2557f24061d2754f3b0e07/FBSimulatorControl/Interactions/FBSimulatorInteraction%2BSetup.m#L105
|
596
|
+
# and http://iphonedevwiki.net/index.php/UIKeyboardPreferencesController
|
597
|
+
:keyboard_caps_lock => {
|
598
|
+
:key => 'KeyboardCapsLock',
|
599
|
+
:value => 0,
|
600
|
+
:type => 'integer'
|
601
|
+
},
|
602
|
+
:keyboard_autocapitalization => {
|
603
|
+
:key => 'KeyboardAutocapitalization',
|
604
|
+
:value => 0,
|
605
|
+
:type => 'integer'
|
606
|
+
},
|
607
|
+
:keyboard_autocorrection => {
|
608
|
+
:key => 'KeyboardAutocorrection',
|
609
|
+
:value => 0,
|
610
|
+
:type => 'integer'
|
593
611
|
}
|
594
612
|
}
|
595
613
|
|
data/lib/run_loop/version.rb
CHANGED