omt-cli 1.6.9 → 1.7.0

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: 90ca0d3326cb146423a45cddc89b5871cd244273
4
- data.tar.gz: 131a679c2c0db9832ba0aadd1ce4b803e5fa15d0
3
+ metadata.gz: f8cb71555f62164cfb0adeb999fe12bd47126764
4
+ data.tar.gz: cae21aa8ddd02d88e0223ecdd2750e1060011b2a
5
5
  SHA512:
6
- metadata.gz: b9ebe9e2bd30e469aed7614d2ae6e29073515ff457596386287d2850420b453640688e9ad245a5f1adee9e6db1bdf295b1857d250d6eb3561f6523cc354be827
7
- data.tar.gz: f6dd681cffb8715434dcfa9014c4d8e19d51b81e7f589c5b26627a18bc045659f61bfb20f06a3f85ebc71a3e4fa575b77d8cf4943658ed9044e1a31d792e83df
6
+ metadata.gz: 78bc4df9782b4fd05e5d39da5cd3fe2c488673e3899f44ca1d3c40e7cd235847a0c23e01fd36cd5831451bd814c356b1eda466069bb50b867554a26b0c681086
7
+ data.tar.gz: 8c3ff3925ff37390b486555b55a56eec0f8a52a7a097f20092e5dd2e3db8b63f7f7a881cc4f3afd813135a4f5cd2478466bb9dc9ee61ab772a7b76a569016081
@@ -6,7 +6,7 @@ module FIR
6
6
  APP_INFO_PATH = "#{ENV['HOME']}/.omt-cli-app"
7
7
  API_YML_PATH = File.expand_path('../../', __FILE__) + '/api.yml'
8
8
  XCODE_WRAPPER_PATH = File.expand_path('../../', __FILE__) + '/xcode_wrapper.sh'
9
- APP_FILE_TYPE = %w(.ipa .apk .aab .zip).freeze
9
+ APP_FILE_TYPE = %w(.ipa .apk .apks .aab .zip).freeze
10
10
 
11
11
  def fir_api
12
12
  @fir_api ||= YAML.load_file(API_YML_PATH).deep_symbolize_keys[:fir]
data/lib/fir/util/info.rb CHANGED
@@ -50,6 +50,20 @@ module FIR
50
50
  }
51
51
  end
52
52
 
53
+ def apks_info(apk_path, options = {})
54
+ path = apk_path.split("/")
55
+ filename = path[-1]
56
+ fileinfo = filename.split("_")
57
+
58
+ @info ||= {
59
+ type: 'android',
60
+ identifier: fileinfo[0],
61
+ name: 'APKS',
62
+ build: fileinfo[2],
63
+ version: fileinfo[1]
64
+ }
65
+ end
66
+
53
67
  def zip_info(apk_path, options = {})
54
68
  path = apk_path.split("/")
55
69
  filename = path[-1]
data/lib/fir/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  module FIR
4
- VERSION = '1.6.9'
4
+ VERSION = '1.7.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omt-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.9
4
+ version: 1.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - NaixSpirit
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-10-27 00:00:00.000000000 Z
11
+ date: 2022-12-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler