aly 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: 71774f7e94aef222b01bdb89e409725b7590da99e0303f743fe07b348e3014af
4
+ data.tar.gz: ea58043cb3c714f2c9912ad9d9ed14786b7812388e21782a23428fb99c37b6c2
5
+ SHA512:
6
+ metadata.gz: 402e144c81c7cb72d4af14c4670402db19c6ff4c95c24dcf5822227faa71437ede5d5000df2364c3691323c42f7606970e699d9eff06eb69e98b93aa14769477
7
+ data.tar.gz: ca963b6f79d0745412adea684c7424a1752b5887093fc2730c31792d4aaf032b9bc6c7eba901d5cf4a967fe4d2af62161bad92c63b11269a6c5a8a0132d9d2ac
data/.gitignore ADDED
@@ -0,0 +1,11 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+
10
+ # rspec failure tracking
11
+ .rspec_status
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
@@ -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 liuxiang@ktjr.com. 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,10 @@
1
+ # frozen_string_literal: true
2
+
3
+ source "https://rubygems.org"
4
+
5
+ # Specify your gem's dependencies in aly.gemspec
6
+ gemspec
7
+
8
+ gem "rake", "~> 13.0"
9
+
10
+ gem "rspec", "~> 3.0"
data/Gemfile.lock ADDED
@@ -0,0 +1,50 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ aly (0.1.0)
5
+ terminal-table (~> 1.8.0)
6
+ thor (~> 0.20.0)
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ byebug (10.0.2)
12
+ coderay (1.1.3)
13
+ diff-lcs (1.4.4)
14
+ method_source (1.0.0)
15
+ pry (0.14.1)
16
+ coderay (~> 1.1)
17
+ method_source (~> 1.0)
18
+ pry-byebug (3.6.0)
19
+ byebug (~> 10.0)
20
+ pry (~> 0.10)
21
+ rake (13.0.6)
22
+ rspec (3.10.0)
23
+ rspec-core (~> 3.10.0)
24
+ rspec-expectations (~> 3.10.0)
25
+ rspec-mocks (~> 3.10.0)
26
+ rspec-core (3.10.1)
27
+ rspec-support (~> 3.10.0)
28
+ rspec-expectations (3.10.1)
29
+ diff-lcs (>= 1.2.0, < 2.0)
30
+ rspec-support (~> 3.10.0)
31
+ rspec-mocks (3.10.2)
32
+ diff-lcs (>= 1.2.0, < 2.0)
33
+ rspec-support (~> 3.10.0)
34
+ rspec-support (3.10.2)
35
+ terminal-table (1.8.0)
36
+ unicode-display_width (~> 1.1, >= 1.1.1)
37
+ thor (0.20.3)
38
+ unicode-display_width (1.8.0)
39
+
40
+ PLATFORMS
41
+ x86_64-darwin-20
42
+
43
+ DEPENDENCIES
44
+ aly!
45
+ pry-byebug (~> 3.6.0)
46
+ rake (~> 13.0)
47
+ rspec (~> 3.0)
48
+
49
+ BUNDLED WITH
50
+ 2.2.3
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2021 Liu Xiang
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,43 @@
1
+ # Aly
2
+
3
+ Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/aly`. To experiment with that code, run `bin/console` for an interactive prompt.
4
+
5
+ TODO: Delete this and the text above, and describe your gem
6
+
7
+ ## Installation
8
+
9
+ Add this line to your application's Gemfile:
10
+
11
+ ```ruby
12
+ gem 'aly'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle install
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install aly
22
+
23
+ ## Usage
24
+
25
+ TODO: Write usage instructions here
26
+
27
+ ## Development
28
+
29
+ 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.
30
+
31
+ 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).
32
+
33
+ ## Contributing
34
+
35
+ Bug reports and pull requests are welcome on GitHub at https://github.com/lululau/aly. 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/lululau/aly/blob/master/CODE_OF_CONDUCT.md).
36
+
37
+ ## License
38
+
39
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
40
+
41
+ ## Code of Conduct
42
+
43
+ Everyone interacting in the Aly project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/lululau/aly/blob/master/CODE_OF_CONDUCT.md).
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/aly.gemspec ADDED
@@ -0,0 +1,30 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "lib/aly/version"
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = "aly"
7
+ spec.version = Aly::VERSION
8
+ spec.authors = ["Liu Xiang"]
9
+ spec.email = ["liuxiang921@gmail.com"]
10
+
11
+ spec.summary = "A simple wrapper for aliyun cli"
12
+ spec.description = "A simple wrapper for aliyun cli"
13
+ spec.homepage = "https://github.com/lululau/aly"
14
+ spec.license = "MIT"
15
+ spec.required_ruby_version = Gem::Requirement.new(">= 2.7.0")
16
+
17
+ # Specify which files should be added to the gem when it is released.
18
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
19
+ spec.files = Dir.chdir(File.expand_path(__dir__)) do
20
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{\A(?:test|spec|features)/}) }
21
+ end
22
+ spec.bindir = "exe"
23
+ spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
24
+ spec.require_paths = ["lib"]
25
+
26
+ spec.add_dependency 'thor', '~> 0.20.0'
27
+ spec.add_dependency 'terminal-table', '~> 1.8.0'
28
+
29
+ spec.add_development_dependency "pry-byebug", "~> 3.6.0"
30
+ end
data/bin/console ADDED
@@ -0,0 +1,15 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ require "bundler/setup"
5
+ require "aly"
6
+
7
+ # You can add fixtures and/or initialization code here to make experimenting
8
+ # with your gem easier. You can also use a different console, if you like.
9
+
10
+ # (If you use this, don't forget to add pry to your Gemfile!)
11
+ # require "pry"
12
+ # Pry.start
13
+
14
+ require "irb"
15
+ IRB.start(__FILE__)
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
data/exe/aly ADDED
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'aly'
4
+
5
+ Aly::CLI.main(ARGV)
data/lib/aly/app.rb ADDED
@@ -0,0 +1,141 @@
1
+ require 'json'
2
+ require 'terminal-table'
3
+
4
+ class Array
5
+ def table
6
+ return if size.zero?
7
+ header = first.keys
8
+ Terminal::Table.new { |t|
9
+ t << header
10
+ t << :separator
11
+ each { |row| t << row.values }
12
+ }
13
+ end
14
+ end
15
+
16
+ module Aly
17
+ class App
18
+ def start(options)
19
+ send(options[:command], *options[:args], **options[:options])
20
+ end
21
+
22
+ def ecs(*args, **options)
23
+ raw_out = exec('ecs', 'DescribeInstances', '--pager')
24
+ selected = raw_out['Instances']['Instance'].each do |item|
25
+ item['PrivateIP'] = (item['NetworkInterfaces']['NetworkInterface'] || []).map { |ni| ni['PrimaryIpAddress'] }.join(', ')
26
+ item['PublicIP'] = item['EipAddress']['IpAddress'] || ''
27
+ end
28
+
29
+ if query = args.first
30
+ selected = selected.select do |item|
31
+ item.values_at('InstanceId', 'InstanceName', 'PrivateIP', 'PublicIP').compact.any? { |e| e.include?(query) }
32
+ end
33
+ end
34
+
35
+ if options['detail']
36
+ puts JSON.pretty_generate(selected)
37
+ else
38
+ selected = selected.map do |row|
39
+ {
40
+ Id: row['InstanceId'],
41
+ Name: row['InstanceName'],
42
+ PrivateIP: row['PrivateIP'],
43
+ PublicIP: row['PublicIP']
44
+ }
45
+ end
46
+ puts selected.table&.to_s
47
+ end
48
+ end
49
+
50
+ def eip(*args, **options)
51
+ raw_out = exec('vpc', 'DescribeEipAddresses', '--PageSize=100')
52
+ selected = raw_out['EipAddresses']['EipAddress']
53
+
54
+ if query = args.first
55
+ selected = selected.select do |item|
56
+ item.values_at('AllocationId', 'InstanceId', 'InstanceType', 'IpAddress').compact.any? { |e| e.include?(query) }
57
+ end
58
+ end
59
+
60
+ if options['detail']
61
+ puts JSON.pretty_generate(selected)
62
+ else
63
+ net_intefraces = exec('ecs', 'DescribeNetworkInterfaces', '--pager')['NetworkInterfaceSets']['NetworkInterfaceSet'].each_with_object({}) do |item, result|
64
+ result[item['NetworkInterfaceId']] = item
65
+ end
66
+ selected = selected.map do |row|
67
+ result = {
68
+ Id: row['AllocationId'],
69
+ InstanceId: row['InstanceId'],
70
+ InstanceType: row['InstanceType'],
71
+ IP: row['IpAddress'],
72
+ EcsId: '',
73
+ PrivateIP: ''
74
+ }
75
+
76
+ if row['InstanceType'] == 'NetworkInterface' && interface = net_intefraces[row['InstanceId']]
77
+ result[:EcsId] = interface['InstanceId']
78
+ result[:PrivateIP] = interface['PrivateIpAddress']
79
+ end
80
+
81
+ result
82
+ end
83
+ puts selected.table&.to_s
84
+ end
85
+ end
86
+
87
+ def slb(*args, **options)
88
+ raw_out = exec('slb', 'DescribeLoadBalancers', '--pager')
89
+ selected = raw_out['LoadBalancers']['LoadBalancer']
90
+
91
+ listeners = exec('slb', 'DescribeLoadBalancerListeners', '--pager', 'path=Listeners')['Listeners'].each_with_object({}) do |listener, result|
92
+ instance_id = listener['LoadBalancerId']
93
+ result[instance_id] ||= []
94
+ result[instance_id] << listener
95
+ end
96
+
97
+ selected.each do |lb|
98
+ lb['Listeners'] = listeners[lb['LoadBalancerId']] || []
99
+ end
100
+
101
+ if query = args.first
102
+ selected = selected.select do |lb|
103
+ lb.values_at('LoadBalancerId', 'LoadBalancerName', 'Address').compact.any? { |e| e.include?(query) }
104
+ end
105
+ end
106
+
107
+ if options['detail']
108
+ selected.each do |row|
109
+ described_load_balancer_attributes = exec('slb', 'DescribeLoadBalancerAttribute', "--LoadBalancerId=#{row['LoadBalancerId']}")
110
+ row['BackendServers'] = described_load_balancer_attributes['BackendServers']['BackendServer']
111
+ end
112
+
113
+ puts JSON.pretty_generate(selected)
114
+ else
115
+ selected = selected.map do |row|
116
+ listeners = (row['Listeners'] || []).map do |listener|
117
+ listener_port = listener['ListenerPort']
118
+ backend_port = listener['BackendServerPort']
119
+ if backend_port
120
+ "#{listener_port}:#{backend_port}"
121
+ else forward_port = listener.dig('HTTPListenerConfig', 'ForwardPort')
122
+ "#{listener_port}->#{forward_port}"
123
+ end
124
+ end.compact.join(', ')
125
+
126
+ {
127
+ Id: row['LoadBalancerId'],
128
+ Name: row['LoadBalancerName'],
129
+ Address: row['Address'],
130
+ Listeners: listeners
131
+ }
132
+ end
133
+ puts selected.table&.to_s
134
+ end
135
+ end
136
+
137
+ def exec(command, sub_command, *args)
138
+ JSON.parse(`aliyun #{command} #{sub_command} #{args.join(' ')}`)
139
+ end
140
+ end
141
+ end
data/lib/aly/cli.rb ADDED
@@ -0,0 +1,29 @@
1
+ require 'thor'
2
+
3
+ module Aly
4
+ class CLI < ::Thor
5
+ class_option :profile, type: :string, optional: true, aliases: ['-p'], desc: 'select profile'
6
+ class_option :detail, type: :boolean, optional: true, default: false, aliases: ['-d'], desc: 'show detail infomation in JSON format'
7
+
8
+ desc 'ecs', 'get ECS information'
9
+ def ecs(query = nil)
10
+ App.new.start(options: options, command: :ecs, args: [query])
11
+ end
12
+
13
+ desc 'eip', 'get EIP information'
14
+ def eip(query = nil)
15
+ App.new.start(options: options, command: :eip, args: [query])
16
+ end
17
+
18
+ desc 'slb', 'get SLB information'
19
+ def slb(query = nil)
20
+ App.new.start(options: options, command: :slb, args: [query])
21
+ end
22
+
23
+ class << self
24
+ def main(args)
25
+ start(args)
26
+ end
27
+ end
28
+ end
29
+ end
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Aly
4
+ VERSION = "0.1.0"
5
+ end
data/lib/aly.rb ADDED
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "aly/version"
4
+ require_relative "aly/cli"
5
+ require_relative "aly/app"
6
+
7
+ module Aly
8
+ end
metadata ADDED
@@ -0,0 +1,102 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: aly
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Liu Xiang
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2021-10-18 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: thor
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 0.20.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.20.0
27
+ - !ruby/object:Gem::Dependency
28
+ name: terminal-table
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: 1.8.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.8.0
41
+ - !ruby/object:Gem::Dependency
42
+ name: pry-byebug
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: 3.6.0
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: 3.6.0
55
+ description: A simple wrapper for aliyun cli
56
+ email:
57
+ - liuxiang921@gmail.com
58
+ executables:
59
+ - aly
60
+ extensions: []
61
+ extra_rdoc_files: []
62
+ files:
63
+ - ".gitignore"
64
+ - ".rspec"
65
+ - CODE_OF_CONDUCT.md
66
+ - Gemfile
67
+ - Gemfile.lock
68
+ - LICENSE.txt
69
+ - README.md
70
+ - Rakefile
71
+ - aly.gemspec
72
+ - bin/console
73
+ - bin/setup
74
+ - exe/aly
75
+ - lib/aly.rb
76
+ - lib/aly/app.rb
77
+ - lib/aly/cli.rb
78
+ - lib/aly/version.rb
79
+ homepage: https://github.com/lululau/aly
80
+ licenses:
81
+ - MIT
82
+ metadata: {}
83
+ post_install_message:
84
+ rdoc_options: []
85
+ require_paths:
86
+ - lib
87
+ required_ruby_version: !ruby/object:Gem::Requirement
88
+ requirements:
89
+ - - ">="
90
+ - !ruby/object:Gem::Version
91
+ version: 2.7.0
92
+ required_rubygems_version: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ requirements: []
98
+ rubygems_version: 3.2.3
99
+ signing_key:
100
+ specification_version: 4
101
+ summary: A simple wrapper for aliyun cli
102
+ test_files: []