refinerycms 0.9.7.2 → 0.9.7.3
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/Gemfile +8 -9
- data/bin/refinery +5 -5
- data/changelog.md +8 -0
- data/vendor/plugins/dashboard/config/locales/en.yml +1 -1
- data/vendor/plugins/i18n/lib/i18n.rb +18 -9
- data/vendor/plugins/refinery/config/locales/da.yml +0 -2
- data/vendor/plugins/refinery/config/locales/de.yml +0 -2
- data/vendor/plugins/refinery/config/locales/es.yml +0 -2
- data/vendor/plugins/refinery/config/locales/it.yml +0 -5
- data/vendor/plugins/refinery/config/locales/nb.yml +0 -2
- data/vendor/plugins/refinery/lib/generators/refinery/templates/config/locales/nl.yml +1 -1
- data/vendor/plugins/refinery/lib/generators/refinery/templates/seed.rb +1 -1
- data/vendor/plugins/refinery/lib/refinery.rb +1 -1
- data/vendor/plugins/refinery/lib/refinery/application_controller.rb +2 -2
- data/vendor/plugins/refinery/lib/tasks/refinery.rake +29 -26
- metadata +4 -4
data/Gemfile
CHANGED
@@ -3,17 +3,17 @@ source :rubygems
|
|
3
3
|
# Specify the database driver as appropriate for your application (only one is necessary).
|
4
4
|
# Defaults to sqlite3. Don't remove any of these below in the core or gems won't install.
|
5
5
|
gem 'sqlite3-ruby', :require => 'sqlite3' #db_adapter=sqlite3
|
6
|
-
#gem 'mysql', :require => 'mysql' #db_adapter=mysql
|
7
|
-
#gem 'pg' #db_adapter=postgresql
|
6
|
+
# gem 'mysql', :require => 'mysql' #db_adapter=mysql
|
7
|
+
# gem 'pg' #db_adapter=postgresql
|
8
8
|
|
9
9
|
# Specify your favourite web server (only one) - not required.
|
10
|
-
#gem 'unicorn', :group => :development
|
11
|
-
#gem 'mongrel', :group => :development
|
10
|
+
# gem 'unicorn', :group => :development
|
11
|
+
# gem 'mongrel', :group => :development
|
12
12
|
|
13
13
|
# Deploy with Capistrano
|
14
14
|
# gem 'capistrano'
|
15
15
|
|
16
|
-
# If you are using
|
16
|
+
# If you are using Amazon S3 you probably want this gem:
|
17
17
|
# gem 'aws-s3'
|
18
18
|
|
19
19
|
#===REFINERY REQUIRED GEMS===
|
@@ -31,7 +31,6 @@ group :test do
|
|
31
31
|
gem 'rspec-rails'
|
32
32
|
gem 'factory_girl'
|
33
33
|
gem 'test-unit', '= 1.2.3'
|
34
|
-
|
35
34
|
gem 'cucumber-rails'
|
36
35
|
gem 'capybara'
|
37
36
|
gem 'factory_girl'
|
@@ -42,11 +41,11 @@ end
|
|
42
41
|
|
43
42
|
#===REQUIRED FOR REFINERY GEM INSTALL===
|
44
43
|
# Leave the gem below disabled (commented out) if you're not using the gem install method.
|
45
|
-
#gem 'refinerycms', '= 0.9.7.
|
44
|
+
# gem 'refinerycms', '= 0.9.7.3'
|
46
45
|
#===END OF REFINERY GEM INSTALL REQUIREMENTS===
|
47
46
|
|
48
47
|
# Bundle gems for certain environments:
|
49
48
|
|
50
49
|
# Specify your application's gem requirements here. See the examples below:
|
51
|
-
# gem "refinerycms-news", "~> 0.9.7", :require => "news"
|
52
|
-
# gem "refinerycms-portfolio", "~> 0.9.
|
50
|
+
# gem "refinerycms-news", "~> 0.9.7.3", :require => "news"
|
51
|
+
# gem "refinerycms-portfolio", "~> 0.9.6", :require => "portfolio"
|
data/bin/refinery
CHANGED
@@ -86,15 +86,15 @@ unless (app_path = ARGV.shift).nil? or app_path.length == 0
|
|
86
86
|
|
87
87
|
# read in the Gemfile and write it back out with the refinerycms gem enabled.
|
88
88
|
(lines = refinery_root.join('Gemfile').open('r').read.split("\n")).each do |line|
|
89
|
-
line.gsub!(
|
89
|
+
line.gsub!(/\#*\s?gem 'refinerycms'/, "gem 'refinerycms'")
|
90
90
|
|
91
91
|
# Ensure that the correct database gem libraries are included for the database adapter
|
92
92
|
# that the user has specified in the refinery install command.
|
93
93
|
if line =~ /\#db\_adapter\=/
|
94
94
|
if line =~ %r{#db_adapter=#{db_adapter}}
|
95
|
-
line.gsub!(/^(\#*\
|
95
|
+
line.gsub!(/^(\#*\s?gem)/, 'gem')
|
96
96
|
else
|
97
|
-
line.gsub!(/^(\
|
97
|
+
line.gsub!(/^(\s?gem)/, '# gem')
|
98
98
|
end
|
99
99
|
end
|
100
100
|
end
|
@@ -114,11 +114,11 @@ unless (app_path = ARGV.shift).nil? or app_path.length == 0
|
|
114
114
|
puts `#{cmd}`
|
115
115
|
|
116
116
|
puts "\n\nSetting up your development database..\n"
|
117
|
-
puts (cmd="rake -f #{File.join(rails_root, 'Rakefile')} db:setup")
|
117
|
+
puts (cmd="rake -f '#{File.join(rails_root, 'Rakefile')}' db:setup")
|
118
118
|
puts `#{cmd}`
|
119
119
|
|
120
120
|
puts "\n\nUpdating some core refinery files..\n"
|
121
|
-
puts (cmd="rake -f #{File.join(rails_root, 'Rakefile')} refinery:update from_installer=true")
|
121
|
+
puts (cmd="rake -f '#{File.join(rails_root, 'Rakefile')}' refinery:update from_installer=true")
|
122
122
|
puts `#{cmd}`
|
123
123
|
end
|
124
124
|
|
data/changelog.md
CHANGED
@@ -1,3 +1,11 @@
|
|
1
|
+
## 0.9.7.3 [07 July 2010]
|
2
|
+
|
3
|
+
- Falls back to default locale when a translation key can not be located in the current locale, only in production mode. [Philip Arndt]
|
4
|
+
- Fixed issue creating a Refinery site using bin/refinery where directory paths contained spaces. [Philip Arndt]
|
5
|
+
- Fixed issue when using script/generate refinery surrounding the migration incorrectly using the plugin's title. [Philip Arndt]
|
6
|
+
- Added verbose=true option when running rake refinery:update that prints out everything it's doing. [Philip Arndt]
|
7
|
+
- [See full list](http://github.com/resolve/refinerycms/compare/0.9.7.2...0.9.7.3)
|
8
|
+
|
1
9
|
## 0.9.7.2 [06 July 2010]
|
2
10
|
|
3
11
|
- Bugfixes with users and roles [Philip Arndt and Amanda Wagener]
|
@@ -8,7 +8,7 @@ en:
|
|
8
8
|
quick_tasks: Quick tasks
|
9
9
|
add_a_new_page: Add a new page
|
10
10
|
update_a_page: Update a page
|
11
|
-
upload_a_image: Upload
|
11
|
+
upload_a_image: Upload an image
|
12
12
|
upload_a_file: Upload a file
|
13
13
|
change_language: Change Language
|
14
14
|
see_home_page: See home page
|
@@ -89,15 +89,6 @@ class Refinery::I18n
|
|
89
89
|
self.load_refinery_locales!
|
90
90
|
self.load_app_locales!
|
91
91
|
self.set_default_locale!
|
92
|
-
|
93
|
-
# Mislav trick to fallback to default for missing translations
|
94
|
-
::I18n.exception_handler = lambda do |e, locale, key, options|
|
95
|
-
if ::I18n::MissingTranslationData === e and locale != ::Refinery::I18n.default_locale
|
96
|
-
::I18n.translate(key, (options || {}).update(:locale => ::Refinery::I18n.default_locale, :raise => true))
|
97
|
-
else
|
98
|
-
raise e
|
99
|
-
end
|
100
|
-
end if Rails.env.production?
|
101
92
|
end
|
102
93
|
|
103
94
|
def load_base_locales!
|
@@ -128,5 +119,23 @@ class Refinery::I18n
|
|
128
119
|
end
|
129
120
|
|
130
121
|
if RefinerySetting.table_exists?
|
122
|
+
# override translate, but only in production
|
123
|
+
::I18n.module_eval do
|
124
|
+
class << self
|
125
|
+
alias_method :original_rails_i18n_translate, :translate
|
126
|
+
def translate(key, options = {})
|
127
|
+
begin
|
128
|
+
original_rails_i18n_translate(key, options.merge!({:raise => true}))
|
129
|
+
rescue ::I18n::MissingTranslationData => e
|
130
|
+
if self.config.locale != ::Refinery::I18n.default_locale
|
131
|
+
self.translate(key, options.update(:locale => ::Refinery::I18n.default_locale))
|
132
|
+
else
|
133
|
+
raise e
|
134
|
+
end
|
135
|
+
end
|
136
|
+
end
|
137
|
+
end
|
138
|
+
end if Rails.env.production?
|
139
|
+
|
131
140
|
::Refinery::I18n.setup!
|
132
141
|
end
|
@@ -27,8 +27,6 @@ it:
|
|
27
27
|
shared:
|
28
28
|
site_bar:
|
29
29
|
log_out: Log out
|
30
|
-
switch_to_your_website: Switch to your website
|
31
|
-
switch_to_your_website_editor: Switch to your website editor
|
32
30
|
admin:
|
33
31
|
message:
|
34
32
|
close: Fine
|
@@ -55,9 +53,6 @@ it:
|
|
55
53
|
resource: risorsa
|
56
54
|
message:
|
57
55
|
close: Fine
|
58
|
-
site_bar:
|
59
|
-
switch_to_your_website: Switch to your website
|
60
|
-
switch_to_your_website_editor: Switch to your website editor
|
61
56
|
|
62
57
|
activerecord:
|
63
58
|
models:
|
@@ -59,7 +59,7 @@ class Refinery::ApplicationController < ActionController::Base
|
|
59
59
|
protected
|
60
60
|
|
61
61
|
def default_url_options(options={})
|
62
|
-
Refinery::I18n.enabled? ? { :locale => I18n.locale } : {}
|
62
|
+
::Refinery::I18n.enabled? ? { :locale => I18n.locale } : {}
|
63
63
|
end
|
64
64
|
|
65
65
|
# get all the pages to be displayed in the site menu.
|
@@ -88,7 +88,7 @@ protected
|
|
88
88
|
::I18n.locale = locale
|
89
89
|
elsif locale.present? and locale != ::Refinery::I18n.default_frontend_locale
|
90
90
|
params[:locale] = I18n.locale = ::Refinery::I18n.default_frontend_locale
|
91
|
-
redirect_to(params, :
|
91
|
+
redirect_to(params, :notice => "The locale '#{locale.to_s}' is not supported.") and return
|
92
92
|
else
|
93
93
|
::I18n.locale = ::Refinery::I18n.default_frontend_locale
|
94
94
|
end
|
@@ -98,6 +98,7 @@ namespace :refinery do
|
|
98
98
|
|
99
99
|
desc "Update the core files with the gem"
|
100
100
|
task :update => :environment do
|
101
|
+
verbose = ENV["verbose"] || false
|
101
102
|
require 'fileutils'
|
102
103
|
|
103
104
|
# ensure asset directories exist.
|
@@ -107,17 +108,17 @@ namespace :refinery do
|
|
107
108
|
# copy in the new assets.
|
108
109
|
assets = [%w(public stylesheets refinery), %w(public javascripts refinery), %w(public javascripts wymeditor), %w(public images wymeditor skins refinery), %w(public images refinery), %w(public stylesheets wymeditor skins refinery), %w(public javascripts jquery)]
|
109
110
|
assets.each do |asset|
|
110
|
-
FileUtils::rm_rf File.join(Rails.root, asset), :secure => true # ensure the destination is clear.
|
111
|
-
FileUtils::cp_r File.join(Refinery.root, asset), File.join(Rails.root, asset) # copy the new assets into the project.
|
111
|
+
FileUtils::rm_rf File.join(Rails.root, asset), :secure => true, :verbose => verbose # ensure the destination is clear.
|
112
|
+
FileUtils::cp_r File.join(Refinery.root, asset), File.join(Rails.root, asset), :verbose => verbose # copy the new assets into the project.
|
112
113
|
end
|
113
114
|
|
114
115
|
# copy in any new migrations.
|
115
|
-
FileUtils::cp Dir[Refinery.root.join("db", "migrate", "*.rb").cleanpath.to_s], Rails.root.join("db", "migrate").cleanpath.to_s
|
116
|
+
FileUtils::cp Dir[Refinery.root.join("db", "migrate", "*.rb").cleanpath.to_s], Rails.root.join("db", "migrate").cleanpath.to_s, :verbose => verbose
|
116
117
|
|
117
118
|
# replace rakefile and gemfile.
|
118
|
-
FileUtils::cp Refinery.root.join("Rakefile").cleanpath.to_s, Rails.root.join("Rakefile").cleanpath.to_s
|
119
|
+
FileUtils::cp Refinery.root.join("Rakefile").cleanpath.to_s, Rails.root.join("Rakefile").cleanpath.to_s, :verbose => verbose
|
119
120
|
unless Rails.root.join("Gemfile").exist?
|
120
|
-
FileUtils::cp Refinery.root.join("Gemfile").cleanpath.to_s, Rails.root.join("Gemfile").cleanpath.to_s
|
121
|
+
FileUtils::cp Refinery.root.join("Gemfile").cleanpath.to_s, Rails.root.join("Gemfile").cleanpath.to_s, :verbose => verbose
|
121
122
|
else
|
122
123
|
# replace refinery's gem requirements in the Gemfile
|
123
124
|
refinery_gem_requirements = Refinery.root.join('Gemfile').read.to_s.scan(/(#===REFINERY REQUIRED GEMS===.+?#===REFINERY END OF REQUIRED GEMS===)/m).first.join('\n')
|
@@ -133,18 +134,18 @@ namespace :refinery do
|
|
133
134
|
Rails.root.join('features', 'support').mkpath
|
134
135
|
|
135
136
|
# copy in cucumber features
|
136
|
-
FileUtils::cp Dir[Refinery.root.join('features', 'refinery', '*.feature').to_s], Rails.root.join('features', 'refinery').to_s
|
137
|
-
FileUtils::cp Dir[Refinery.root.join('features', 'step_definitions', 'refinery', '*.rb').to_s], Rails.root.join('features', 'step_definitions', 'refinery').to_s
|
138
|
-
FileUtils::cp Dir[Refinery.root.join('features', 'step_definitions', 'web_steps.rb').to_s], Rails.root.join('features', 'step_definitions').to_s
|
139
|
-
FileUtils::cp Dir[Refinery.root.join('features', 'support', '*.rb').to_s], Rails.root.join('features', 'support').to_s
|
137
|
+
FileUtils::cp Dir[Refinery.root.join('features', 'refinery', '*.feature').to_s], Rails.root.join('features', 'refinery').to_s, :verbose => verbose
|
138
|
+
FileUtils::cp Dir[Refinery.root.join('features', 'step_definitions', 'refinery', '*.rb').to_s], Rails.root.join('features', 'step_definitions', 'refinery').to_s, :verbose => verbose
|
139
|
+
FileUtils::cp Dir[Refinery.root.join('features', 'step_definitions', 'web_steps.rb').to_s], Rails.root.join('features', 'step_definitions').to_s, :verbose => verbose
|
140
|
+
FileUtils::cp Dir[Refinery.root.join('features', 'support', '*.rb').to_s], Rails.root.join('features', 'support').to_s, :verbose => verbose
|
140
141
|
|
141
142
|
# update the script directory for any fixes that have happened.
|
142
|
-
FileUtils::cp_r Dir[Refinery.root.join('script', '*').to_s], Rails.root.join('script').to_s
|
143
|
-
FileUtils::chmod_R 0755, Rails.root.join('script').to_s
|
143
|
+
FileUtils::cp_r Dir[Refinery.root.join('script', '*').to_s], Rails.root.join('script').to_s, :verbose => verbose
|
144
|
+
FileUtils::chmod_R 0755, Rails.root.join('script').to_s, :verbose => verbose
|
144
145
|
|
145
146
|
# add the cucumber environment file if it's not present
|
146
147
|
unless (cucumber_environment_file = Rails.root.join('config', 'environments', 'cucumber.rb')).exist?
|
147
|
-
FileUtils::cp Refinery.root.join('config', 'environments', 'cucumber.rb').to_s, cucumber_environment_file.to_s
|
148
|
+
FileUtils::cp Refinery.root.join('config', 'environments', 'cucumber.rb').to_s, cucumber_environment_file.to_s, :verbose => verbose
|
148
149
|
# Add cucumber database adapter (link to test)
|
149
150
|
existing_db_config = Rails.root.join('config', 'database.yml').read.to_s
|
150
151
|
Rails.root.join('config', 'database.yml').open('w+') do |f|
|
@@ -153,23 +154,23 @@ namespace :refinery do
|
|
153
154
|
end
|
154
155
|
|
155
156
|
# replace the preinitializer.
|
156
|
-
FileUtils::cp Refinery.root.join("config", "preinitializer.rb").cleanpath.to_s, Rails.root.join("config", "preinitializer.rb").cleanpath.to_s
|
157
|
+
FileUtils::cp Refinery.root.join("config", "preinitializer.rb").cleanpath.to_s, Rails.root.join("config", "preinitializer.rb").cleanpath.to_s, :verbose => verbose
|
157
158
|
|
158
159
|
# replace the config.ru file
|
159
|
-
FileUtils::cp Refinery.root.join('config.ru').cleanpath.to_s, Rails.root.join('config.ru').cleanpath.to_s
|
160
|
+
FileUtils::cp Refinery.root.join('config.ru').cleanpath.to_s, Rails.root.join('config.ru').cleanpath.to_s, :verbose => verbose
|
160
161
|
|
161
162
|
# copy the lib/refinery directory in
|
162
|
-
FileUtils::cp_r Refinery.root.join("lib", "refinery").cleanpath.to_s, Rails.root.join("lib").cleanpath.to_s
|
163
|
+
FileUtils::cp_r Refinery.root.join("lib", "refinery").cleanpath.to_s, Rails.root.join("lib").cleanpath.to_s, :verbose => verbose
|
163
164
|
|
164
165
|
# copy any initializers
|
165
166
|
Dir[Refinery.root.join('config', 'initializers', '*.rb').to_s].each do |initializer|
|
166
167
|
unless (rails_initializer = Rails.root.join('config', 'initializers', initializer.split(File::SEPARATOR).last)).exist?
|
167
|
-
FileUtils::cp initializer, rails_initializer
|
168
|
+
FileUtils::cp initializer, rails_initializer, :verbose => verbose
|
168
169
|
end
|
169
170
|
end
|
170
171
|
|
171
172
|
unless (aai_config_file = Rails.root.join('config', 'acts_as_indexed_config.rb')).exist?
|
172
|
-
FileUtils::cp Refinery.root.join('config', 'acts_as_indexed_config.rb').to_s, aai_config_file.to_s
|
173
|
+
FileUtils::cp Refinery.root.join('config', 'acts_as_indexed_config.rb').to_s, aai_config_file.to_s, :verbose => verbose
|
173
174
|
end
|
174
175
|
|
175
176
|
# get current secret key
|
@@ -189,10 +190,10 @@ namespace :refinery do
|
|
189
190
|
|
190
191
|
# read in the config files
|
191
192
|
if Rails.root.join("config", "application.rb").exist?
|
192
|
-
FileUtils::cp Refinery.root.join("config", "environment.rb").cleanpath.to_s, Rails.root.join("config", "environment.rb").cleanpath.to_s
|
193
|
+
FileUtils::cp Refinery.root.join("config", "environment.rb").cleanpath.to_s, Rails.root.join("config", "environment.rb").cleanpath.to_s, :verbose => verbose
|
193
194
|
else
|
194
195
|
# write the new content into the file.
|
195
|
-
FileUtils::cp Refinery.root.join("config", "application.rb").cleanpath.to_s, Rails.root.join("config", "application.rb").cleanpath.to_s
|
196
|
+
FileUtils::cp Refinery.root.join("config", "application.rb").cleanpath.to_s, Rails.root.join("config", "application.rb").cleanpath.to_s, :verbose => verbose
|
196
197
|
|
197
198
|
(app_rb_lines = Rails.root.join("config", "application.rb").read.split('\n')).each do |line|
|
198
199
|
secret_match = line.scan(/(:secret)([^']*)([\'])([^\']*)/).flatten.last
|
@@ -202,11 +203,11 @@ namespace :refinery do
|
|
202
203
|
# write the new content into the file.
|
203
204
|
Rails.root.join("config", "application.rb").open("w").puts(app_rb_lines.join('\n'))
|
204
205
|
|
205
|
-
FileUtils::cp Refinery.root.join('config', 'environment.rb').cleanpath.to_s, Rails.root.join('config', 'environment.rb').cleanpath.to_s
|
206
|
+
FileUtils::cp Refinery.root.join('config', 'environment.rb').cleanpath.to_s, Rails.root.join('config', 'environment.rb').cleanpath.to_s, :verbose => verbose
|
206
207
|
end
|
207
208
|
|
208
209
|
unless Rails.root.join("config", "settings.rb").exist?
|
209
|
-
FileUtils::cp
|
210
|
+
FileUtils::cp Refinery.root.join('config', 'settings.rb').cleanpath.to_s, Rails.root.join('config', 'settings.rb').cleanpath.to_s, :verbose => verbose
|
210
211
|
end
|
211
212
|
|
212
213
|
app_config_file = "application.rb"
|
@@ -214,9 +215,9 @@ namespace :refinery do
|
|
214
215
|
app_config = Rails.root.join("config", app_config_file).read
|
215
216
|
|
216
217
|
# copy new jquery javascripts.
|
217
|
-
FileUtils.cp Refinery.root.join('public', 'javascripts', 'jquery.js').cleanpath.to_s, Rails.root.join('public', 'javascripts', 'jquery.js').cleanpath.to_s
|
218
|
-
FileUtils.cp Refinery.root.join('public', 'javascripts', 'jquery-min.js').cleanpath.to_s, Rails.root.join('public', 'javascripts', 'jquery-min.js').cleanpath.to_s
|
219
|
-
FileUtils.cp Refinery.root.join('public', 'javascripts', 'jquery-ui-custom-min.js').cleanpath.to_s, Rails.root.join('public', 'javascripts', 'jquery-ui-custom-min.js').cleanpath.to_s
|
218
|
+
FileUtils.cp Refinery.root.join('public', 'javascripts', 'jquery.js').cleanpath.to_s, Rails.root.join('public', 'javascripts', 'jquery.js').cleanpath.to_s, :verbose => verbose
|
219
|
+
FileUtils.cp Refinery.root.join('public', 'javascripts', 'jquery-min.js').cleanpath.to_s, Rails.root.join('public', 'javascripts', 'jquery-min.js').cleanpath.to_s, :verbose => verbose
|
220
|
+
FileUtils.cp Refinery.root.join('public', 'javascripts', 'jquery-ui-custom-min.js').cleanpath.to_s, Rails.root.join('public', 'javascripts', 'jquery-ui-custom-min.js').cleanpath.to_s, :verbose => verbose
|
220
221
|
|
221
222
|
# Test the admin file to see if it's old
|
222
223
|
if ((admin_js_contents = Rails.root.join('public', 'javascripts', 'admin.js').readlines.join('')) == "if (!wymeditorClassesItems) {\n var wymeditorClassesItems = [];\n}\n\nwymeditorClassesItems = $.extend([\n {name: 'text-align', rules:['left', 'center', 'right', 'justify'], join: '-'}\n , {name: 'image-align', rules:['left', 'right'], join: '-'}\n , {name: 'font-size', rules:['small', 'normal', 'large'], join: '-'}\n], wymeditorClassesItems);")
|
@@ -227,10 +228,12 @@ namespace :refinery do
|
|
227
228
|
end
|
228
229
|
end
|
229
230
|
# backup the config file.
|
230
|
-
FileUtils.cp Rails.root.join('config', app_config_file).cleanpath.to_s, Rails.root.join('config', "#{app_config_file.gsub('.rb', '')}.autobackupbyrefinery.rb").cleanpath.to_s
|
231
|
+
FileUtils.cp Rails.root.join('config', app_config_file).cleanpath.to_s, Rails.root.join('config', "#{app_config_file.gsub('.rb', '')}.autobackupbyrefinery.rb").cleanpath.to_s, :verbose => verbose
|
231
232
|
|
232
233
|
# copy the new config file.
|
233
|
-
FileUtils.cp Refinery.root.join('config', app_config_file).cleanpath.to_s, Rails.root.join('config', app_config_file).cleanpath.to_s
|
234
|
+
FileUtils.cp Refinery.root.join('config', app_config_file).cleanpath.to_s, Rails.root.join('config', app_config_file).cleanpath.to_s, :verbose => verbose
|
235
|
+
|
236
|
+
puts "\n" if verbose
|
234
237
|
|
235
238
|
unless (ENV["from_installer"] || 'false').to_s == 'true'
|
236
239
|
puts "---------"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: refinerycms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 29
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 9
|
9
9
|
- 7
|
10
|
-
-
|
11
|
-
version: 0.9.7.
|
10
|
+
- 3
|
11
|
+
version: 0.9.7.3
|
12
12
|
platform: ruby
|
13
13
|
authors:
|
14
14
|
- Resolve Digital
|
@@ -18,7 +18,7 @@ autorequire:
|
|
18
18
|
bindir: bin
|
19
19
|
cert_chain: []
|
20
20
|
|
21
|
-
date: 2010-07-
|
21
|
+
date: 2010-07-07 00:00:00 +12:00
|
22
22
|
default_executable:
|
23
23
|
dependencies: []
|
24
24
|
|