package_cloud 0.3.12 → 0.3.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/package_cloud/cli/entry.rb +1 -1
- data/lib/package_cloud/config_file.rb +1 -1
- data/lib/package_cloud/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e6d363087603473afe3c1ac11834d158341b1352f22b4659c20dabb7c1122c8c
|
4
|
+
data.tar.gz: 0d214d7769a2437e9416daf4ed76f067ef78e83dae74f77ba5232e5a419cc227
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 79079fca04fb398f2b0a81bdec7c60b403c3cf6328c16f5dd6e2bae5fb7e7c206a29fb2330b76d1c2a3ce0e2629519563302f7906f2c25c6676010394ce71806
|
7
|
+
data.tar.gz: a3387acaa98bbb884dbc37c3bf3345265be42d2904a95beb7558c2dc436b37dcaab714605f9baa30aec008ac7214264b765ea84f4b6285c99378825aa909937f
|
@@ -274,7 +274,7 @@ module PackageCloud
|
|
274
274
|
file_paths = []
|
275
275
|
files.each do |f|
|
276
276
|
filepath = File.join(dir, f["filename"])
|
277
|
-
if !File.
|
277
|
+
if !File.exist?(filepath)
|
278
278
|
print "Unable to find file name: #{f["filename"]} for source package: #{filepath}\n".color(:red)
|
279
279
|
abort("Aborting...".color(:red))
|
280
280
|
end
|
@@ -96,7 +96,7 @@ module PackageCloud
|
|
96
96
|
## config where the url is used verbatim as the key, instead of "url",
|
97
97
|
## this attempts to fix the config file
|
98
98
|
def fix_config_file!
|
99
|
-
if File.
|
99
|
+
if File.exist?(@filename) && File.writable?(@filename)
|
100
100
|
attrs = JSON.parse(File.read(@filename))
|
101
101
|
if !attrs.has_key?("url")
|
102
102
|
## overwrite the config file if "url" key not found
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: package_cloud
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joe Damato
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-06-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|
@@ -163,7 +163,7 @@ homepage: https://packagecloud.io
|
|
163
163
|
licenses:
|
164
164
|
- MIT
|
165
165
|
metadata: {}
|
166
|
-
post_install_message:
|
166
|
+
post_install_message:
|
167
167
|
rdoc_options: []
|
168
168
|
require_paths:
|
169
169
|
- lib
|
@@ -178,8 +178,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
178
178
|
- !ruby/object:Gem::Version
|
179
179
|
version: '0'
|
180
180
|
requirements: []
|
181
|
-
rubygems_version: 3.
|
182
|
-
signing_key:
|
181
|
+
rubygems_version: 3.4.10
|
182
|
+
signing_key:
|
183
183
|
specification_version: 4
|
184
184
|
summary: The https://packagecloud.io CLI for uploading Node.js, Debian, RPM, RubyGem,
|
185
185
|
Python, and Java packages. Check our website or the RubyDoc documentation for detailed
|