danger-apkstats 0.1.0 → 0.1.1.pre.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +18 -10
- data/lib/apkstats/gem_version.rb +1 -1
- data/lib/apkstats/plugin.rb +1 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bc90d50c7ccbf52ba7b65a54c9f494352b9882bfca62cc27eeff0ccf5305ce18
|
4
|
+
data.tar.gz: 12497ab827f964546df7f7471e0024ea01efbb1e3fb015a48f46937ed4414b74
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 11ae789816324a74458f94adf4d26729c341b30bc136cd9c48a85ad584cad331653e7850df3ca03da1d53450088ae3c54526d5d39514791190934c2eadee5370
|
7
|
+
data.tar.gz: 4a8b97229d25ae9574d1ad27b3e1d4205a3ef0203ab63856719a762de5edad1f485e0bbc3fdbf358641738fb0892c92a5511fdd66c83c4824bac3d54fb7a735f
|
data/README.md
CHANGED
@@ -2,22 +2,28 @@
|
|
2
2
|
|
3
3
|
# danger-apkstats
|
4
4
|
|
5
|
-
|
5
|
+
This is a plugin of [Danger](https://github.com/danger/danger) for Android projects.
|
6
|
+
This allows you to get attributes of your application file (apk) and report a summary of comparison between two application files.
|
6
7
|
|
7
8
|
## Installation
|
8
9
|
|
9
|
-
|
10
|
+
`gem install danger-apkstats`
|
10
11
|
|
11
|
-
|
12
|
+
Also, you need to have ANDROID_HOME which indicates sdk location in your environment variables.
|
12
13
|
|
13
|
-
|
14
|
-
your `Dangerfile` under the `apkstats` namespace.
|
14
|
+
## Usage
|
15
15
|
|
16
|
-
|
16
|
+
`apkstats` namespace is available under Dangerfile.
|
17
|
+
|
18
|
+
### Required preparation
|
17
19
|
|
18
20
|
```
|
19
21
|
apkstats.apk_filepath='app-debug.apk' # required.
|
20
|
-
|
22
|
+
```
|
23
|
+
|
24
|
+
### Show attributes
|
25
|
+
|
26
|
+
```
|
21
27
|
apkstats.file_size #=> Fixnum
|
22
28
|
apkstats.download_size #=> Fixnum
|
23
29
|
apkstats.required_features #=> Array<String> | Nil
|
@@ -27,11 +33,13 @@ apkstats.min_sdk #=> String | Nil
|
|
27
33
|
apkstats.target_sdk #=> String | Nils
|
28
34
|
```
|
29
35
|
|
30
|
-
|
36
|
+
### Get a comparison report
|
31
37
|
|
32
|
-
|
38
|
+
```
|
39
|
+
apkstats.compare_with(String, do_report: Boolean)
|
40
|
+
```
|
33
41
|
|
34
|
-
|
42
|
+
For example, the report will be like below.
|
35
43
|
|
36
44
|
Property | Summary
|
37
45
|
:--- | :---
|
data/lib/apkstats/gem_version.rb
CHANGED
data/lib/apkstats/plugin.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: danger-apkstats
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1.pre.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jumpei Matsuda
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-08-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: danger-plugin-api
|
@@ -211,9 +211,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
211
211
|
version: '0'
|
212
212
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
213
213
|
requirements:
|
214
|
-
- - "
|
214
|
+
- - ">"
|
215
215
|
- !ruby/object:Gem::Version
|
216
|
-
version:
|
216
|
+
version: 1.3.1
|
217
217
|
requirements: []
|
218
218
|
rubyforge_project:
|
219
219
|
rubygems_version: 2.7.6
|