zena 0.16.1 → 0.16.2

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt CHANGED
@@ -1,3 +1,8 @@
1
+ == 0.16.2 2010-01-17
2
+
3
+ * 1 minor enhancement
4
+ * fixed zena:asset task when used from 'zena' command
5
+
1
6
  == 0.16.1 2010-01-16
2
7
 
3
8
  * 3 minor enhancements
data/lib/tasks/zena.rake CHANGED
@@ -71,7 +71,7 @@ def copy_files(from, to)
71
71
  next if f =~ /\A./
72
72
  copy_files("#{from}/#{f}", "#{to}/#{f}")
73
73
  end
74
- elsif File.exist?(to)
74
+ elsif !ENV['OVERWRITE_ASSETS'] && File.exist?(to)
75
75
  if COPY_FILE_OVERWRITE_ALL.has_key?(base)
76
76
  if COPY_FILE_OVERWRITE_ALL[base]
77
77
  FileUtils.cp(from, base)
@@ -32,5 +32,5 @@ inside('app/controllers') do
32
32
  end
33
33
  end
34
34
 
35
- rake 'zena:assets'
35
+ rake 'zena:assets OVERWRITE_ASSETS=true'
36
36
 
data/lib/zena/info.rb CHANGED
@@ -9,7 +9,7 @@ ZENA_CALENDAR_LANGS = ["en", "fr"] # FIXME: build this dynamically from existing
9
9
  ENABLE_XSENDFILE = false
10
10
 
11
11
  module Zena
12
- VERSION = '0.16.1'
12
+ VERSION = '0.16.2'
13
13
  REVISION = 1336
14
14
  ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..', '..'))
15
15
  end
data/zena.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{zena}
8
- s.version = "0.16.1"
8
+ s.version = "0.16.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Gaspard Bucher"]
12
- s.date = %q{2010-01-16}
12
+ s.date = %q{2010-01-17}
13
13
  s.default_executable = %q{zena}
14
14
  s.description = %q{zena is a Ruby on Rails CMS (content managment system) with a focus on usability, ease of customization and web 2.0 goodness (application like behaviour).}
15
15
  s.email = %q{gaspard@teti.ch}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zena
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.1
4
+ version: 0.16.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gaspard Bucher
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2010-01-16 00:00:00 +01:00
12
+ date: 2010-01-17 00:00:00 +01:00
13
13
  default_executable: zena
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency