gemfury 0.12.0.rc2 → 0.12.1
Sign up to get free protection for your applications and to get access to all the features.
- 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 +6 -6
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
|
[![Gem Version](https://badge.fury.io/rb/gemfury.svg)](http://badge.fury.io/rb/gemfury)
|
5
|
-
[![Build Status](https://secure.travis-ci.org/gemfury/gemfury.svg?branch=master)](https://travis-ci.org/gemfury/gemfury)
|
6
|
-
[![Code Climate](https://codeclimate.com/github/gemfury/gemfury/badges/gpa.svg)](https://codeclimate.com/github/gemfury/gemfury)
|
7
5
|
[![Documentation](https://img.shields.io/badge/docs-rdoc.info-blue.svg)](http://www.rubydoc.info/gems/gemfury)
|
8
|
-
[![Documentation completeness](https://inch-ci.org/github/gemfury/gemfury.svg?branch=
|
6
|
+
[![Documentation completeness](https://inch-ci.org/github/gemfury/gemfury.svg?branch=main)](http://inch-ci.org/github/gemfury/gemfury)
|
7
|
+
[![Build Status](https://github.com/gemfury/gemfury/actions/workflows/specs.yml/badge.svg?branch=main)](https://github.com/gemfury/gemfury/actions/workflows/specs.yml)
|
8
|
+
[![Code Climate](https://codeclimate.com/github/gemfury/gemfury/badges/gpa.svg)](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
|
@@ -185,9 +185,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
185
185
|
version: '0'
|
186
186
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
187
187
|
requirements:
|
188
|
-
- - "
|
188
|
+
- - ">="
|
189
189
|
- !ruby/object:Gem::Version
|
190
|
-
version:
|
190
|
+
version: '0'
|
191
191
|
requirements: []
|
192
192
|
rubyforge_project:
|
193
193
|
rubygems_version: 2.7.8
|