]> review.fuel-infra Code Review - puppet-modules/puppetlabs-firewall.git/commitdiff
(maint) - modulesync 384f4c1 maint_modsync_384f4c1
authortphoney <tp@puppet.com>
Wed, 13 Dec 2017 10:49:41 +0000 (10:49 +0000)
committertphoney <tp@puppet.com>
Wed, 13 Dec 2017 10:49:41 +0000 (10:49 +0000)
.gitignore
.rubocop.yml
.rubocop_todo.yml
Gemfile

index f6e8b46c29ee7fb0d148126fec3ff54c4192f676..e5e6f9e8af6d802bb42313fd8f5a5161f9838143 100644 (file)
@@ -1,24 +1,23 @@
-#This file is generated by ModuleSync, do not edit.
-pkg/
-Gemfile.lock
-Gemfile.local
-vendor/
-spec/fixtures/manifests/
-spec/fixtures/modules/
-log/
-junit/
-.vagrant/
+#This file is generated by ModuleSync, do not edit.Z
+*.iml
+.*.sw[op]
+.DS_Store
 .bundle/
-coverage/
-log/
 .idea/
 .metadata
-*.iml
-.*.sw[op]
+.vagrant/
 .yardoc
 .yardwarns
-.DS_Store
+Gemfile.local
+Gemfile.lock
+bin/
+coverage/
+doc/
+junit/
+log/
+pkg/
+spec/fixtures/manifests/
+spec/fixtures/modules/
 tmp/
 vendor/
-doc/
 
index d973ebde89a07a4623ecaa9b4f17e512e219140a..515ef6314c5bffe71a3e21896781d3871bd54931 100644 (file)
@@ -96,5 +96,3 @@ Style/IfUnlessModifier:
   Enabled: false
 Style/SymbolProc:
   Enabled: false
-RSpec/NamedSubject:
- Enabled: false
\ No newline at end of file
index cab617e8391add89588dc6ee7926a6e7fc2892db..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,20 +0,0 @@
-# This configuration was generated by
-# `rubocop --auto-gen-config`
-# on 2017-12-06 17:50:51 +0000 using RuboCop version 0.51.0.
-# The point is for the user to remove these configuration records
-# one by one as the offenses are removed from the code base.
-# Note that changes in the inspected code, or installation of new
-# versions of RuboCop, may require this file to be generated again.
-
-# Offense count: 43
-# Causes errors
-Lint/BooleanSymbol:
-  Exclude:
-    - 'lib/puppet/provider/firewall/ip6tables.rb'
-    - 'lib/puppet/provider/firewall/iptables.rb'
-    - 'lib/puppet/type/firewall.rb'
-
-# Offense count: 2
-Lint/RescueWithoutErrorClass:
-  Exclude:
-    - 'lib/puppet/util/firewall.rb'
diff --git a/Gemfile b/Gemfile
index a9f0161c79e6ba92b7a4f6f7a52750339be2299e..84b23f2b4e84ed3d0dacb63281ca6db53db9df76 100644 (file)
--- a/Gemfile
+++ b/Gemfile
@@ -28,10 +28,19 @@ def location_for(place_or_version, fake_version = nil)
 end
 
 # Used for gem conditionals
-supports_windows = false
 ruby_version_segments = Gem::Version.new(RUBY_VERSION.dup).segments
 minor_version = "#{ruby_version_segments[0]}.#{ruby_version_segments[1]}"
 
+# The following gems are not included by default as they require DevKit on Windows.
+# You should probably include them in a Gemfile.local or a ~/.gemfile
+#gem 'pry' #this may already be included in the gemfile
+#gem 'pry-stack_explorer', :require => false
+#if RUBY_VERSION =~ /^2/
+#  gem 'pry-byebug'
+#else
+#  gem 'pry-debugger'
+#end
+
 group :development do
   gem "puppet-module-posix-default-r#{minor_version}",    :require => false, :platforms => "ruby"
   gem "puppet-module-win-default-r#{minor_version}",      :require => false, :platforms => ["mswin", "mingw", "x64_mingw"]
@@ -62,7 +71,6 @@ gem 'puppet', *location_for(ENV['PUPPET_GEM_VERSION'])
 gem 'facter', *location_for(ENV['FACTER_GEM_VERSION']) if ENV['FACTER_GEM_VERSION']
 gem 'hiera', *location_for(ENV['HIERA_GEM_VERSION']) if ENV['HIERA_GEM_VERSION']
 
-
 # Evaluate Gemfile.local if it exists
 if File.exists? "#{__FILE__}.local"
   eval(File.read("#{__FILE__}.local"), binding)