pocky 1.7.0 → 1.8.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: 22de5def074e1cb08bee99280a266ea9ebcf29056ae4dd117f75682e2e3d3221
4
- data.tar.gz: 7c8258dbf32e3c30099e7d3b4f7d5b7404c7d28348163b7b9a5f51671b490e2c
3
+ metadata.gz: 612ee34127a910813870f48cc2e84a09da9fcb548e7c81a447205c9a3b84ef8b
4
+ data.tar.gz: 98b7be34c21ac045bafafa8ceb4c01fbcb0461495d19807ec1ab26970a11e4b8
5
5
  SHA512:
6
- metadata.gz: e659f0fd8a2a3c0f4a6c9e0bc195ae7493a0b27d774996c533cedce3898a20d14d7f703a9c6f6715e290175c02435519ddfa486ca6ce506d5ac38d97017f7f80
7
- data.tar.gz: a67332ec4f9dc8503b4267fef328a8d98eb0894bd90554867c3b6f299eba35a898f1e42560c190adf94e4748d182bf16b016fccf0636bb1b28c2e6e44edb4432
6
+ metadata.gz: '07728e53d8c4e6950af51520abe37c0818fabbd25d84cf57cf8cffb7ee925ef10c87d68e7e2bc113cb5c2cc7bf1d7357ee0c3fa608f8aac83df503ea1c68d02c'
7
+ data.tar.gz: 68bb11723dff8b526aaccc0c9153a6a2879b1b6dc2efdb223d4b5246ee3c9e14d210e3ec5a49b8c168237ca823e4a687ec54bfbf1f697307caef4bae67ed20a3
@@ -93,7 +93,11 @@ module Pocky
93
93
  ref.match(/#{name}\/#{REFERENCE_FILE_NAME}$/)
94
94
  end
95
95
 
96
- parse_package_name(reference_filename)
96
+ if reference_filename
97
+ parse_package_name(reference_filename)
98
+ else
99
+ name
100
+ end
97
101
  end
98
102
  end
99
103
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Pocky
4
- VERSION = "1.7.0"
4
+ VERSION = "1.8.0"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pocky
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.0
4
+ version: 1.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Quan Nguyen