wafoo 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/wafoo.rb +1 -1
- data/lib/wafoo/cli.rb +1 -1
- data/lib/wafoo/run.rb +4 -4
- data/lib/wafoo/version.rb +1 -1
- data/wafoo.gemspec +1 -1
- metadata +1 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 48f3ccc3529e9d47334dad1e6a4e4ae249a84a4b975f5a467689996839ef5c00
|
4
|
+
data.tar.gz: 5fd7483ea47f2e9dad52cb08295b6f5de66dead2a23e625780bafe323cf36095
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f5b6af2c424a8e711db60fe40f04260dad4bd6399f513da160a75d2bfe7f7a8364a00744f892530bd49ae019a81590895908032b4b003f2adce3d31f2d066d54
|
7
|
+
data.tar.gz: 6662ee5f5ce11428be0a8206e023f8838d152469f73be628793305741bf29e1cf08cfee28f5d23cb194d793241335f39ea4f360ae01f15d48c2a7aa515af308a
|
data/lib/wafoo.rb
CHANGED
data/lib/wafoo/cli.rb
CHANGED
data/lib/wafoo/run.rb
CHANGED
@@ -9,17 +9,17 @@ module Wafoo
|
|
9
9
|
# Stub は個別にロードしてあげないといけないので苦肉の策
|
10
10
|
Wafoo::Stub.load('waf') if ENV['LOAD_STUB'] == 'true'
|
11
11
|
@waf = Aws::WAF::Client.new
|
12
|
-
@waf_webacls = get_waf_webacls
|
13
12
|
|
14
13
|
# Stub は個別にロードしてあげないといけないので苦肉の策
|
15
14
|
Wafoo::Stub.load('wafregional') if ENV['LOAD_STUB'] == 'true'
|
16
15
|
@waf_regional = Aws::WAFRegional::Client.new
|
17
|
-
@wafregioal_webacls = get_wafregional_webacls
|
18
16
|
|
19
|
-
@
|
17
|
+
@full = options[:full] unless options.nil?
|
18
|
+
@waf_webacls = get_waf_webacls if @full
|
19
|
+
@wafregioal_webacls = get_wafregional_webacls if @full
|
20
|
+
@all_waf_webacls = @waf_webacls + @wafregioal_webacls if @full
|
20
21
|
|
21
22
|
@regional = options[:regional] unless options.nil?
|
22
|
-
@full = options[:full] unless options.nil?
|
23
23
|
FileUtils.mkdir_p(IP_SETS_DIR) unless FileTest.exist?(IP_SETS_DIR)
|
24
24
|
end
|
25
25
|
|
data/lib/wafoo/version.rb
CHANGED
data/wafoo.gemspec
CHANGED
@@ -34,7 +34,7 @@ Gem::Specification.new do |spec|
|
|
34
34
|
|
35
35
|
spec.add_dependency 'aws-sdk-waf'
|
36
36
|
spec.add_dependency 'aws-sdk-wafregional'
|
37
|
-
spec.add_dependency 'awsecrets'
|
37
|
+
# spec.add_dependency 'awsecrets'
|
38
38
|
spec.add_dependency 'diffy'
|
39
39
|
spec.add_dependency 'netaddr', '>= 2.0.4'
|
40
40
|
spec.add_dependency 'terminal-table'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wafoo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- inokappa
|
@@ -108,20 +108,6 @@ dependencies:
|
|
108
108
|
- - ">="
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '0'
|
111
|
-
- !ruby/object:Gem::Dependency
|
112
|
-
name: awsecrets
|
113
|
-
requirement: !ruby/object:Gem::Requirement
|
114
|
-
requirements:
|
115
|
-
- - ">="
|
116
|
-
- !ruby/object:Gem::Version
|
117
|
-
version: '0'
|
118
|
-
type: :runtime
|
119
|
-
prerelease: false
|
120
|
-
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
requirements:
|
122
|
-
- - ">="
|
123
|
-
- !ruby/object:Gem::Version
|
124
|
-
version: '0'
|
125
111
|
- !ruby/object:Gem::Dependency
|
126
112
|
name: diffy
|
127
113
|
requirement: !ruby/object:Gem::Requirement
|