Skip to content

Commit

Permalink
newlines at the end of all ruby files
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyle Allan committed Apr 1, 2013
1 parent e3f2967 commit 6966618
Show file tree
Hide file tree
Showing 24 changed files with 24 additions and 24 deletions.
2 changes: 1 addition & 1 deletion files/default/self_signed_key.key
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ OaY0rA2tkwfwG2H/S11ozsM6zvR9Q9z+O52FJaonybEI7ZffKpvf27iLjQJBAMia
6dxl/yJo/FlvmWlVfMhO/EmlD6C0Ky0OQmeDBwXwQFl6yL/Hag6un42yhsbUgI/R
XMva7Pkj2a2A08MJZRkCQQDcTz7YJoxg8OOgYBbqg55q6huYm5ndZnKn9xsVwafl
wNJnFMBWfJLHUx72/Mt9/kXkLsCSOiaAq4qSUjV5rOV5
-----END RSA PRIVATE KEY-----
-----END RSA PRIVATE KEY-----
2 changes: 1 addition & 1 deletion libraries/chef_nexus_errors.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ def message
end
end
end
end
end
2 changes: 1 addition & 1 deletion providers/hosted_repository.rb
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,4 @@ def set_publisher

def unset_publisher
Chef::Nexus.nexus(node).disable_artifact_publish(@parsed_id)
end
end
2 changes: 1 addition & 1 deletion providers/license.rb
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ def licensed?

def running_nexus_pro?
Chef::Nexus.nexus(node).running_nexus_pro?
end
end
2 changes: 1 addition & 1 deletion providers/logging.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ def same_logging_level?
require 'json'
logging_info = JSON.parse(Chef::Nexus.nexus(node).get_logging_info)
logging_info["data"]["rootLoggerLevel"] == new_resource.level
end
end
2 changes: 1 addition & 1 deletion providers/plugin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@ def nexus_plugins_path
def get_plugin(plugin)
available_plugins = Dir.entries(new_resource.plugin_path)
available_plugins.find{|plugin_dir| plugin_dir.match(plugin)}
end
end
2 changes: 1 addition & 1 deletion providers/proxy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -108,4 +108,4 @@ def enable_smart_proxy

def disable_smart_proxy
Chef::Nexus.nexus(node).disable_smart_proxy
end
end
2 changes: 1 addition & 1 deletion providers/proxy_repository.rb
Original file line number Diff line number Diff line change
Expand Up @@ -87,4 +87,4 @@ def repository_exists?(name)
rescue NexusCli::RepositoryNotFoundException => e
return false
end
end
end
2 changes: 1 addition & 1 deletion providers/settings.rb
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,4 @@ def update_nexus_settings_json
json = JSON.parse(get_nexus_settings_json)
edited_json = JsonPath.for(json).gsub("$..#{new_resource.path}") {|value| new_resource.value}.to_hash
Chef::Nexus.nexus(node).upload_global_settings(JSON.dump(edited_json))
end
end
2 changes: 1 addition & 1 deletion providers/user.rb
Original file line number Diff line number Diff line change
Expand Up @@ -120,4 +120,4 @@ def get_password_params
params[:oldPassword] = new_resource.old_password
params[:newPassword] = new_resource.password
params
end
end
2 changes: 1 addition & 1 deletion recipes/cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@

chef_gem "nexus_cli" do
version "3.0.0"
end
end
2 changes: 1 addition & 1 deletion recipes/group.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@
end
end
end
end
end
2 changes: 1 addition & 1 deletion recipes/hosted.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@
action :update
publisher repository[:publisher]
end
end
end
2 changes: 1 addition & 1 deletion recipes/jetty.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@
content Chef::Nexus.decode(keystore_value)
action :create
end
end
end
2 changes: 1 addition & 1 deletion recipes/nginx.rb
Original file line number Diff line number Diff line change
Expand Up @@ -83,4 +83,4 @@
)
end

nginx_site 'nexus_proxy.conf'
nginx_site 'nexus_proxy.conf'
2 changes: 1 addition & 1 deletion recipes/proxy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@
action :update
publisher repository[:publisher]
end
end
end
2 changes: 1 addition & 1 deletion resources/group_repository.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@
default_action :create

attribute :name, :kind_of => String, :name_attribute => true
attribute :repository, :kind_of => String
attribute :repository, :kind_of => String
2 changes: 1 addition & 1 deletion resources/hosted_repository.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@
default_action :create

attribute :name, :kind_of => String, :name_attribute => true
attribute :publisher, :kind_of => [TrueClass, FalseClass], :default => nil
attribute :publisher, :kind_of => [TrueClass, FalseClass], :default => nil
2 changes: 1 addition & 1 deletion resources/logging.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@
actions :set_level
default_action :set_level

attribute :level, :kind_of => String, :name_attribute => true, :equal_to => ["debug", "error", "info"], :default => "info"
attribute :level, :kind_of => String, :name_attribute => true, :equal_to => ["debug", "error", "info"], :default => "info"
2 changes: 1 addition & 1 deletion resources/plugin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@

attribute :name, :kind_of => String, :required => true, :name_attribute => true
attribute :plugin_path, :kind_of => String, :required => true
attribute :nexus_path, :kind_of => String, :required => true
attribute :nexus_path, :kind_of => String, :required => true
2 changes: 1 addition & 1 deletion resources/proxy_repository.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@
attribute :url, :kind_of => String, :required => true
attribute :publisher, :kind_of => [TrueClass, FalseClass], :default => nil
attribute :subscriber, :kind_of => [TrueClass, FalseClass], :default => nil
attribute :preemptive_fetch, :kind_of => [TrueClass, FalseClass], :default => false
attribute :preemptive_fetch, :kind_of => [TrueClass, FalseClass], :default => false
2 changes: 1 addition & 1 deletion templates/default/logback-nexus.xml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@
<appender-ref ref="logfile" />
</root>

</included>
</included>
2 changes: 1 addition & 1 deletion templates/default/nexus.erb
Original file line number Diff line number Diff line change
Expand Up @@ -565,4 +565,4 @@ case "$1" in
;;
esac

exit 0
exit 0
2 changes: 1 addition & 1 deletion templates/default/nexus_proxy.nginx.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ server {
<%= option %> <%= value %>;
<% end %>
}
}
}

0 comments on commit 6966618

Please sign in to comment.