droid_adbs 0.1.4 → 0.1.5

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: 508198017ccbd8a2567e6c2023b45f69962c3a54
4
- data.tar.gz: 9f8d5dae25f1f915504d3a161b4f44aaf07e2fef
3
+ metadata.gz: 12aa081c392cadc2fbeeece257869e5669ba60a1
4
+ data.tar.gz: 67c95c2d910f880ee36876792d1d93e6890662a3
5
5
  SHA512:
6
- metadata.gz: 86e94385745123c3f8094907e0b97285bbcb600cfb595c7d9595e916d82f9fc7104c612663ef8f1a44a307b3de6f8ccf6f04c7c16ebcabd913e45502c5e890b2
7
- data.tar.gz: 0e46b426175666a129582f01038da86163a9bd0649341c869ab943113b66fd951745e3b4a8065bd2ce67fb069350f15345c41258b1b77c6f49e2ee3e46b27458
6
+ metadata.gz: ae7e8d24a6cf754f6987ad6ddd88b4d06e4b2cc3ef99fca9da8f4a8d07f74214dc7d376f41d8253681e84043769bd98894c6037d1d7c6af349a88a25166371e2
7
+ data.tar.gz: 7aba1f9a8429ac56917632099a53a5e0541f17b02a681e7a385450d8395e535a7a1b21c3da064a9627b090326faa1f4082c867e64c63db80516b9e4a0c474c87
@@ -4,10 +4,17 @@ module DroidAdbs
4
4
  module IME
5
5
  class << self
6
6
  # @return [String] message from adb command
7
- def get_ime_list
7
+ def get_ime_with_string
8
8
  `#{::DroidAdbs.shell} ime list`.chomp
9
9
  end
10
10
 
11
+ # @return [Array] Array of IME ID list such as ["com.agilebits.onepassword/.filling.FillingInputMethodService",
12
+ # com.google.android.googlequicksearchbox/com.google.android.voicesearch.ime.VoiceInputMethodService"]
13
+ def get_ime_list
14
+ string = get_ime_with_string
15
+ parse_ime_list(string)
16
+ end
17
+
11
18
  # @param [String] ime_id ID provided by IME such as "com.google.android.inputmethod.japanese/.MozcService"
12
19
  # @return [String] message from adb command
13
20
  # if it succeeded to set IME, then it returns "Input method com.google.android.inputmethod.japanese/.MozcService selected"
@@ -1,3 +1,3 @@
1
1
  module DroidAdbs
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: droid_adbs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kazuaki MATSUO
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-08-10 00:00:00.000000000 Z
11
+ date: 2016-08-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler