rbcli 0.3.2 → 0.3.3
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 +4 -4
- data/CHANGELOG.md +12 -0
- data/Gemfile.lock +19 -5
- data/docs/404.html +9 -9
- data/docs/advanced/automatic_updates/index.html +30 -30
- data/docs/advanced/command_types/index.html +78 -78
- data/docs/advanced/distributed_state_locking/index.html +30 -30
- data/docs/advanced/hooks/index.html +42 -42
- data/docs/advanced/index.html +27 -27
- data/docs/advanced/index.xml +12 -50
- data/docs/advanced/interactive_commands/index.html +35 -35
- data/docs/advanced/logging/index.html +36 -36
- data/docs/advanced/remote_execution/index.html +51 -51
- data/docs/advanced/state_storage/index.html +34 -34
- data/docs/advanced/user_config_files/index.html +30 -30
- data/docs/categories/index.html +27 -27
- data/docs/categories/index.xml +3 -2
- data/docs/development/changelog/index.html +91 -60
- data/docs/development/code_of_conduct/index.html +27 -27
- data/docs/development/contributing/index.html +40 -40
- data/docs/development/index.html +27 -27
- data/docs/development/index.xml +6 -16
- data/docs/development/license/index.html +26 -26
- data/docs/index.html +26 -26
- data/docs/index.json +15 -15
- data/docs/index.xml +20 -90
- data/docs/quick_reference/index.html +54 -54
- data/docs/quick_reference/index.xml +3 -2
- data/docs/sitemap.xml +0 -1
- data/docs/tags/index.html +27 -27
- data/docs/tags/index.xml +3 -2
- data/docs/tutorial/10-getting_started/index.html +33 -33
- data/docs/tutorial/20-project_layout/index.html +55 -55
- data/docs/tutorial/30-your_first_command/index.html +90 -90
- data/docs/tutorial/40-options_parameters_and_arguments/index.html +167 -167
- data/docs/tutorial/50-publishing/index.html +30 -30
- data/docs/tutorial/index.html +27 -27
- data/docs/tutorial/index.xml +8 -28
- data/docs/whoami/index.html +28 -28
- data/docs/whoami/index.xml +3 -2
- data/docs-src/.hugo_build.lock +0 -0
- data/docs-src/content/development/changelog.md +20 -0
- data/docs-src/makesite.sh +4 -4
- data/lib/rbcli/engine/command.rb +1 -1
- data/lib/rbcli/engine/parser.rb +9 -7
- data/lib/rbcli/util/optimist.rb +1063 -0
- data/lib/rbcli/version.rb +1 -1
- data/lib/rbcli-tool/util.rb +1 -1
- data/rbcli.gemspec +7 -3
- data/skeletons/micro/executable +6 -1
- data/skeletons/mini/executable +6 -1
- data/skeletons/project/untitled.gemspec +4 -4
- metadata +9 -8
- data/lib/rbcli/util/trollop.rb +0 -1050
data/lib/rbcli/version.rb
CHANGED
data/lib/rbcli-tool/util.rb
CHANGED
data/rbcli.gemspec
CHANGED
@@ -61,9 +61,13 @@ Gem::Specification.new do |spec|
|
|
61
61
|
spec.add_dependency 'aws-sdk-dynamodb', '~> 1'
|
62
62
|
spec.add_dependency 'macaddr', '~> 1'
|
63
63
|
spec.add_dependency 'rufus-scheduler', '~> 3'
|
64
|
-
spec.add_dependency 'octokit', '~> 7'
|
65
|
-
spec.add_dependency 'mdless', '~> 1'
|
64
|
+
spec.add_dependency 'octokit', RUBY_VERSION >= '3.3.0' ? '~> 8' : '~> 7'
|
65
|
+
spec.add_dependency 'mdless', RUBY_VERSION >= '3.3.0' ? '~> 2' : '~> 1'
|
66
66
|
spec.add_dependency 'net-ssh', '~> 7'
|
67
67
|
spec.add_dependency 'net-scp', '~> 4'
|
68
|
-
#
|
68
|
+
#TODO: Pull in the Optimist gem once the required PR's have been merged:
|
69
|
+
# https://github.com/ManageIQ/optimist/pull/145
|
70
|
+
# https://github.com/ManageIQ/optimist/pull/146
|
71
|
+
# https://github.com/ManageIQ/optimist/pull/147
|
72
|
+
# spec.add_dependency 'optimist', '???'
|
69
73
|
end
|
data/skeletons/micro/executable
CHANGED
@@ -7,7 +7,12 @@
|
|
7
7
|
## It's job is to load and execute the application.
|
8
8
|
#########################################################
|
9
9
|
|
10
|
-
require
|
10
|
+
require 'bundler/inline'
|
11
|
+
gemfile do
|
12
|
+
source 'https://rubygems.org'
|
13
|
+
ruby ">= <%= RUBY_VERSION %>"
|
14
|
+
gem 'rbcli', '>= <%= @vars[:rbcli_version] %>', require: true
|
15
|
+
end
|
11
16
|
|
12
17
|
#########################
|
13
18
|
## Configuration Block ##
|
data/skeletons/mini/executable
CHANGED
@@ -7,7 +7,12 @@
|
|
7
7
|
## It's job is to load and execute the application.
|
8
8
|
#########################################################
|
9
9
|
|
10
|
-
require
|
10
|
+
require 'bundler/inline'
|
11
|
+
gemfile do
|
12
|
+
source 'https://rubygems.org'
|
13
|
+
ruby ">= <%= RUBY_VERSION %>"
|
14
|
+
gem 'rbcli', '>= <%= @vars[:rbcli_version] %>', require: true
|
15
|
+
end
|
11
16
|
|
12
17
|
#########################
|
13
18
|
## Configuration Block ##
|
@@ -13,7 +13,7 @@ Gem::Specification.new do |spec|
|
|
13
13
|
spec.homepage = "TODO: Put your gem's website or public repo URL here."
|
14
14
|
spec.license = 'None'
|
15
15
|
|
16
|
-
spec.required_ruby_version =
|
16
|
+
spec.required_ruby_version = ">= <%= RUBY_VERSION %>"
|
17
17
|
|
18
18
|
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
|
19
19
|
# to allow pushing to a single host or delete this section to allow pushing to any host.
|
@@ -32,9 +32,9 @@ Gem::Specification.new do |spec|
|
|
32
32
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
33
33
|
spec.require_paths = ['application', 'config', 'default_user_configs', 'hooks', 'lib']
|
34
34
|
|
35
|
-
spec.add_development_dependency 'bundler', '~> 2
|
36
|
-
spec.add_development_dependency 'rake', '~> 13
|
37
|
-
spec.add_development_dependency 'rspec', '~> 3
|
35
|
+
spec.add_development_dependency 'bundler', '~> 2'
|
36
|
+
spec.add_development_dependency 'rake', '~> 13'
|
37
|
+
spec.add_development_dependency 'rspec', '~> 3'
|
38
38
|
|
39
39
|
spec.add_dependency 'rbcli', '>= <%= @vars[:rbcli_version] %>'
|
40
40
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rbcli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Khoury
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-04-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -114,28 +114,28 @@ dependencies:
|
|
114
114
|
requirements:
|
115
115
|
- - "~>"
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version: '
|
117
|
+
version: '8'
|
118
118
|
type: :runtime
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
122
|
- - "~>"
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version: '
|
124
|
+
version: '8'
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: mdless
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
129
|
- - "~>"
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version: '
|
131
|
+
version: '2'
|
132
132
|
type: :runtime
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
136
|
- - "~>"
|
137
137
|
- !ruby/object:Gem::Version
|
138
|
-
version: '
|
138
|
+
version: '2'
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
140
|
name: net-ssh
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
@@ -185,6 +185,7 @@ files:
|
|
185
185
|
- Rakefile
|
186
186
|
- bin/console
|
187
187
|
- bin/setup
|
188
|
+
- docs-src/.hugo_build.lock
|
188
189
|
- docs-src/archetypes/default.md
|
189
190
|
- docs-src/config.toml
|
190
191
|
- docs-src/content/_index.md
|
@@ -596,8 +597,8 @@ files:
|
|
596
597
|
- lib/rbcli/util/deprecation_warning.rb
|
597
598
|
- lib/rbcli/util/hash_deep_symbolize.rb
|
598
599
|
- lib/rbcli/util/msg.rb
|
600
|
+
- lib/rbcli/util/optimist.rb
|
599
601
|
- lib/rbcli/util/string_colorize.rb
|
600
|
-
- lib/rbcli/util/trollop.rb
|
601
602
|
- lib/rbcli/version.rb
|
602
603
|
- rbcli.gemspec
|
603
604
|
- skeletons/micro/executable
|
@@ -649,7 +650,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
649
650
|
- !ruby/object:Gem::Version
|
650
651
|
version: '0'
|
651
652
|
requirements: []
|
652
|
-
rubygems_version: 3.
|
653
|
+
rubygems_version: 3.5.3
|
653
654
|
signing_key:
|
654
655
|
specification_version: 4
|
655
656
|
summary: A CLI Application/Tooling Framework for Ruby
|