-
-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/voxpupuli/modulesync into…
… fix_moduleroot_rubocop
- Loading branch information
Showing
13 changed files
with
274 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,3 @@ | ||
source ENV['GEM_SOURCE'] || 'https://rubygems.org' | ||
|
||
if ENV['TRAVIS_RUBY_VERSION'] && ENV['TRAVIS_RUBY_VERSION'] == '1.9.3' | ||
gem 'json_pure', '~> 1.0' | ||
gem 'rubocop', '< 0.42.0' | ||
end | ||
|
||
gemspec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
Given 'a mocked git configuration' do | ||
steps %( | ||
Given a mocked home directory | ||
And I run `git config --global user.name Test` | ||
And I run `git config --global user.email [email protected]` | ||
) | ||
end | ||
|
||
Given 'a remote module repository' do | ||
steps %( | ||
Given a directory named "sources" | ||
And I run `git clone https://github.com/maestrodev/puppet-test sources/puppet-test` | ||
And a file named "managed_modules.yml" with: | ||
""" | ||
--- | ||
- puppet-test | ||
""" | ||
) | ||
write_file('modulesync.yml', <<-EOS) | ||
--- | ||
namespace: sources | ||
git_base: file://#{expand_path('.')}/ | ||
EOS | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.