aptools 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/aptools.gemspec +1 -1
- data/bin/installexp +10 -1
- metadata +10 -10
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.1
|
data/aptools.gemspec
CHANGED
data/bin/installexp
CHANGED
@@ -64,8 +64,17 @@ def InstallAPK(package_name, debug)
|
|
64
64
|
|
65
65
|
puts "Deleting application if present"
|
66
66
|
ExecuteCommand("#{ExecutablePath('apadb')} uninstall #{package_name}", debug)
|
67
|
+
|
68
|
+
version_string = ExecuteCommand("#{ExecutablePath('apadb')} shell getprop ro.build.version.release", debug)
|
69
|
+
version = version_string.match("\\d.(\\d)*")[0].to_f
|
70
|
+
|
71
|
+
path_prefix = "/mnt/sdcard/Android/obb"
|
72
|
+
if version >= 4.2
|
73
|
+
path_prefix = "/mnt/shell/emulated/obb"
|
74
|
+
end
|
75
|
+
|
67
76
|
puts "Pushing expansion file"
|
68
|
-
ExecuteCommand("#{ExecutablePath('apadb')} push #{obb_file}
|
77
|
+
ExecuteCommand("#{ExecutablePath('apadb')} push #{obb_file} #{path_prefix}/#{package_name}/#{File.basename(obb_file)}", debug)
|
69
78
|
puts "Installing application"
|
70
79
|
ExecuteCommand("#{ExecutablePath('apadb')} install #{apk_file}", debug)
|
71
80
|
return true
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aptools
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2013-06-12 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: shoulda
|
16
|
-
requirement: &
|
16
|
+
requirement: &70218639040040 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :development
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70218639040040
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: rdoc
|
27
|
-
requirement: &
|
27
|
+
requirement: &70218639039400 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ~>
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: '3.12'
|
33
33
|
type: :development
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70218639039400
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: bundler
|
38
|
-
requirement: &
|
38
|
+
requirement: &70218639038700 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ! '>='
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: '0'
|
44
44
|
type: :development
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *70218639038700
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: jeweler
|
49
|
-
requirement: &
|
49
|
+
requirement: &70218639038040 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ~>
|
@@ -54,7 +54,7 @@ dependencies:
|
|
54
54
|
version: 1.8.4
|
55
55
|
type: :development
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *70218639038040
|
58
58
|
description: Assorted tools for Apportable Platform
|
59
59
|
email: chinmay@apportable.com
|
60
60
|
executables:
|
@@ -95,7 +95,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
95
95
|
version: '0'
|
96
96
|
segments:
|
97
97
|
- 0
|
98
|
-
hash:
|
98
|
+
hash: 1601645054120429852
|
99
99
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
100
100
|
none: false
|
101
101
|
requirements:
|