templater 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/lib/templater.rb +1 -1
- data/lib/templater/cli/manifold.rb +0 -1
- data/lib/templater/cli/parser.rb +0 -4
- metadata +2 -2
data/lib/templater.rb
CHANGED
|
@@ -23,7 +23,6 @@ module Templater
|
|
|
23
23
|
if generator_class = manifold.generator(generator_name)
|
|
24
24
|
Generator.new(generator_name, generator_class, destination_root, name, version).run(arguments)
|
|
25
25
|
else
|
|
26
|
-
puts "Could not find a suitable generator in the manifold. Known generators: #{manifold.generators.keys.join(', ')}\n"
|
|
27
26
|
Manifold.new(destination_root, manifold, name, version).run(arguments)
|
|
28
27
|
end
|
|
29
28
|
end
|
data/lib/templater/cli/parser.rb
CHANGED
|
@@ -67,10 +67,6 @@ module Templater
|
|
|
67
67
|
opts.on("-h", "--help", "Show this message") do
|
|
68
68
|
options[:help] = true
|
|
69
69
|
end
|
|
70
|
-
|
|
71
|
-
opts.on("--version", "Show the version") do
|
|
72
|
-
options[:version] = true
|
|
73
|
-
end
|
|
74
70
|
|
|
75
71
|
opts.on("--debug", "Do not catch errors") do
|
|
76
72
|
options[:debug] = true
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: templater
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jonas Nicklas
|
|
@@ -9,7 +9,7 @@ autorequire: templater
|
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
11
|
|
|
12
|
-
date: 2008-
|
|
12
|
+
date: 2008-11-05 00:00:00 +02:00
|
|
13
13
|
default_executable:
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|