danieljohnmorris-shadow_puppet 0.3.3 → 0.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/LICENSE +0 -0
- data/README.rdoc +0 -0
- data/bin/shadow_puppet +7 -6
- data/examples/foo.rb +0 -0
- data/lib/shadow_puppet.rb +0 -0
- data/lib/shadow_puppet/core_ext.rb +0 -0
- data/lib/shadow_puppet/manifest.rb +0 -0
- data/lib/shadow_puppet/test.rb +0 -0
- metadata +2 -2
data/LICENSE
CHANGED
|
File without changes
|
data/README.rdoc
CHANGED
|
File without changes
|
data/bin/shadow_puppet
CHANGED
|
@@ -74,19 +74,20 @@ begin
|
|
|
74
74
|
opts.parse!
|
|
75
75
|
|
|
76
76
|
require 'rubygems'
|
|
77
|
-
require 'active_support
|
|
77
|
+
require 'active_support'
|
|
78
78
|
require 'active_support/inflector'
|
|
79
|
-
require '
|
|
79
|
+
require 'active_support/core_ext/string/inflections'
|
|
80
|
+
require 'shadow_puppet'
|
|
80
81
|
|
|
81
|
-
unless String.included_modules.include?(ActiveSupport::CoreExtensions::String::Inflections)
|
|
82
|
-
|
|
83
|
-
end
|
|
82
|
+
# unless String.included_modules.include?(ActiveSupport::CoreExtensions::String::Inflections)
|
|
83
|
+
# String.send :include, ActiveSupport::CoreExtensions::String::Inflections
|
|
84
|
+
# end
|
|
84
85
|
require 'fileutils'
|
|
85
86
|
|
|
86
87
|
filename = ARGV[0]
|
|
87
88
|
raise ArgumentError unless filename
|
|
88
|
-
|
|
89
89
|
klass = File.basename(filename, ".rb")
|
|
90
|
+
|
|
90
91
|
require filename
|
|
91
92
|
manifest = klass.classify.constantize.new
|
|
92
93
|
manifest.execute! && exit(0)
|
data/examples/foo.rb
CHANGED
|
File without changes
|
data/lib/shadow_puppet.rb
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
data/lib/shadow_puppet/test.rb
CHANGED
|
File without changes
|