push_package 0.5.2 → 1.0.1

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
2
  SHA1:
3
- metadata.gz: b8dbaf00a781d86bc53c09e6c3659dd51ce41ddc
4
- data.tar.gz: 58dd419e105f1ce2024b1f5ecd044defbb5343a2
3
+ metadata.gz: 97c1faf7edfc6c58d160b43cc8d4ff53622b653f
4
+ data.tar.gz: c85b3066bd8e71174897dea8cbcd59577d3f1cb3
5
5
  SHA512:
6
- metadata.gz: af2f26e6548147270c29c8281daf1a3b73476fc7b7989c675f63c94cfa9ada8066a615f9833cf7132bea5f893a76a2d75b9a1e99bb021bed583d21b902e517e4
7
- data.tar.gz: ff4b56128641bbf1ea95815154bf777e307a029862b7ef5a7414e1582b6d9fed6f72f0f106b2192ca121395152d9fe756f3cd555cf906f535f6842ce2aa5e3c6
6
+ metadata.gz: 7c75b07c2649318ea3e4589fb2998e2746563220f8a5861cb5f14cd4ab0534fdb2166ebcd637cb3f506f85abb2c1ae22ca7d08ddfa6c43e27c45b83f881f0cff
7
+ data.tar.gz: 708f4e1f51bab6d594a0e570e570869f6abcb836d3feda306225d22a4e441b3ac2dc2be8cf43a4b0fd3306c916f7ca4a157c21de43b704e7e8f0a27168700e7e
@@ -1,9 +1,9 @@
1
1
  ---
2
2
  language: ruby
3
3
  rvm:
4
- - 2.1.5
5
- - 2.2.3
6
- - 2.3.0
4
+ - 2.4.0
5
+ - 2.5.0
6
+ - 2.6.0
7
7
  - jruby-19mode
8
8
  sudo: false
9
9
  notifications:
@@ -22,6 +22,7 @@ class PushPackage
22
22
 
23
23
  @website_params = website_params
24
24
  @iconset_path = iconset_path.to_s
25
+ @extra_certs = nil
25
26
 
26
27
  if certificate.respond_to?(:read)
27
28
  cert_data = certificate.read
@@ -60,7 +61,7 @@ class PushPackage
60
61
  end
61
62
 
62
63
  ## overwrite existing push packages
63
- File.delete(output_path) if File.exists?(output_path)
64
+ File.delete(output_path) if File.exist?(output_path)
64
65
 
65
66
  zip = Zip::File.open(output_path, Zip::File::CREATE)
66
67
 
@@ -1,3 +1,3 @@
1
1
  class PushPackage
2
- VERSION = '0.5.2'.freeze
2
+ VERSION = '1.0.1'.freeze
3
3
  end
@@ -17,9 +17,9 @@ Gem::Specification.new do |gem|
17
17
  gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
18
18
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
19
19
  gem.require_paths = ["lib"]
20
- gem.required_ruby_version = '>= 1.9'
20
+ gem.required_ruby_version = '>= 2.4'
21
21
 
22
- gem.add_runtime_dependency 'rubyzip', '~> 1.1', '>= 1.1.0'
22
+ gem.add_runtime_dependency 'rubyzip', '~> 2.0', '>= 2.0.0'
23
23
 
24
24
  gem.add_development_dependency 'minitest', '~> 5.8.4', '>= 5.8.4'
25
25
  gem.add_development_dependency 'rake', '~> 10.0', '>= 10.0.3'
@@ -156,7 +156,7 @@ describe PushPackage do
156
156
  it 'should return the file handle' do
157
157
  file = push_package.save(output_path)
158
158
  file.must_be_instance_of File
159
- File.exists?(file.path).must_equal true
159
+ File.exist?(file.path).must_equal true
160
160
  end
161
161
 
162
162
  it 'should be a zip file' do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: push_package
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stefan Natchev
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2019-03-25 00:00:00.000000000 Z
12
+ date: 2019-09-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rubyzip
@@ -17,20 +17,20 @@ dependencies:
17
17
  requirements:
18
18
  - - "~>"
19
19
  - !ruby/object:Gem::Version
20
- version: '1.1'
20
+ version: '2.0'
21
21
  - - ">="
22
22
  - !ruby/object:Gem::Version
23
- version: 1.1.0
23
+ version: 2.0.0
24
24
  type: :runtime
25
25
  prerelease: false
26
26
  version_requirements: !ruby/object:Gem::Requirement
27
27
  requirements:
28
28
  - - "~>"
29
29
  - !ruby/object:Gem::Version
30
- version: '1.1'
30
+ version: '2.0'
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: 1.1.0
33
+ version: 2.0.0
34
34
  - !ruby/object:Gem::Dependency
35
35
  name: minitest
36
36
  requirement: !ruby/object:Gem::Requirement
@@ -132,7 +132,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
132
132
  requirements:
133
133
  - - ">="
134
134
  - !ruby/object:Gem::Version
135
- version: '1.9'
135
+ version: '2.4'
136
136
  required_rubygems_version: !ruby/object:Gem::Requirement
137
137
  requirements:
138
138
  - - ">="