run_loop_tcc 2.1.3 → 2.1.4

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: 92e7d3e3de5717d3d8d9af2eaf64b7e21c008899
4
- data.tar.gz: 6307dfe028d32b2951502a42e5705beb62dc15f0
3
+ metadata.gz: 4143b3554f7ad4f25c8fae224252d150707038d6
4
+ data.tar.gz: 048556097795a71f5dc489f7500c7ffd0fc1c4c2
5
5
  SHA512:
6
- metadata.gz: 0213881ee96522fe96f450b7a3cbeea9f0493de793997e9eaeb706dc14161e43dc6ef49dfd54ac1586426fd10d400a170635a02147f16c1199ab1133136ed1b2
7
- data.tar.gz: f5e66cb58ddea5e573454be69f3bce8b9438b7703a9739082a1a0d7bf8f17cdf04f22dc9de05ba6253cd187e2a1be1ec0be560ee88786dbb64d9acfd10d27f31
6
+ metadata.gz: 9ed3f99cc678b9c9e91e3bdb6e1a379dba69016986750f0cceee0975c1e277b08719146db1e530cdbc5bdcdd38c645bd6a81c287aa6c7930f161516a4211ef1e
7
+ data.tar.gz: f250e465f6466ad04b393769e71b128de2b81437258046aee5d2ee8846f1326b668dc13605ab2367073b7eb2616d85d3c888201c02638aeec2b38715f3c5c0cf
@@ -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)
@@ -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
 
@@ -1,5 +1,5 @@
1
1
  module RunLoop
2
- VERSION = "2.1.3"
2
+ VERSION = "2.1.4"
3
3
 
4
4
  # A model of a software release version that can be used to compare two versions.
5
5
  #
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: run_loop_tcc
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.3
4
+ version: 2.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Karl Krukow