honeydew 0.27.3 → 0.27.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/honeydew/device_matchers.rb +6 -2
- data/lib/honeydew/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2d4fd9744884d97517b78f4e44bd6f166c256829
|
|
4
|
+
data.tar.gz: 280c24cd305d88f43dba3379dfcf35338c136072
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7c6316eafaf6a47efbd54b55998d16e845065b6ab82cde556831ebbaf6e288bb47aa02be064de6557232d2ff21cccb3db1949e9491a5a6740410da38a966da78
|
|
7
|
+
data.tar.gz: d6be5fb8d22ffe8766cbc964eeb7f6e50fbf9e890eb109b48758320d290f26dea2a97163bfca34df65b8b630ca896631d61cb31a0f59edb67361c96c87bfbb90
|
|
@@ -76,15 +76,19 @@ module Honeydew
|
|
|
76
76
|
private
|
|
77
77
|
|
|
78
78
|
def installed_packages
|
|
79
|
+
adb('shell pm list packages').gsub('package:', '').split(/\r\n/)
|
|
80
|
+
end
|
|
81
|
+
|
|
82
|
+
def installed_packages_with_path
|
|
79
83
|
adb("shell pm list packages -f").split(/\r\n/)
|
|
80
84
|
end
|
|
81
85
|
|
|
82
86
|
def packages_in_data
|
|
83
|
-
|
|
87
|
+
installed_packages_with_path.select {|p| p.starts_with? "package:/data/"}
|
|
84
88
|
end
|
|
85
89
|
|
|
86
90
|
def packages_in_system
|
|
87
|
-
|
|
91
|
+
installed_packages_with_path.select {|p| p.starts_with? "package:/system/"}
|
|
88
92
|
end
|
|
89
93
|
end
|
|
90
94
|
end
|
data/lib/honeydew/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: honeydew
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.27.
|
|
4
|
+
version: 0.27.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Selvakumar Natesan
|
|
@@ -11,7 +11,7 @@ authors:
|
|
|
11
11
|
autorequire:
|
|
12
12
|
bindir: bin
|
|
13
13
|
cert_chain: []
|
|
14
|
-
date: 2014-06-
|
|
14
|
+
date: 2014-06-06 00:00:00.000000000 Z
|
|
15
15
|
dependencies:
|
|
16
16
|
- !ruby/object:Gem::Dependency
|
|
17
17
|
name: activesupport
|
|
@@ -191,7 +191,7 @@ files:
|
|
|
191
191
|
- spec/honeydew/device_matchers_spec.rb
|
|
192
192
|
- spec/honeydew/device_spec.rb
|
|
193
193
|
- spec/spec_helper.rb
|
|
194
|
-
- server/target/honeydew-server-0.27.
|
|
194
|
+
- server/target/honeydew-server-0.27.4.jar
|
|
195
195
|
homepage:
|
|
196
196
|
licenses: []
|
|
197
197
|
metadata: {}
|