manageiq-appliance_console 4.0.1 → 4.0.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
- SHA256:
3
- metadata.gz: df33eda76f2c98f0abbcb38909acd9aff1c3bdebb2d394260ab9c073e4173199
4
- data.tar.gz: 881e1d1e92e668c2a5a79b980dd30e4b46967cbd65e3a5a866059ce28de718a4
2
+ SHA1:
3
+ metadata.gz: d9d3c0d7729f25fd26bcb717cb6d54f295cae7aa
4
+ data.tar.gz: 1952c8d59c2cf6f98b0026ea41b103cadb650e6e
5
5
  SHA512:
6
- metadata.gz: 107e55782b8cd0665ec28eb34bc30023968f70753963dbac48d4515528ba16e9d1d7bbbc5df29e8165dd2853b00172b4836b6549561b2a6c54a5167bf6316fe2
7
- data.tar.gz: 473b5d493f169a65fc7806da2c0dc24446957e544f1c44c7f6178e3660d2669c8b907f0664cabbe5a4fce611fc27531914f5004410779367faa6073bb42ab3fc
6
+ metadata.gz: 5d8bc6bebe851dd851d45de29afd7683b797cad00b9c5f00de061951c82f1ca8a6486fdc5e23ea1b97927c174559949fdd9c2d01828f0496a2b0a031f4e1ff08
7
+ data.tar.gz: 2fa9d9eea0ba96f58a834e3aac60500de9d012987c544db4213081ab1d272209aacf2dbb53562db109f16765b0c6945478443e837d898f10349b34b0285a17c5
@@ -1,7 +1,7 @@
1
1
  language: ruby
2
2
  rvm:
3
3
  - 2.4.5
4
- - 2.3.8
4
+ - 2.5.3
5
5
  sudo: false
6
6
  cache: bundler
7
7
  env:
@@ -57,8 +57,8 @@ AS_OPTIONS = I18n.t("advanced_settings.menu_order").collect do |item|
57
57
  I18n.t("advanced_settings.#{item}")
58
58
  end
59
59
 
60
- require 'util/miq-password'
61
- MiqPassword.key_root = ManageIQ::ApplianceConsole::RAILS_ROOT.join("certs").to_s
60
+ require 'manageiq-password'
61
+ ManageIQ::Password.key_root = ManageIQ::ApplianceConsole::RAILS_ROOT.join("certs").to_s
62
62
 
63
63
  # Load appliance_console libraries
64
64
  include ManageIQ::ApplianceConsole::Prompts
@@ -1,8 +1,8 @@
1
1
  require 'active_record'
2
2
  require 'active_support/core_ext'
3
3
  require 'linux_admin'
4
+ require 'manageiq-password'
4
5
  require 'pathname'
5
- require 'util/miq-password'
6
6
  require 'fileutils'
7
7
 
8
8
  module ManageIQ
@@ -56,7 +56,7 @@ module ApplianceConsole
56
56
  end
57
57
 
58
58
  def password=(value)
59
- @password = MiqPassword.try_decrypt(value)
59
+ @password = ManageIQ::Password.try_decrypt(value)
60
60
  end
61
61
 
62
62
  def activate
@@ -187,11 +187,11 @@ FRIENDLY
187
187
  end
188
188
 
189
189
  def self.encrypt_password(settings)
190
- encrypt_decrypt_password(settings) { |pass| MiqPassword.try_encrypt(pass) }
190
+ encrypt_decrypt_password(settings) { |pass| ManageIQ::Password.try_encrypt(pass) }
191
191
  end
192
192
 
193
193
  def self.decrypt_password(settings)
194
- encrypt_decrypt_password(settings) { |pass| MiqPassword.try_decrypt(pass) }
194
+ encrypt_decrypt_password(settings) { |pass| ManageIQ::Password.try_decrypt(pass) }
195
195
  end
196
196
 
197
197
  def self.current
@@ -2,7 +2,7 @@ require 'pathname'
2
2
  require 'fileutils'
3
3
  require 'net/scp'
4
4
  require 'active_support/all'
5
- require 'util/miq-password'
5
+ require 'manageiq-password'
6
6
 
7
7
  module ManageIQ
8
8
  module ApplianceConsole
@@ -89,7 +89,7 @@ module ApplianceConsole
89
89
  end
90
90
 
91
91
  def create_key
92
- MiqPassword.generate_symmetric(NEW_KEY_FILE) && true
92
+ ManageIQ::Password.generate_symmetric(NEW_KEY_FILE) && true
93
93
  end
94
94
 
95
95
  def fetch_key
@@ -1,5 +1,5 @@
1
1
  module ManageIQ
2
2
  module ApplianceConsole
3
- VERSION = '4.0.1'.freeze
3
+ VERSION = '4.0.2'.freeze
4
4
  end
5
5
  end
@@ -27,6 +27,7 @@ Gem::Specification.new do |spec|
27
27
  spec.add_runtime_dependency "highline", "~> 1.6.21"
28
28
  spec.add_runtime_dependency "i18n", "~> 0.8"
29
29
  spec.add_runtime_dependency "linux_admin", ["~> 1.0", ">=1.2.2"]
30
+ spec.add_runtime_dependency "manageiq-password", "~> 0.3"
30
31
  spec.add_runtime_dependency "optimist", "~> 3.0"
31
32
  spec.add_runtime_dependency "pg"
32
33
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: manageiq-appliance_console
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.1
4
+ version: 4.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - ManageIQ Developers
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-03-14 00:00:00.000000000 Z
11
+ date: 2019-03-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -114,6 +114,20 @@ dependencies:
114
114
  - - ">="
115
115
  - !ruby/object:Gem::Version
116
116
  version: 1.2.2
117
+ - !ruby/object:Gem::Dependency
118
+ name: manageiq-password
119
+ requirement: !ruby/object:Gem::Requirement
120
+ requirements:
121
+ - - "~>"
122
+ - !ruby/object:Gem::Version
123
+ version: '0.3'
124
+ type: :runtime
125
+ prerelease: false
126
+ version_requirements: !ruby/object:Gem::Requirement
127
+ requirements:
128
+ - - "~>"
129
+ - !ruby/object:Gem::Version
130
+ version: '0.3'
117
131
  - !ruby/object:Gem::Dependency
118
132
  name: optimist
119
133
  requirement: !ruby/object:Gem::Requirement
@@ -302,7 +316,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
302
316
  version: '0'
303
317
  requirements: []
304
318
  rubyforge_project:
305
- rubygems_version: 2.7.6
319
+ rubygems_version: 2.6.14
306
320
  signing_key:
307
321
  specification_version: 4
308
322
  summary: ManageIQ Appliance Console