app-info 1.0.4 → 1.0.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 48d4c6a558ac8dadda9239527264a407bfa55177
4
- data.tar.gz: 5c1ef36d8455f679781dcd2796fc6498a6cc5113
2
+ SHA256:
3
+ metadata.gz: 2bf264f18dbf80e47d3715f43f01ceaf6ec2e062fe01af5e53f4d5f52187b62a
4
+ data.tar.gz: 1ff376b2a1c33f48da9457315808b8989171f0ce1c0506960b20094b553941b3
5
5
  SHA512:
6
- metadata.gz: b780187ed07b0a0e810651f6253907256fec81b3db87489c1f7ecd624211fe0727b66d913d8cd89947c0eceb473203d5d646a1e55fc4e2fcfa118e4c717c41b9
7
- data.tar.gz: dc94e393cbb122ef912bbd092779ee4d2ec857fa459f695e9c5cf4134c4d75c180534b4f7f8598c77292415abf1da80ed99c9ae1cb0200c88dc00f6878de77c9
6
+ metadata.gz: e0eeda4ee3ba27271b0b31b1a7aba97ed18170a9aa4727d1fa0858caaedcd26851443f859d29e36f9e766fc3d49fb3489352796158a1bb110b8598c7787e075c
7
+ data.tar.gz: 80bec4b6eab70c8584b7965cfc60b0494557941810db0f8383823f08d42ab17c583a87e916b3e6aff6bd54db427e4c4b19b3cf1d29d20e3de8d6feaab52f308a
data/.gitignore CHANGED
@@ -7,3 +7,4 @@
7
7
  /pkg/
8
8
  /spec/reports/
9
9
  /tmp/
10
+ /.idea/
data/Rakefile CHANGED
@@ -1,8 +1,8 @@
1
- $LOAD_PATH.unshift File.expand_path('lib', __FILE__)
2
- require 'app_info'
1
+ #$LOAD_PATH.unshift File.expand_path('lib', __FILE__)
2
+ #require 'app_info'
3
3
  require 'bundler/gem_tasks'
4
4
  require 'rspec/core/rake_task'
5
5
 
6
6
  RSpec::Core::RakeTask.new(:spec)
7
7
 
8
- task default: :spec
8
+ task default: :spec
data/app_info.gemspec CHANGED
@@ -17,7 +17,7 @@ Gem::Specification.new do |spec|
17
17
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
18
18
  spec.require_paths = ['lib']
19
19
 
20
- spec.add_dependency 'CFPropertyList', '~> 2.3.4'
20
+ spec.add_dependency 'CFPropertyList', ['< 3.1.0', '>= 2.3.4']
21
21
  spec.add_dependency 'pngdefry', '~> 0.1.2'
22
22
  spec.add_dependency 'ruby_android', '~> 0.7.7'
23
23
  spec.add_dependency 'image_size', '~> 1.5.0'
@@ -68,6 +68,13 @@ module AppInfo
68
68
  info.icons
69
69
  end
70
70
 
71
+ #
72
+ # Return the minimum OS version for the given application
73
+ #
74
+ def min_sdk_version
75
+ info.min_sdk_version
76
+ end
77
+
71
78
  def device_type
72
79
  info.device_type
73
80
  end
@@ -32,6 +32,13 @@ module AppInfo
32
32
  info.try(:[], 'CFBundleName')
33
33
  end
34
34
 
35
+ #
36
+ # Extract the Minimum OS Version from the Info.plist
37
+ #
38
+ def min_sdk_version
39
+ info.try(:[], 'MinimumOSVersion')
40
+ end
41
+
35
42
  def icons
36
43
  return @icons if @icons
37
44
 
@@ -1,3 +1,3 @@
1
1
  module AppInfo
2
- VERSION = '1.0.4'.freeze
2
+ VERSION = '1.0.5'.freeze
3
3
  end
metadata CHANGED
@@ -1,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: app-info
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - icyleaf
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-09-25 00:00:00.000000000 Z
11
+ date: 2019-03-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: CFPropertyList
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: 2.3.4
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: 3.1.0
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
25
28
  - !ruby/object:Gem::Version
26
29
  version: 2.3.4
30
+ - - "<"
31
+ - !ruby/object:Gem::Version
32
+ version: 3.1.0
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: pngdefry
29
35
  requirement: !ruby/object:Gem::Requirement
@@ -153,8 +159,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
153
159
  - !ruby/object:Gem::Version
154
160
  version: '0'
155
161
  requirements: []
156
- rubyforge_project:
157
- rubygems_version: 2.6.12
162
+ rubygems_version: 3.0.3
158
163
  signing_key:
159
164
  specification_version: 4
160
165
  summary: Teardown tool for mobile app(ipa/apk), analysis metedata like version, name,