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

Update from voxpupuli modulesync_config #17

Merged
merged 1 commit into from Mar 10, 2016
Merged

Update from voxpupuli modulesync_config #17

merged 1 commit into from Mar 10, 2016

Conversation

jyaworski
Copy link
Member

No description provided.

@jyaworski
Copy link
Member Author

This may take a while.

@jyaworski
Copy link
Member Author

This will require a significant refactor of the tests.

@jyaworski
Copy link
Member Author

Calling for help on this one. @bastelfreak @nibalizer ?

@juniorsysadmin
Copy link
Member

As master is at the moment, the critical gems used when testing against Ruby 1.9.3 are: puppet 4.3.2, facter-2.4.6, rspec 2.10.0 and mocha 0.10.5 .

I would pin these in the Gemfile and move your way up slowly taking note of deprecation warnings - rspec 2.10.0 and mocha 0.10.5 breaking changes are most likely the culprit

# generate hash of {provider_name => provider}
providers = instances.inject({}) do |hash, instance|
providers = instances.each_with_object({}) do |instance, hash|
Copy link
Member

Choose a reason for hiding this comment

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

each_with_object is not available in Ruby 1.8.7, but you probably knew that already

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes. We actually dropped Ruby 1.8.7 support. There should likely be a changelog entry.

@jyaworski
Copy link
Member Author

Tag @juniorsysadmin for review. I think this is good to merge; we will likely need at least some scream tests due to the amount of work this module had previously (not much)....

@@ -1,6 +1,17 @@
CHANGELOG
=========

1.2.0
Copy link
Member

Choose a reason for hiding this comment

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

This used to test against Ruby 1.8.7 but we never said it was supported in the docs, so I am fine with this versioning.

@juniorsysadmin
Copy link
Member

Looks reasonable to me

@juniorsysadmin
Copy link
Member

This module of course needs a Travis token in in order for releases to be pushed, so see the appropriate people about this.

@jyaworski
Copy link
Member Author

Tagging @nibalizer for the secret.

@jyaworski
Copy link
Member Author

@juniorsysadmin @nibalizer just got me a secret, so it looks good now.

jyaworski added a commit that referenced this pull request Mar 10, 2016
Update from voxpupuli modulesync_config
@jyaworski jyaworski merged commit 4d1b9a4 into voxpupuli:master Mar 10, 2016
@jyaworski jyaworski deleted the modulesync branch March 10, 2016 17:16
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

2 participants