contao 0.5.0 → 0.5.1

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/contao.gemspec CHANGED
@@ -28,7 +28,6 @@ all from the command line using Capistrano.
28
28
  gem.require_paths = ['lib']
29
29
  gem.version = Contao::VERSION
30
30
 
31
-
32
31
  # Runtime dependencies
33
32
  gem.add_dependency 'rake'
34
33
  gem.add_dependency 'activesupport'
@@ -1,3 +1,3 @@
1
1
  module Contao
2
- VERSION = '0.5.0'
2
+ VERSION = '0.5.1'
3
3
  end
@@ -90,7 +90,7 @@ namespace :contao do
90
90
  require 'active_support/core_ext/object/blank'
91
91
  config = TechnoGate::Contao::Application.config.contao_global_config
92
92
 
93
- if !config && config.install_password.blank? || config.encryption_key.blank?
93
+ if !config || config.install_password.blank? || config.encryption_key.blank?
94
94
  message = <<-EOS
95
95
  You did not set the install password, and the encryption key in your
96
96
  #{ENV['HOME']}/.contao/config.yml, I cannot generate a localconfig
@@ -101,7 +101,13 @@ namespace :contao do
101
101
  else
102
102
  config = config.clone
103
103
  config.application_name = TechnoGate::Contao::Application.name
104
- config.mysql.database = TechnoGate::Contao::Application.name
104
+
105
+ config.db_server_app = 'mysql'
106
+ config.db_hostname = config.mysql.host
107
+ config.db_port = config.mysql.port
108
+ config.db_username = config.mysql.user
109
+ config.db_password = config.mysql.pass
110
+ config.db_database = TechnoGate::Contao::Application.name
105
111
 
106
112
  localconfig_template = Rails.root.join 'config/examples/localconfig.php.erb'
107
113
  localconfig_path = public_path.join 'system/config/localconfig.php'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: contao
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-06-30 00:00:00.000000000 Z
12
+ date: 2012-07-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
@@ -171,7 +171,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
171
171
  version: '0'
172
172
  segments:
173
173
  - 0
174
- hash: -3507000943758228058
174
+ hash: 1353541920061163065
175
175
  requirements: []
176
176
  rubyforge_project:
177
177
  rubygems_version: 1.8.23