hostmanager 1.2.1 → 1.2.2

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -21,7 +21,7 @@ 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'
24
+ gem.required_ruby_version = '>= 1.9.1'
25
25
  gem.rdoc_options << '--main' << 'lib/hostmanager.rb'
26
26
  # dependencies defined in Gemfile
27
27
  end
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.1
1
+ 1.2.2
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "hostmanager"
8
- s.version = "1.2.1"
8
+ s.version = "1.2.2"
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"]
@@ -37,7 +37,7 @@ Gem::Specification.new do |s|
37
37
  s.licenses = ["GPLv3"]
38
38
  s.rdoc_options = ["--main", "lib/hostmanager.rb"]
39
39
  s.require_paths = ["lib"]
40
- s.required_ruby_version = Gem::Requirement.new("> 1.9.1")
40
+ s.required_ruby_version = Gem::Requirement.new(">= 1.9.1")
41
41
  s.rubygems_version = "1.8.24"
42
42
  s.summary = "Simple class/command line utility for management of remote hosts."
43
43
 
@@ -134,11 +134,11 @@ end
134
134
  #
135
135
  #== Examples
136
136
  #
137
- # hm add m myname@myhost
138
- # hm x m
139
- # hm list
140
- # hm scp m:my_file h:.
141
- # hm rsync -o av m:source/path h:dest/path
137
+ # hm add m myname@myhost
138
+ # hm x m
139
+ # hm list
140
+ # hm scp m:my_file h:.
141
+ # hm rsync -o av m:source/path h:dest/path
142
142
  #
143
143
  #== Command Manual
144
144
  #
@@ -149,7 +149,8 @@ end
149
149
  # hm l <letter> -- Login to a host with ssh
150
150
  # hm x <letter> -- Login to a host with ssh -X
151
151
  # hm scp <letter1>:<file1> <letter2>:<file2> -- Copy file1 from host letter1 to host letter2
152
- # hm rsync <letter1>:<path1> <letter2>:<path2> -- Sync path1 on host letter1 to path2 on host letter2 using rsync
152
+ # hm rsync <letter1>:<path1> <letter2>:<path2> -- Sync path1 on host
153
+ # letter1 to path2 on host letter2 using rsync
153
154
  # hm sshfs <letter>:<path> <localpath> -- Mount path on host letter to localpath using sshfs
154
155
  #
155
156
  #=== Options
@@ -158,7 +159,6 @@ end
158
159
  # -o <optionstring> -- Add optionstring to command
159
160
  # -T -- 'test': print out the resulting command without running it
160
161
 
161
-
162
162
  class HostManager
163
163
  attr_accessor :host_list, :hosts, :forwards, :content_list, :option_string
164
164
  def initialize(hash={})
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.2.1
4
+ version: 1.2.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -129,7 +129,7 @@ require_paths:
129
129
  required_ruby_version: !ruby/object:Gem::Requirement
130
130
  none: false
131
131
  requirements:
132
- - - ! '>'
132
+ - - ! '>='
133
133
  - !ruby/object:Gem::Version
134
134
  version: 1.9.1
135
135
  required_rubygems_version: !ruby/object:Gem::Requirement