simnos 0.1.1.beta2 → 0.1.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 +4 -4
- data/README.md +2 -0
- data/lib/simnos/cli.rb +1 -0
- data/lib/simnos/client.rb +4 -2
- data/lib/simnos/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 46ece4215baf7e53e68422ab22855f8758440803
|
|
4
|
+
data.tar.gz: 7cfe5d14b3f5780f5009e6050cb5491e71212ef1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5873c87f7b86b96102d11b52ac0280d34a4f3688e60995804a6f26c5454e9f2c764369e58d69b0b9bef6766f1a47a357dab27275115d23f59bf83dc3c7ab15f7
|
|
7
|
+
data.tar.gz: f7321d521535d66abcc420353d7bd478a2e6210ed7c70859b60ec362efd0b8e16b19ab6198c9c11e39e77839831543113c300af4e572d0d7e0c9edc24c574b47
|
data/README.md
CHANGED
|
@@ -46,6 +46,8 @@ Usage: simnos [options]
|
|
|
46
46
|
no color
|
|
47
47
|
--with-subscriptions
|
|
48
48
|
manage subscriptions
|
|
49
|
+
--only-create-subscriptions
|
|
50
|
+
only create subscriptions(recreation will occur with recreate-subscriptions option, even this option is enabled)
|
|
49
51
|
--recreate-subscriptions
|
|
50
52
|
recreate subscriptions
|
|
51
53
|
--secret-provider NAME
|
data/lib/simnos/cli.rb
CHANGED
|
@@ -44,6 +44,7 @@ module Simnos
|
|
|
44
44
|
opts.on('-s', '--split', 'split export DSL file to 1 per topic') { @options[:split] = true }
|
|
45
45
|
opts.on('', '--no-color', 'no color') { @options[:color] = false }
|
|
46
46
|
opts.on('', '--with-subscriptions', 'manage subscriptions') { @options[:with_subscriptions] = true }
|
|
47
|
+
opts.on('', '--only-create-subscriptions', 'only create subscriptions(recreation will occur with recreate-subscriptions option, even this option is enabled)') { @options[:only_create_subscriptions] = true }
|
|
47
48
|
opts.on('', '--recreate-subscriptions', 'recreate subscriptions') { @options[:recreate_subscriptions] = true }
|
|
48
49
|
opts.on('', '--secret-provider NAME', 'use secret value expansion') { |v| @options[:secret_provider] = v }
|
|
49
50
|
opts.on('-i', '--include-names NAMES', 'include SNS names', Array) { |v| @options[:includes] = v }
|
data/lib/simnos/client.rb
CHANGED
|
@@ -105,8 +105,10 @@ module Simnos
|
|
|
105
105
|
aws_sub_by_key.delete(key)
|
|
106
106
|
end
|
|
107
107
|
|
|
108
|
-
|
|
109
|
-
|
|
108
|
+
unless @options[:only_create_subscriptions]
|
|
109
|
+
# delete
|
|
110
|
+
delete_subscriptions(aws_topic, aws_sub_by_key)
|
|
111
|
+
end
|
|
110
112
|
end
|
|
111
113
|
|
|
112
114
|
def traverse_topics(dsl_topics_all, aws_topics_by_name)
|
data/lib/simnos/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: simnos
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.1
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- wata
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-
|
|
11
|
+
date: 2017-11-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk
|
|
@@ -186,9 +186,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
186
186
|
version: '0'
|
|
187
187
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
188
188
|
requirements:
|
|
189
|
-
- - "
|
|
189
|
+
- - ">="
|
|
190
190
|
- !ruby/object:Gem::Version
|
|
191
|
-
version:
|
|
191
|
+
version: '0'
|
|
192
192
|
requirements: []
|
|
193
193
|
rubyforge_project:
|
|
194
194
|
rubygems_version: 2.6.13
|