vitrine 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/version.rb +1 -1
- data/lib/vitrine.rb +2 -2
- data/vitrine.gemspec +1 -1
- metadata +2 -2
data/lib/version.rb
CHANGED
data/lib/vitrine.rb
CHANGED
@@ -9,12 +9,12 @@ module Vitrine
|
|
9
9
|
|
10
10
|
def self.check_dirs_present!
|
11
11
|
views = DEFAULTS[:root] + '/views'
|
12
|
-
unless File.exist?(views) and File.
|
12
|
+
unless File.exist?(views) and File.directory?(views)
|
13
13
|
$stderr.puts "WARNING: `views' directory not found under the current tree, you might want to create it"
|
14
14
|
end
|
15
15
|
|
16
16
|
public = DEFAULTS[:root] + '/public'
|
17
|
-
unless File.exist?(views) and File.
|
17
|
+
unless File.exist?(views) and File.directory?(views)
|
18
18
|
$stderr.puts "ERROR: `public' directory not found under the current tree, you might want to create it"
|
19
19
|
exit 1
|
20
20
|
end
|
data/vitrine.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vitrine
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -142,7 +142,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
142
142
|
version: '0'
|
143
143
|
segments:
|
144
144
|
- 0
|
145
|
-
hash:
|
145
|
+
hash: 1556361570369534493
|
146
146
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
147
147
|
none: false
|
148
148
|
requirements:
|