From 79e958c8052639ae8199a7a4b775dcaf65e35148 Mon Sep 17 00:00:00 2001 From: Jumpei Matsuda Date: Tue, 31 Jul 2018 17:09:19 +0900 Subject: [PATCH 1/2] [ci skip] Updated REAMDE.md --- README.md | 32 +++++++++++++++++++++++--------- 1 file changed, 23 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 5101c8b..1d340e8 100644 --- a/README.md +++ b/README.md @@ -14,18 +14,32 @@ A description of danger-apkstats. # Sample ``` -apkstats.command_type=:apk_analyzer # required -apkstats.apk_filepath='app-debug.apk' # required. It would be a base apk. +apkstats.apk_filepath='app-debug.apk' # required. apkstats.compare_with('app-other.apk', do_report: true) -apkstats.file_size #=> Integer -apkstats.download_size #=> Integer -apkstats.required_features #=> Array -apkstats.non_required_features #=> Array -apkstats.permissions #=> Array -apkstats.min_sdk #=> String -apkstats.target_sdk #=> String +apkstats.file_size #=> Fixnum +apkstats.download_size #=> Fixnum +apkstats.required_features #=> Array | Nil +apkstats.non_required_features #=> Array | Nil +apkstats.permissions #=> Array | Nil +apkstats.min_sdk #=> String | Nil +apkstats.target_sdk #=> String | Nils ``` +## Compare apk files + +The report will be like below. + +### Apk comparision results + +Property | Summary +:--- | :--- +New File Size | 1621248 Bytes. (1.55 MB +File Size Change | -13352 Bytes. (-13.04 KB) +Download Size Change | +41141 Bytes. (+40.18 KB) +Removed Required Features | - android.hardware.camera +Removed Non-required Features | - android.hardware.camera.front (not-required) +Removed Permissions | - android.permission.INTERNET
- android.permission.CAMERA + ## Development 1. Clone this repo From 13fada2cebb8d265371658c4cdb85337e96320e8 Mon Sep 17 00:00:00 2001 From: Jumpei Matsuda Date: Tue, 31 Jul 2018 17:11:01 +0900 Subject: [PATCH 2/2] [ci skip] Added budgees --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 1d340e8..23231f5 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ +[![Build Status](https://travis-ci.com/jmatsu/danger-apkstats.svg?branch=master)](https://travis-ci.com/jmatsu/danger-apkstats) [![Gem Version](https://badge.fury.io/rb/danger-apkstats.svg)](https://badge.fury.io/rb/danger-apkstats) + # danger-apkstats A description of danger-apkstats.