-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
155 changed files
with
5,141 additions
and
841 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Ruby 1.8.7 needs the . on chain of method calls at the end of a line | ||
Style/DotPosition: | ||
EnforcedStyle: trailing | ||
|
||
# Ruby 1.8.7 doesn't have the -> lambda | ||
Style/Lambda: | ||
Enabled: false | ||
|
||
# Ruby 1.8.7 doesn't have 1.9 style hash syntax | ||
Style/HashSyntax: | ||
EnforcedStyle: hash_rockets | ||
|
||
Style/StringLiterals: | ||
Enabled: false | ||
|
||
Style/Documentation: | ||
Enabled: false | ||
|
||
Metrics/LineLength: | ||
Max: 140 |
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,6 @@ | ||
AllCops: | ||
Exclude: | ||
- 'vendor/**/*' | ||
|
||
Metrics/LineLength: | ||
Max: 140 |
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,55 +1,35 @@ | ||
source ENV['GEM_SOURCE'] || 'https://rubygems.org' | ||
|
||
group :test do | ||
gem 'rake', :require => false | ||
gem 'rspec-puppet', :require => false | ||
gem 'rake', :require => false unless dependencies.map {|dep| dep.name}.include?('rake') | ||
# TODO: Remove this explicitly pinned version by the time ticket gh-org/puppet-jboss#84 is closed. | ||
gem 'rspec-puppet', '2.3.2', :require => false | ||
gem 'puppetlabs_spec_helper', :require => false | ||
gem 'puppet-lint', :require => false | ||
gem 'metadata-json-lint', :require => false | ||
gem 'json', :require => false | ||
|
||
if RUBY_VERSION >= '1.9.0' | ||
gem 'beaker', :require => false | ||
gem 'beaker-rspec', :require => false | ||
gem 'docker-api', :require => false | ||
gem 'coveralls', :require => false | ||
gem 'codeclimate-test-reporter', :require => false | ||
gem 'simplecov', :require => false | ||
end | ||
gem 'os', :require => false | ||
gem 'beaker', :require => false | ||
gem 'beaker-rspec', :require => false | ||
gem 'docker-api', :require => false | ||
gem 'coveralls', :require => false | ||
gem 'codeclimate-test-reporter', :require => false | ||
gem 'simplecov', :require => false | ||
if facterver = ENV['FACTER_VERSION'] | ||
gem 'facter', facterver, :require => false | ||
else | ||
gem 'facter', :require => false | ||
end | ||
puppetver = if RUBY_VERSION < '1.9.0' then '~> 2.7.0' else ENV['PUPPET_VERSION'] end | ||
if puppetver | ||
gem 'puppet', puppetver, :require => false | ||
if Gem::Requirement.new(puppetver) =~ Gem::Version.new('2.7.0') | ||
gem 'hiera-puppet', :require => false | ||
end | ||
else | ||
gem 'puppet', '~> 3.0', :require => false | ||
end | ||
gem 'puppet', '~> 3.0', :require => false | ||
gem 'ruby-augeas', :require => false | ||
gem 'augeas', :require => false | ||
end | ||
|
||
group :development do | ||
gem 'inch', :require => false | ||
gem 'vagrant-wrapper', :require => false | ||
if RUBY_VERSION >= '1.9.0' | ||
gem 'travis', :require => false | ||
gem 'puppet-blacksmith', :require => false | ||
gem 'guard-rake', :require => false | ||
if RUBY_VERSION >= '2.0.0' | ||
gem 'pry-byebug', :require => false | ||
else | ||
gem 'pry-debugger', :require => false | ||
end | ||
end | ||
gem 'travis', :require => false | ||
gem 'puppet-blacksmith', :require => false | ||
gem 'pry-byebug', :require => false | ||
end | ||
|
||
eval(IO.read(File.join(File.dirname(__FILE__), 'Gemfile.ruby19')), binding) if RUBY_VERSION < '2.0.0' and RUBY_VERSION >= '1.9.0' | ||
eval(IO.read(File.join(File.dirname(__FILE__), 'Gemfile.ruby18')), binding) if RUBY_VERSION < '1.9.0' | ||
|
||
# vim:ft=ruby |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -2,6 +2,8 @@ | |
Author: Francis Giraldeau <[email protected]> | ||
|
||
Reference: http://www.w3.org/TR/2006/REC-xml11-20060816/ | ||
|
||
This file is based on xml.aug lens from augeas v0.10.0 | ||
*) | ||
|
||
module JBXml = | ||
|
@@ -92,7 +94,7 @@ let doctype = decl_def /!DOCTYPE/ (decl_outer|id_def) | |
let attributes = [ label "#attribute" . | ||
[ sep_spc . key nmtoken . sep_eq . sto_dquote ]+ ] | ||
let attributes_sq = [ label "#attribute" . | ||
[ sep_spc . key nmtoken . sep_eq . sto_squote ]+ ] | ||
[ sep_spc . key nmtoken . sep_eq . (sto_dquote|sto_squote) ]+ ] | ||
|
||
|
||
let prolog = [ label "#declaration" . | ||
|
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,36 @@ | ||
source ENV['GEM_SOURCE'] || 'https://rubygems.org' | ||
|
||
group :test do | ||
gem 'rake', '~> 10.0.0', :require => false unless dependencies.map {|dep| dep.name}.include?('rake') | ||
# TODO: Remove this explicitly pinned version by the time ticket gh-org/puppet-jboss#84 is closed. | ||
gem 'rspec-puppet', '2.3.2', :require => false | ||
gem 'puppetlabs_spec_helper', :require => false | ||
gem 'puppet-lint', :require => false | ||
gem 'metadata-json-lint', :require => false | ||
# This package drops support for 1.8 | ||
gem 'json', '1.8.3', :require => false | ||
gem 'os', :require => false | ||
gem 'specinfra', '2.59.0', :require => false | ||
gem 'net-ssh', '2.9.4', :require => false | ||
# This package drops support for 1.8 | ||
gem 'json_pure', '1.8.3', :require => false | ||
gem 'rspec-its', :require => false | ||
gem 'rspec', '~> 3.1.0', :require => false | ||
|
||
gem 'tins', '~> 1.6.0', :require => false | ||
|
||
gem 'facter', '~> 1.6.18', :require => false | ||
gem 'puppet', '~> 2.7.0', :require => false | ||
gem 'hiera-puppet', :require => false | ||
|
||
gem 'ruby-augeas', :require => false | ||
gem 'augeas', :require => false | ||
end | ||
|
||
group :development do | ||
gem 'inch', :require => false | ||
gem 'vagrant-wrapper', :require => false | ||
gem 'pry', '~> 0.9.12.0', :require => false | ||
end | ||
|
||
# vim:ft=ruby |
Oops, something went wrong.