nanoc3 3.1.0 → 3.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/NEWS.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # nanoc news
2
2
 
3
+ ## 3.1.1 (2010-04-05)
4
+
5
+ * Sass `@import`s now work for files not managed by nanoc
6
+ * Rake tasks now have their Unicode description decomposed if necessary
7
+
3
8
  ## 3.1 (2010-04-03)
4
9
 
5
10
  New:
@@ -3,7 +3,7 @@
3
3
  module Nanoc3
4
4
 
5
5
  # The current nanoc version.
6
- VERSION = '3.1.0'
6
+ VERSION = '3.1.1'
7
7
 
8
8
  end
9
9
 
@@ -53,7 +53,7 @@ module Nanoc3::Filters
53
53
  # Convert to items
54
54
  imported_items = imported_filenames.map do |filename|
55
55
  normalized_filename = Pathname.new(filename).realpath
56
- @items.find { |i| Pathname.new(i[:filename]).realpath == normalized_filename }
56
+ @items.find { |i| i[:filename] && Pathname.new(i[:filename]).realpath == normalized_filename }
57
57
  end.compact
58
58
 
59
59
  # Require compilation of each item
@@ -2,7 +2,7 @@
2
2
 
3
3
  namespace :validate do
4
4
 
5
- desc 'Validate the site\'s HTML files'
5
+ desc 'Validate the sites HTML files'.make_compatible_with_env
6
6
  task :html do
7
7
  # Get output directory
8
8
  site = Nanoc3::Site.new('.')
@@ -18,7 +18,7 @@ namespace :validate do
18
18
  validator.run
19
19
  end
20
20
 
21
- desc 'Validate the site\'s CSS files'
21
+ desc 'Validate the sites CSS files'.make_compatible_with_env
22
22
  task :css do
23
23
  # Get output directory
24
24
  site = Nanoc3::Site.new('.')
@@ -36,7 +36,7 @@ namespace :validate do
36
36
 
37
37
  namespace :links do
38
38
 
39
- desc 'Validate the site’s internal links'
39
+ desc 'Validate the site’s internal links'.make_compatible_with_env
40
40
  task :internal do
41
41
  # Get output directory
42
42
  site = Nanoc3::Site.new('.')
@@ -53,7 +53,7 @@ namespace :validate do
53
53
  validator.run
54
54
  end
55
55
 
56
- desc 'Validate the site’s internal links'
56
+ desc 'Validate the site’s internal links'.make_compatible_with_env
57
57
  task :external do
58
58
  # Get output directory
59
59
  site = Nanoc3::Site.new('.')
@@ -72,7 +72,7 @@ namespace :validate do
72
72
 
73
73
  end
74
74
 
75
- desc 'Validate the site’s internal and external links'
75
+ desc 'Validate the site’s internal and external links'.make_compatible_with_env
76
76
  task :links do
77
77
  # Get output directory
78
78
  site = Nanoc3::Site.new('.')
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 3
7
7
  - 1
8
- - 0
9
- version: 3.1.0
8
+ - 1
9
+ version: 3.1.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Denis Defreyne
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-04-03 00:00:00 +02:00
17
+ date: 2010-04-05 00:00:00 +02:00
18
18
  default_executable: nanoc3
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency