claiss 1.0.3 → 1.0.4

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.

Potentially problematic release.


This version of claiss might be problematic. Click here for more details.

Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/claiss.rb +60 -60
  3. metadata +4 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 111930915061d881a017a8f3d0865d606717c5b5f198a37204324dcf35ad2ad6
4
- data.tar.gz: bfa45b41895c4de0be9e4d71d73e9181b41d50699696b5562387979a2c76163b
3
+ metadata.gz: a1aeba7f21350d881633d4d21d29cb4f85a4bba95ca0fb4f98530e8ac720681d
4
+ data.tar.gz: 03dedc88fbc506e11c9b6f68e2eb6ea425b953113251bb2bde9d7b935c6d17fb
5
5
  SHA512:
6
- metadata.gz: e7fd6115f2b46b9dd6d77386cf40c78ca364ca23bcbb8e2fde184572a8e2be0753c26069e76462025a23ad04fec8ae6e08380aeb360cf37e4d147af3d3f9d916
7
- data.tar.gz: '0088d2492a54bd95ab8c9b23d81def46d28b947d0993a79759d4150d013280890ff44680d01266bc29c015c8628a78505b77f0e0f04d9d90bced279aff15cbcf'
6
+ metadata.gz: 1d37082c93df94fe71ee8d55f773435212a6fbe235e31e389833fc82be22fce5f5212511d4a620a0aa117ae843d5d8865e29a20f885bbc7c07eb6e0db59692ab
7
+ data.tar.gz: aa6d5d393da6782cca6126f0db9acca7d3f0634b9fcb79da33cf692deed277e2526fecbfafd43f73d04dc6b6d35067fde6bd9a07487658e26ba53c9e4ac47c71
data/lib/claiss.rb CHANGED
@@ -73,81 +73,81 @@ module Claiss
73
73
  end
74
74
  end
75
75
 
76
- class Echo < Dry::CLI::Command
77
- desc "Print input"
76
+ # class Echo < Dry::CLI::Command
77
+ # desc "Print input"
78
78
 
79
- argument :input, desc: "Input to print"
79
+ # argument :input, desc: "Input to print"
80
80
 
81
- example [
82
- " # Prints 'wuh?'",
83
- "hello, folks # Prints 'hello, folks'"
84
- ]
81
+ # example [
82
+ # " # Prints 'wuh?'",
83
+ # "hello, folks # Prints 'hello, folks'"
84
+ # ]
85
85
 
86
- def call(input: nil, **)
87
- if input.nil?
88
- puts "wuh?"
89
- else
90
- puts input
91
- end
92
- end
93
- end
86
+ # def call(input: nil, **)
87
+ # if input.nil?
88
+ # puts "wuh?"
89
+ # else
90
+ # puts input
91
+ # end
92
+ # end
93
+ # end
94
94
 
95
- class Start < Dry::CLI::Command
96
- desc "Start Foo machinery"
95
+ # class Start < Dry::CLI::Command
96
+ # desc "Start Foo machinery"
97
97
 
98
- argument :root, required: true, desc: "Root directory"
98
+ # argument :root, required: true, desc: "Root directory"
99
99
 
100
- example [
101
- "path/to/root # Start Foo at root directory"
102
- ]
100
+ # example [
101
+ # "path/to/root # Start Foo at root directory"
102
+ # ]
103
103
 
104
- def call(root:, **)
105
- puts "started - root: #{root}"
106
- end
107
- end
104
+ # def call(root:, **)
105
+ # puts "started - root: #{root}"
106
+ # end
107
+ # end
108
108
 
109
- class Stop < Dry::CLI::Command
110
- desc "Stop Foo machinery"
109
+ # class Stop < Dry::CLI::Command
110
+ # desc "Stop Foo machinery"
111
111
 
112
- option :graceful, type: :boolean, default: true, desc: "Graceful stop"
112
+ # option :graceful, type: :boolean, default: true, desc: "Graceful stop"
113
113
 
114
- def call(**options)
115
- puts "stopped - graceful: #{options.fetch(:graceful)}"
116
- end
117
- end
114
+ # def call(**options)
115
+ # puts "stopped - graceful: #{options.fetch(:graceful)}"
116
+ # end
117
+ # end
118
118
 
119
- class Exec < Dry::CLI::Command
120
- desc "Execute a task"
119
+ # class Exec < Dry::CLI::Command
120
+ # desc "Execute a task"
121
121
 
122
- argument :task, type: :string, required: true, desc: "Task to be executed"
123
- argument :dirs, type: :array, required: false, desc: "Optional directories"
122
+ # argument :task, type: :string, required: true, desc: "Task to be executed"
123
+ # argument :dirs, type: :array, required: false, desc: "Optional directories"
124
124
 
125
- def call(task:, dirs: [], **)
126
- puts "exec - task: #{task}, dirs: #{dirs.inspect}"
127
- end
128
- end
125
+ # def call(task:, dirs: [], **)
126
+ # puts "exec - task: #{task}, dirs: #{dirs.inspect}"
127
+ # end
128
+ # end
129
129
 
130
- module Generate
131
- class Configuration < Dry::CLI::Command
132
- desc "Generate configuration"
130
+ # module Generate
131
+ # class Configuration < Dry::CLI::Command
132
+ # desc "Generate configuration"
133
133
 
134
- option :apps, type: :array, default: [], desc: "Generate configuration for specific apps"
134
+ # option :apps, type: :array, default: [], desc: "Generate configuration for specific apps"
135
135
 
136
- def call(apps:, **)
137
- puts "generated configuration for apps: #{apps.inspect}"
138
- end
139
- end
136
+ # def call(apps:, **)
137
+ # puts "generated configuration for apps: #{apps.inspect}"
138
+ # end
139
+ # end
140
140
 
141
- class Test < Dry::CLI::Command
142
- desc "Generate tests"
141
+ # class Test < Dry::CLI::Command
142
+ # desc "Generate tests"
143
143
 
144
- option :framework, default: "minitest", values: %w[minitest rspec]
144
+ # option :framework, default: "minitest", values: %w[minitest rspec]
145
145
 
146
- def call(framework:, **)
147
- puts "generated tests - framework: #{framework}"
148
- end
149
- end
150
- end
146
+ # def call(framework:, **)
147
+ # puts "generated tests - framework: #{framework}"
148
+ # end
149
+ # end
150
+ # end
151
151
 
152
152
  register "version", Version, aliases: ["v", "-v", "--version"]
153
153
  #register "echo", Echo
@@ -156,8 +156,8 @@ module Claiss
156
156
  #register "exec", Exec
157
157
  register "refactor",Refactor
158
158
 
159
- register "generate", aliases: ["g"] do |prefix|
160
- prefix.register "config", Generate::Configuration
161
- prefix.register "test", Generate::Test
162
- end
159
+ # register "generate", aliases: ["g"] do |prefix|
160
+ # prefix.register "config", Generate::Configuration
161
+ # prefix.register "test", Generate::Test
162
+ # end
163
163
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: claiss
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Júlio Papel
@@ -81,7 +81,8 @@ files:
81
81
  homepage: http://rubygems.org/gems/claiss
82
82
  licenses:
83
83
  - MIT
84
- metadata: {}
84
+ metadata:
85
+ documentation_uri: https://github.com/JulioPapel/claiss/blob/main/readme.md
85
86
  post_install_message:
86
87
  rdoc_options: []
87
88
  require_paths:
@@ -90,7 +91,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
90
91
  requirements:
91
92
  - - ">="
92
93
  - !ruby/object:Gem::Version
93
- version: '0'
94
+ version: 2.7.0
94
95
  required_rubygems_version: !ruby/object:Gem::Requirement
95
96
  requirements:
96
97
  - - ">="