lib/munge.rb in munge-0.10.0 vs lib/munge.rb in munge-0.11.0
- old
+ new
@@ -1,17 +1,18 @@
require "fileutils"
require "forwardable"
require "pathname"
require "set"
require "yaml"
+require "cgi"
require "tilt"
-begin
- # require for development
+if Gem::Specification.find_all_by_name("pry-byebug").any?
require "pry-byebug"
-rescue LoadError
+elsif Gem::Specification.find_all_by_name("pry").any?
+ require "pry"
end
# Core
require "munge/version"
require "munge/item"
@@ -30,9 +31,10 @@
require "munge/writers/filesystem"
require "munge/writers/noop"
require "munge/write_manager"
require "munge/application"
require "munge/runner"
+require "munge/reporter"
require "munge/init"
require "munge/bootloader"
# Extensions
require "munge/helpers/asset_tags"