gemfury 0.12.0 → 0.12.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +3 -3
- data/lib/gemfury/command/app.rb +8 -0
- data/lib/gemfury/version.rb +1 -1
- data/lib/gemfury.rb +5 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: '085b1527c75280eea2af851ba682cf633ad4c7254519e352ecaedce754067a4a'
|
|
4
|
+
data.tar.gz: 044cb832c6707879b7117e65895b1908f09e98b55a4641bb5c98504c264c52b5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cd3c775925ff9095bbc708945dede4c78082f5e24920e141b5089181fec866551a7f9e1fc7895b137f39c8e38f97252491b5fe15c9e932c52b5ed36c81bc4911
|
|
7
|
+
data.tar.gz: d2c1fda36dbe5183821d728ac2982900f1b7f0c9730d8aade63255f9b1f248018d5b6519a68367e8b4f9a7cd24dde79986f472b6f0db2546e07eee0c1d48547b
|
data/README.md
CHANGED
|
@@ -2,10 +2,10 @@ Gemfury CLI
|
|
|
2
2
|
===========
|
|
3
3
|
|
|
4
4
|
[](http://badge.fury.io/rb/gemfury)
|
|
5
|
-
[](https://travis-ci.org/gemfury/gemfury)
|
|
6
|
-
[](https://codeclimate.com/github/gemfury/gemfury)
|
|
7
5
|
[](http://www.rubydoc.info/gems/gemfury)
|
|
8
|
-
[](http://inch-ci.org/github/gemfury/gemfury)
|
|
7
|
+
[](https://github.com/gemfury/gemfury/actions/workflows/specs.yml)
|
|
8
|
+
[](https://codeclimate.com/github/gemfury/gemfury)
|
|
9
9
|
|
|
10
10
|
This is the Gemfury CLI used to manage your Gemfury packages from the command line. If you're
|
|
11
11
|
familiar with the service and want to jump straight into command line action, please proceed to
|
data/lib/gemfury/command/app.rb
CHANGED
|
@@ -273,7 +273,12 @@ private
|
|
|
273
273
|
|
|
274
274
|
def with_checks_and_rescues(&block)
|
|
275
275
|
@user_api_key = options[:api_token] if options[:api_token]
|
|
276
|
+
|
|
277
|
+
msg = '[DEPRECATED] This CLI is no longer supported. Please upgrade to the new CLI: https://gemfury.com/guide/cli'
|
|
278
|
+
shell.say(msg, :yellow) if !options[:quiet] && !current_command_chain.include?(:logout)
|
|
279
|
+
|
|
276
280
|
with_authorization(&block)
|
|
281
|
+
|
|
277
282
|
rescue Gemfury::InvalidGemVersion => e
|
|
278
283
|
shell.say "You have a deprecated Gemfury client", :red
|
|
279
284
|
if shell.yes? "Would you like to update it now? [yN]"
|
|
@@ -341,6 +346,9 @@ private
|
|
|
341
346
|
shell.say "- this file is too much to handle", :red
|
|
342
347
|
shell.say " Visit http://www.gemfury.com/large-package for more info"
|
|
343
348
|
error_ex = e
|
|
349
|
+
rescue Gemfury::Error => e
|
|
350
|
+
shell.say "- #{e.message.downcase}", :red
|
|
351
|
+
error_ex = e
|
|
344
352
|
rescue => e
|
|
345
353
|
shell.say "- oops", :red
|
|
346
354
|
error_ex = e
|
data/lib/gemfury/version.rb
CHANGED
data/lib/gemfury.rb
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
gem "multi_json", "~> 1.10"
|
|
2
|
-
gem "faraday", ">= 0.9.0", "< 1.1.0.pre"
|
|
3
2
|
gem "netrc", ">= 0.10.0", "< 0.12.0.pre"
|
|
3
|
+
gem "faraday", ">= 0.9.0", begin
|
|
4
|
+
is_new = Gem::Dependency.new('ruby', '>= 2.3.0')
|
|
5
|
+
is_new = is_new.match?('ruby', RUBY_VERSION)
|
|
6
|
+
is_new ? "< 2.0.0.pre" : "< 1.5.0.pre"
|
|
7
|
+
end
|
|
4
8
|
|
|
5
9
|
require 'time'
|
|
6
10
|
require 'cgi'
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: gemfury
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.12.
|
|
4
|
+
version: 0.12.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Michael Rykov
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2023-07-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: multi_json
|
|
@@ -73,7 +73,7 @@ dependencies:
|
|
|
73
73
|
version: 0.9.0
|
|
74
74
|
- - "<"
|
|
75
75
|
- !ruby/object:Gem::Version
|
|
76
|
-
version:
|
|
76
|
+
version: 2.0.0.pre
|
|
77
77
|
type: :runtime
|
|
78
78
|
prerelease: false
|
|
79
79
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -83,7 +83,7 @@ dependencies:
|
|
|
83
83
|
version: 0.9.0
|
|
84
84
|
- - "<"
|
|
85
85
|
- !ruby/object:Gem::Version
|
|
86
|
-
version:
|
|
86
|
+
version: 2.0.0.pre
|
|
87
87
|
- !ruby/object:Gem::Dependency
|
|
88
88
|
name: highline
|
|
89
89
|
requirement: !ruby/object:Gem::Requirement
|