zena 0.15.1 → 0.15.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/History.txt CHANGED
@@ -1,3 +1,8 @@
1
+ == 0.15.2 2010-01-06
2
+
3
+ * 1 minor enhancement
4
+ * fixed app generation when rails >= 2.3.4 is installed
5
+
1
6
  == 0.15.1 2009-10-27
2
7
 
3
8
  * 2 major enhancements:
@@ -10,7 +15,7 @@
10
15
  * better versions list and diff select
11
16
  * internal 'js_data' hook to insert javascript at end of page
12
17
  * custom queries are loaded from bricks (bricks/brick_name/queries/test.host.yml)
13
- * Fixed skin importation from zipped xhtml template
18
+ * fixed skin importation from zipped xhtml template
14
19
 
15
20
  == 0.15.0 2009-10-16
16
21
 
data/bin/zena CHANGED
@@ -1,5 +1,17 @@
1
1
  #!/usr/bin/env ruby
2
2
  require 'rubygems'
3
3
  require 'zena/info'
4
+ require 'rails/version'
5
+ require 'rails_generator'
6
+ require 'rails_generator/scripts/generate'
4
7
 
5
- exec "rails -m #{File.join(Zena::ROOT, 'lib', 'zena', 'deploy', 'template.rb').inspect} #{ARGV.first}"
8
+ template_path = File.join(Zena::ROOT, 'lib', 'zena', 'deploy', 'template.rb')
9
+ args = ["-m", template_path]
10
+ args << ARGV.first
11
+
12
+ puts "Generating zena application from template #{template_path}"
13
+ Rails::Generator::Base.use_application_sources!
14
+ Rails::Generator::Scripts::Generate.new.run(
15
+ args,
16
+ :generator => 'app'
17
+ )
data/lib/zena/info.rb CHANGED
@@ -7,7 +7,7 @@ ZENA_CALENDAR_LANGS = ["en", "fr"] # FIXME: build this dynamically from existing
7
7
  ENABLE_XSENDFILE = false
8
8
 
9
9
  module Zena
10
- VERSION = '0.15.1'
10
+ VERSION = '0.15.2'
11
11
  REVISION = 1336
12
12
  ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..', '..'))
13
13
  end
@@ -1615,7 +1615,7 @@ zena_lake:
1615
1615
  type: Contact
1616
1616
  kpath: NRC
1617
1617
  zip: 23
1618
- publish_from: Tue Oct 27 13:14:13 +0000 2009
1618
+ publish_from: Wed Jan 06 11:21:14 +0000 2010
1619
1619
  vhash: '{"w":{"en":1833724126},"r":{"en":618648829}}'
1620
1620
  inherit: yes
1621
1621
  skin: default
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.15.1
4
+ version: 0.15.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: 2009-10-27 00:00:00 +01:00
12
+ date: 2010-01-06 00:00:00 +01:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency