aris-control 3.1.0 → 3.2.0

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: 47f5a4b25d09aa4971c478f813b664ed6b32ced1
4
- data.tar.gz: 53e740ce9a4947fdffe9233c5749ef6c7e75caac
3
+ metadata.gz: c4b7c5dc7480d525076af010423e015327c080fe
4
+ data.tar.gz: fc5018068adbfb2cfe4ea341084924f7c87bca08
5
5
  SHA512:
6
- metadata.gz: bdb0f2f7749ffe4b374c160269b0e39696053d69fc3207ec0d5d27f5a754145cf3f4915e1d20486c3ede1855fb4408e0dd5fc307956e8b5fcf1427c504e2b1c7
7
- data.tar.gz: ede15203756193ac6eb025d112528bb3c21f2b6e98a1a9ff9675463148a280e9a187009d1c9439affce9ca0dd90a3262b1965c699abc645e1e34362c385e1195
6
+ metadata.gz: 1e195c14392f14593fa72d8413fbb657439c7b09af40091f9cf2998d25158f86ee6569efaec554cb35be3cec03da697eef71f76142df2cda0ef13582f82c4922
7
+ data.tar.gz: 079b9c1a199819613b5f5b3df1273746674517c6b654615a04c18e4c0508a0cd225b4dcaaea6d1fb9f5a6fe0653e29682702748e8c4b70157c8aed77737852b2
@@ -19,8 +19,6 @@ module ArisControl
19
19
  apps[name] = app.dup.tap do |h|
20
20
  h['email'] = opts[:email] || app.fetch('email')
21
21
  h['ssh_key'] = opts[:ssh_key] if opts[:ssh_key]
22
- h['pg_role'] = opts[:pg_role] if opts[:pg_role]
23
- h['pg_pass'] = opts[:pg_pass] if opts[:pg_pass]
24
22
  h['env_vars'] = with_upcased_keys(env_vars) if env_vars
25
23
  end
26
24
  persistence.store_apps(apps)
@@ -5,15 +5,11 @@ class ArisControl::Thor < Thor
5
5
  desc 'add/update appname', 'Adds/Updates an aris app.'
6
6
  method_option :email, type: :string, desc: 'The apps email address. Used for web login.'
7
7
  method_option :ssh_key, type: :string, desc: 'The apps ssh public key. Used for git access via ssh.'
8
- method_option :pg_role, type: :string, desc: 'The apps postgres role.'
9
- method_option :pg_pass, type: :string, desc: 'The apps postgres password.'
10
8
  method_option :env_vars, type: :hash, desc: 'The apps app env vars. Env vars will be accessible inside the app via ENV[VAR-NAME].'
11
9
  def add(name)
12
10
  opts = Hash.new.tap do |o|
13
11
  o[:email] = options[:email]
14
12
  o[:ssh_key] = options[:ssh_key] if options[:ssh_key]
15
- o[:pg_role] = options[:pg_role] if options[:pg_role]
16
- o[:pg_pass] = options[:pg_pass] if options[:pg_pass]
17
13
  o[:env_vars] = options[:env_vars] if options[:env_vars]
18
14
  end
19
15
  bookkeeper.add(name, **opts)
@@ -1,3 +1,3 @@
1
1
  module ArisControl
2
- VERSION = '3.1.0'
2
+ VERSION = '3.2.0'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aris-control
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0
4
+ version: 3.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gregory Igelmund