Age | Commit message (Collapse) | Author |
|
puppetlabs_spec_helper takes care of these for us.
|
|
|
|
Updating 'excludes' in readme to be more concise.
|
|
Clarified what the parameter 'excludes' is intended to do.
|
|
Pin rspec gems
|
|
|
|
|
|
|
|
|
|
Implemented multiple remotes feature for git provider.
|
|
|
|
Add submodules feature to git provider
|
|
|
|
Update let to use instance variable instead.
|
|
Since lets can't be used in before :all any more.
|
|
removing private tests
|
|
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
|