pkgforge 0.22.0 → 0.23.0

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
  SHA256:
3
- metadata.gz: 9394c9da73178e40daaf46c611b6f870c966d10761e436c7a1fdea8fccc7165f
4
- data.tar.gz: 7ae0716f4c9adca5731179047a3cd28b3f8c26c884c6cb949651ab8b45fde959
3
+ metadata.gz: 4db24a133a9a688a92dfbc9017cba8cdde98123bc2b7bb88d94352bc3ed4b0a8
4
+ data.tar.gz: d75cd94be6a0ea2014da074c92958f6dbd044a02f9c7dd823b124cff3ea2a938
5
5
  SHA512:
6
- metadata.gz: 69ef928e8beb016fecc9c19de13fbbdbe8183eca53b955f09d982252661991b9f4c795cba3dbf73324382999a7de81a0b351ce3a252462c7b3e39fcd178929e6
7
- data.tar.gz: 4febe4eb8d1abe2d867814bb433cefe3b8c9971ed21a91309fe50ba79585aeda199de4f4c628668b1ebe9c2a28207cf9edec4ffce96cc57ca169054ed95eba52
6
+ metadata.gz: 2d2147a2fd21bc1fb1453acdc2de4df6cac77bf2e9046cd18ebe9c2f7653b52278268ac14017f835723c51578cfb3fe7411b4d10b91853bbc1c6a5b99f6810eb
7
+ data.tar.gz: 4969fbe5fa550a486fb1854b14e49c78f2c6bfc5ae43620fb5d88e5092024aad9f43157de3a1ee0290a4318f2b3e6e5739ad37dbd287daae18b6cbedff0bd5e9
@@ -23,6 +23,7 @@ module PkgForge
23
23
 
24
24
  Contract None => nil
25
25
  def add_license!
26
+ return if licenses.empty?
26
27
  dest_dir = File.join(tmpdir(:release), 'usr', 'share', 'licenses', name)
27
28
  FileUtils.mkdir_p dest_dir
28
29
  licenses.each do |license|
@@ -1,5 +1,5 @@
1
1
  ##
2
2
  # Declare version number
3
3
  module PkgForge
4
- VERSION = '0.22.0'.freeze
4
+ VERSION = '0.23.0'.freeze
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pkgforge
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.22.0
4
+ version: 0.23.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Les Aker
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-06-21 00:00:00.000000000 Z
11
+ date: 2018-06-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: contracts