Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make the position parameter work properly #4

Merged
merged 1 commit into from
May 12, 2015

Conversation

mmarod
Copy link
Contributor

@mmarod mmarod commented May 8, 2015

This fixes issue #3 by adding self.position_path and in_position? methods to the provider.

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 5a87fbf on mmarod:fix_position into * on hercules-team:master*.

2 similar comments
@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 5a87fbf on mmarod:fix_position into * on hercules-team:master*.

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 5a87fbf on mmarod:fix_position into * on hercules-team:master*.

@@ -131,6 +131,31 @@
:arguments => ["try_first_pass","retry=3","type="],})
end

describe "when reodering settings" do
it "Changing the order of an entry" do
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would rather this says "should change the order of an entry"

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling bda708f on mmarod:fix_position into * on hercules-team:master*.

if PAM_POSITION_ALIASES[key].has_key? identifier
expr = PAM_POSITION_ALIASES[key][identifier]
expr = key ? expr % [type, value] : expr % [type]
else
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I might have liked to keep the comment that was in the original piece of code here.

@raphink
Copy link
Member

raphink commented May 12, 2015

Thanks for the changes. Can you just fix the details I pointed out and squash please?

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 50667f4 on mmarod:fix_position into * on hercules-team:master*.

1 similar comment
@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 50667f4 on mmarod:fix_position into * on hercules-team:master*.

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 50667f4 on mmarod:fix_position into * on hercules-team:master*.

@raphink raphink merged commit 50667f4 into voxpupuli:master May 12, 2015
@raphink
Copy link
Member

raphink commented May 12, 2015

Merged, thank you.

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 50667f4 on mmarod:fix_position into * on hercules-team:master*.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants