rancher-shell 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
+ SHA1:
3
+ metadata.gz: 66bb59230b610598db1ad66b8254de106c83b108
4
+ data.tar.gz: 26954b7fc67e46751fa22b793f54c99382b7d083
5
+ SHA512:
6
+ metadata.gz: d2e5d5f73dc438e3b6f1a8181189209d0711943c618d263ad3708006729171e5ba2996b6ea9936ea751573a68d96991ab56884c28bf08c6247badfda561a1f19
7
+ data.tar.gz: 0141f88a60a95ad47c95cbb9123ec1dcef5d54fe98d720a07c4aac46abc5cf2c3295d2ef97c1d2c544e0b04a22f96cf1762759e96df78fea1b7037e9d15cc503
data/.gitignore ADDED
@@ -0,0 +1,4 @@
1
+ .bundle
2
+ .env
3
+ Gemfile.lock
4
+ *.gem
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --color
2
+ --format documentation
3
+ --require spec_helper
data/.travis.yml ADDED
@@ -0,0 +1,4 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.3.0
4
+ before_install: gem install bundler -v 1.11.2
@@ -0,0 +1,49 @@
1
+ # Contributor Code of Conduct
2
+
3
+ As contributors and maintainers of this project, and in the interest of
4
+ fostering an open and welcoming community, we pledge to respect all people who
5
+ contribute through reporting issues, posting feature requests, updating
6
+ documentation, submitting pull requests or patches, and other activities.
7
+
8
+ We are committed to making participation in this project a harassment-free
9
+ experience for everyone, regardless of level of experience, gender, gender
10
+ identity and expression, sexual orientation, disability, personal appearance,
11
+ body size, race, ethnicity, age, religion, or nationality.
12
+
13
+ Examples of unacceptable behavior by participants include:
14
+
15
+ * The use of sexualized language or imagery
16
+ * Personal attacks
17
+ * Trolling or insulting/derogatory comments
18
+ * Public or private harassment
19
+ * Publishing other's private information, such as physical or electronic
20
+ addresses, without explicit permission
21
+ * Other unethical or unprofessional conduct
22
+
23
+ Project maintainers have the right and responsibility to remove, edit, or
24
+ reject comments, commits, code, wiki edits, issues, and other contributions
25
+ that are not aligned to this Code of Conduct, or to ban temporarily or
26
+ permanently any contributor for other behaviors that they deem inappropriate,
27
+ threatening, offensive, or harmful.
28
+
29
+ By adopting this Code of Conduct, project maintainers commit themselves to
30
+ fairly and consistently applying these principles to every aspect of managing
31
+ this project. Project maintainers who do not follow or enforce the Code of
32
+ Conduct may be permanently removed from the project team.
33
+
34
+ This code of conduct applies both within project spaces and in public spaces
35
+ when an individual is representing the project or its community.
36
+
37
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
38
+ reported by contacting a project maintainer at marc@marcqualie.com. All
39
+ complaints will be reviewed and investigated and will result in a response that
40
+ is deemed necessary and appropriate to the circumstances. Maintainers are
41
+ obligated to maintain confidentiality with regard to the reporter of an
42
+ incident.
43
+
44
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage],
45
+ version 1.3.0, available at
46
+ [http://contributor-covenant.org/version/1/3/0/][version]
47
+
48
+ [homepage]: http://contributor-covenant.org
49
+ [version]: http://contributor-covenant.org/version/1/3/0/
data/Gemfile ADDED
@@ -0,0 +1,2 @@
1
+ source 'https://rubygems.org'
2
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2016 Marc Qualie
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,67 @@
1
+ # RancherShell
2
+
3
+ A console utility for shelling into [Rancher](http://rancher.com) containers
4
+
5
+
6
+
7
+ ## Installation
8
+
9
+ RancherShell runs as a binary on your system and only needs rubygems to be installed:
10
+
11
+ ``` ruby
12
+ gem install rancher-shell
13
+ ```
14
+
15
+
16
+ ## Confguration
17
+
18
+ Configuration files are loaded in the following order if they exist:
19
+
20
+ - ~/.rancher-shell.yml
21
+ - ./.rancher-shell.yml
22
+
23
+ Files are merged using the following schema:
24
+
25
+ ``` yaml
26
+ ---
27
+ project: 1a234
28
+ projects:
29
+ - id: 1a234
30
+ name: "Production"
31
+ container: rails_web_1
32
+ api:
33
+ host: rancher.yourdomain.com
34
+ key: XXXXX
35
+ secret: XXXXX
36
+ ```
37
+
38
+
39
+ ## Usage
40
+
41
+ After configuring you can shell into your container using a single command:
42
+
43
+ ``` shell
44
+ rancher-shell
45
+ ```
46
+
47
+ Run `rancher-shell --help` for full usage instructions
48
+
49
+
50
+
51
+ ## Development
52
+
53
+ After checking out the repo, run `bundle install` to install dependencies. Then, run `rake spec` to run the tests.
54
+
55
+ 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 tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
56
+
57
+
58
+
59
+ ## Contributing
60
+
61
+ Bug reports and pull requests are welcome on GitHub at https://github.com/marcqualie/rancher-shell. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
62
+
63
+
64
+
65
+ ## License
66
+
67
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
data/Rakefile ADDED
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
data/bin/rancher-shell ADDED
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env ruby
2
+ $:.unshift 'lib'
3
+ require 'rancher/shell/cli'
4
+
5
+ Rancher::Shell::CLI.start
@@ -0,0 +1,39 @@
1
+ require 'net/http'
2
+ require 'rancher/shell/api_response'
3
+
4
+ module Rancher
5
+ module Shell
6
+ class Api
7
+
8
+ DEFAULT_OPTIONS = {
9
+ user: nil,
10
+ pass: nil,
11
+ host: 'rancher.example.com',
12
+ }
13
+
14
+ def initialize options = {}
15
+ @options = DEFAULT_OPTIONS.merge options
16
+ end
17
+
18
+ def get resource, data = nil, headers = {}
19
+ request :get, resource, nil, headers
20
+ end
21
+
22
+ def post resource, data, headers = {}
23
+ request :post, resource, data, headers
24
+ end
25
+
26
+ def request method_name, resource, data, headers
27
+ uri = URI "https://#{@options[:host]}/v1/#{resource}"
28
+ Net::HTTP.start uri.host, uri.port, use_ssl: true do |http|
29
+ method_class_name = "Net::HTTP::#{method_name.to_s.split('_').map(&:capitalize).join}"
30
+ method_class = Object.const_get method_class_name
31
+ request = method_class.new uri
32
+ request.basic_auth @options[:user], @options[:pass]
33
+ request.set_form_data data if method_name === :post
34
+ ApiResponse.new http.request request
35
+ end
36
+ end
37
+ end
38
+ end
39
+ end
@@ -0,0 +1,19 @@
1
+ require 'json'
2
+
3
+ module Rancher
4
+ module Shell
5
+ class ApiResponse
6
+ def initialize http_response
7
+ @http_response = http_response
8
+ end
9
+
10
+ def body
11
+ @http_response.body
12
+ end
13
+
14
+ def json
15
+ JSON.parse body
16
+ end
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,120 @@
1
+ require 'rancher/shell/api'
2
+ require 'rancher/shell/logger_helper'
3
+ require 'rancher/shell/websocket_client'
4
+ require 'yaml'
5
+
6
+ module Rancher
7
+ module Shell
8
+ class CLI
9
+ include LoggerHelper
10
+
11
+ def self.start
12
+ instance = self.new
13
+ instance.setup_api!
14
+ instance.retrieve_containers!
15
+ instance.setup_websocket!
16
+ instance.listen!
17
+ end
18
+
19
+ attr_reader :api, :websocket
20
+
21
+ def initialize
22
+ @config_file_paths = [
23
+ "#{ENV['HOME']}/.rancher-shell.yml",
24
+ "#{Dir.pwd}/.rancher-shell.yml",
25
+ ]
26
+ @config = {}
27
+ @config_file_paths.each do |file_path|
28
+ if File.exists? file_path
29
+ logger.debug "loading config from #{file_path}"
30
+ config = YAML.load_file(file_path)
31
+ logger.debug " #{config}"
32
+ @config.merge! config
33
+ end
34
+ end
35
+ @projects = @config['projects']
36
+ @project = @config['projects'].find { |project| project['id'] === @config['project'] } || @config['projects'].first
37
+ logger.info "environment = #{@project['id']} - #{@project['name']}"
38
+ logger.debug " #{@project}"
39
+ exit_with_error "API Host Required" unless @project['api'] && @project['api']['host']
40
+ exit_with_error "API Key Required" unless @project['api'] && @project['api']['key']
41
+ exit_with_error "API Secret Required" unless @project['api'] && @project['api']['secret']
42
+ end
43
+
44
+ def listen!
45
+ $stdin.each_line do |command|
46
+ if command.strip === 'exit'
47
+ logger.info "connection closed"
48
+ Kernel.exit true
49
+ end
50
+ @websocket.send Base64.encode64 command
51
+ end
52
+ end
53
+
54
+ def setup_api!
55
+ @api = Rancher::Shell::Api.new(
56
+ host: @project['api']['host'],
57
+ user: @project['api']['key'],
58
+ pass: @project['api']['secret'],
59
+ )
60
+ end
61
+
62
+ def retrieve_containers!
63
+ @response = @api.get(
64
+ "containers",
65
+ )
66
+ @containers = @response.json['data'].map do |container|
67
+ {
68
+ 'id' => container['id'],
69
+ 'name' => container['name'],
70
+ 'state' => container['state'],
71
+ 'ports' => container['ports'],
72
+ }
73
+ end
74
+ @container = @containers.find { |container| container['name'] === @project['container'] }
75
+ exit_with_error "could not find container: #{@project['container']}" unless @container
76
+ end
77
+
78
+ def setup_websocket!
79
+ logger.info "container = #{@container['id']}"
80
+ @response = @api.post(
81
+ "containers/#{@container['id']}?action=execute",
82
+ "command" => [
83
+ "/bin/sh",
84
+ "-c",
85
+ "TERM=xterm-256color; export TERM; [ -x /bin/bash ] && ([ -x /usr/bin/script ] && /usr/bin/script -q -c \"/bin/bash\" /dev/null || exec /bin/bash) || exec /bin/sh",
86
+ ],
87
+ "attachStdin" => true,
88
+ "attachStdout" => true,
89
+ "tty" => false,
90
+ )
91
+ websocket_url = "#{@response.json['url']}?token=#{@response.json['token']}"
92
+ logger.info "connecting to #{@response.json['url']} ..."
93
+ @websocket = Rancher::Shell::WebsocketClient.new websocket_url, headers: { 'Authorization' => "Bearer #{@response.json['token']}"}
94
+ @websocket.on :open do |event|
95
+ logger.info " connected!"
96
+ end
97
+ @websocket.on :chunk do |encoded_chunk|
98
+ chunk = Base64.decode64 encoded_chunk
99
+ @buffer ||= ''
100
+ @buffer << chunk if chunk
101
+ if chunk.ord === 32
102
+ emit :message, @buffer
103
+ @buffer = ''
104
+ end
105
+ end
106
+ @websocket.on :message do |data|
107
+ $stdout.print data
108
+ end
109
+ @websocket.on :error do |event|
110
+ logger.error "socket error: #{event}"
111
+ Kernel.exit true
112
+ end
113
+ @websocket.on :close do
114
+ logger.error "closed connection"
115
+ Kernel.exit true
116
+ end
117
+ end
118
+ end
119
+ end
120
+ end
@@ -0,0 +1,25 @@
1
+ module Rancher
2
+ module Shell
3
+ class Logger
4
+ def debug message
5
+ $stdout.puts "[#{DateTime.now.strftime '%Y-%m-%d %H:%M:%S'}] DEBUG -- : #{message}"
6
+ end
7
+
8
+ def info message
9
+ $stdout.puts "[#{DateTime.now.strftime '%Y-%m-%d %H:%M:%S'}] INFO -- : #{message}"
10
+ end
11
+
12
+ def error message
13
+ $stderr.puts "[#{DateTime.now.strftime '%Y-%m-%d %H:%M:%S'}] ERROR -- : #{message}"
14
+ end
15
+
16
+ def warn message
17
+ $stderr.puts "[#{DateTime.now.strftime '%Y-%m-%d %H:%M:%S'}] WARN -- : #{message}"
18
+ end
19
+
20
+ def out message
21
+ $stdout.puts "[#{DateTime.now.strftime '%Y-%m-%d %H:%M:%S'}] -- : #{message}"
22
+ end
23
+ end
24
+ end
25
+ end
@@ -0,0 +1,16 @@
1
+ require 'rancher/shell/logger'
2
+
3
+ module Rancher
4
+ module Shell
5
+ module LoggerHelper
6
+ def logger
7
+ @logger ||= Logger.new
8
+ end
9
+
10
+ def exit_with_error message
11
+ logger.error message
12
+ Kernel.exit false
13
+ end
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,5 @@
1
+ module Rancher
2
+ module Shell
3
+ VERSION = "0.1.0"
4
+ end
5
+ end
@@ -0,0 +1,100 @@
1
+ require 'event_emitter'
2
+ require 'rancher/shell/logger_helper'
3
+ require 'websocket'
4
+
5
+ module Rancher
6
+ module Shell
7
+ class WebsocketClient
8
+ include EventEmitter
9
+ include LoggerHelper
10
+ attr_reader :url, :handshake, :handshaked, :thread, :socket
11
+
12
+ def initialize url, options = {}
13
+ return if @socket
14
+ @url = url
15
+ uri = URI.parse url
16
+ @socket = TCPSocket.new(uri.host, uri.port || (uri.scheme == 'wss' ? 443 : 80))
17
+ if ['https', 'wss'].include? uri.scheme
18
+ ctx = OpenSSL::SSL::SSLContext.new
19
+ ctx.ssl_version = options[:ssl_version] || 'SSLv23'
20
+ ctx.verify_mode = options[:verify_mode] || OpenSSL::SSL::VERIFY_NONE #use VERIFY_PEER for verification
21
+ cert_store = OpenSSL::X509::Store.new
22
+ cert_store.set_default_paths
23
+ ctx.cert_store = cert_store
24
+ @socket = ::OpenSSL::SSL::SSLSocket.new(@socket, ctx)
25
+ @socket.connect
26
+ end
27
+ @handshake = ::WebSocket::Handshake::Client.new :url => url, :headers => options[:headers]
28
+ @handshaked = false
29
+ @pipe_broken = false
30
+ frame = ::WebSocket::Frame::Incoming::Client.new
31
+ @closed = false
32
+ once :__close do |err|
33
+ close
34
+ emit :close, err
35
+ end
36
+
37
+ @thread = Thread.new do
38
+ while !@closed do
39
+ begin
40
+ unless recv_data = @socket.getc
41
+ sleep 1
42
+ next
43
+ end
44
+ unless @handshaked
45
+ @handshake << recv_data
46
+ if @handshake.finished?
47
+ @handshaked = true
48
+ emit :open
49
+ end
50
+ else
51
+ frame << recv_data
52
+ while msg = frame.next
53
+ emit :chunk, msg.to_s
54
+ end
55
+ end
56
+ rescue => e
57
+ puts "EMIT ERROR: #{e.to_yaml}"
58
+ emit :error, e
59
+ end
60
+ end
61
+ puts "THREAD IS DEAD"
62
+ end
63
+
64
+ @socket.write @handshake.to_s
65
+ end
66
+
67
+ def send(data, opt={:type => :text})
68
+ if !@handshaked or @closed
69
+ puts "closed socket.."
70
+ return
71
+ end
72
+ type = opt[:type]
73
+ frame = ::WebSocket::Frame::Outgoing::Client.new(:data => data, :type => type, :version => @handshake.version)
74
+ begin
75
+ @socket.write frame.to_s
76
+ rescue Errno::EPIPE => e
77
+ @pipe_broken = true
78
+ emit :__close, e
79
+ end
80
+ end
81
+
82
+ def close
83
+ return if @closed
84
+ if !@pipe_broken
85
+ send nil, :type => :close
86
+ end
87
+ @closed = true
88
+ @socket.close if @socket
89
+ @socket = nil
90
+ emit :__close
91
+ Thread.kill @thread if @thread
92
+ end
93
+
94
+ def open?
95
+ @handshake.finished? and !@closed
96
+ end
97
+
98
+ end
99
+ end
100
+ end
@@ -0,0 +1,6 @@
1
+ require 'rancher/shell/version'
2
+
3
+ module Rancher
4
+ module Shell
5
+ end
6
+ end
@@ -0,0 +1,27 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'rancher/shell/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "rancher-shell"
8
+ spec.version = Rancher::Shell::VERSION
9
+ spec.authors = ["Marc Qualie"]
10
+ spec.email = ["marc@marcqualie.com"]
11
+
12
+ spec.summary = "A console utility for shelling into Rancher containers"
13
+ spec.homepage = "https://github.com/marcqualie/rancher-shell"
14
+ spec.license = "MIT"
15
+
16
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(spec)/}) }
17
+ spec.bindir = "bin"
18
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
19
+ spec.require_paths = ["lib"]
20
+
21
+ spec.add_dependency "websocket", "~> 1.2"
22
+ spec.add_dependency "event_emitter", "~> 0.2.5"
23
+
24
+ spec.add_development_dependency "bundler", "~> 1.11"
25
+ spec.add_development_dependency "rake", "~> 10.0"
26
+ spec.add_development_dependency "rspec", "~> 3.4"
27
+ end
metadata ADDED
@@ -0,0 +1,133 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rancher-shell
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Marc Qualie
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2016-02-23 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: websocket
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.2'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.2'
27
+ - !ruby/object:Gem::Dependency
28
+ name: event_emitter
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: 0.2.5
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: 0.2.5
41
+ - !ruby/object:Gem::Dependency
42
+ name: bundler
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '1.11'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '1.11'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rake
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '10.0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '10.0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rspec
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '3.4'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '3.4'
83
+ description:
84
+ email:
85
+ - marc@marcqualie.com
86
+ executables:
87
+ - rancher-shell
88
+ extensions: []
89
+ extra_rdoc_files: []
90
+ files:
91
+ - ".gitignore"
92
+ - ".rspec"
93
+ - ".travis.yml"
94
+ - CODE_OF_CONDUCT.md
95
+ - Gemfile
96
+ - LICENSE.txt
97
+ - README.md
98
+ - Rakefile
99
+ - bin/rancher-shell
100
+ - lib/rancher/shell.rb
101
+ - lib/rancher/shell/api.rb
102
+ - lib/rancher/shell/api_response.rb
103
+ - lib/rancher/shell/cli.rb
104
+ - lib/rancher/shell/logger.rb
105
+ - lib/rancher/shell/logger_helper.rb
106
+ - lib/rancher/shell/version.rb
107
+ - lib/rancher/shell/websocket_client.rb
108
+ - rancher-shell.gemspec
109
+ homepage: https://github.com/marcqualie/rancher-shell
110
+ licenses:
111
+ - MIT
112
+ metadata: {}
113
+ post_install_message:
114
+ rdoc_options: []
115
+ require_paths:
116
+ - lib
117
+ required_ruby_version: !ruby/object:Gem::Requirement
118
+ requirements:
119
+ - - ">="
120
+ - !ruby/object:Gem::Version
121
+ version: '0'
122
+ required_rubygems_version: !ruby/object:Gem::Requirement
123
+ requirements:
124
+ - - ">="
125
+ - !ruby/object:Gem::Version
126
+ version: '0'
127
+ requirements: []
128
+ rubyforge_project:
129
+ rubygems_version: 2.5.1
130
+ signing_key:
131
+ specification_version: 4
132
+ summary: A console utility for shelling into Rancher containers
133
+ test_files: []