calabash-android 0.5.12 → 0.5.13.pre1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a936fb7416c4c7acf1153a1cd062497a3f41a1f7
|
4
|
+
data.tar.gz: 87cc65e9872e1d93f0bf81f6e2e247501188a1fb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fe170f2d0ca20077d696c5022d7a2e8300f6a1adf250381022dfa929397a7bba8d1c2d23056ac9b3966711446aa2eb41bd8de785b06ea927ff0a9545a664bd92
|
7
|
+
data.tar.gz: b632ce1f4b29e0e376136957ab85f9d058e1cdeabb2716d0a3aa177f84b1515a902bdc79b4237b8a9ee2a86734520cd85ea34f83cabba1fa801cf4f87b7a67c2
|
@@ -115,7 +115,25 @@ def resign_apk(app_path)
|
|
115
115
|
end
|
116
116
|
|
117
117
|
def unsign_apk(path)
|
118
|
-
|
118
|
+
meta_files = `"#{Env.tools_dir}/aapt" list "#{path}"`.lines.collect(&:strip).grep(/^META-INF\//)
|
119
|
+
|
120
|
+
signing_file_names = ['.mf', '.rsa', '.dsa', '.ec', '.sf']
|
121
|
+
|
122
|
+
files_to_remove = meta_files.select do |file|
|
123
|
+
# other will be:
|
124
|
+
# META-INF/foo/bar
|
125
|
+
# other #=> bar
|
126
|
+
directory, file_name, other = file.split('/')
|
127
|
+
|
128
|
+
if other != nil || file_name.nil?
|
129
|
+
false
|
130
|
+
else
|
131
|
+
if signing_file_names.include?(File.extname(file_name).downcase)
|
132
|
+
true
|
133
|
+
end
|
134
|
+
end
|
135
|
+
end
|
136
|
+
|
119
137
|
if files_to_remove.empty?
|
120
138
|
log "App wasn't signed. Will not try to unsign it."
|
121
139
|
else
|
Binary file
|
@@ -15,10 +15,27 @@
|
|
15
15
|
android:stateNotNeeded="true"
|
16
16
|
android:noHistory="false"
|
17
17
|
android:excludeFromRecents="true"/>
|
18
|
+
<activity
|
19
|
+
android:name="sh.calaba.instrumentationbackend.StatusReporterActivity"
|
20
|
+
android:label="StatusReporterActivity"
|
21
|
+
android:exported="true"
|
22
|
+
android:finishOnTaskLaunch="true"
|
23
|
+
android:stateNotNeeded="true"
|
24
|
+
android:noHistory="true"
|
25
|
+
android:excludeFromRecents="true"/>
|
26
|
+
<activity
|
27
|
+
android:name="sh.calaba.instrumentationbackend.ResumeTaskActivity"
|
28
|
+
android:label="ResumeTaskActivity"
|
29
|
+
android:exported="true"
|
30
|
+
android:finishOnTaskLaunch="true"
|
31
|
+
android:stateNotNeeded="true"
|
32
|
+
android:noHistory="true"
|
33
|
+
android:excludeFromRecents="true"/>
|
18
34
|
</application>
|
19
35
|
<uses-sdk android:minSdkVersion="4" />
|
20
36
|
<instrumentation android:targetPackage="#targetPackage#" android:name="sh.calaba.instrumentationbackend.CalabashInstrumentationTestRunner" />
|
21
37
|
<instrumentation android:targetPackage="#targetPackage#" android:name="sh.calaba.instrumentationbackend.ClearAppData" />
|
38
|
+
<instrumentation android:targetPackage="#targetPackage#" android:name="sh.calaba.instrumentationbackend.ClearAppData2" />
|
22
39
|
<instrumentation android:targetPackage="#targetPackage#" android:name="sh.calaba.instrumentationbackend.ClearPreferences" />
|
23
40
|
<instrumentation android:targetPackage="#targetPackage#" android:name="sh.calaba.instrumentationbackend.SetPreferences" />
|
24
41
|
<instrumentation android:targetPackage="#targetPackage#" android:name="sh.calaba.instrumentationbackend.GetPreferences" />
|
@@ -28,5 +45,7 @@
|
|
28
45
|
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
|
29
46
|
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
|
30
47
|
<uses-permission android:name="android.permission.INTERNET" />
|
48
|
+
<uses-permission android:name="android.permission.GET_TASKS" />
|
49
|
+
<uses-permission android:name="android.permission.REORDER_TASKS" />
|
31
50
|
|
32
51
|
</manifest>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: calabash-android
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.13.pre1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonas Maturana Larsen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-07-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cucumber
|
@@ -265,9 +265,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
265
265
|
version: '0'
|
266
266
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
267
267
|
requirements:
|
268
|
-
- - '
|
268
|
+
- - '>'
|
269
269
|
- !ruby/object:Gem::Version
|
270
|
-
version:
|
270
|
+
version: 1.3.1
|
271
271
|
requirements: []
|
272
272
|
rubyforge_project:
|
273
273
|
rubygems_version: 2.0.2
|