bump-cli 0.7.0 → 0.8.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 00d797137b0dae0f38a0a9106badd11c90ffacd37648eb7d2bdcdc4370e0e2b0
4
- data.tar.gz: 1cd3d2d72d423284a9a0ffc3c0f86fd577b2ece23acf68f0fa36e43896aae730
3
+ metadata.gz: 7864d9fa40e4b79da664f8c470553d4cb441c68b98ec7864f14a73a1bf74cca7
4
+ data.tar.gz: 9bf79f7526d64a7d4505401f7b624f2f24970d181005cb0fecb7fdcca9169c84
5
5
  SHA512:
6
- metadata.gz: 0e2a0eaa1fb62b4f9b7b5f88883e8f00ded7653467d80f3776a8aadf6f0190e32fdb620acc3e8568e30be88fa4e7f5370ec7e777137ecda72cc7e77a6cdd5576
7
- data.tar.gz: c3f88a2d70ff4f893a13b985beb3f8198f349a02fed67f93e7949527867acc9655409a586db8f13a364b145b467c70d5cede4c4f74e3aa42b92c558140afc5a5
6
+ metadata.gz: c9bdb8df99ff13e7b0b41a0d8512bb9a950882eecafca78374fcee7e8f8e88eb43a9cc0efc75e97ef4c82405ff1d8e43d77a84153e94fc235072ebce1f390517
7
+ data.tar.gz: 721abefc4a876cd07f6a09195b63973131ef17353acf7133891d9f31106527ce1a7c250e3847d495e97d0e80eb4fe4b421d6f05555b3e97c1578c56539ecb8e4
data/README.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Bump::CLI
2
2
 
3
+ **⚠️ DEPRECATION WARNING:** This repository is now deprecated in favor of our [new Node based Bump CLI](https://github.com/bump-sh/cli). Please migrate to v2.x+ version of our CLI to enjoy all features of Bump.sh. ⚠️
4
+
5
+ - [**Read the new CLI announcement**](https://headwayapp.co/bump-changelog/new-command-line-interface-era-196226)
6
+ - [**Read our Bump CLI help section**](https://help.bump.sh/bump-cli)
7
+
8
+ _If you still want to use this ruby gem, please [contact us](mailto:hello@bump.sh) to discuss alternatives and share your use case. Thank you!_
9
+
3
10
  The `bump-cli` gem provides a simple command line access to the Bump (https://bump.sh) API.
4
11
 
5
12
  ## Installation
data/lib/bump/cli.rb CHANGED
@@ -9,6 +9,14 @@ module Bump
9
9
  API_URL = ROOT_URL + API_PATH
10
10
 
11
11
  def call(*args)
12
+ warn ":WARNING:"
13
+ warn " This Bump CLI is now legacy and will not be maintained any further."
14
+ warn ""
15
+ warn " Please update to our new v2.x CLI available at https://github.com/bump-sh/cli"
16
+ warn " You can install the new Bump CLI with 'npm install -g bump-cli'"
17
+ warn " or 'yarn global add bump-cli'"
18
+ warn ":WARNING:"
19
+ warn ""
12
20
  Dry::CLI.new(Commands).call(*args)
13
21
  end
14
22
 
@@ -6,7 +6,8 @@ module Bump
6
6
  class Resource
7
7
  def self.read(location)
8
8
  if location.start_with?("http")
9
- ::HTTP.get(location).to_s
9
+ ::HTTP.follow(max_hops: 50)
10
+ .get(location).to_s
10
11
  else
11
12
  ::File.read(location).force_encoding(Encoding::UTF_8)
12
13
  end
@@ -1,5 +1,5 @@
1
1
  module Bump
2
2
  class CLI
3
- VERSION = "0.7.0"
3
+ VERSION = "0.8.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bump-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mehdi Lahmam
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2021-03-04 00:00:00.000000000 Z
12
+ date: 2021-07-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: dry-cli