File tree 4 files changed +30
-28
lines changed
4 files changed +30
-28
lines changed Original file line number Diff line number Diff line change 1
1
* .swp
2
2
pkg
3
3
doc
4
+ Gemfile.lock
Original file line number Diff line number Diff line change
1
+ source "http://rubygems.org"
2
+
3
+ gem "net-ssh-shell" , :path => '.'
Original file line number Diff line number Diff line change 1
- require './lib/net/ssh/shell/version'
2
-
3
- begin
4
- require 'echoe'
5
- rescue LoadError
6
- abort "You'll need to have `echoe' installed to use Net::SSH::Shell's Rakefile"
7
- end
8
-
9
- version = Net ::SSH ::Shell ::Version ::STRING . dup
10
- if ENV [ 'SNAPSHOT' ] . to_i == 1
11
- version << "." << Time . now . utc . strftime ( "%Y%m%d%H%M%S" )
12
- end
13
-
14
- Echoe . new ( 'net-ssh-shell' , version ) do |p |
15
- p . changelog = "CHANGELOG.rdoc"
16
-
17
- p . author = "Jamis Buck"
18
-
19
- p . summary = "A simple library to aid with stateful shell interactions"
20
- p . url = "http://net-ssh.rubyforge.org/shell"
21
-
22
- p . dependencies = [ "net-ssh >=2.0.9" ]
23
-
24
- p . need_zip = true
25
- p . include_rakefile = true
26
-
27
- p . rdoc_pattern = /^(lib|README.rdoc|CHANGELOG.rdoc)/
28
- end
1
+ require 'rubygems'
2
+ require 'bundler/setup'
3
+ Bundler ::GemHelper . install_tasks
Original file line number Diff line number Diff line change
1
+ require File . expand_path ( "../lib/net/ssh/shell/version" , __FILE__ )
2
+
3
+ Gem ::Specification . new do |s |
4
+ s . name = "net-ssh-shell"
5
+ s . version = Net ::SSH ::Shell ::Version ::STRING
6
+ s . platform = Gem ::Platform ::RUBY
7
+ s . authors = [ "Jamis Buck" ]
8
+
9
+ s . homepage = "http://github.com/mitchellh/net-ssh-shell"
10
+ s . summary = "A simple library to aid with stateful shell interactions"
11
+ s . description = "A simple library to aid with stateful shell interactions"
12
+
13
+ s . required_rubygems_version = ">= 1.3.6"
14
+ s . rubyforge_project = "net-ssh-shell"
15
+
16
+ s . add_dependency "net-ssh" , "~> 2.0.23"
17
+
18
+ s . add_development_dependency "rake"
19
+
20
+ s . files = `git ls-files` . split ( "\n " )
21
+ s . executables = `git ls-files` . split ( "\n " ) . map { |f | f =~ /^bin\/ (.*)/ ? $1 : nil } . compact
22
+ s . require_path = 'lib'
23
+ end
You can’t perform that action at this time.
0 commit comments