This repository has been archived by the owner on Oct 31, 2023. It is now read-only.
forked from jamis/net-ssh-shell
-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch to bundler for gem management
- Loading branch information
Showing
4 changed files
with
30 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
*.swp | ||
pkg | ||
doc | ||
Gemfile.lock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
source "http://rubygems.org" | ||
|
||
gem "net-ssh-shell", :path => '.' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,3 @@ | ||
require './lib/net/ssh/shell/version' | ||
|
||
begin | ||
require 'echoe' | ||
rescue LoadError | ||
abort "You'll need to have `echoe' installed to use Net::SSH::Shell's Rakefile" | ||
end | ||
|
||
version = Net::SSH::Shell::Version::STRING.dup | ||
if ENV['SNAPSHOT'].to_i == 1 | ||
version << "." << Time.now.utc.strftime("%Y%m%d%H%M%S") | ||
end | ||
|
||
Echoe.new('net-ssh-shell', version) do |p| | ||
p.changelog = "CHANGELOG.rdoc" | ||
|
||
p.author = "Jamis Buck" | ||
p.email = "jamis@jamisbuck.org" | ||
p.summary = "A simple library to aid with stateful shell interactions" | ||
p.url = "http://net-ssh.rubyforge.org/shell" | ||
|
||
p.dependencies = ["net-ssh >=2.0.9"] | ||
|
||
p.need_zip = true | ||
p.include_rakefile = true | ||
|
||
p.rdoc_pattern = /^(lib|README.rdoc|CHANGELOG.rdoc)/ | ||
end | ||
require 'rubygems' | ||
require 'bundler/setup' | ||
Bundler::GemHelper.install_tasks |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
require File.expand_path("../lib/net/ssh/shell/version", __FILE__) | ||
|
||
Gem::Specification.new do |s| | ||
s.name = "net-ssh-shell" | ||
s.version = Net::SSH::Shell::Version::STRING | ||
s.platform = Gem::Platform::RUBY | ||
s.authors = ["Jamis Buck"] | ||
s.email = ["jamis@jamisbuck.org"] | ||
s.homepage = "http://github.com/mitchellh/net-ssh-shell" | ||
s.summary = "A simple library to aid with stateful shell interactions" | ||
s.description = "A simple library to aid with stateful shell interactions" | ||
|
||
s.required_rubygems_version = ">= 1.3.6" | ||
s.rubyforge_project = "net-ssh-shell" | ||
|
||
s.add_dependency "net-ssh", "~> 2.0.23" | ||
|
||
s.add_development_dependency "rake" | ||
|
||
s.files = `git ls-files`.split("\n") | ||
s.executables = `git ls-files`.split("\n").map{|f| f =~ /^bin\/(.*)/ ? $1 : nil}.compact | ||
s.require_path = 'lib' | ||
end |