Skip to content

Commit 4660a89

Browse files
author
JJ Asghar
committed
fixed some rubocops
1 parent b29bdb0 commit 4660a89

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@ rabbitmq Cookbook CHANGELOG
22
===========================
33
This file is used to list changes made in each version of the rabbitmq cookbook.
44

5-
v4.0.1 (2015-06-16)
5+
v4.1.2 (2015-06-16)
6+
--------------------
7+
- Stupid Rubocop
8+
9+
v4.1.1 (2015-06-16)
610
--------------------
711
- Fix single quote and nil issues with cluster recipe #274
812
- Fixed 'rabbitmqctl eval' command for old rabbitmq versions #272

metadata.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
maintainer_email '[email protected]'
44
license 'Apache 2.0'
55
description 'Installs and configures RabbitMQ server'
6-
version '4.1.1'
6+
version '4.1.2'
77
recipe 'rabbitmq', 'Install and configure RabbitMQ'
88
recipe 'rabbitmq::cluster', 'Set up RabbitMQ clustering.'
99
recipe 'rabbitmq::plugin_management', 'Manage plugins with node attributes'

providers/user.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ def user_exists?(name)
3434
end
3535
end
3636

37-
def user_has_tag?(name, tag)
38-
cmd = "rabbitmqctl -q list_users"
37+
def user_has_tag?(name, tag) # rubocop:disable all
38+
cmd = 'rabbitmqctl -q list_users'
3939
cmd = Mixlib::ShellOut.new(cmd)
4040
cmd.environment['HOME'] = ENV.fetch('HOME', '/root')
4141
cmd.run_command

0 commit comments

Comments
 (0)