specinfra 2.76.0 → 2.76.1

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: b2561559439da184628d8f8783706c1d0102c5fd
4
- data.tar.gz: dfefe546d7b6f406aaac4cbf8e390e44140783d5
3
+ metadata.gz: 774e9da327c97066d13b80be5ab5c59a12f8db76
4
+ data.tar.gz: 144a47ce301476c305f006bdf11a0b1557788bb8
5
5
  SHA512:
6
- metadata.gz: 14b33d70f5a48065871921390f34231da6e475ad479ebc54105f2b8cc036b72724a5ff17dcc12e9042a6c8f130367e30b07f0f6107b9ea33196def108937af83
7
- data.tar.gz: b503b1958e1ca6309597492b4ea136ab636da83c64354e39c70037adb0559f75f38ce9596d05223160f4717541f1db99b4956f0678666834a201f75d843dbe2e
6
+ metadata.gz: 01566d7edd6d43229eef3c75aeef2b7d8097bdaabe86ee913a4b61203089223520a44900fa2c1783e45eb16e73f8577af69b790a4caffc1d551c55454423bf27
7
+ data.tar.gz: 1f3702905b10e0c9e6de0f9b989985d121f0f58988011d8b5e54b422f4c10be171ad7613f23eed645444aa19235650b3dd12f0c93b9bc49acd98512d5d20b92c
@@ -117,6 +117,7 @@ require 'specinfra/command/amazon/base'
117
117
  # Amazon Linux V2 (inherit RedHat)
118
118
  require 'specinfra/command/amazon/v2'
119
119
  require 'specinfra/command/amazon/v2/service'
120
+ require 'specinfra/command/amazon/v2/port'
120
121
 
121
122
  # AIX (inherit Base)
122
123
  require 'specinfra/command/aix'
@@ -0,0 +1,5 @@
1
+ class Specinfra::Command::Amazon::V2::Port < Specinfra::Command::Amazon::Base::Port
2
+ class << self
3
+ include Specinfra::Command::Module::Ss
4
+ end
5
+ end
@@ -1,3 +1,3 @@
1
1
  module Specinfra
2
- VERSION = "2.76.0"
2
+ VERSION = "2.76.1"
3
3
  end
@@ -0,0 +1,8 @@
1
+ require 'spec_helper'
2
+
3
+ property[:os] = nil
4
+ set :os, :family => 'amazon', :release => '2'
5
+
6
+ describe get_command(:check_port_is_listening, '80') do
7
+ it { should eq 'ss -tunl | grep -- :80\ ' }
8
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: specinfra
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.76.0
4
+ version: 2.76.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gosuke Miyashita
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-08-17 00:00:00.000000000 Z
11
+ date: 2018-08-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: net-scp
@@ -216,6 +216,7 @@ files:
216
216
  - lib/specinfra/command/amazon.rb
217
217
  - lib/specinfra/command/amazon/base.rb
218
218
  - lib/specinfra/command/amazon/v2.rb
219
+ - lib/specinfra/command/amazon/v2/port.rb
219
220
  - lib/specinfra/command/amazon/v2/service.rb
220
221
  - lib/specinfra/command/arch.rb
221
222
  - lib/specinfra/command/arch/base.rb
@@ -538,6 +539,7 @@ files:
538
539
  - spec/command/amazon/interface_spec.rb
539
540
  - spec/command/amazon/package_spec.rb
540
541
  - spec/command/amazon/service_spec.rb
542
+ - spec/command/amazon2/port_spec.rb
541
543
  - spec/command/amazon2/service_spec.rb
542
544
  - spec/command/base/file_spec.rb
543
545
  - spec/command/base/group_spec.rb
@@ -663,6 +665,7 @@ test_files:
663
665
  - spec/command/amazon/interface_spec.rb
664
666
  - spec/command/amazon/package_spec.rb
665
667
  - spec/command/amazon/service_spec.rb
668
+ - spec/command/amazon2/port_spec.rb
666
669
  - spec/command/amazon2/service_spec.rb
667
670
  - spec/command/base/file_spec.rb
668
671
  - spec/command/base/group_spec.rb