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 CHANGED
@@ -1,3 +1,3 @@
1
1
  module Vitrine
2
- VERSION = '0.0.2'
2
+ VERSION = '0.0.3'
3
3
  end
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.dir?(views)
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.dir?(views)
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
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "vitrine"
8
- s.version = "0.0.2"
8
+ s.version = "0.0.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Julik Tarkhanov"]
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.2
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: -4560440876039960170
145
+ hash: 1556361570369534493
146
146
  required_rubygems_version: !ruby/object:Gem::Requirement
147
147
  none: false
148
148
  requirements: