gunter 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 4891fce537f49b784c9e5fd5c0e995b903582c5ff9bdae67c5b290918f12d269
4
+ data.tar.gz: c684221224d129ffba7fc55dd273cef1bde94a0732d3c055e3fc69b804f8503f
5
+ SHA512:
6
+ metadata.gz: 637e1cca6376499875df0d1ad7abc88e1a5fdecb74769259f9ac8dd40028951710f14d61f467a489b8c630dedb7ce06276ae8c6705d0a6eaae65dfa01c813dd3
7
+ data.tar.gz: 7f4d219d33fb6ede7254543b80736658aed746a7a01bfd721985f03810e7027a42ecf5300d9220161f97fbfcea8e297f9b161c6c2080bd6629558baf0e2b06a9
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/CHANGELOG.md ADDED
@@ -0,0 +1,5 @@
1
+ ## [Unreleased]
2
+
3
+ ## [0.1.0] - 2024-09-23
4
+
5
+ - Initial release
@@ -0,0 +1,84 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
6
+
7
+ We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
8
+
9
+ ## Our Standards
10
+
11
+ Examples of behavior that contributes to a positive environment for our community include:
12
+
13
+ * Demonstrating empathy and kindness toward other people
14
+ * Being respectful of differing opinions, viewpoints, and experiences
15
+ * Giving and gracefully accepting constructive feedback
16
+ * Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
17
+ * Focusing on what is best not just for us as individuals, but for the overall community
18
+
19
+ Examples of unacceptable behavior include:
20
+
21
+ * The use of sexualized language or imagery, and sexual attention or
22
+ advances of any kind
23
+ * Trolling, insulting or derogatory comments, and personal or political attacks
24
+ * Public or private harassment
25
+ * Publishing others' private information, such as a physical or email
26
+ address, without their explicit permission
27
+ * Other conduct which could reasonably be considered inappropriate in a
28
+ professional setting
29
+
30
+ ## Enforcement Responsibilities
31
+
32
+ Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful.
33
+
34
+ Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate.
35
+
36
+ ## Scope
37
+
38
+ This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
39
+
40
+ ## Enforcement
41
+
42
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at daniel.vinciguerra@bivee.com.br. All complaints will be reviewed and investigated promptly and fairly.
43
+
44
+ All community leaders are obligated to respect the privacy and security of the reporter of any incident.
45
+
46
+ ## Enforcement Guidelines
47
+
48
+ Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:
49
+
50
+ ### 1. Correction
51
+
52
+ **Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.
53
+
54
+ **Consequence**: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested.
55
+
56
+ ### 2. Warning
57
+
58
+ **Community Impact**: A violation through a single incident or series of actions.
59
+
60
+ **Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.
61
+
62
+ ### 3. Temporary Ban
63
+
64
+ **Community Impact**: A serious violation of community standards, including sustained inappropriate behavior.
65
+
66
+ **Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.
67
+
68
+ ### 4. Permanent Ban
69
+
70
+ **Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
71
+
72
+ **Consequence**: A permanent ban from any sort of public interaction within the community.
73
+
74
+ ## Attribution
75
+
76
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.0,
77
+ available at https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
78
+
79
+ Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/diversity).
80
+
81
+ [homepage]: https://www.contributor-covenant.org
82
+
83
+ For answers to common questions about this code of conduct, see the FAQ at
84
+ https://www.contributor-covenant.org/faq. Translations are available at https://www.contributor-covenant.org/translations.
data/Gemfile ADDED
@@ -0,0 +1,17 @@
1
+ # frozen_string_literal: true
2
+
3
+ source 'https://rubygems.org'
4
+
5
+ # Specify your gem's dependencies in gunter.gemspec
6
+ gemspec
7
+
8
+ # development and test dependencies
9
+ group :development, :test do
10
+ gem 'rake'
11
+
12
+ gem 'rspec'
13
+ gem 'rubocop', require: false
14
+ gem 'rubocop-rspec', require: false
15
+ gem 'simplecov', require: false
16
+ gem 'solargraph', require: false
17
+ end
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2024 Daniel Vinciguerra
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,84 @@
1
+ # Gunter
2
+
3
+ Gunter is a simple gem to create project using templates inspired by degit.
4
+
5
+ ## Installation
6
+
7
+ Install gem using gem command:
8
+
9
+ ```bash
10
+ gem install gunter
11
+ ```
12
+
13
+ ## Usage
14
+
15
+ **Create a new project**
16
+
17
+ To create a new project using a template, run the following command:
18
+
19
+ ```bash
20
+ gunter init <template> <project_name>
21
+
22
+ # Example
23
+ gunter init dvinciguerra/rubygem-cli-template metagunter
24
+ ```
25
+
26
+ **List available templates**
27
+
28
+ All used templates are stored in the `~/.gunter/templates.yml` directory. To list all available templates, run the following command:
29
+
30
+ ```bash
31
+ gunter list
32
+
33
+ # or search by name
34
+ gunter search <template_name>
35
+ ```
36
+
37
+ **Show information about a template**
38
+
39
+ To show information about a template, run the following command:
40
+
41
+ ```bash
42
+ gunter show <template_name>
43
+ ```
44
+
45
+
46
+ **Add a new template**
47
+
48
+ To add a new template, run the following command:
49
+
50
+ ```bash
51
+ gunter add <template_url> <template_name>
52
+ ```
53
+
54
+ **Remove a template**
55
+
56
+ To remove a template, run the following command:
57
+
58
+ ```bash
59
+ gunter remove <template_name>
60
+ ```
61
+
62
+
63
+ ## Development
64
+
65
+ 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.
66
+
67
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
68
+
69
+ ## Contributing
70
+
71
+ Bug reports and pull requests are welcome on GitHub at https://github.com/dvinciguerra/gunter. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/dvinciguerra/gunter/blob/main/CODE_OF_CONDUCT.md).
72
+
73
+ ## License
74
+
75
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
76
+
77
+ ## Code of Conduct
78
+
79
+ Everyone interacting in the Gunter project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/dvinciguerra/gunter/blob/main/CODE_OF_CONDUCT.md).
80
+
81
+ ## Author
82
+
83
+ Daniel Vinciguerra
84
+
data/Rakefile ADDED
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "bundler/gem_tasks"
4
+ require "rspec/core/rake_task"
5
+
6
+ RSpec::Core::RakeTask.new(:spec)
7
+
8
+ task default: :spec
data/bin/gunter ADDED
@@ -0,0 +1,10 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ $LOAD_PATH.unshift File.expand_path('../lib', __dir__)
5
+
6
+ require 'gunter/cli'
7
+
8
+ Gunter::CLI.start(ARGV)
9
+
10
+ # vim: set ft=ruby
data/gunter.gemspec ADDED
@@ -0,0 +1,42 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative 'lib/gunter'
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = 'gunter'
7
+ spec.version = Gunter::VERSION
8
+ spec.authors = ['Daniel Vinciguerra']
9
+ spec.email = ['daniel.vinciguerra@bivee.com.br']
10
+
11
+ spec.summary = 'Gunter is a CLI tool to generate projects from templates.'
12
+ spec.description = spec.summary
13
+ spec.homepage = 'https://github.com/dvinciguerra/gunter'
14
+ spec.license = 'MIT'
15
+ spec.required_ruby_version = '>= 2.7.0'
16
+
17
+ spec.metadata['homepage_uri'] = spec.homepage
18
+ spec.metadata['source_code_uri'] = spec.homepage
19
+ spec.metadata['changelog_uri'] = spec.homepage
20
+
21
+ # Specify which files should be added to the gem when it is released.
22
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
23
+ spec.files = Dir.chdir(File.expand_path(__dir__)) do
24
+ `git ls-files -z`.split("\x0").reject do |f|
25
+ (f == __FILE__) || f.match(%r{\A(?:(?:test|spec|features)/|\.(?:git|travis|circleci)|appveyor)})
26
+ end
27
+ end
28
+
29
+ spec.bindir = 'bin'
30
+ spec.executables = spec.files.grep(%r{\Abin/}) { |f| File.basename(f) }
31
+ spec.require_paths = ['lib']
32
+
33
+ # Uncomment to register a new dependency of your gem
34
+ # spec.add_dependency "example-gem", "~> 1.0"
35
+
36
+ spec.add_dependency 'shellwords'
37
+ spec.add_dependency 'thor'
38
+
39
+ # For more information and examples about making a new gem, check out our
40
+ # guide at: https://bundler.io/guides/creating_gem.html
41
+ spec.metadata['rubygems_mfa_required'] = 'true'
42
+ end
data/lib/gunter/cli.rb ADDED
@@ -0,0 +1,51 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'thor'
4
+ require 'gunter'
5
+
6
+ module Gunter
7
+ # Gunter CLI using Thor
8
+ class CLI < Thor
9
+ def self.exit_on_failure?
10
+ true
11
+ end
12
+
13
+ map ['-v', '--version'] => :version
14
+
15
+ desc 'version', 'Display gunter gem version'
16
+ def version
17
+ Gunter.render(:text, :gunter_version, Gunter.version)
18
+ end
19
+
20
+ desc 'init REPO LOCATION', 'Generate a new project from a template'
21
+ def init(repo, location = nil)
22
+ Gunter.model(:project).create(repo, location)
23
+ end
24
+
25
+ desc 'list', 'List available templates'
26
+ option :json, type: :boolean
27
+ def list
28
+ templates = Gunter.model(:template).all
29
+
30
+ return Gunter.render(:json, :templates, templates) if options[:json]
31
+
32
+ Gunter.render(:text, :templates, templates)
33
+ end
34
+
35
+ desc 'search', 'Search templates by name'
36
+ option :json, type: :boolean
37
+ def search(term = '')
38
+ templates = Gunter.model(:template).filter(term)
39
+
40
+ return Gunter.render(:json, :templates, templates) if options[:json]
41
+
42
+ Gunter.render(:text, :templates, templates)
43
+ end
44
+
45
+ desc 'add NAME REPO', 'Add a new template'
46
+ def add(repo, name = nil)
47
+ template = Gunter.model(:template).add(repo, name)
48
+ Gunter.render(:text, :template_added, template)
49
+ end
50
+ end
51
+ end
@@ -0,0 +1,20 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'fileutils'
4
+ require 'shellwords'
5
+
6
+ module Gunter
7
+ module Model
8
+ class Git
9
+ class << self
10
+ def clone(repo, location = '.')
11
+ location ||= File.basename(repo, '.git')
12
+ system("git clone --depth 1 git@github.com:#{repo}.git #{Shellwords.escape(location)}")
13
+
14
+ FileUtils.rm_rf("#{location}/.git")
15
+ FileUtils.rm_rf("#{location}/.github")
16
+ end
17
+ end
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,23 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Gunter
4
+ module Model
5
+ # Gunter Project model class
6
+ module Project
7
+ class << self
8
+ # Create a new project
9
+ #
10
+ # @param repo [String] the repository name
11
+ # @param location [String] the location to clone the repository (optional)
12
+ def create(repo, location = nil, git: Gunter.model(:git), template: Gunter.model(:template))
13
+ unless repo.match?(%r{\A\w+/\w+\z})
14
+ repo_by_name = template.all.dig(repo, :repo)
15
+ repo = repo_by_name if repo_by_name
16
+ end
17
+
18
+ git.clone(repo, location)
19
+ end
20
+ end
21
+ end
22
+ end
23
+ end
@@ -0,0 +1,66 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'yaml'
4
+ require 'time'
5
+ require 'fileutils'
6
+
7
+ require 'gunter'
8
+
9
+ module Gunter
10
+ module Model
11
+ # Gunter Templates class
12
+ class Template
13
+ class << self
14
+ GUNTER_TEMPLATES = "#{Gunter.root_dir}/templates.yml"
15
+
16
+ # Get all templates
17
+ #
18
+ # @return [Hash] templates
19
+ def all
20
+ return YAML.unsafe_load(File.read(GUNTER_TEMPLATES)) if template_file?
21
+
22
+ ensure_gunter_dir!
23
+
24
+ {}
25
+ end
26
+
27
+ # Filter templates by name or repo
28
+ #
29
+ # @param [String] term
30
+ # @return [Hash] templates
31
+ def filter(term = '')
32
+ all.filter { |name, value| name.include?(term) || value[:repo].include?(term) }
33
+ end
34
+
35
+ # Add a new template
36
+ #
37
+ # @param [String] repo
38
+ # @param [String] name (optional)
39
+ # @return [Hash] template created
40
+ def add(repo, name = nil)
41
+ templates = all
42
+ name ||= File.basename(repo, '.git').split('/').last
43
+
44
+ templates[name] = { repo: repo, name: name, created_at: Time.now }
45
+ update_templates(templates)
46
+
47
+ templates[name]
48
+ end
49
+
50
+ private
51
+
52
+ def update_templates(templates)
53
+ File.write(GUNTER_TEMPLATES, templates.to_yaml)
54
+ end
55
+
56
+ def template_file?
57
+ File.exist?(GUNTER_TEMPLATES)
58
+ end
59
+
60
+ def ensure_gunter_dir!
61
+ FileUtils.mkdir_p(Gunter.root_dir) unless File.directory?(Gunter.root_dir)
62
+ end
63
+ end
64
+ end
65
+ end
66
+ end
@@ -0,0 +1,17 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'gunter/model/git'
4
+ require 'gunter/model/project'
5
+ require 'gunter/model/template'
6
+
7
+ module Gunter
8
+ module Models
9
+ class << self
10
+ # Get model class by name
11
+ # @param name [Symbol] the model name
12
+ def model(name)
13
+ Gunter::Model.const_get(name.to_s.split('_').map(&:capitalize).join)
14
+ end
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Gunter
4
+ VERSION = "0.1.0"
5
+ end
@@ -0,0 +1,15 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'json'
4
+
5
+ module Gunter
6
+ module View
7
+ module Json
8
+ class << self
9
+ def templates(values)
10
+ puts(values.to_json)
11
+ end
12
+ end
13
+ end
14
+ end
15
+ end
@@ -0,0 +1,30 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Gunter
4
+ module View
5
+ # Gunter text view template render
6
+ module Text
7
+ class << self
8
+ def gunter_version(value)
9
+ puts "gunter version: #{value}"
10
+ end
11
+
12
+ def template_added(value)
13
+ puts "Template #{value[:name]} added!"
14
+ end
15
+
16
+ def templates(values)
17
+ puts "Available templates:\n\n"
18
+ values.each do |name, template|
19
+ puts <<~OUT
20
+ #{name}
21
+ repository: #{template[:repo]}
22
+ created at: #{template[:created_at].strftime('%Y-%m-%d %H:%M:%S')}
23
+
24
+ OUT
25
+ end
26
+ end
27
+ end
28
+ end
29
+ end
30
+ end
@@ -0,0 +1,28 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'gunter/view/json'
4
+ require 'gunter/view/text'
5
+
6
+ module Gunter
7
+ # Gunter views module
8
+ module Views
9
+ class << self
10
+ # Render templates
11
+ # @example
12
+ # Gunter.render(:json, :templates, data)
13
+ #
14
+ # @param format [Symbol] the format to render
15
+ # @param template [Symbol] the template to render
16
+ # @param data [Hash] the data to render
17
+ # @return [String] the rendered template
18
+ def render(format, template, data)
19
+ case format
20
+ when :json
21
+ Gunter::View::Json.send(template, data)
22
+ else
23
+ Gunter::View::Text.send(template, data)
24
+ end
25
+ end
26
+ end
27
+ end
28
+ end
data/lib/gunter.rb ADDED
@@ -0,0 +1,52 @@
1
+ # frozen_string_literal: true
2
+
3
+ $LOAD_PATH.unshift File.expand_path(__dir__) unless $LOAD_PATH.include?(File.expand_path(__dir__))
4
+
5
+ module Gunter
6
+ GUNTER_DIR = File.expand_path('~/.gunter').freeze
7
+
8
+ # Gunter error class
9
+ class Error < StandardError; end
10
+
11
+ class << self
12
+ # Get gunter gem version
13
+ # @return [String] version
14
+ def version
15
+ VERSION
16
+ end
17
+
18
+ # Get root directory
19
+ # @return [String] root directory
20
+ def root_dir
21
+ GUNTER_DIR
22
+ end
23
+
24
+ # Get model
25
+ #
26
+ # @example
27
+ # Gunter.model(:project).create(repo, location)
28
+ #
29
+ # @param [String] name
30
+ # @return [Object] model
31
+ def model(name)
32
+ Gunter::Models.model(name)
33
+ end
34
+
35
+ # Render templates
36
+ #
37
+ # @example
38
+ # Gunter.render(:json, :templates, data)
39
+ #
40
+ # @param [Symbol] format
41
+ # @param [Symbol] template
42
+ # @param [Object] data
43
+ # @return [String] rendered template
44
+ def render(format, template, data)
45
+ Gunter::Views.render(format, template, data)
46
+ end
47
+ end
48
+ end
49
+
50
+ require 'gunter/version'
51
+ require 'gunter/views'
52
+ require 'gunter/models'
metadata ADDED
@@ -0,0 +1,95 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: gunter
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Daniel Vinciguerra
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2024-09-23 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: shellwords
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: thor
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ description: Gunter is a CLI tool to generate projects from templates.
42
+ email:
43
+ - daniel.vinciguerra@bivee.com.br
44
+ executables:
45
+ - gunter
46
+ extensions: []
47
+ extra_rdoc_files: []
48
+ files:
49
+ - ".rspec"
50
+ - CHANGELOG.md
51
+ - CODE_OF_CONDUCT.md
52
+ - Gemfile
53
+ - LICENSE.txt
54
+ - README.md
55
+ - Rakefile
56
+ - bin/gunter
57
+ - gunter.gemspec
58
+ - lib/gunter.rb
59
+ - lib/gunter/cli.rb
60
+ - lib/gunter/model/git.rb
61
+ - lib/gunter/model/project.rb
62
+ - lib/gunter/model/template.rb
63
+ - lib/gunter/models.rb
64
+ - lib/gunter/version.rb
65
+ - lib/gunter/view/json.rb
66
+ - lib/gunter/view/text.rb
67
+ - lib/gunter/views.rb
68
+ homepage: https://github.com/dvinciguerra/gunter
69
+ licenses:
70
+ - MIT
71
+ metadata:
72
+ homepage_uri: https://github.com/dvinciguerra/gunter
73
+ source_code_uri: https://github.com/dvinciguerra/gunter
74
+ changelog_uri: https://github.com/dvinciguerra/gunter
75
+ rubygems_mfa_required: 'true'
76
+ post_install_message:
77
+ rdoc_options: []
78
+ require_paths:
79
+ - lib
80
+ required_ruby_version: !ruby/object:Gem::Requirement
81
+ requirements:
82
+ - - ">="
83
+ - !ruby/object:Gem::Version
84
+ version: 2.7.0
85
+ required_rubygems_version: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ requirements: []
91
+ rubygems_version: 3.4.22
92
+ signing_key:
93
+ specification_version: 4
94
+ summary: Gunter is a CLI tool to generate projects from templates.
95
+ test_files: []