Skip to content

Commit 5059747

Browse files
author
Avery Yen
committed
Gematize me, captain
Signed-off-by: Megan Murawski <megan.hyland@emc.com>
1 parent 99b25b4 commit 5059747

File tree

7 files changed

+43
-3
lines changed

7 files changed

+43
-3
lines changed

README.md

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Installation
2+
3+
1. Run `gem build rackhd-cli.gemspec`
4+
1. Run `gem install rackhd-cli-0.0.1.gem`
5+
1. Run `rack command [options]` as usual (but now with PATHing!)
6+
1. ???
7+
1. Profit!
8+
9+
10+
# Uninstallation
11+
12+
Run `gem uninstall rackhd`
13+
14+
# Tests
15+
16+
Run `rspec`

rack renamed to bin/rack

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env ruby
22

3-
require_relative 'rack.rb'
3+
require 'rack'
44

55
RackHDCLI.start(ARGV)

rack.rb renamed to lib/rack.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
require 'thor'
33
require 'yaml'
44

5-
require_relative 'rackhd/api'
6-
require_relative 'rackhd/config'
5+
require 'rackhd/api'
6+
require 'rackhd/config'
77

88
class RackHDCLI < Thor
99
class_option :target, :aliases => "-t", :desc => "RackHD server IP address"
File renamed without changes.
File renamed without changes.

lib/rackhd/version.rb

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module RackHD
2+
VERSION = '0.0.1'
3+
end

rackhd-cli.gemspec

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
require File.expand_path('../lib/rackhd/version', __FILE__)
2+
3+
Gem::Specification.new do |s|
4+
s.name = 'rackhd-cli'
5+
s.version = RackHD::VERSION
6+
s.platform = Gem::Platform::RUBY
7+
s.authors = ['CPT Team']
8+
s.email = ['']
9+
s.homepage = 'https://github.com/EMC-CMD/rackhd-cli/'
10+
s.summary = 'RackHD CLI'
11+
s.description = 'A RackHD CLI'
12+
13+
s.required_rubygems_version = '>= 1.3.6'
14+
15+
s.rubyforge_project = 'rackhd-cli'
16+
17+
s.files = Dir['{lib}/**/*.rb', 'bin/*']
18+
s.require_path = 'lib'
19+
20+
s.executables = ['rack']
21+
end

0 commit comments

Comments
 (0)