hooligan-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/.gitignore +14 -0
- data/.rspec +2 -0
- data/.ruby-gemset +1 -0
- data/.ruby-version +1 -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 +22 -0
- data/Rakefile +6 -0
- data/bin/console +14 -0
- data/bin/e2e +45 -0
- data/bin/setup +8 -0
- data/exe/hooligan +12 -0
- data/hooligan-cli.gemspec +31 -0
- data/lib/hooligan/cli.rb +20 -0
- data/lib/hooligan/cli/base_command.rb +8 -0
- data/lib/hooligan/cli/dev_command.rb +27 -0
- data/lib/hooligan/cli/init_command.rb +68 -0
- data/lib/hooligan/cli/project.rb +27 -0
- data/lib/hooligan/cli/root_command.rb +25 -0
- data/lib/hooligan/cli/version.rb +7 -0
- data/lib/hooligan/cli/version_command.rb +11 -0
- metadata +159 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: afd1d3eb9f7a5c92260052d27004d74a16b6ec6dc5ab6a685bb9da6323fdde36
|
4
|
+
data.tar.gz: 89f1f025178a4fa2b56018b56303abf36d336add37779cc7b4eb65612667f2fe
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: fae3725d07cd3e9b38fa6094556e34ea09be4673969fcd29b9534d81a21e72fe74750b2826f9dea468a7b488e4e585b2aa262a42cada9c7f92dc57b8ad8a0a73
|
7
|
+
data.tar.gz: 1fcc002f5af1d552c7d57f60ba96f10591440dd0056ca9bd96c373748ee48285c6ad6e65d21cea8e71a8e3dc10745a7222bc6851a53f295b6afd736d31a15944
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/.ruby-gemset
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
hooligan-cli
|
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
2.5.1
|
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 petrus.repo@iki.fi. 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) 2018 Petrus Repo
|
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,22 @@
|
|
1
|
+
# Hooligan::Cli
|
2
|
+
|
3
|
+
Enable Skaffold development.
|
4
|
+
|
5
|
+
## Development usage
|
6
|
+
|
7
|
+
* clone this repository
|
8
|
+
* symlink /usr/local/bin/hooligan-dev -> cloned_repo/exe/hooligan
|
9
|
+
* This allows you to run `hooligan-dev` without having to build the gem.
|
10
|
+
|
11
|
+
## Project usage
|
12
|
+
|
13
|
+
```bash
|
14
|
+
cd application_name
|
15
|
+
|
16
|
+
# Retrieve application config from Hooligan API
|
17
|
+
hooligan-dev init
|
18
|
+
|
19
|
+
# Start skaffold dev which will serve "application_name" in
|
20
|
+
# http://application_name.localtest.me
|
21
|
+
hooligan-dev dev
|
22
|
+
```
|
data/Rakefile
ADDED
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "bundler/setup"
|
4
|
+
require "hooligan/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/e2e
ADDED
@@ -0,0 +1,45 @@
|
|
1
|
+
#!/usr/bin/env sh
|
2
|
+
set -e
|
3
|
+
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
|
4
|
+
|
5
|
+
Cleanup() {
|
6
|
+
echo "E2E cleanup: start"
|
7
|
+
set +e
|
8
|
+
kill $(jobs -p)
|
9
|
+
wait $(jobs -p)
|
10
|
+
set -e
|
11
|
+
|
12
|
+
rm -rf $DIR/../hooliganclie2e
|
13
|
+
echo "E2E cleanup: ok"
|
14
|
+
}
|
15
|
+
trap Cleanup SIGINT
|
16
|
+
|
17
|
+
|
18
|
+
WaitHTTPOK () {
|
19
|
+
while true; do
|
20
|
+
set +e
|
21
|
+
curl --fail $@
|
22
|
+
curl_exit=$?
|
23
|
+
set -e
|
24
|
+
|
25
|
+
[ "$curl_exit" = "0" ] && break
|
26
|
+
sleep 0.5
|
27
|
+
done
|
28
|
+
}
|
29
|
+
rm -rf hooliganclie2e
|
30
|
+
mkdir hooliganclie2e
|
31
|
+
cd hooliganclie2e
|
32
|
+
|
33
|
+
$DIR/../exe/hooligan init
|
34
|
+
|
35
|
+
echo "initial_file OK" > initial_file.html
|
36
|
+
|
37
|
+
$DIR/../exe/hooligan dev &
|
38
|
+
|
39
|
+
WaitHTTPOK http://hooliganclie2e.localtest.me/initial_file.html
|
40
|
+
|
41
|
+
echo "added_file OK" > added_file.html
|
42
|
+
WaitHTTPOK http://hooliganclie2e.localtest.me/added_file.html
|
43
|
+
|
44
|
+
Cleanup
|
45
|
+
echo "OK"
|
data/bin/setup
ADDED
data/exe/hooligan
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
# add lib to libpath (only needed when running from the sources)
|
5
|
+
require 'pathname'
|
6
|
+
lib_path = File.expand_path('../../lib', Pathname.new(__FILE__).realpath)
|
7
|
+
$LOAD_PATH.unshift lib_path unless $LOAD_PATH.include?(lib_path)
|
8
|
+
|
9
|
+
STDOUT.sync = true
|
10
|
+
|
11
|
+
require 'hooligan/cli'
|
12
|
+
Hooligan::Cli::RootCommand.run
|
@@ -0,0 +1,31 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path("../lib", __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require "hooligan/cli/version"
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "hooligan-cli"
|
8
|
+
spec.version = Hooligan::Cli::VERSION
|
9
|
+
spec.authors = ["Petrus Repo", "Matti Paksula"]
|
10
|
+
spec.email = ["petrus.repo@iki.fi"]
|
11
|
+
|
12
|
+
spec.summary = %q{Write a short summary, because Rubygems requires one.}
|
13
|
+
spec.description = %q{Write a longer description or delete this line.}
|
14
|
+
spec.homepage = "https://example.com"
|
15
|
+
spec.license = "MIT"
|
16
|
+
|
17
|
+
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
18
|
+
f.match(%r{^(test|spec|features)/})
|
19
|
+
end
|
20
|
+
spec.bindir = "exe"
|
21
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
22
|
+
spec.require_paths = ["lib"]
|
23
|
+
|
24
|
+
spec.add_dependency "clamp"
|
25
|
+
spec.add_dependency 'colorize', '~> 0.8', '>= 0.8.1'
|
26
|
+
|
27
|
+
spec.add_development_dependency "bundler", "~> 1.15"
|
28
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
29
|
+
spec.add_development_dependency "rspec", "~> 3.0"
|
30
|
+
spec.add_development_dependency "kommando"
|
31
|
+
end
|
data/lib/hooligan/cli.rb
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'clamp'
|
4
|
+
Clamp.allow_options_after_parameters = true
|
5
|
+
|
6
|
+
module Hooligan
|
7
|
+
module Cli
|
8
|
+
end
|
9
|
+
end
|
10
|
+
|
11
|
+
require 'fileutils'
|
12
|
+
|
13
|
+
require_relative 'cli/version'
|
14
|
+
require_relative 'cli/project'
|
15
|
+
|
16
|
+
require_relative 'cli/base_command'
|
17
|
+
require_relative 'cli/version_command'
|
18
|
+
require_relative 'cli/init_command'
|
19
|
+
require_relative 'cli/dev_command'
|
20
|
+
require_relative 'cli/root_command'
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Hooligan
|
4
|
+
module Cli
|
5
|
+
class DevCommand < BaseCommand
|
6
|
+
option ['-p', '--profile'], 'profile', 'Run Skaffold with given profile', default: 'local'
|
7
|
+
|
8
|
+
def execute
|
9
|
+
Dir.chdir Project.hooligan_dir
|
10
|
+
|
11
|
+
puts 'WARNING: You need to change the kubernetes context manually first!'
|
12
|
+
puts 'Press ^C unless you are in correct Kubernetes context, sleeping 3 seconds'
|
13
|
+
sleep 3
|
14
|
+
|
15
|
+
case profile when 'exo'
|
16
|
+
puts "Serving at http://#{Project.project_name}.qa-aws-eu-central-1-1.exo.planeetta.net"
|
17
|
+
exec 'skaffold dev -p exo'
|
18
|
+
when 'local'
|
19
|
+
puts "Serving at http://#{Project.project_name}.localtest.me"
|
20
|
+
exec 'skaffold dev'
|
21
|
+
else
|
22
|
+
raise "Unknown profile: #{profile}"
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
@@ -0,0 +1,68 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'erb'
|
4
|
+
|
5
|
+
module Hooligan
|
6
|
+
module Cli
|
7
|
+
class InitCommand < BaseCommand
|
8
|
+
def execute
|
9
|
+
puts "Project: #{Project.project_name}"
|
10
|
+
puts "- Source dir: #{Project.project_dir}"
|
11
|
+
puts "- Settings dir: #{Project.hooligan_dir}"
|
12
|
+
|
13
|
+
create_hooligan_dir
|
14
|
+
create_skaffold_dirs
|
15
|
+
import_from_gist
|
16
|
+
end
|
17
|
+
|
18
|
+
private
|
19
|
+
|
20
|
+
def import_from_gist
|
21
|
+
import 'skaffold.yaml', 'https://gist.githubusercontent.com/pre/5ff4cdf75ac8371352e04cdfc4e7b856/raw/1ebdb0f86ed7a747229e6582d52693945a4758fd/skaffold.yaml'
|
22
|
+
import '/k8s/local/ingress.yaml', 'https://gist.githubusercontent.com/pre/5ff4cdf75ac8371352e04cdfc4e7b856/raw/b2613f580d5aecf11e1d5bfd4a68683208ff4b96/local_ingress.yaml'
|
23
|
+
import '/k8s/local/deployment.yaml', 'https://gist.githubusercontent.com/pre/5ff4cdf75ac8371352e04cdfc4e7b856/raw/b2613f580d5aecf11e1d5bfd4a68683208ff4b96/local_deployment.yaml'
|
24
|
+
import '/k8s/base/configmap.yaml', 'https://gist.githubusercontent.com/pre/5ff4cdf75ac8371352e04cdfc4e7b856/raw/3d29ffcd282d2cab4d70812cc3726b063a161c2a/base_configmap.yaml'
|
25
|
+
import '/k8s/base-remote/100-deployment.yaml', 'https://gist.githubusercontent.com/pre/5ff4cdf75ac8371352e04cdfc4e7b856/raw/e89ab5273d1070ade300537bcd92225969e843f0/base-remote_deployment.yaml'
|
26
|
+
|
27
|
+
# TODO: App name is hard coded as "php-apache" in Exo
|
28
|
+
import '/k8s/exo/150-cert.yaml', 'https://gist.githubusercontent.com/pre/5ff4cdf75ac8371352e04cdfc4e7b856/raw/3e23be8a2051ac66e06385802d4ed6b7a3c5528f/exo_cert.yaml'
|
29
|
+
import '/k8s/exo/200-ingress.yaml', 'https://gist.githubusercontent.com/pre/5ff4cdf75ac8371352e04cdfc4e7b856/raw/81861a158fe77e7e3954a51ba5248962291379f2/exo_ingress.yaml'
|
30
|
+
end
|
31
|
+
|
32
|
+
def import(filepath, url)
|
33
|
+
content = `curl #{url}`
|
34
|
+
|
35
|
+
result = ERB.new(content).result_with_hash(
|
36
|
+
application_name: Project.project_name,
|
37
|
+
application_hostname: "#{Project.project_name}.localtest.me",
|
38
|
+
settings_path: Project.hooligan_dir,
|
39
|
+
application_path: Project.project_dir,
|
40
|
+
# TODO: fix temporary secret
|
41
|
+
# It's ok for this deploy token to be public for now.
|
42
|
+
application_git_url: 'https://gitlab+deploy-token-31258:6bYd6x8F7KQhsSgUBBdX@gitlab.com/rdxnet/php-customer-app'
|
43
|
+
)
|
44
|
+
|
45
|
+
full_path = File.join(Project.hooligan_dir, filepath)
|
46
|
+
File.write full_path, result
|
47
|
+
end
|
48
|
+
|
49
|
+
def create_skaffold_dirs
|
50
|
+
skaffold_dirs.each do |dir|
|
51
|
+
FileUtils.mkdir_p File.join(Project.hooligan_dir, 'k8s', dir)
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
55
|
+
def create_hooligan_dir
|
56
|
+
if Dir.exist? Project.hooligan_dir
|
57
|
+
# raise ArgumentError, "Project already initialised in #{hooligan_dir}"
|
58
|
+
end
|
59
|
+
|
60
|
+
FileUtils.mkdir_p Project.hooligan_dir
|
61
|
+
end
|
62
|
+
|
63
|
+
def skaffold_dirs
|
64
|
+
%w[base base-remote local exo gke]
|
65
|
+
end
|
66
|
+
end
|
67
|
+
end
|
68
|
+
end
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Hooligan
|
4
|
+
module Cli
|
5
|
+
class Project
|
6
|
+
def self.project_name
|
7
|
+
File.basename project_dir
|
8
|
+
end
|
9
|
+
|
10
|
+
def self.project_dir
|
11
|
+
@project_dir ||= Dir.getwd
|
12
|
+
end
|
13
|
+
|
14
|
+
def self.home_dir
|
15
|
+
File.expand_path('~')
|
16
|
+
end
|
17
|
+
|
18
|
+
def self.base_hooligan_dir
|
19
|
+
File.join home_dir, '.hooligan-cli'
|
20
|
+
end
|
21
|
+
|
22
|
+
def self.hooligan_dir
|
23
|
+
File.join base_hooligan_dir, project_name
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Hooligan
|
4
|
+
module Cli
|
5
|
+
class RootCommand < BaseCommand
|
6
|
+
banner "⨰ hooligan ⨰"
|
7
|
+
|
8
|
+
option ['-v', '--version'], :flag, "Show version information" do
|
9
|
+
puts Hooligan::Cli::VERSION
|
10
|
+
exit(0)
|
11
|
+
end
|
12
|
+
|
13
|
+
subcommand ["version"], "Show version information", VersionCommand
|
14
|
+
subcommand ["init"], "Initialise a project", InitCommand
|
15
|
+
subcommand ["dev"], "Serve project in development mode", DevCommand
|
16
|
+
|
17
|
+
def self.run
|
18
|
+
super
|
19
|
+
rescue StandardError => exc
|
20
|
+
warn exc.message
|
21
|
+
warn exc.backtrace.join("\n")
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
metadata
ADDED
@@ -0,0 +1,159 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: hooligan-cli
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Petrus Repo
|
8
|
+
- Matti Paksula
|
9
|
+
autorequire:
|
10
|
+
bindir: exe
|
11
|
+
cert_chain: []
|
12
|
+
date: 2018-12-14 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: clamp
|
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: colorize
|
30
|
+
requirement: !ruby/object:Gem::Requirement
|
31
|
+
requirements:
|
32
|
+
- - "~>"
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: '0.8'
|
35
|
+
- - ">="
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: 0.8.1
|
38
|
+
type: :runtime
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
requirements:
|
42
|
+
- - "~>"
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
version: '0.8'
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 0.8.1
|
48
|
+
- !ruby/object:Gem::Dependency
|
49
|
+
name: bundler
|
50
|
+
requirement: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '1.15'
|
55
|
+
type: :development
|
56
|
+
prerelease: false
|
57
|
+
version_requirements: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '1.15'
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: rake
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '10.0'
|
69
|
+
type: :development
|
70
|
+
prerelease: false
|
71
|
+
version_requirements: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '10.0'
|
76
|
+
- !ruby/object:Gem::Dependency
|
77
|
+
name: rspec
|
78
|
+
requirement: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '3.0'
|
83
|
+
type: :development
|
84
|
+
prerelease: false
|
85
|
+
version_requirements: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '3.0'
|
90
|
+
- !ruby/object:Gem::Dependency
|
91
|
+
name: kommando
|
92
|
+
requirement: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
type: :development
|
98
|
+
prerelease: false
|
99
|
+
version_requirements: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
description: Write a longer description or delete this line.
|
105
|
+
email:
|
106
|
+
- petrus.repo@iki.fi
|
107
|
+
executables:
|
108
|
+
- hooligan
|
109
|
+
extensions: []
|
110
|
+
extra_rdoc_files: []
|
111
|
+
files:
|
112
|
+
- ".gitignore"
|
113
|
+
- ".rspec"
|
114
|
+
- ".ruby-gemset"
|
115
|
+
- ".ruby-version"
|
116
|
+
- ".travis.yml"
|
117
|
+
- CODE_OF_CONDUCT.md
|
118
|
+
- Gemfile
|
119
|
+
- LICENSE.txt
|
120
|
+
- README.md
|
121
|
+
- Rakefile
|
122
|
+
- bin/console
|
123
|
+
- bin/e2e
|
124
|
+
- bin/setup
|
125
|
+
- exe/hooligan
|
126
|
+
- hooligan-cli.gemspec
|
127
|
+
- lib/hooligan/cli.rb
|
128
|
+
- lib/hooligan/cli/base_command.rb
|
129
|
+
- lib/hooligan/cli/dev_command.rb
|
130
|
+
- lib/hooligan/cli/init_command.rb
|
131
|
+
- lib/hooligan/cli/project.rb
|
132
|
+
- lib/hooligan/cli/root_command.rb
|
133
|
+
- lib/hooligan/cli/version.rb
|
134
|
+
- lib/hooligan/cli/version_command.rb
|
135
|
+
homepage: https://example.com
|
136
|
+
licenses:
|
137
|
+
- MIT
|
138
|
+
metadata: {}
|
139
|
+
post_install_message:
|
140
|
+
rdoc_options: []
|
141
|
+
require_paths:
|
142
|
+
- lib
|
143
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
144
|
+
requirements:
|
145
|
+
- - ">="
|
146
|
+
- !ruby/object:Gem::Version
|
147
|
+
version: '0'
|
148
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - ">="
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0'
|
153
|
+
requirements: []
|
154
|
+
rubyforge_project:
|
155
|
+
rubygems_version: 2.7.6
|
156
|
+
signing_key:
|
157
|
+
specification_version: 4
|
158
|
+
summary: Write a short summary, because Rubygems requires one.
|
159
|
+
test_files: []
|