hostmanager 1.0.2 → 1.0.3

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.
data/README.md CHANGED
@@ -1,22 +1,4 @@
1
- #= Hostmanager
2
- #
3
- #== Summary
4
- #
5
- #A class and command line utility that allows simple management of ssh hosts and remote folders. E.g. logging in to a remote server becomes as easy as 'hm l y'.
6
- #
7
- #== Examples
8
- #
9
- # hm add m myname@myhost
10
- # hm x m
11
- # hm list
12
- # hm scp m:my_file h:.
13
- #
14
- #== Command Manual
15
- #
16
- #=== Commands
17
- #
18
- # hm add <letter> myname@myhost.com --- Add a host to be referred to with <letter>
19
- # hm list -- List all hosts
20
- # hm x <letter>
21
-
1
+ hostmanager
2
+ ===========
22
3
 
4
+ A class and command line utility that allows simple management of ssh hosts and remote folders. E.g. logging in to a remote server becomes as easy as 'hm l y'.
data/Rakefile CHANGED
@@ -21,6 +21,8 @@ Jeweler::Tasks.new do |gem|
21
21
  gem.description = %Q{A class and command line utility that allows simple management of ssh hosts and remote folders. E.g. logging in to a remote server becomes as easy as 'hm l y'.}
22
22
  gem.email = "github@edmundhighcock.com"
23
23
  gem.authors = ["Edmund Highcock"]
24
+ gem.required_ruby_version = '> 1.9.1'
25
+ gem.rdoc_options << '--main' << 'lib/hostmanager.rb'
24
26
  # dependencies defined in Gemfile
25
27
  end
26
28
  Jeweler::RubygemsDotOrgTasks.new
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.2
1
+ 1.0.3
data/hostmanager.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "hostmanager"
8
- s.version = "1.0.2"
8
+ s.version = "1.0.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Edmund Highcock"]
12
- s.date = "2012-10-09"
12
+ s.date = "2012-10-10"
13
13
  s.description = "A class and command line utility that allows simple management of ssh hosts and remote folders. E.g. logging in to a remote server becomes as easy as 'hm l y'."
14
14
  s.email = "github@edmundhighcock.com"
15
15
  s.executables = ["hm"]
@@ -35,7 +35,9 @@ Gem::Specification.new do |s|
35
35
  ]
36
36
  s.homepage = "http://github.com/edmundhighcock/hostmanager"
37
37
  s.licenses = ["GPLv3"]
38
+ s.rdoc_options = ["--main", "lib/hostmanager.rb"]
38
39
  s.require_paths = ["lib"]
40
+ s.required_ruby_version = Gem::Requirement.new("> 1.9.1")
39
41
  s.rubygems_version = "1.8.24"
40
42
  s.summary = "Simple class/command line utility for management of remote hosts."
41
43
 
data/lib/hostmanager.rb CHANGED
@@ -1,4 +1,26 @@
1
- #!/usr/local/bin/ruby
1
+ #= Hostmanager
2
+ #
3
+ #== Summary
4
+ #
5
+ #A class and command line utility that allows simple management of ssh hosts and remote folders. E.g. logging in to a remote server becomes as easy as 'hm l y'.
6
+ #
7
+ #== Examples
8
+ #
9
+ # hm add m myname@myhost
10
+ # hm x m
11
+ # hm list
12
+ # hm scp m:my_file h:.
13
+ #
14
+ #== Command Manual
15
+ #
16
+ #=== Commands
17
+ #
18
+ # hm add <letter> myname@myhost.com --- Add a host to be referred to with <letter>
19
+ # hm list -- List all hosts
20
+ # hm x <letter>
21
+
22
+
23
+
2
24
  require "getoptlong"
3
25
  require "pp"
4
26
  require 'fileutils'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hostmanager
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-10-09 00:00:00.000000000 Z
12
+ date: 2012-10-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rubyhacks
@@ -121,18 +121,17 @@ homepage: http://github.com/edmundhighcock/hostmanager
121
121
  licenses:
122
122
  - GPLv3
123
123
  post_install_message:
124
- rdoc_options: []
124
+ rdoc_options:
125
+ - --main
126
+ - lib/hostmanager.rb
125
127
  require_paths:
126
128
  - lib
127
129
  required_ruby_version: !ruby/object:Gem::Requirement
128
130
  none: false
129
131
  requirements:
130
- - - ! '>='
132
+ - - ! '>'
131
133
  - !ruby/object:Gem::Version
132
- version: '0'
133
- segments:
134
- - 0
135
- hash: -3831461608206800103
134
+ version: 1.9.1
136
135
  required_rubygems_version: !ruby/object:Gem::Requirement
137
136
  none: false
138
137
  requirements: