zcr-zen 0.1.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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 71dcd3e44f94d0889be3d560e678e405e0ec7a2367f0d51cb3008150f4b14bc8
4
+ data.tar.gz: b6d9e75f1753a0ea6bf0d1d52b80cda78228bf3aa18726194a941cebab6816ba
5
+ SHA512:
6
+ metadata.gz: aa62448df71815779f8263879a097602eb5c9266ab4acee99461414de37289316a7951ff5431877bbf49adc581c7c535c0eb71eb5cb62b49e2bf8959b7bdd6ab
7
+ data.tar.gz: bda9bd858fe468051ac392a4d3d0782549242771f6aae00c576139e8ec31a5534aefa3f57dd138b92c9b80d08883742e8ca2832218eb424d18b63b7b8949d2be
data/.rubocop.yml ADDED
@@ -0,0 +1,8 @@
1
+ AllCops:
2
+ TargetRubyVersion: 3.0
3
+
4
+ Style/StringLiterals:
5
+ EnforcedStyle: double_quotes
6
+
7
+ Style/StringLiteralsInInterpolation:
8
+ EnforcedStyle: double_quotes
data/CHANGELOG.md ADDED
@@ -0,0 +1,5 @@
1
+ ## [Unreleased]
2
+
3
+ ## [0.1.0] - 2024-10-05
4
+
5
+ - Initial release
data/README.md ADDED
@@ -0,0 +1,7 @@
1
+ # Zen
2
+
3
+ Configure any gem with a single command in your Rails app.
4
+
5
+ Visit [Zero Config Rails - Generators](https://generators.zeroconfigrails.com/) for the full list of supported gems and configurations.
6
+
7
+ With ♥️ from [Zero Config Rails](https://zeroconfigrails.com/)
data/Rakefile ADDED
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "bundler/gem_tasks"
4
+ require "minitest/test_task"
5
+
6
+ Minitest::TestTask.create
7
+
8
+ require "rubocop/rake_task"
9
+
10
+ RuboCop::RakeTask.new
11
+
12
+ task default: %i[test rubocop]
data/exe/zen ADDED
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require_relative "../lib/zcr/zen/cli"
4
+
5
+ Zcr::Zen::CLI.start(ARGV)
@@ -0,0 +1,22 @@
1
+ require "thor"
2
+ require "boring_generators/cli"
3
+
4
+ require_relative "./version"
5
+
6
+ module Zcr
7
+ module Zen
8
+ class CLI < Thor
9
+ map %w[-v --version] => "version"
10
+
11
+ desc "configure gem", "Configure the gem inside your project"
12
+ def add(generator, *options)
13
+ BoringGenerators::CLI.new.generate("boring:#{generator}", options)
14
+ end
15
+
16
+ desc "version", "Display gem version", hide: true
17
+ def version
18
+ say "#{VERSION} #{RUBY_DESCRIPTION}"
19
+ end
20
+ end
21
+ end
22
+ end
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Zcr
4
+ module Zen
5
+ VERSION = "0.1.0"
6
+ end
7
+ end
data/lib/zcr/zen.rb ADDED
@@ -0,0 +1,10 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "zen/version"
4
+
5
+ module Zcr
6
+ module Zen
7
+ class Error < StandardError; end
8
+ # Your code goes here...
9
+ end
10
+ end
data/sig/zcr/zen.rbs ADDED
@@ -0,0 +1,6 @@
1
+ module Zcr
2
+ module Zen
3
+ VERSION: String
4
+ # See the writing guide of rbs: https://github.com/ruby/rbs#guides
5
+ end
6
+ end
metadata ADDED
@@ -0,0 +1,87 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: zcr-zen
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Prabin Poudel
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2024-10-05 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: boring_generators
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 0.14.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.14.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: 1.3.0
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: 1.3.0
41
+ description: With Zen you can configure any gem from the supported list in a single
42
+ command. Wrapper for Boring Generators with the support for interactive UI and branding
43
+ of Zero Config Rails
44
+ email:
45
+ - probnpoudel@gmail.com
46
+ executables:
47
+ - zen
48
+ extensions: []
49
+ extra_rdoc_files: []
50
+ files:
51
+ - ".rubocop.yml"
52
+ - CHANGELOG.md
53
+ - README.md
54
+ - Rakefile
55
+ - exe/zen
56
+ - lib/zcr/zen.rb
57
+ - lib/zcr/zen/cli.rb
58
+ - lib/zcr/zen/version.rb
59
+ - sig/zcr/zen.rbs
60
+ homepage: https://generators.zeroconfigrails.com
61
+ licenses:
62
+ -
63
+ metadata:
64
+ homepage_uri: https://generators.zeroconfigrails.com
65
+ source_code_uri: https://github.com/Zero-Config-Rails/zen-generators
66
+ changelog_uri: https://github.com/Zero-Config-Rails/zen-generators/blob/main/CHANGELOG.md
67
+ bug_tracker_uri: https://github.com/Zero-Config-Rails/zen-generators/issues
68
+ post_install_message:
69
+ rdoc_options: []
70
+ require_paths:
71
+ - lib
72
+ required_ruby_version: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - ">="
75
+ - !ruby/object:Gem::Version
76
+ version: 3.0.0
77
+ required_rubygems_version: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - ">="
80
+ - !ruby/object:Gem::Version
81
+ version: '0'
82
+ requirements: []
83
+ rubygems_version: 3.5.20
84
+ signing_key:
85
+ specification_version: 4
86
+ summary: Configure any gem in a single command
87
+ test_files: []