awspec 0.66.1 → 0.66.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +3 -4
- data/Rakefile +4 -1
- data/lib/awspec/type/elb.rb +2 -4
- data/lib/awspec/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bc562d4bfd2115c6e7779ed32efeede89b4eebbf
|
4
|
+
data.tar.gz: 5f03c09ed9aa2f1f277f3d251111c8125250d20a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 75dd970023422a84e39eeaf08b5730a8137a5efe2c7f5e1cbd9f7bc614f8cb8e866d16250c23073892bdee7043acdd606fc2a0f51e8c228cc25c99cd35490a7f
|
7
|
+
data.tar.gz: 8f9ccb0be0e2742411e91a0e630422424f0fe1857769b95337f866e2f1af59a5862c0dcf66f12cf2292600eac270b4d5a4be09d6fc8b35758fc718ac926bb10b
|
data/.travis.yml
CHANGED
data/Rakefile
CHANGED
@@ -3,6 +3,7 @@ require 'bundler/gem_tasks'
|
|
3
3
|
begin
|
4
4
|
require 'rspec/core/rake_task'
|
5
5
|
require 'octorelease'
|
6
|
+
require 'rubocop/rake_task'
|
6
7
|
rescue LoadError
|
7
8
|
end
|
8
9
|
|
@@ -15,7 +16,7 @@ end
|
|
15
16
|
if defined?(RSpec)
|
16
17
|
task spec: 'spec:all'
|
17
18
|
namespace :spec do
|
18
|
-
task all: ['spec:type', 'spec:core', 'spec:generator_spec', 'spec:generator_doc']
|
19
|
+
task all: ['spec:type', 'spec:core', 'spec:generator_spec', 'spec:generator_doc', 'spec:rubocop']
|
19
20
|
|
20
21
|
task type: types
|
21
22
|
|
@@ -36,5 +37,7 @@ if defined?(RSpec)
|
|
36
37
|
RSpec::Core::RakeTask.new(:generator_doc) do |t|
|
37
38
|
t.pattern = 'spec/generator/doc/*_spec.rb'
|
38
39
|
end
|
40
|
+
|
41
|
+
RuboCop::RakeTask.new
|
39
42
|
end
|
40
43
|
end
|
data/lib/awspec/type/elb.rb
CHANGED
@@ -33,10 +33,8 @@ module Awspec::Type
|
|
33
33
|
end
|
34
34
|
return true if ret
|
35
35
|
sg2 = find_security_group(sg_id)
|
36
|
-
return
|
37
|
-
|
38
|
-
sg == sg2.group_name
|
39
|
-
end
|
36
|
+
return true if sg2.tag_name == sg_id || sg2.group_name == sg_id
|
37
|
+
false
|
40
38
|
end
|
41
39
|
|
42
40
|
def has_subnet?(subnet_id)
|
data/lib/awspec/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: awspec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.66.
|
4
|
+
version: 0.66.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- k1LoW
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-02-
|
11
|
+
date: 2017-02-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|
@@ -506,7 +506,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
506
506
|
version: '0'
|
507
507
|
requirements: []
|
508
508
|
rubyforge_project:
|
509
|
-
rubygems_version: 2.5.
|
509
|
+
rubygems_version: 2.5.2
|
510
510
|
signing_key:
|
511
511
|
specification_version: 4
|
512
512
|
summary: RSpec tests for your AWS resources.
|