droid_adbs 0.3.2 → 0.3.3

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: 562d2ad3173a61cf6cc898fa6863941e01efe149
4
- data.tar.gz: 124efc1ee1940fbe207f968588ec6d9ae39914a0
3
+ metadata.gz: 302dcf4f5a05da77a485ba29c5aca459b358d398
4
+ data.tar.gz: b9468cd3132d0554e4f47a0f063484e99b349bd3
5
5
  SHA512:
6
- metadata.gz: deb84e6c216d27885369f3bf6e4a7438e5a3c329b87cf57daed71c39fd5814bbd2f43ed0c0ee4cce471f2137fd28ebc9e0085c57296882c2c9c3c6a96f5e7517
7
- data.tar.gz: 41dbb6d1944024639d3e9c7bba9e5517396cca95431516a55b65f50dfe549e56d5181a463a72d63b70a91999b0735136570b4c1b290a0a24793c2354aa9ed69e
6
+ metadata.gz: ea7b718308ab7d9471674ee9080580b9145de7979ba72dbc1ca45d8517ad3a015ca1bd984292cd94d6441803ac11ae8b62079f46114732d179257f43238a27f6
7
+ data.tar.gz: 62509c42f8e529a6cb2f606c8b01008889452af5c7ef8338dce0968eb5abfa9aec83570b6fd7ddfbf350ae2e134a425a2f83d68b999dcf31e346eef0323bb1fd
@@ -9,7 +9,8 @@ module DroidAdbs
9
9
 
10
10
  unless result.empty?
11
11
  exception = "java.lang.IllegalArgumentException:"
12
- error_message = result.each_line.find { |line| line.include? exception }.chomp
12
+ error_message = result.each_line.find { |line| line.include? exception }
13
+ error_message = error_message.chomp unless error_message.nil?
13
14
  raise RuntimeError, message unless error_message.empty?
14
15
  end
15
16
 
@@ -24,7 +25,8 @@ module DroidAdbs
24
25
 
25
26
  unless result.empty?
26
27
  exception = "java.lang.IllegalArgumentException:"
27
- error_message = result.each_line.find { |line| line.include? exception }.chomp
28
+ error_message = result.each_line.find { |line| line.include? exception }
29
+ error_message = error_message.chomp unless error_message.nil?
28
30
  raise RuntimeError, message unless error_message.empty?
29
31
  end
30
32
 
@@ -1,3 +1,3 @@
1
1
  module DroidAdbs
2
- VERSION = "0.3.2"
2
+ VERSION = "0.3.3"
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.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kazuaki MATSUO
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-11-12 00:00:00.000000000 Z
11
+ date: 2017-12-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler