hss 0.2.11 → 1.0.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f7b99afaf60e40db4bc42b6df0a36d0581f70eba
4
- data.tar.gz: 8f24bdfa79a860d0ab840af106dec93bdaec8545
3
+ metadata.gz: ef7192f6117b1cfc9c36a32dde07640ffb20e8e2
4
+ data.tar.gz: e21c314b7da401c565c470e1c7a19cd424d31059
5
5
  SHA512:
6
- metadata.gz: 7727d2c0c2484046184d6a53f612999529e98fa6259d5d627091476b477d5a26188eb72c195d3a385afdc556989b977d6dd6ecf0238fe98cd976041eb691c455
7
- data.tar.gz: d55bf0ddef8ca4f8bbc93995127af4ce13111e69dc611bfed1efb0d87a277e3dc8df1325a8cc268fdb7f6eaba8052dad13ca1157f2a94eb51e44c3208832ee67
6
+ metadata.gz: 87294251d8b02cb42d1dca8f67bb8a3f8e5369cc973f168622c35037e648799465370e55fa201cc9a798e1ffcd08511aeeafffdec0c0981e11ff3d13c1a5d2a9
7
+ data.tar.gz: f1abe05324cb72d399fc46a7a0b7076e5b035dadc51b42243eaff88e5b2347bcc6b38792e31e2a1c34d39af92f1c12ae582cbc0ee58175c1cdb1b8d0d5ec3cd0
@@ -3,16 +3,16 @@ before_script:
3
3
  - cp ~/.ssh/id_rsa.pub ~/.ssh/authorized_keys
4
4
  language: ruby
5
5
  cache: bundler
6
+ sudo: false
6
7
  rvm:
7
- - 2.1.2
8
- - 2.1.1
9
- - 2.1.0
10
- - 2.0.0
11
- - 1.9.3
8
+ - 2.2.0
9
+ - 2.1.5
10
+ - 2.0.0-p598
11
+ - 1.9.3-p551
12
12
  notifications:
13
13
  email: false
14
14
  irc:
15
15
  channels:
16
- - secure: Z3ypJ8MOTwGDrwpqR6mHidleA9jAp1cCV05ElH5VjS4fuWWZ3uBAhFVssKjfbB9fQl+4nesJpHO5cfOAXNBX1UO1w7d87692zgImux1MRo2P5n2sR+yGO/ZTtYyCF0oQF2u1RU4bybI91f8mX69tcM4f+Ggi3yjQvbubnaXVPn0=
16
+ - irc.oftc.net#akerl
17
17
  template:
18
18
  - "%{repository}/%{branch}/%{build_number}: %{message} -- %{build_url}"
@@ -0,0 +1,4 @@
1
+ # 1.0.0 / 2015-01-19
2
+
3
+ * [ENHANCEMENT] Stabilized API
4
+
data/README.md CHANGED
@@ -25,12 +25,21 @@ This script can be used by SCP and other things that use SSH as a transport. To
25
25
  scp -S hss host:files/ other_host:location/
26
26
  ```
27
27
 
28
+ To use it with rsync, use the -e flag:
29
+
30
+ ```
31
+ rsync -e hss files/ host:location/
32
+ ```
33
+
28
34
  You can alias this for the greater good:
29
35
 
30
36
  ```
31
37
  alias pcs='scp -S hss'
38
+ alias cnysr='rsync -e hss'
32
39
  ```
33
40
 
41
+ **Caveat:** Because of how hss processes hosts, it will only operate on the first host-like thing in your command. As such, using scp to copy a local file to an hss'd host will work, as will the inverse, and copying a file from an hss'd host to a normal host works, but not the inverse.
42
+
34
43
  ## Configuration
35
44
 
36
45
  1. You can put your configuration in ~/.hss.yml or another file specified by the "HSS\_CONFIG" environment variable.
@@ -16,9 +16,9 @@ Gem::Specification.new do |s|
16
16
  s.test_files = `git ls-files spec/*`.split
17
17
  s.executables = ['hss']
18
18
 
19
- s.add_development_dependency 'rubocop', '~> 0.25.0'
20
- s.add_development_dependency 'rake', '~> 10.3.2'
19
+ s.add_development_dependency 'rubocop', '~> 0.28.0'
20
+ s.add_development_dependency 'rake', '~> 10.4.0'
21
21
  s.add_development_dependency 'coveralls', '~> 0.7.1'
22
- s.add_development_dependency 'rspec', '~> 3.0.0'
22
+ s.add_development_dependency 'rspec', '~> 3.1.0'
23
23
  s.add_development_dependency 'fuubar', '~> 2.0.0'
24
24
  end
@@ -1,5 +1,5 @@
1
1
  ##
2
2
  # Define the version
3
3
  module HSS
4
- VERSION = '0.2.11'
4
+ VERSION = '1.0.0'
5
5
  end
@@ -6,7 +6,7 @@ describe 'HSS script' do
6
6
  end
7
7
 
8
8
  it 'prints the version' do
9
- expect(`hss version`.strip).to eql HSS::VERSION
9
+ expect(`hss version`.strip).to match(/\d+\.\d+\.\d+/)
10
10
  end
11
11
  it 'prints a list of examples' do
12
12
  expect(`hss`.split("\n").first).to eql 'How to use:'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hss
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.11
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Les Aker
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-28 00:00:00.000000000 Z
11
+ date: 2015-01-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 0.25.0
19
+ version: 0.28.0
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 0.25.0
26
+ version: 0.28.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 10.3.2
33
+ version: 10.4.0
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 10.3.2
40
+ version: 10.4.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: coveralls
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: 3.0.0
61
+ version: 3.1.0
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: 3.0.0
68
+ version: 3.1.0
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: fuubar
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -91,6 +91,7 @@ files:
91
91
  - ".rspec"
92
92
  - ".rubocop.yml"
93
93
  - ".travis.yml"
94
+ - CHANGELOG.md
94
95
  - Gemfile
95
96
  - LICENSE
96
97
  - README.md
@@ -140,7 +141,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
140
141
  version: '0'
141
142
  requirements: []
142
143
  rubyforge_project:
143
- rubygems_version: 2.2.2
144
+ rubygems_version: 2.4.5
144
145
  signing_key:
145
146
  specification_version: 4
146
147
  summary: SSH helper