-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
833db46
commit 640c3bb
Showing
13 changed files
with
77 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
inherit_gem: | ||
theforeman-rubocop: | ||
- default.yml | ||
|
||
inherit_mode: | ||
merge: | ||
- Exclude | ||
|
||
AllCops: | ||
Exclude: | ||
- 'vendor/bundle/**/*' | ||
|
||
Metrics/BlockLength: | ||
Exclude: | ||
- test/**/* | ||
|
||
Style/FrozenStringLiteralComment: | ||
Enabled: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
require 'smart_proxy_ansible/api' | ||
|
||
map "/ansible" do | ||
map '/ansible' do | ||
run Proxy::Ansible::Api | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
# -*- encoding: utf-8 -*- | ||
lib = File.expand_path('../lib', __FILE__) | ||
lib = File.expand_path('lib', __dir__) | ||
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) | ||
require 'smart_proxy_ansible/version' | ||
|
||
|
@@ -10,26 +9,27 @@ Gem::Specification.new do |gem| | |
gem.email = ['[email protected]', '[email protected]'] | ||
gem.homepage = 'https://github.com/theforeman/smart_proxy_ansible' | ||
gem.summary = 'Smart-Proxy Ansible plugin' | ||
gem.description = <<-EOS | ||
gem.description = <<-DESCRIPTION | ||
Smart-Proxy ansible plugin | ||
EOS | ||
DESCRIPTION | ||
|
||
gem.files = Dir['bundler.d/ansible.rb', | ||
'settings.d/**/*', | ||
'LICENSE', 'README.md', 'bin/json_inventory.sh', | ||
'lib/smart_proxy_ansible.rb', | ||
'lib/smart_proxy_ansible/**/*'] | ||
'settings.d/**/*', | ||
'LICENSE', 'README.md', 'bin/json_inventory.sh', | ||
'lib/smart_proxy_ansible.rb', | ||
'lib/smart_proxy_ansible/**/*'] | ||
gem.extra_rdoc_files = ['README.md', 'LICENSE'] | ||
gem.test_files = gem.files.grep(%r{^(test|spec|features)/}) | ||
gem.require_paths = ['lib'] | ||
gem.license = 'GPL-3.0' | ||
|
||
gem.required_ruby_version = '>= 2.5' | ||
gem.add_development_dependency 'rake', '~> 13.0' | ||
|
||
gem.add_development_dependency('logger') | ||
gem.add_development_dependency('minitest', '~> 0') | ||
gem.add_development_dependency('mocha', '~> 1') | ||
gem.add_development_dependency('webmock', '~> 3') | ||
gem.add_development_dependency('rack-test', '~> 0') | ||
gem.add_development_dependency('logger') | ||
gem.add_development_dependency('rake', '~> 13.0') | ||
gem.add_development_dependency('webmock', '~> 3') | ||
gem.add_runtime_dependency('smart_proxy_dynflow', '~> 0.1') | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters