datacenter 0.4.2 → 0.4.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +16 -2
- data/Gemfile +1 -5
- data/README.md +5 -5
- data/Rakefile +11 -5
- data/datacenter.gemspec +8 -6
- data/lib/datacenter/shell/local.rb +1 -1
- data/lib/datacenter/version.rb +1 -1
- data/spec/minitest_helper.rb +1 -7
- metadata +55 -21
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 019f835ac47e780131ce4a171866b50d070bd9eb
|
4
|
+
data.tar.gz: fc334d6b1ac38a447ed9bac873870f5ca0d647ac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 593b837bb8cb9e294df5ddb77aebf64d8e6c8519353b7ef3765407b5da91a965ea4e49321d50c587e7a2d24a483a3e4e42019aa0db1c8d934cdcc8d7605fa738
|
7
|
+
data.tar.gz: 3ccd7243885932720d4d38d83ed237f1dab19d7e6833197c83f07afddc4bfdafcd2bcea1b971a63b3c6d60e4f8bf3c30ee788ff8a0472c1f1148501700d4dcc3
|
data/.travis.yml
CHANGED
@@ -1,12 +1,26 @@
|
|
1
1
|
language: ruby
|
2
|
+
|
2
3
|
rvm:
|
4
|
+
- 1.9.3
|
3
5
|
- 2.0
|
4
6
|
- 2.1
|
5
7
|
- 2.2
|
6
8
|
- 2.3.0
|
7
|
-
-
|
9
|
+
- 2.4.0
|
10
|
+
- 2.5.0
|
11
|
+
- jruby-1.7.25
|
12
|
+
- jruby-9.1.7.0
|
13
|
+
- ruby-head
|
14
|
+
- jruby-head
|
15
|
+
|
16
|
+
matrix:
|
17
|
+
fast_finish: true
|
18
|
+
allow_failures:
|
19
|
+
- rvm: ruby-head
|
20
|
+
- rvm: jruby-head
|
21
|
+
|
8
22
|
before_install:
|
9
23
|
- gem install bundler
|
10
24
|
- sudo apt-get -y install openssh-server
|
11
25
|
- ssh-keygen -q -t rsa -N "" -f ~/.ssh/id_rsa
|
12
|
-
- cp $HOME/.ssh/id_rsa.pub $HOME/.ssh/authorized_keys
|
26
|
+
- cp $HOME/.ssh/id_rsa.pub $HOME/.ssh/authorized_keys
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
# Datacenter
|
2
2
|
|
3
|
-
[![Gem Version](https://badge.fury.io/rb/datacenter.
|
4
|
-
[![Build Status](https://travis-ci.org/gabynaiman/datacenter.
|
5
|
-
[![Coverage Status](https://coveralls.io/repos/gabynaiman/datacenter/badge.
|
6
|
-
[![Code Climate](https://codeclimate.com/github/gabynaiman/datacenter.
|
7
|
-
[![Dependency Status](https://gemnasium.com/gabynaiman/datacenter.
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/datacenter.svg)](https://rubygems.org/gems/datacenter)
|
4
|
+
[![Build Status](https://travis-ci.org/gabynaiman/datacenter.svg?branch=master)](https://travis-ci.org/gabynaiman/datacenter)
|
5
|
+
[![Coverage Status](https://coveralls.io/repos/gabynaiman/datacenter/badge.svg?branch=master)](https://coveralls.io/r/gabynaiman/datacenter?branch=master)
|
6
|
+
[![Code Climate](https://codeclimate.com/github/gabynaiman/datacenter.svg)](https://codeclimate.com/github/gabynaiman/datacenter)
|
7
|
+
[![Dependency Status](https://gemnasium.com/gabynaiman/datacenter.svg)](https://gemnasium.com/gabynaiman/datacenter)
|
8
8
|
|
9
9
|
Manage and monitor servers and processes
|
10
10
|
|
data/Rakefile
CHANGED
@@ -3,17 +3,23 @@ require 'rake/testtask'
|
|
3
3
|
|
4
4
|
Rake::TestTask.new(:spec) do |t|
|
5
5
|
t.libs << 'spec'
|
6
|
-
t.
|
6
|
+
t.libs << 'lib'
|
7
|
+
t.pattern = ENV['DIR'] ? File.join(ENV['DIR'], '**', '*_spec.rb') : 'spec/**/*_spec.rb'
|
7
8
|
t.verbose = false
|
8
9
|
t.warning = false
|
10
|
+
t.loader = nil if ENV['TEST']
|
11
|
+
ENV['TEST'], ENV['LINE'] = ENV['TEST'].split(':') if ENV['TEST'] && !ENV['LINE']
|
12
|
+
t.options = ''
|
13
|
+
t.options << "--name=/#{ENV['NAME']}/ " if ENV['NAME']
|
14
|
+
t.options << "-l #{ENV['LINE']} " if ENV['LINE'] && ENV['TEST']
|
9
15
|
end
|
10
16
|
|
11
|
-
|
17
|
+
task default: :spec
|
18
|
+
|
19
|
+
desc 'Pry console'
|
12
20
|
task :console do
|
21
|
+
require 'rasti-db'
|
13
22
|
require 'pry'
|
14
|
-
require 'datacenter'
|
15
23
|
ARGV.clear
|
16
24
|
Pry.start
|
17
25
|
end
|
18
|
-
|
19
|
-
task default: :spec
|
data/datacenter.gemspec
CHANGED
@@ -21,10 +21,12 @@ Gem::Specification.new do |spec|
|
|
21
21
|
spec.add_dependency 'net-ssh', '~> 2.6'
|
22
22
|
spec.add_dependency 'class_config'
|
23
23
|
|
24
|
-
spec.add_development_dependency 'bundler', '~> 1.
|
25
|
-
spec.add_development_dependency 'rake'
|
26
|
-
spec.add_development_dependency 'minitest', '~>
|
27
|
-
spec.add_development_dependency '
|
28
|
-
spec.add_development_dependency '
|
29
|
-
spec.add_development_dependency '
|
24
|
+
spec.add_development_dependency 'bundler', '~> 1.12'
|
25
|
+
spec.add_development_dependency 'rake', '~> 11.0'
|
26
|
+
spec.add_development_dependency 'minitest', '~> 5.0', '< 5.11'
|
27
|
+
spec.add_development_dependency 'minitest-colorin', '~> 0.1'
|
28
|
+
spec.add_development_dependency 'minitest-line', '~> 0.6'
|
29
|
+
spec.add_development_dependency 'simplecov', '~> 0.12'
|
30
|
+
spec.add_development_dependency 'coveralls', '~> 0.8'
|
31
|
+
spec.add_development_dependency 'pry-nav', '~> 0.2'
|
30
32
|
end
|
data/lib/datacenter/version.rb
CHANGED
data/spec/minitest_helper.rb
CHANGED
@@ -1,16 +1,10 @@
|
|
1
1
|
require 'coverage_helper'
|
2
2
|
require 'minitest/autorun'
|
3
|
-
require '
|
3
|
+
require 'minitest/colorin'
|
4
4
|
require 'yaml'
|
5
5
|
require 'datacenter'
|
6
6
|
require 'pry-nav'
|
7
7
|
|
8
|
-
Turn.config do |c|
|
9
|
-
c.format = :pretty
|
10
|
-
c.natural = true
|
11
|
-
c.ansi = true
|
12
|
-
end
|
13
|
-
|
14
8
|
class Module
|
15
9
|
include Minitest::Spec::DSL
|
16
10
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: datacenter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gabriel Naiman
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-03-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: net-ssh
|
@@ -44,84 +44,118 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - ~>
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '1.
|
47
|
+
version: '1.12'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - ~>
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '1.
|
54
|
+
version: '1.12'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rake
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- -
|
59
|
+
- - ~>
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '0'
|
61
|
+
version: '11.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: '0'
|
68
|
+
version: '11.0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: minitest
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - ~>
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: '
|
75
|
+
version: '5.0'
|
76
|
+
- - <
|
77
|
+
- !ruby/object:Gem::Version
|
78
|
+
version: '5.11'
|
76
79
|
type: :development
|
77
80
|
prerelease: false
|
78
81
|
version_requirements: !ruby/object:Gem::Requirement
|
79
82
|
requirements:
|
80
83
|
- - ~>
|
81
84
|
- !ruby/object:Gem::Version
|
82
|
-
version: '
|
85
|
+
version: '5.0'
|
86
|
+
- - <
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: '5.11'
|
83
89
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
90
|
+
name: minitest-colorin
|
85
91
|
requirement: !ruby/object:Gem::Requirement
|
86
92
|
requirements:
|
87
93
|
- - ~>
|
88
94
|
- !ruby/object:Gem::Version
|
89
|
-
version: '0.
|
95
|
+
version: '0.1'
|
90
96
|
type: :development
|
91
97
|
prerelease: false
|
92
98
|
version_requirements: !ruby/object:Gem::Requirement
|
93
99
|
requirements:
|
94
100
|
- - ~>
|
95
101
|
- !ruby/object:Gem::Version
|
96
|
-
version: '0.
|
102
|
+
version: '0.1'
|
103
|
+
- !ruby/object:Gem::Dependency
|
104
|
+
name: minitest-line
|
105
|
+
requirement: !ruby/object:Gem::Requirement
|
106
|
+
requirements:
|
107
|
+
- - ~>
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '0.6'
|
110
|
+
type: :development
|
111
|
+
prerelease: false
|
112
|
+
version_requirements: !ruby/object:Gem::Requirement
|
113
|
+
requirements:
|
114
|
+
- - ~>
|
115
|
+
- !ruby/object:Gem::Version
|
116
|
+
version: '0.6'
|
97
117
|
- !ruby/object:Gem::Dependency
|
98
118
|
name: simplecov
|
99
119
|
requirement: !ruby/object:Gem::Requirement
|
100
120
|
requirements:
|
101
|
-
- -
|
121
|
+
- - ~>
|
102
122
|
- !ruby/object:Gem::Version
|
103
|
-
version: '0'
|
123
|
+
version: '0.12'
|
104
124
|
type: :development
|
105
125
|
prerelease: false
|
106
126
|
version_requirements: !ruby/object:Gem::Requirement
|
107
127
|
requirements:
|
108
|
-
- -
|
128
|
+
- - ~>
|
109
129
|
- !ruby/object:Gem::Version
|
110
|
-
version: '0'
|
130
|
+
version: '0.12'
|
131
|
+
- !ruby/object:Gem::Dependency
|
132
|
+
name: coveralls
|
133
|
+
requirement: !ruby/object:Gem::Requirement
|
134
|
+
requirements:
|
135
|
+
- - ~>
|
136
|
+
- !ruby/object:Gem::Version
|
137
|
+
version: '0.8'
|
138
|
+
type: :development
|
139
|
+
prerelease: false
|
140
|
+
version_requirements: !ruby/object:Gem::Requirement
|
141
|
+
requirements:
|
142
|
+
- - ~>
|
143
|
+
- !ruby/object:Gem::Version
|
144
|
+
version: '0.8'
|
111
145
|
- !ruby/object:Gem::Dependency
|
112
146
|
name: pry-nav
|
113
147
|
requirement: !ruby/object:Gem::Requirement
|
114
148
|
requirements:
|
115
|
-
- -
|
149
|
+
- - ~>
|
116
150
|
- !ruby/object:Gem::Version
|
117
|
-
version: '0'
|
151
|
+
version: '0.2'
|
118
152
|
type: :development
|
119
153
|
prerelease: false
|
120
154
|
version_requirements: !ruby/object:Gem::Requirement
|
121
155
|
requirements:
|
122
|
-
- -
|
156
|
+
- - ~>
|
123
157
|
- !ruby/object:Gem::Version
|
124
|
-
version: '0'
|
158
|
+
version: '0.2'
|
125
159
|
description: Manage and monitor servers and processes
|
126
160
|
email:
|
127
161
|
- gabynaiman@gmail.com
|