sshster 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c1fad7d301df4b6de92f730ae4b825594ba55c05d48cffcf8a769cc80b7f1dd0
4
- data.tar.gz: 4cc12eda71b55f249740e1fcc9565bfd7267652f08ee5e5410d06161754e9063
3
+ metadata.gz: c90c68c96bf226e3d98dbfe0c9bf71aa725316731dabd64ea7c464ed51760f3d
4
+ data.tar.gz: 2172b3884f94f9a5b5a1472f7dc513db5b4e2942ecbc7c318406167d7784b146
5
5
  SHA512:
6
- metadata.gz: 781b5853fa368b6b9df34ddd956fde3cf4d264384095e624215267c86d240ba3f0213a15582299bc6c2b1b30494b2c5ece812ead2b77d3cf704135669d0d5681
7
- data.tar.gz: 34fa3ff5e3989befd4881e37fb941bc250b33913740a9d609eb65ea78fe1d75c13a71219e4e7f6973c2d72700dfbe438d258fdc2df058b695009dbfc1e496589
6
+ metadata.gz: 1432d0c657c815f3ead8a0b0b9c1a3c34c5645307e3036fe2ce76aed086caaff6df5192f09d9372c7a4e16c1ee278e47a443b92e26fce33c89f18dc30e614404
7
+ data.tar.gz: dc76bf28bdfb9d7474b05cdee83af68ef18624978882df79d0af2c3ad12a6c93ef99b3714ffd4043f4cd8ca18c991170bba0ebf7792e042b6590f0830557d34d
data/.gitignore CHANGED
@@ -10,3 +10,5 @@
10
10
  # rspec failure tracking
11
11
  .rspec_status
12
12
  public/uploads
13
+ sshster-0.1.0.gem
14
+ spec/support/tmp
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- sshster (0.1.0)
4
+ sshster (0.1.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -70,7 +70,7 @@ module Sshster
70
70
  def projects
71
71
  projects_paths.each do |project_path|
72
72
  data = parse_project(project_path)
73
- hosts = data['hosts']
73
+ hosts = data['hosts'] if data
74
74
  yield(hosts) if hosts
75
75
  end
76
76
  end
@@ -14,7 +14,7 @@ module Sshster
14
14
  private
15
15
 
16
16
  def parse_config(config_path)
17
- YAML.safe_load(File.read(config_path))
17
+ YAML.safe_load(File.read(config_path)) || {}
18
18
  end
19
19
 
20
20
  def merge_config(config_path)
@@ -1,3 +1,3 @@
1
1
  module Sshster
2
- VERSION = '0.1.0'.freeze
2
+ VERSION = '0.1.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sshster
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ivan Zinovyev