formatron 0.1.12 → 0.1.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +6 -8
- data/Gemfile +1 -0
- data/formatron.gemspec +1 -0
- data/lib/formatron/util/ssh.rb +3 -2
- data/lib/formatron/version.rb +1 -1
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9795a44b8589bdc6c10aeb85ffededfda7ed9028
|
4
|
+
data.tar.gz: 89e4cafbe9e79ba56aa66cb255a9889b52d79ef1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ecfd5445ba2697c7e106777780c4d6c4f21f2853b36f5f27b08482abe77ad49dfd11b6663a2912f65ca9c088010b238c35b1bb11e9995322f5580c6147ba6ac4
|
7
|
+
data.tar.gz: e9c04aa19929a016bfaa461627fd6a0a47a6d646d2f3660e99f0807aa55da1c16f647e67dae5775893e5d79fe3629630a543ee83abcd0cef9ef216800ddee58f
|
data/.travis.yml
CHANGED
@@ -1,17 +1,15 @@
|
|
1
1
|
language: ruby
|
2
2
|
cache: bundler
|
3
|
-
|
4
3
|
rvm:
|
5
|
-
|
6
|
-
|
4
|
+
- 2.1.2
|
7
5
|
before_install:
|
8
|
-
|
9
|
-
|
10
|
-
script: 'bundle exec rake'
|
11
|
-
|
6
|
+
- gem install bundler
|
7
|
+
script: bundle exec rake
|
12
8
|
notifications:
|
13
9
|
email:
|
14
10
|
recipients:
|
15
|
-
|
11
|
+
- pghalliday@gmail.com
|
16
12
|
on_failure: change
|
17
13
|
on_success: never
|
14
|
+
env:
|
15
|
+
secure: OZ2tLwvM+Rdxk32itu2NKguaVBWqmvVCvkzbLS0N3ST1W4nawJZQcINz7/V4hAFkCKczpKpbACCMxlRZquQkClSMj4DMH/rwiK3r7BLjRN40jOkpXEbilbCE+ZCgVLYoUJLeVJOrIPk0S7ipktR7Tof8fYsc2DXB5jtuwklFL44SkgAXpgtuA0pSx7Sizjk/xBA3cMPDBeX36kxJiKypLvqKXcW18EwjLEW/cfYrrW2+31lUOHXdTOrDpEEU3gBcK4oxt+MYox99BUWSDoaySrHqixELlw2b6QEZlnrY/w23ImqjVNeHgYH+fOS7al5JcCI3bBqvdu/d94RInzfy9YF/Uv50cBj5azmvrwJKqAk+uOIk3at2FM5aasaMkgIKMnoQ8w0S4+mOVl1n/ACsF+CkVDREINUEC0z0qZb2pwSSMEY/oGfE4ef9C6pxh/QlCiBw0IU899XO+W2UUkVcwSpYVmlCM3JAL8/B2R0lTr5ta3qoLtn7oTOBkyDmCJuBKBg05Q2TRwSnzETp4X/E6Ax0WcPKi2XA3q2722jhlzFOWSNf8eC5NS7rdR3Mevpdh0Ds180tH5dDmJ8+JUnJcfCXd1RQ0OwWeI7ym5y8/TQYayaxZnEk1E5vtgemQ8p/JGfae7T2AOO7qUxf8H+5rwkj716Ro1lKDpjTHlgRFro=
|
data/Gemfile
CHANGED
data/formatron.gemspec
CHANGED
@@ -38,6 +38,7 @@ EOH
|
|
38
38
|
spec.add_development_dependency 'pry-remote', '~> 0.1'
|
39
39
|
spec.add_development_dependency 'pry-nav', '~> 0.2'
|
40
40
|
spec.add_development_dependency 'coveralls', '~> 0.8'
|
41
|
+
spec.add_development_dependency 'codacy-coverage', '~> 0.3'
|
41
42
|
spec.add_development_dependency 'rubocop', '0.33'
|
42
43
|
spec.add_development_dependency 'guard-livereload', '~> 2.4'
|
43
44
|
spec.add_development_dependency 'guard-rake', '~> 1.0'
|
data/lib/formatron/util/ssh.rb
CHANGED
@@ -10,13 +10,14 @@ class Formatron
|
|
10
10
|
# rubocop:disable Metrics/AbcSize
|
11
11
|
def self.exec(hostname:, bastion_hostname:, user:, key:, command:)
|
12
12
|
proxy_command = Net::SSH::Proxy::Command.new(
|
13
|
-
"ssh #{user}@#{bastion_hostname} -W %h:%p"
|
13
|
+
"ssh -o StrictHostKeyChecking=no #{user}@#{bastion_hostname} -W %h:%p"
|
14
14
|
) unless hostname.eql? bastion_hostname
|
15
15
|
Net::SSH.start(
|
16
16
|
hostname,
|
17
17
|
user,
|
18
18
|
keys: [key],
|
19
|
-
proxy: proxy_command
|
19
|
+
proxy: proxy_command,
|
20
|
+
paranoid: false
|
20
21
|
) do |ssh|
|
21
22
|
ssh.open_channel do |channel|
|
22
23
|
channel.exec(command) do |_ch, success|
|
data/lib/formatron/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: formatron
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peter Halliday
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-02-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -136,6 +136,20 @@ dependencies:
|
|
136
136
|
- - "~>"
|
137
137
|
- !ruby/object:Gem::Version
|
138
138
|
version: '0.8'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: codacy-coverage
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - "~>"
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0.3'
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - "~>"
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0.3'
|
139
153
|
- !ruby/object:Gem::Dependency
|
140
154
|
name: rubocop
|
141
155
|
requirement: !ruby/object:Gem::Requirement
|