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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2c47341bd39e30cd27955cba1ae8bab5a79135e6
4
- data.tar.gz: 69129c0a0edd68e080e37af928954c4a0ecaae34
3
+ metadata.gz: 9795a44b8589bdc6c10aeb85ffededfda7ed9028
4
+ data.tar.gz: 89e4cafbe9e79ba56aa66cb255a9889b52d79ef1
5
5
  SHA512:
6
- metadata.gz: a6f0aeebee3996040189a535ddf6144a62f8eb6f6930e2167b7bfabff77cf00e46a8858a2061ffc7ca106586a5c67d303d2ffa2ce53ea5e1096296cbc40e7e8d
7
- data.tar.gz: a2dac2aa24c3d8587c654b4d0556f0a60476a47acd36be9c60f82545531f297a1324709ce5b02aeaa4f311c40085eca4840b47e1208b5f7a46a7918ccec8c607
6
+ metadata.gz: ecfd5445ba2697c7e106777780c4d6c4f21f2853b36f5f27b08482abe77ad49dfd11b6663a2912f65ca9c088010b238c35b1bb11e9995322f5580c6147ba6ac4
7
+ data.tar.gz: e9c04aa19929a016bfaa461627fd6a0a47a6d646d2f3660e99f0807aa55da1c16f647e67dae5775893e5d79fe3629630a543ee83abcd0cef9ef216800ddee58f
@@ -1,17 +1,15 @@
1
1
  language: ruby
2
2
  cache: bundler
3
-
4
3
  rvm:
5
- - 2.1.2
6
-
4
+ - 2.1.2
7
5
  before_install:
8
- - gem install bundler
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
- - pghalliday@gmail.com
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
@@ -4,3 +4,4 @@ source 'https://rubygems.org'
4
4
  gemspec
5
5
 
6
6
  gem 'fakefs', require: 'fakefs/safe'
7
+ gem 'codacy-coverage', require: false
@@ -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'
@@ -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|
@@ -1,4 +1,4 @@
1
1
  # add version to class
2
2
  class Formatron
3
- VERSION = '0.1.12'
3
+ VERSION = '0.1.13'
4
4
  end
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.12
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-01-08 00:00:00.000000000 Z
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