Age | Commit message (Collapse) | Author |
|
removing private tests, due to rspec3 not handling private methods
|
|
Add IntelliJ files to the ignore list
|
|
|
|
MODULES-1596 - Repository repeatedly destroyed/created with force
|
|
The `retrieve` method was calling `create` and `destroy` on every run
with `force => true`. Retrieve should not be making any changes to the
system, so removed that code, and updated `working_copy_exists` to make
sure that the directory not only contains a `.git` directory, but also
if `source` is specified it also matches `#{path}/.git/config` so that
it will overwrite a git repo with a different source.
Updated tests to not check for the old broken behavior. Added a regression test.
|
|
Fix for MODULES-1597: "format" is a file not a directory
|
|
The "format" entry in a SVN directory is a file, not a directory.
|
|
Update .travis.yml, Gemfile, Rakefile, and CONTRIBUTING.md
|
|
The puppet_facts gem implicitly depends on the json gem.
On Ruby 1.8.7, json is not built in. On Puppet 2.7, it is
not explicitly pulled in by the hiera gem. So we add it
here explicitly.
|
|
|
|
Updates README per MODULES-1425
|
|
Adds note to Setup section stating that the module will not create parent directories or install VCS software.
|
|
Merge 1.2.x into master
|
|
Add missing doc update.
|
|
|
|
1.2.0 prep
|
|
|
|
Add `user` feature support to CVS provider
|
|
|
|
|
|
|
|
|
|
Change uid by Puppet execution API
|
|
Convert specs to RSpec 2.99.2 syntax with Transpec
|
|
(FM-1951) Ensure Git is installable on EL 5 platforms
|
|
Git is not installed on EL 5, but it is not in the repos either.
With this patch, if we are going to install git on an EL 5 platform we
first ensure epel is installed(FM-1951) Ensure Git is installable on
EL 5 platforms
|
|
This conversion is done by Transpec 2.3.7 with the following command:
transpec
* 22 conversions
from: it { should ... }
to: it { is_expected.to ... }
* 19 conversions
from: obj.should
to: expect(obj).to
* 15 conversions
from: == expected
to: eq(expected)
* 5 conversions
from: it { should_not ... }
to: it { is_expected.not_to ... }
* 2 conversions
from: its(:attr) { }
to: describe '#attr' do subject { super().attr }; it { } end
* 2 conversions
from: obj.should_not
to: expect(obj).not_to
* 2 conversions
from: proc { }.should
to: expect { }.to
* 1 conversion
from: be_false
to: be_falsey
* 1 conversion
from: be_true
to: be_truthy
For more details: https://github.com/yujinakayama/transpec#supported-conversions
|
|
Handle both Array/Enumerable and String values for excludes parameter
|
|
Thanks to @revhazroot for identifying the problem that excludes with a
string or single-element array fails on Ruby >= 1.9.
|
|
Remove excess whitespace
|
|
|
|
(MODULES-428) Remove dummy warning
|
|
Puppet started raising a warning about multiple default providers due to
a change in puppet. The dummy provider exists to raise an error when
`provider` is not specified because there is no way to declare
`provider` as a required attribute in the type. Even passing a
`provider` value did not get rid of the "multiple default providers
found" warning however.
This commit causes the dummy provider to be the defacto default for all
resources which do not have an explicit provider declared, as the posix
feature is available on basically every operating system on which
vcsrepo works. (There is no way to create an "always default" provider.)
|
|
Disable simplecov on Ruby 1.8.7
|
|
|
|
|
|
Fix issue with puppet_module_install, removed and using updated method f...
|
|
beaker core copy_module_to
|
|
Update spec_helper for more consistency
|
|
|
|
|
|
Release 1.1.0
|
|
Summary:
This release adds a Perforce provider* and corrects the git provider
behavior when using `ensure => latest`.
*(Only git provider is currently supported.)
Features:
- New Perforce provider
Bugfixes:
- (MODULES-660) Fix behavior with `ensure => latest` and detached HEAD
- Spec test fixes
|
|
|
|
Fix metadata.json to match checksum
|
|
|
|
(maint) Use `copy_module_to` in `beaker_helper.rb`
|
|
Previously we were using `puppet_module_install()`. Which was ported from
Beaker-RSpec. Unfortunately for our heros that method has been refactored
since this was ran last. The method `puppet_module_install()` in Beaker
installs from the public forge, while the previous behavior, installing via
scp from the current directory, has moved to the method `copy_module_to`.
This updates the helper for the beaker tests to use the updated method.
|
|
Update Markdown with missing Perforce details.
|
|
The helper calls host outside of an each loop
|