genosaurus 1.2.0 → 1.2.1
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/doc/created.rid +1 -1
- data/doc/files/README.html +1 -1
- data/doc/files/lib/genosaurus_rb.html +1 -1
- data/lib/genosaurus.rb +5 -5
- metadata +2 -2
data/doc/created.rid
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
Wed, 02 Jul 2008 11:40:17 -0400
|
data/doc/files/README.html
CHANGED
data/lib/genosaurus.rb
CHANGED
|
@@ -189,17 +189,17 @@ class Genosaurus
|
|
|
189
189
|
end
|
|
190
190
|
|
|
191
191
|
def template_copy_common(output_file, options)
|
|
192
|
+
# incase the directory doesn't exist, let's create it.
|
|
193
|
+
directory(File.dirname(output_file))
|
|
194
|
+
if $genosaurus_output_directory
|
|
195
|
+
output_file = File.join($genosaurus_output_directory, output_file)
|
|
196
|
+
end
|
|
192
197
|
if File.exists?(output_file)
|
|
193
198
|
unless options[:force]
|
|
194
199
|
puts "Skipped: #{output_file}"
|
|
195
200
|
return nil
|
|
196
201
|
end
|
|
197
202
|
end
|
|
198
|
-
# incase the directory doesn't exist, let's create it.
|
|
199
|
-
directory(File.dirname(output_file))
|
|
200
|
-
if $genosaurus_output_directory
|
|
201
|
-
output_file = File.join($genosaurus_output_directory, output_file)
|
|
202
|
-
end
|
|
203
203
|
output_file
|
|
204
204
|
end
|
|
205
205
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: genosaurus
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.2.
|
|
4
|
+
version: 1.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- markbates
|
|
@@ -9,7 +9,7 @@ autorequire:
|
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
11
|
|
|
12
|
-
date: 2008-
|
|
12
|
+
date: 2008-07-02 00:00:00 -04:00
|
|
13
13
|
default_executable:
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|