appium_instrumenter 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,34 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <manifest
3
+ xmlns:android="http://schemas.android.com/apk/res/android"
4
+ package="io.appium.uiautomator2.server.test"
5
+ >
6
+
7
+ <uses-sdk
8
+ android:minSdkVersion="19"
9
+ android:targetSdkVersion="25" />
10
+
11
+ <instrumentation
12
+ android:label="Tests for io.appium.uiautomator2.server"
13
+ android:name="android.support.test.runner.AndroidJUnitRunner"
14
+ android:targetPackage="#targetPackage#"
15
+ android:handleProfiling="false"
16
+ android:functionalTest="false" />
17
+
18
+ <application
19
+ android:debuggable="true">
20
+
21
+ <uses-library
22
+ android:name="android.test.runner" />
23
+ </application>
24
+
25
+ <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
26
+ <uses-permission android:name="android.permission.ACCESS_MOCK_LOCATION" />
27
+ <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
28
+ <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
29
+ <uses-permission android:name="android.permission.INTERNET" />
30
+ <uses-permission android:name="android.permission.GET_TASKS" />
31
+ <uses-permission android:name="android.permission.REORDER_TASKS" />
32
+ <uses-permission android:name="android.permission.CAMERA" />
33
+
34
+ </manifest>
@@ -0,0 +1,25 @@
1
+ require 'zip'
2
+
3
+ module Calabash
4
+ module Utils
5
+ def self.with_silent_zip(&block)
6
+ previous_value = false
7
+
8
+ if Zip.respond_to?(:warn_invalid_date)
9
+ previous_value = Zip.warn_invalid_date
10
+ end
11
+
12
+ if Zip.respond_to?(:warn_invalid_date=)
13
+ Zip.warn_invalid_date = false
14
+ end
15
+
16
+ r = block.call
17
+
18
+ if Zip.respond_to?(:warn_invalid_date=)
19
+ Zip.warn_invalid_date = previous_value
20
+ end
21
+
22
+ r
23
+ end
24
+ end
25
+ end
@@ -0,0 +1,3 @@
1
+ module AppiumInstrumenter
2
+ VERSION = "0.1.0"
3
+ end
metadata ADDED
@@ -0,0 +1,169 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: appium_instrumenter
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Rajdeep Varma
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2018-01-21 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.16'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.16'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rspec
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '3.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '3.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: pry
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: luffa
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: rubyzip
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '1.1'
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '1.1'
97
+ - !ruby/object:Gem::Dependency
98
+ name: escape
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: 0.0.4
104
+ type: :runtime
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: 0.0.4
111
+ description: |-
112
+ Part of calabash-android ruby gem to instrument and resign apk.
113
+ This will modify appium uiautomator2 server apk so that it instruments app under test.
114
+ email:
115
+ - mail.rajvarma@gmail.com
116
+ executables:
117
+ - appium_instrumenter
118
+ extensions: []
119
+ extra_rdoc_files: []
120
+ files:
121
+ - ".gitignore"
122
+ - ".rspec"
123
+ - ".ruby-gemset"
124
+ - ".ruby-version"
125
+ - ".travis.yml"
126
+ - CODE_OF_CONDUCT.md
127
+ - Gemfile
128
+ - Gemfile.lock
129
+ - LICENSE.txt
130
+ - README.md
131
+ - Rakefile
132
+ - appium_instrumenter.gemspec
133
+ - bin/console
134
+ - bin/setup
135
+ - exe/appium_instrumenter
136
+ - lib/appium_instrumenter.rb
137
+ - lib/appium_instrumenter/dependencies.rb
138
+ - lib/appium_instrumenter/environment.rb
139
+ - lib/appium_instrumenter/helpers.rb
140
+ - lib/appium_instrumenter/java_keystore.rb
141
+ - lib/appium_instrumenter/resources/AndroidManifest.xml
142
+ - lib/appium_instrumenter/utils.rb
143
+ - lib/appium_instrumenter/version.rb
144
+ homepage: https://github.com/rajdeepv/appium_instrumenter
145
+ licenses:
146
+ - MIT
147
+ metadata:
148
+ allowed_push_host: https://rubygems.org
149
+ post_install_message:
150
+ rdoc_options: []
151
+ require_paths:
152
+ - lib
153
+ required_ruby_version: !ruby/object:Gem::Requirement
154
+ requirements:
155
+ - - ">="
156
+ - !ruby/object:Gem::Version
157
+ version: '0'
158
+ required_rubygems_version: !ruby/object:Gem::Requirement
159
+ requirements:
160
+ - - ">="
161
+ - !ruby/object:Gem::Version
162
+ version: '0'
163
+ requirements: []
164
+ rubyforge_project:
165
+ rubygems_version: 2.6.12
166
+ signing_key:
167
+ specification_version: 4
168
+ summary: Part of calabash-android ruby gem to instrument and resign apk
169
+ test_files: []