nanoc 2.0.1 → 2.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/ChangeLog CHANGED
@@ -1,6 +1,11 @@
1
1
  nanoc Release Notes
2
2
  ===================
3
3
 
4
+ 2.0.2
5
+ -----
6
+
7
+ * nanoc now requires Ruby 1.8.5 instead of 1.8.6
8
+
4
9
  2.0.1
5
10
  -----
6
11
 
data/Rakefile CHANGED
@@ -39,7 +39,7 @@ spec = Gem::Specification.new do |s|
39
39
 
40
40
  s.rubyforge_project = 'nanoc'
41
41
 
42
- s.required_ruby_version = '>= 1.8.2'
42
+ s.required_ruby_version = '>= 1.8.5'
43
43
 
44
44
  s.has_rdoc = false
45
45
  s.files = %w( README LICENSE ChangeLog Rakefile ) + Dir['{bin,lib}/**/*']
data/bin/nanoc CHANGED
@@ -13,7 +13,7 @@ end
13
13
 
14
14
  # Define some texts
15
15
 
16
- version_text = "nanoc #{Nanoc::VERSION} (c) 2007 Denis Defreyne."
16
+ version_text = "nanoc #{Nanoc::VERSION} (c) 2007-2008 Denis Defreyne."
17
17
  help_text = <<EOT
18
18
  Usage: nanoc [-chvV]
19
19
  nanoc compile
data/lib/nanoc.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  module Nanoc
2
2
 
3
- VERSION = '2.0.1'
3
+ VERSION = '2.0.2'
4
4
 
5
5
  def self.load_file(*path)
6
6
  full_path = [ File.dirname(__FILE__), 'nanoc' ] + path
@@ -20,12 +20,12 @@ module Nanoc
20
20
  end
21
21
 
22
22
  def self.extensions(*extensions)
23
- self._extensions = [] unless instance_variable_defined?(:@_extensions)
23
+ self._extensions = [] unless instance_variables.include?('@_extensions')
24
24
  extensions.empty? ? self._extensions || [] : self._extensions = (self._extensions || []) + extensions
25
25
  end
26
26
 
27
27
  def self.extension(extension=nil)
28
- self._extensions = [] unless instance_variable_defined?(:@_extensions)
28
+ self._extensions = [] unless instance_variables.include?('@_extensions')
29
29
  extension.nil? ? self.extensions.first : self.extensions(extension)
30
30
  end
31
31
 
@@ -6,12 +6,12 @@ module Nanoc
6
6
  end
7
7
 
8
8
  def self.identifiers(*identifiers)
9
- self._identifiers = [] unless instance_variable_defined?(:@_identifiers)
9
+ self._identifiers = [] unless instance_variables.include?('@_identifiers')
10
10
  identifiers.empty? ? self._identifiers || [] : self._identifiers = (self._identifiers || []) + identifiers
11
11
  end
12
12
 
13
13
  def self.identifier(identifier=nil)
14
- self._identifiers = [] unless instance_variable_defined?(:@_identifiers)
14
+ self._identifiers = [] unless instance_variables.include?('@_identifiers')
15
15
  identifier.nil? ? self.identifiers.first : self.identifiers(identifier)
16
16
  end
17
17
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nanoc
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Denis Defreyne
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-01-21 00:00:00 +01:00
12
+ date: 2008-01-26 00:00:00 +01:00
13
13
  default_executable:
14
14
  dependencies: []
15
15
 
@@ -70,7 +70,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
70
70
  requirements:
71
71
  - - ">="
72
72
  - !ruby/object:Gem::Version
73
- version: 1.8.2
73
+ version: 1.8.5
74
74
  version:
75
75
  required_rubygems_version: !ruby/object:Gem::Requirement
76
76
  requirements: