bump-cli 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.circleci/config.yml +43 -0
- data/.gitignore +9 -0
- data/.travis.yml +5 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +6 -0
- data/LICENSE.txt +21 -0
- data/README.md +41 -0
- data/Rakefile +6 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/bump-cli.gemspec +35 -0
- data/exe/bump +6 -0
- data/lib/bump/cli/commands/base.rb +52 -0
- data/lib/bump/cli/commands/deploy.rb +40 -0
- data/lib/bump/cli/commands/preview.rb +35 -0
- data/lib/bump/cli/commands/validate.rb +38 -0
- data/lib/bump/cli/version.rb +5 -0
- data/lib/bump/cli.rb +28 -0
- metadata +165 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 45535ed74c676934e7c59f1c93ea05f7d278ee1079cc3dc7764ddda9f5f6e9bd
|
4
|
+
data.tar.gz: 2568282f956a77d36498075e98be4017fdf990b3c3c50bc8636a99727ca7f17d
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: b4d03f0d849414f60796bf4bbe48bfc2a0658b83a461cc5438c7410322866e43801b95300e1aa59f1f8c08b2649b908c7452cbd7a1c06ba23a7335279f9cf2e8
|
7
|
+
data.tar.gz: 6f8c00a0de00234df798f87482706d0f4d1941f6179f7ef70591a604f5ec00067cb3962b4e61336cdcf78c90d0cb6af918075dc2ec2d5e8dfa9c6099cf8a3aea
|
@@ -0,0 +1,43 @@
|
|
1
|
+
version: 2
|
2
|
+
jobs:
|
3
|
+
build-latest: &common-build
|
4
|
+
working_directory: ~/bump-cli
|
5
|
+
docker:
|
6
|
+
- image: circleci/ruby:latest
|
7
|
+
steps:
|
8
|
+
- checkout
|
9
|
+
- run:
|
10
|
+
name: Update bundle command
|
11
|
+
command: gem install bundle
|
12
|
+
|
13
|
+
- type: cache-restore
|
14
|
+
name: Restore bundle cache
|
15
|
+
keys:
|
16
|
+
- bump-bundle-{{ checksum "bump-cli.gemspec" }}
|
17
|
+
# fallback to using the latest cache if no exact match is found
|
18
|
+
- bump-bundle-
|
19
|
+
|
20
|
+
- run:
|
21
|
+
name: Bundle Install
|
22
|
+
command: bundle install --path vendor/bundle
|
23
|
+
|
24
|
+
- type: cache-save
|
25
|
+
name: Store bundle cache
|
26
|
+
key: bump-bundle-{{ checksum "bump-cli.gemspec" }}
|
27
|
+
paths:
|
28
|
+
- vendor/bundle
|
29
|
+
|
30
|
+
- run:
|
31
|
+
name: Run tests
|
32
|
+
command: rake
|
33
|
+
build-2-3:
|
34
|
+
<<: *common-build
|
35
|
+
docker:
|
36
|
+
- image: circleci/ruby:2.3.4-node
|
37
|
+
|
38
|
+
workflows:
|
39
|
+
version: 2
|
40
|
+
build:
|
41
|
+
jobs:
|
42
|
+
- build-latest
|
43
|
+
- build-2-3
|
data/.gitignore
ADDED
data/.travis.yml
ADDED
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,74 @@
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
2
|
+
|
3
|
+
## Our Pledge
|
4
|
+
|
5
|
+
In the interest of fostering an open and welcoming environment, we as
|
6
|
+
contributors and maintainers pledge to making participation in our project and
|
7
|
+
our community a harassment-free experience for everyone, regardless of age, body
|
8
|
+
size, disability, ethnicity, gender identity and expression, level of experience,
|
9
|
+
nationality, personal appearance, race, religion, or sexual identity and
|
10
|
+
orientation.
|
11
|
+
|
12
|
+
## Our Standards
|
13
|
+
|
14
|
+
Examples of behavior that contributes to creating a positive environment
|
15
|
+
include:
|
16
|
+
|
17
|
+
* Using welcoming and inclusive language
|
18
|
+
* Being respectful of differing viewpoints and experiences
|
19
|
+
* Gracefully accepting constructive criticism
|
20
|
+
* Focusing on what is best for the community
|
21
|
+
* Showing empathy towards other community members
|
22
|
+
|
23
|
+
Examples of unacceptable behavior by participants include:
|
24
|
+
|
25
|
+
* The use of sexualized language or imagery and unwelcome sexual attention or
|
26
|
+
advances
|
27
|
+
* Trolling, insulting/derogatory comments, and personal or political attacks
|
28
|
+
* Public or private harassment
|
29
|
+
* Publishing others' private information, such as a physical or electronic
|
30
|
+
address, without explicit permission
|
31
|
+
* Other conduct which could reasonably be considered inappropriate in a
|
32
|
+
professional setting
|
33
|
+
|
34
|
+
## Our Responsibilities
|
35
|
+
|
36
|
+
Project maintainers are responsible for clarifying the standards of acceptable
|
37
|
+
behavior and are expected to take appropriate and fair corrective action in
|
38
|
+
response to any instances of unacceptable behavior.
|
39
|
+
|
40
|
+
Project maintainers have the right and responsibility to remove, edit, or
|
41
|
+
reject comments, commits, code, wiki edits, issues, and other contributions
|
42
|
+
that are not aligned to this Code of Conduct, or to ban temporarily or
|
43
|
+
permanently any contributor for other behaviors that they deem inappropriate,
|
44
|
+
threatening, offensive, or harmful.
|
45
|
+
|
46
|
+
## Scope
|
47
|
+
|
48
|
+
This Code of Conduct applies both within project spaces and in public spaces
|
49
|
+
when an individual is representing the project or its community. Examples of
|
50
|
+
representing a project or community include using an official project e-mail
|
51
|
+
address, posting via an official social media account, or acting as an appointed
|
52
|
+
representative at an online or offline event. Representation of a project may be
|
53
|
+
further defined and clarified by project maintainers.
|
54
|
+
|
55
|
+
## Enforcement
|
56
|
+
|
57
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
58
|
+
reported by contacting the project team at mehdi@lahmam.com. All
|
59
|
+
complaints will be reviewed and investigated and will result in a response that
|
60
|
+
is deemed necessary and appropriate to the circumstances. The project team is
|
61
|
+
obligated to maintain confidentiality with regard to the reporter of an incident.
|
62
|
+
Further details of specific enforcement policies may be posted separately.
|
63
|
+
|
64
|
+
Project maintainers who do not follow or enforce the Code of Conduct in good
|
65
|
+
faith may face temporary or permanent repercussions as determined by other
|
66
|
+
members of the project's leadership.
|
67
|
+
|
68
|
+
## Attribution
|
69
|
+
|
70
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
|
71
|
+
available at [http://contributor-covenant.org/version/1/4][version]
|
72
|
+
|
73
|
+
[homepage]: http://contributor-covenant.org
|
74
|
+
[version]: http://contributor-covenant.org/version/1/4/
|
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2017 Mehdi Lahmam
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,41 @@
|
|
1
|
+
# Bump::CLI
|
2
|
+
|
3
|
+
Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/bump/cli`. To experiment with that code, run `bin/console` for an interactive prompt.
|
4
|
+
|
5
|
+
TODO: Delete this and the text above, and describe your gem
|
6
|
+
|
7
|
+
## Installation
|
8
|
+
|
9
|
+
Add this line to your application's Gemfile:
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
gem 'bump-cli'
|
13
|
+
```
|
14
|
+
|
15
|
+
And then execute:
|
16
|
+
|
17
|
+
$ bundle
|
18
|
+
|
19
|
+
Or install it yourself as:
|
20
|
+
|
21
|
+
$ gem install bump-cli
|
22
|
+
|
23
|
+
## Usage
|
24
|
+
|
25
|
+
TODO: Write usage instructions here
|
26
|
+
|
27
|
+
## Development
|
28
|
+
|
29
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
30
|
+
|
31
|
+
## Contributing
|
32
|
+
|
33
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/bump-sh/bump-cli. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
34
|
+
|
35
|
+
## License
|
36
|
+
|
37
|
+
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
38
|
+
|
39
|
+
## Code of Conduct
|
40
|
+
|
41
|
+
Everyone interacting in the Bump::CLI project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/bump-sh/bump-cli/blob/master/CODE_OF_CONDUCT.md).
|
data/Rakefile
ADDED
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "bundler/setup"
|
4
|
+
require "bump/cli"
|
5
|
+
|
6
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
+
# with your gem easier. You can also use a different console, if you like.
|
8
|
+
|
9
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
+
# require "pry"
|
11
|
+
# Pry.start
|
12
|
+
|
13
|
+
require "irb"
|
14
|
+
IRB.start(__FILE__)
|
data/bin/setup
ADDED
data/bump-cli.gemspec
ADDED
@@ -0,0 +1,35 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path("../lib", __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require "bump/cli/version"
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "bump-cli"
|
8
|
+
spec.version = Bump::CLI::VERSION
|
9
|
+
spec.authors = ["Mehdi Lahmam", "Sébastien Charrier"]
|
10
|
+
spec.email = ["mehdi@lahmam.com", "sebastien@bump.sh"]
|
11
|
+
|
12
|
+
spec.summary = %q{Bump.sh CLI}
|
13
|
+
spec.description = %q{Bump.sh CLI to interact with the API}
|
14
|
+
spec.homepage = "https://bump.sh"
|
15
|
+
spec.license = "MIT"
|
16
|
+
|
17
|
+
spec.metadata["allowed_push_host"] = "https://rubygems.org"
|
18
|
+
spec.metadata["source_code_uri"] = "https://github.com/bump-sh/bump-cli"
|
19
|
+
|
20
|
+
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
21
|
+
f.match(%r{^(test|spec|features)/})
|
22
|
+
end
|
23
|
+
spec.bindir = "exe"
|
24
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
25
|
+
spec.require_paths = ["lib"]
|
26
|
+
|
27
|
+
spec.add_dependency "hanami-cli", '~> 0'
|
28
|
+
spec.add_dependency "http", '~> 3'
|
29
|
+
|
30
|
+
spec.add_development_dependency "bundler", "~> 1.15"
|
31
|
+
spec.add_development_dependency "climate_control", '~> 0'
|
32
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
33
|
+
spec.add_development_dependency "rspec", "~> 3"
|
34
|
+
spec.add_development_dependency "webmock", "~> 3"
|
35
|
+
end
|
data/exe/bump
ADDED
@@ -0,0 +1,52 @@
|
|
1
|
+
require 'open-uri'
|
2
|
+
|
3
|
+
module Bump
|
4
|
+
class CLI
|
5
|
+
module Commands
|
6
|
+
class Base < Hanami::CLI::Command
|
7
|
+
private
|
8
|
+
|
9
|
+
def with_errors_rescued
|
10
|
+
yield
|
11
|
+
rescue HTTP::Error, Errno::ENOENT, SocketError => error
|
12
|
+
abort "Error: #{error.message}"
|
13
|
+
end
|
14
|
+
|
15
|
+
def headers(token: '')
|
16
|
+
if token
|
17
|
+
{
|
18
|
+
"Content-Type" => "application/json",
|
19
|
+
"Authorization" => "Basic #{Base64.strict_encode64(token + ':')}"
|
20
|
+
}
|
21
|
+
else
|
22
|
+
{
|
23
|
+
"Content-Type" => "application/json"
|
24
|
+
}
|
25
|
+
end
|
26
|
+
end
|
27
|
+
|
28
|
+
def display_error(response)
|
29
|
+
if response.code == 422
|
30
|
+
body = JSON.parse(response.body)
|
31
|
+
display_invalid_definition(body)
|
32
|
+
elsif response.code == 401
|
33
|
+
abort "Invalid credentials (status: 401)"
|
34
|
+
else
|
35
|
+
body = JSON.parse(response.body)
|
36
|
+
abort "Error : #{body["message"]} (status: #{response.code})"
|
37
|
+
end
|
38
|
+
rescue JSON::ParserError => e
|
39
|
+
abort "Unknown error (status: #{response.code})"
|
40
|
+
end
|
41
|
+
|
42
|
+
def display_invalid_definition(body)
|
43
|
+
puts "Definition is not valid:"
|
44
|
+
body["errors"]["raw_definition"].each do |error|
|
45
|
+
puts "> #{error}"
|
46
|
+
end
|
47
|
+
abort
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
@@ -0,0 +1,40 @@
|
|
1
|
+
require 'base64'
|
2
|
+
|
3
|
+
module Bump
|
4
|
+
class CLI
|
5
|
+
module Commands
|
6
|
+
class Deploy < Base
|
7
|
+
desc "Create a new version"
|
8
|
+
argument :file, required: true, desc: "Path or URL to your API documentation file. Only OpenApi 2.0 (Swagger) specification is currently supported."
|
9
|
+
option :id, default: ENV.fetch("BUMP_ID", ""), desc: "Documentation public id"
|
10
|
+
option :token, default: ENV.fetch("BUMP_TOKEN", ""), desc: "Documentation private token"
|
11
|
+
option :format, default: "yaml", values: %w[yaml json], desc: "Format of the definition"
|
12
|
+
|
13
|
+
def call(file:, format:, id:, token:)
|
14
|
+
with_errors_rescued do
|
15
|
+
response = HTTP
|
16
|
+
.headers(headers(token: token))
|
17
|
+
.post(API_URL + "/docs/#{id}/versions", body: body(file, format).to_json)
|
18
|
+
|
19
|
+
if response.code == 201
|
20
|
+
puts "New version has been successfully deployed."
|
21
|
+
elsif response.code == 204
|
22
|
+
puts "Version was already deployed."
|
23
|
+
else
|
24
|
+
display_error(response)
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
29
|
+
private
|
30
|
+
|
31
|
+
def body(file, format)
|
32
|
+
{
|
33
|
+
definition: open(file).read,
|
34
|
+
format: format
|
35
|
+
}
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
@@ -0,0 +1,35 @@
|
|
1
|
+
module Bump
|
2
|
+
class CLI
|
3
|
+
module Commands
|
4
|
+
class Preview < Base
|
5
|
+
desc "Create a documentation preview for the given file"
|
6
|
+
argument :file, required: true, desc: "Path or URL to your API documentation file. Only OpenApi 2.0 (Swagger) specification is currently supported."
|
7
|
+
option :format, default: "yaml", values: %w[yaml json], desc: "Format of the definition"
|
8
|
+
|
9
|
+
def call(**options)
|
10
|
+
with_errors_rescued do
|
11
|
+
response = HTTP
|
12
|
+
.headers(headers)
|
13
|
+
.post(API_URL + "/previews", body: body(options).to_json)
|
14
|
+
|
15
|
+
if response.code == 201
|
16
|
+
body = JSON.parse(response.body)
|
17
|
+
puts "Preview created : #{ROOT_URL + '/preview/' + body['id']} (expires at #{body['expires_at']})"
|
18
|
+
else
|
19
|
+
display_error(response)
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
24
|
+
private
|
25
|
+
|
26
|
+
def body(options)
|
27
|
+
{
|
28
|
+
definition: open(options.fetch(:file)).read,
|
29
|
+
format: options.fetch(:format)
|
30
|
+
}
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
@@ -0,0 +1,38 @@
|
|
1
|
+
require 'base64'
|
2
|
+
|
3
|
+
module Bump
|
4
|
+
class CLI
|
5
|
+
module Commands
|
6
|
+
class Validate < Base
|
7
|
+
desc "Validate a given file against its schema definition"
|
8
|
+
argument :file, required: true, desc: "Path or URL to your API documentation file. Only OpenApi 2.0 (Swagger) specification is currently supported."
|
9
|
+
option :id, default: ENV.fetch("BUMP_ID", ""), desc: "Documentation public id"
|
10
|
+
option :token, default: ENV.fetch("BUMP_TOKEN", ""), desc: "Documentation private token"
|
11
|
+
option :format, default: "yaml", values: %w[yaml json], desc: "Format of the definition"
|
12
|
+
|
13
|
+
def call(file:, format:, id:, token:)
|
14
|
+
with_errors_rescued do
|
15
|
+
response = HTTP
|
16
|
+
.headers(headers(token: token))
|
17
|
+
.post(API_URL + "/docs/#{id}/validations", body: body(file, format).to_json)
|
18
|
+
|
19
|
+
if response.code == 200
|
20
|
+
puts "Definition is valid."
|
21
|
+
else
|
22
|
+
display_error(response)
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
|
27
|
+
private
|
28
|
+
|
29
|
+
def body(file, format)
|
30
|
+
{
|
31
|
+
definition: open(file).read,
|
32
|
+
format: format
|
33
|
+
}
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
data/lib/bump/cli.rb
ADDED
@@ -0,0 +1,28 @@
|
|
1
|
+
require "bump/cli/version"
|
2
|
+
require "hanami/cli"
|
3
|
+
require "http"
|
4
|
+
|
5
|
+
module Bump
|
6
|
+
class CLI
|
7
|
+
ROOT_URL = "https://bump.sh".freeze
|
8
|
+
API_PATH = "/api/v1".freeze
|
9
|
+
API_URL = ROOT_URL + API_PATH
|
10
|
+
|
11
|
+
def call(*args)
|
12
|
+
Hanami::CLI.new(Commands).call(*args)
|
13
|
+
end
|
14
|
+
|
15
|
+
module Commands
|
16
|
+
extend Hanami::CLI::Registry
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
require "bump/cli/commands/base"
|
22
|
+
require "bump/cli/commands/deploy"
|
23
|
+
require "bump/cli/commands/preview"
|
24
|
+
require "bump/cli/commands/validate"
|
25
|
+
|
26
|
+
Bump::CLI::Commands.register "deploy", Bump::CLI::Commands::Deploy
|
27
|
+
Bump::CLI::Commands.register "preview", Bump::CLI::Commands::Preview
|
28
|
+
Bump::CLI::Commands.register "validate", Bump::CLI::Commands::Validate
|
metadata
ADDED
@@ -0,0 +1,165 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: bump-cli
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Mehdi Lahmam
|
8
|
+
- Sébastien Charrier
|
9
|
+
autorequire:
|
10
|
+
bindir: exe
|
11
|
+
cert_chain: []
|
12
|
+
date: 2018-03-22 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: hanami-cli
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
requirements:
|
18
|
+
- - "~>"
|
19
|
+
- !ruby/object:Gem::Version
|
20
|
+
version: '0'
|
21
|
+
type: :runtime
|
22
|
+
prerelease: false
|
23
|
+
version_requirements: !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
25
|
+
- - "~>"
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
version: '0'
|
28
|
+
- !ruby/object:Gem::Dependency
|
29
|
+
name: http
|
30
|
+
requirement: !ruby/object:Gem::Requirement
|
31
|
+
requirements:
|
32
|
+
- - "~>"
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: '3'
|
35
|
+
type: :runtime
|
36
|
+
prerelease: false
|
37
|
+
version_requirements: !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
39
|
+
- - "~>"
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
version: '3'
|
42
|
+
- !ruby/object:Gem::Dependency
|
43
|
+
name: bundler
|
44
|
+
requirement: !ruby/object:Gem::Requirement
|
45
|
+
requirements:
|
46
|
+
- - "~>"
|
47
|
+
- !ruby/object:Gem::Version
|
48
|
+
version: '1.15'
|
49
|
+
type: :development
|
50
|
+
prerelease: false
|
51
|
+
version_requirements: !ruby/object:Gem::Requirement
|
52
|
+
requirements:
|
53
|
+
- - "~>"
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: '1.15'
|
56
|
+
- !ruby/object:Gem::Dependency
|
57
|
+
name: climate_control
|
58
|
+
requirement: !ruby/object:Gem::Requirement
|
59
|
+
requirements:
|
60
|
+
- - "~>"
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '0'
|
63
|
+
type: :development
|
64
|
+
prerelease: false
|
65
|
+
version_requirements: !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - "~>"
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '0'
|
70
|
+
- !ruby/object:Gem::Dependency
|
71
|
+
name: rake
|
72
|
+
requirement: !ruby/object:Gem::Requirement
|
73
|
+
requirements:
|
74
|
+
- - "~>"
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: '10.0'
|
77
|
+
type: :development
|
78
|
+
prerelease: false
|
79
|
+
version_requirements: !ruby/object:Gem::Requirement
|
80
|
+
requirements:
|
81
|
+
- - "~>"
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: '10.0'
|
84
|
+
- !ruby/object:Gem::Dependency
|
85
|
+
name: rspec
|
86
|
+
requirement: !ruby/object:Gem::Requirement
|
87
|
+
requirements:
|
88
|
+
- - "~>"
|
89
|
+
- !ruby/object:Gem::Version
|
90
|
+
version: '3'
|
91
|
+
type: :development
|
92
|
+
prerelease: false
|
93
|
+
version_requirements: !ruby/object:Gem::Requirement
|
94
|
+
requirements:
|
95
|
+
- - "~>"
|
96
|
+
- !ruby/object:Gem::Version
|
97
|
+
version: '3'
|
98
|
+
- !ruby/object:Gem::Dependency
|
99
|
+
name: webmock
|
100
|
+
requirement: !ruby/object:Gem::Requirement
|
101
|
+
requirements:
|
102
|
+
- - "~>"
|
103
|
+
- !ruby/object:Gem::Version
|
104
|
+
version: '3'
|
105
|
+
type: :development
|
106
|
+
prerelease: false
|
107
|
+
version_requirements: !ruby/object:Gem::Requirement
|
108
|
+
requirements:
|
109
|
+
- - "~>"
|
110
|
+
- !ruby/object:Gem::Version
|
111
|
+
version: '3'
|
112
|
+
description: Bump.sh CLI to interact with the API
|
113
|
+
email:
|
114
|
+
- mehdi@lahmam.com
|
115
|
+
- sebastien@bump.sh
|
116
|
+
executables:
|
117
|
+
- bump
|
118
|
+
extensions: []
|
119
|
+
extra_rdoc_files: []
|
120
|
+
files:
|
121
|
+
- ".circleci/config.yml"
|
122
|
+
- ".gitignore"
|
123
|
+
- ".travis.yml"
|
124
|
+
- CODE_OF_CONDUCT.md
|
125
|
+
- Gemfile
|
126
|
+
- LICENSE.txt
|
127
|
+
- README.md
|
128
|
+
- Rakefile
|
129
|
+
- bin/console
|
130
|
+
- bin/setup
|
131
|
+
- bump-cli.gemspec
|
132
|
+
- exe/bump
|
133
|
+
- lib/bump/cli.rb
|
134
|
+
- lib/bump/cli/commands/base.rb
|
135
|
+
- lib/bump/cli/commands/deploy.rb
|
136
|
+
- lib/bump/cli/commands/preview.rb
|
137
|
+
- lib/bump/cli/commands/validate.rb
|
138
|
+
- lib/bump/cli/version.rb
|
139
|
+
homepage: https://bump.sh
|
140
|
+
licenses:
|
141
|
+
- MIT
|
142
|
+
metadata:
|
143
|
+
allowed_push_host: https://rubygems.org
|
144
|
+
source_code_uri: https://github.com/bump-sh/bump-cli
|
145
|
+
post_install_message:
|
146
|
+
rdoc_options: []
|
147
|
+
require_paths:
|
148
|
+
- lib
|
149
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
150
|
+
requirements:
|
151
|
+
- - ">="
|
152
|
+
- !ruby/object:Gem::Version
|
153
|
+
version: '0'
|
154
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
155
|
+
requirements:
|
156
|
+
- - ">="
|
157
|
+
- !ruby/object:Gem::Version
|
158
|
+
version: '0'
|
159
|
+
requirements: []
|
160
|
+
rubyforge_project:
|
161
|
+
rubygems_version: 2.7.4
|
162
|
+
signing_key:
|
163
|
+
specification_version: 4
|
164
|
+
summary: Bump.sh CLI
|
165
|
+
test_files: []
|