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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7bfc427b5c45404f29d5b083a2677fddfbcb3436
4
- data.tar.gz: 3fb322b83f4f0eae316f3f3ffdc26e9f1c19e746
3
+ metadata.gz: bc562d4bfd2115c6e7779ed32efeede89b4eebbf
4
+ data.tar.gz: 5f03c09ed9aa2f1f277f3d251111c8125250d20a
5
5
  SHA512:
6
- metadata.gz: 9134db801d2643c9ad4101ef3f27e06bc6f2a402c7e35e0e85a98ad8d384240d7e36c08219e8e3031e73c089561b3b9ac1ca75e7d5bbd80727d963de197bc48c
7
- data.tar.gz: 03894ab2663220cc3561c58308de62ccc7dbbd9acf3516ca07f3a673775ffaf3fb6defeebaddbc21ffdd159054cb2c7b86538390c0285bbc43a4e17ec6efdec5
6
+ metadata.gz: 75dd970023422a84e39eeaf08b5730a8137a5efe2c7f5e1cbd9f7bc614f8cb8e866d16250c23073892bdee7043acdd606fc2a0f51e8c228cc25c99cd35490a7f
7
+ data.tar.gz: 8f9ccb0be0e2742411e91a0e630422424f0fe1857769b95337f866e2f1af59a5862c0dcf66f12cf2292600eac270b4d5a4be09d6fc8b35758fc718ac926bb10b
@@ -1,12 +1,11 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.3.1
4
- - 2.2.5
3
+ - 2.3.3
4
+ - 2.2.6
5
5
  - 2.1.10
6
6
 
7
7
  before_install:
8
- - gem update bundler
8
+ - gem update --system
9
9
 
10
10
  script:
11
11
  - bundle exec rake spec
12
- - bundle exec rubocop
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
@@ -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 false unless sg2.tag_name == sg_id || sg2.group_name == sg_id
37
- sgs.find do |sg|
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)
@@ -1,3 +1,3 @@
1
1
  module Awspec
2
- VERSION = '0.66.1'
2
+ VERSION = '0.66.2'
3
3
  end
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.1
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-15 00:00:00.000000000 Z
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.1
509
+ rubygems_version: 2.5.2
510
510
  signing_key:
511
511
  specification_version: 4
512
512
  summary: RSpec tests for your AWS resources.