refinerycms-core 0.9.9.10 → 0.9.9.11

Sign up to get free protection for your applications and to get access to all the features.
@@ -5,6 +5,7 @@
5
5
  <%= yield :before_javascript_libraries -%>
6
6
  <%= javascript_include_tag 'refinery/i18n' -%>
7
7
  <script>I18n.locale = '<%= I18n.locale %>';</script>
8
+ <%= javascript_include_tag 'translations' if Rails.root.join('public', 'javascripts', 'translations.js').exist? -%>
8
9
 
9
10
  <%= jquery_include_tags :caching => js_caching -%>
10
11
 
@@ -3,7 +3,7 @@
3
3
  css ||= 'menu'
4
4
  hide_children = RefinerySetting.find_or_set(:menu_hide_children, false) if hide_children.nil?
5
5
  # Select top menu items unless 'roots' is supplied.
6
- collection ||= @menu_pages.includes(:slugs)
6
+ collection ||= @menu_pages
7
7
  caching = ((defined?(cache_menu) && cache_menu) || RefinerySetting.find_or_set(:cache_menu, false)) && File.writable?(Rails.cache.cache_path)
8
8
  cache_if(caching && !logged_in?, [Refinery.base_cache_key, "pages_menus", dom_id, Globalize.locale, request.path].join('_')) do
9
9
  if (roots ||= collection.select{|p| p.parent_id.nil?}).present?
@@ -1,4 +1,7 @@
1
1
  en:
2
+ js:
3
+ admin:
4
+ confirm_changes: Any changes you've made will be lost. Are you sure you want to continue without saving?
2
5
  plugins:
3
6
  refinery_core:
4
7
  title: Refinery
@@ -8,15 +8,18 @@ Feature: Site Bar
8
8
  Given I have a page titled "Home" with a custom url "/"
9
9
  And I am not logged in
10
10
 
11
+ @site_bar_frontend
11
12
  Scenario: Not logged in
12
13
  When I go to the home page
13
14
  Then I should not see "Log out"
14
15
 
16
+ @site_bar_backend
15
17
  Scenario: Logged in as a Refinery user
16
18
  Given I am a logged in refinery user
17
19
  When I go to the home page
18
20
  Then I should see "Log out"
19
21
 
22
+ @site_bar_backend
20
23
  Scenario: Logged in as a customer
21
24
  Given A Refinery user exists
22
25
  And I am a logged in customer
@@ -1,6 +1,4 @@
1
1
  # Find more details about this configuration file at http://github.com/fnando/i18n-js
2
- i18n_dir: "public/javascripts"
3
2
  translations:
4
- javascript:
5
- file: "public/javascripts/i18n-messages.js"
3
+ - file: "public/javascripts/translations.js"
6
4
  only: "*.js.*"
@@ -2,7 +2,9 @@ require 'tmpdir'
2
2
 
3
3
  module Refinery
4
4
  module Application
5
+
5
6
  class << self
7
+
6
8
  def refinery!
7
9
  ::ApplicationHelper.send :include, ::Refinery::ApplicationHelper
8
10
 
@@ -12,6 +14,10 @@ module Refinery
12
14
  end
13
15
 
14
16
  ::Admin::BaseController.send :include, ::Refinery::Admin::BaseController
17
+
18
+ ::Refinery.config.on_attach_procs.each do |proc|
19
+ proc.call if proc.respond_to?(:call)
20
+ end
15
21
  end
16
22
 
17
23
  def included(base)
@@ -48,19 +48,12 @@ module Refinery
48
48
  end
49
49
 
50
50
  def error_404(exception=nil)
51
- if (@page = Page.where(:menu_match => "^/404$").includes(:parts, :slugs).first).present?
52
- # render the application's custom 404 page with layout and meta.
53
- render :template => "/pages/show",
54
- :format => 'html',
55
- :status => 404
56
- else
57
- # fallback to the default 404.html page.
58
- file = Rails.root.join('public', '404.html')
59
- file = Refinery.roots('core').join('public', '404.html') unless file.exist?
60
- render :file => file.cleanpath.to_s,
61
- :layout => false,
62
- :status => 404
63
- end
51
+ # fallback to the default 404.html page.
52
+ file = Rails.root.join('public', '404.html')
53
+ file = Refinery.roots('core').join('public', '404.html') unless file.exist?
54
+ render :file => file.cleanpath.to_s,
55
+ :layout => false,
56
+ :status => 404
64
57
  end
65
58
 
66
59
  def from_dialog?
@@ -87,7 +80,7 @@ module Refinery
87
80
 
88
81
  # get all the pages to be displayed in the site menu.
89
82
  def find_pages_for_menu
90
- @menu_pages = Page.in_menu.live.order('lft ASC')
83
+ raise NotImplementedError, "Please implement protected method find_pages_for_menu"
91
84
  end
92
85
 
93
86
  # use a different model for the meta information.
@@ -96,23 +89,17 @@ module Refinery
96
89
  @meta = presenter.new(model)
97
90
  end
98
91
 
99
- # this hooks into the Rails render method.
100
- def render(action = nil, options = {}, &blk)
101
- present(@page) unless admin? or @meta.present?
102
- super
103
- end
104
-
105
92
  def show_welcome_page?
106
- render :template => "/welcome", :layout => "login" if just_installed? and %w(registrations).exclude?(controller_name)
93
+ if just_installed? and %w(registrations).exclude?(controller_name)
94
+ render :template => "/welcome", :layout => "login"
95
+ end
107
96
  end
108
97
 
109
98
  private
110
99
  def store_current_location!
111
- if admin?
100
+ if admin? and request.get? and !request.xhr? and !from_dialog?
112
101
  # ensure that we don't redirect to AJAX or POST/PUT/DELETE urls
113
- session[:refinery_return_to] = request.path if request.get? and !request.xhr? and !from_dialog?
114
- elsif defined?(@page) and @page.present?
115
- session[:website_return_to] = @page.url
102
+ session[:refinery_return_to] = request.path
116
103
  end
117
104
  end
118
105
  end
@@ -24,4 +24,8 @@ class Refinery::BasePresenter
24
24
  end
25
25
  end
26
26
 
27
+ def respond_to?(method)
28
+ super || @model.respond_to?(method) || DEFAULT_FIELDS.has_key?(method)
29
+ end
30
+
27
31
  end
@@ -0,0 +1,13 @@
1
+ module Refinery
2
+ class Configuration
3
+
4
+ def on_attach_procs
5
+ @@on_attach_procs ||= []
6
+ end
7
+
8
+ def on_attach(&blk)
9
+ on_attach_procs << blk if blk
10
+ end
11
+
12
+ end
13
+ end
@@ -0,0 +1,21 @@
1
+ require 'rails/engine'
2
+
3
+ module Refinery
4
+ module Engine
5
+ class << self
6
+ def included(base)
7
+ base.module_eval do
8
+ class << self
9
+ def refinery
10
+ ::Refinery.config
11
+ end
12
+ end
13
+
14
+ def refinery
15
+ self.class.refinery
16
+ end
17
+ end
18
+ end
19
+ end
20
+ end
21
+ end
@@ -35,8 +35,8 @@ module Refinery
35
35
  objects = (options[:chain_page_title] and object.respond_to?(:ancestors)) ? [object.ancestors, object] : [object]
36
36
 
37
37
  objects.flatten.compact.each do |obj|
38
- if obj.respond_to?(:custom_title_type)
39
- title << case obj.custom_title_type
38
+ obj_title = if obj.respond_to?(:custom_title_type)
39
+ case obj.custom_title_type
40
40
  when "text"
41
41
  obj.custom_title
42
42
  when "image"
@@ -45,8 +45,9 @@ module Refinery
45
45
  obj.title
46
46
  end
47
47
  else
48
- title << obj.title
48
+ obj.title
49
49
  end
50
+ title << link_to_if(options[:link], obj_title, obj.url)
50
51
  end
51
52
 
52
53
  final_title = title.pop
@@ -56,9 +57,13 @@ module Refinery
56
57
  end
57
58
 
58
59
  if title.empty?
59
- return final_title.to_s.html_safe
60
+ final_title.to_s.html_safe
60
61
  else
61
- return "<#{options[:ancestors][:tag]} class='#{options[:ancestors][:class]}'>#{title.join options[:ancestors][:separator]}#{options[:ancestors][:separator]}</#{options[:ancestors][:tag]}>#{final_title}".html_safe
62
+ tag = "<#{options[:ancestors][:tag]} class='#{options[:ancestors][:class]}'>"
63
+ tag << title.join(options[:ancestors][:separator])
64
+ tag << options[:ancestors][:separator]
65
+ tag << "</#{options[:ancestors][:tag]}>#{final_title}"
66
+ tag.html_safe
62
67
  end
63
68
  end
64
69
 
@@ -5,13 +5,13 @@ module Refinery
5
5
  # Generates the link to determine where the site bar switch button returns to.
6
6
  def site_bar_switch_link
7
7
  link_to_if(admin?, t('.switch_to_your_website', site_bar_translate_locale_args),
8
- (if session.keys.include?(:website_return_to) and session[:website_return_to].present?
8
+ (if session.keys.map(&:to_sym).include?(:website_return_to) and session[:website_return_to].present?
9
9
  session[:website_return_to]
10
10
  else
11
11
  root_path(:locale => (::Refinery::I18n.default_frontend_locale if defined?(::Refinery::I18n) && ::Refinery::I18n.enabled?))
12
12
  end)) do
13
13
  link_to t('.switch_to_your_website_editor', site_bar_translate_locale_args),
14
- (if session.keys.include?(:refinery_return_to) and session[:refinery_return_to].present?
14
+ (if session.keys.map(&:to_sym).include?(:refinery_return_to) and session[:refinery_return_to].present?
15
15
  session[:refinery_return_to]
16
16
  else
17
17
  admin_root_path
@@ -9,6 +9,8 @@ module Refinery
9
9
  autoload :Application, File.expand_path('../refinery/application', __FILE__)
10
10
  autoload :ApplicationController, File.expand_path('../refinery/application_controller', __FILE__)
11
11
  autoload :ApplicationHelper, File.expand_path('../refinery/application_helper', __FILE__)
12
+ autoload :Configuration, File.expand_path('../refinery/configuration', __FILE__)
13
+ autoload :Engine, File.expand_path('../refinery/engine', __FILE__)
12
14
  autoload :Plugin, File.expand_path('../refinery/plugin', __FILE__)
13
15
  autoload :Plugins, File.expand_path('../refinery/plugins', __FILE__)
14
16
  end
@@ -23,6 +25,12 @@ require 'rails/generators/migration'
23
25
 
24
26
  module Refinery
25
27
 
28
+ class << self
29
+ def config
30
+ @@config ||= ::Refinery::Configuration.new
31
+ end
32
+ end
33
+
26
34
  module Core
27
35
  class << self
28
36
  def attach_to_application!
@@ -43,6 +51,10 @@ module Refinery
43
51
  end
44
52
  end
45
53
 
54
+ ::Rails::Engine.module_eval do
55
+ include ::Refinery::Engine
56
+ end
57
+
46
58
  class Engine < ::Rails::Engine
47
59
 
48
60
  config.autoload_paths += %W( #{config.root}/lib )
@@ -60,17 +72,23 @@ module Refinery
60
72
  end
61
73
 
62
74
  # TODO: Is there a better way to cache assets in engines?
63
- ::ActionView::Helpers::AssetTagHelper.module_eval do
75
+ # Also handles a change in Rails 3.1 with AssetIncludeTag being invented.
76
+ tag_helper_class = if defined?(::ActionView::Helpers::AssetTagHelper::AssetIncludeTag)
77
+ ::ActionView::Helpers::AssetTagHelper::AssetIncludeTag
78
+ else
79
+ ::ActionView::Helpers::AssetTagHelper
80
+ end
81
+ tag_helper_class.module_eval do
64
82
  def asset_file_path(path)
65
- unless File.exist?(return_path = File.join(config.assets_dir, path.split('?').first))
66
- ::Refinery::Plugins.registered.collect{|p| p.pathname}.compact.each do |pathname|
67
- if File.exist?(plugin_asset_path = File.join(pathname.to_s, 'public', path.split('?').first))
68
- return_path = plugin_asset_path.to_s
83
+ unless (return_path = Pathname.new(File.join(path.split('?').first))).exist?
84
+ this_asset_filename = path.split('?').first.to_s.gsub(/^\//, '')
85
+ ::Refinery::Plugins.registered.pathnames.each do |pathname|
86
+ if (pathname_asset_path = pathname.join('public', this_asset_filename)).exist?
87
+ return_path = pathname_asset_path
69
88
  end
70
89
  end
71
90
  end
72
-
73
- return_path
91
+ return_path.to_s
74
92
  end
75
93
  end
76
94
  end
@@ -265,7 +265,7 @@ init_submit_continue = function(){
265
265
  if ((continue_editing_button = $('#continue_editing')).length > 0 && continue_editing_button.attr('rel') != 'no-prompt') {
266
266
  $('#editor_switch a').click(function(e) {
267
267
  if ($('form[data-changes-made]').length > 0) {
268
- if (!confirm("Any changes you've made will be lost. Are you sure you want to continue without saving?")) {
268
+ if (!confirm(I18n.t('js.admin.confirm_changes'))) {
269
269
  e.preventDefault();
270
270
  }
271
271
  }
@@ -41,9 +41,9 @@ var wymeditor_boot_options = $.extend({
41
41
  , langPath: "/javascripts/wymeditor/lang/"
42
42
  , iframeBasePath: '/'
43
43
  , classesItems: [
44
- {name: 'text-align', rules:['left', 'center', 'right', 'justify'], join: '-'}
45
- , {name: 'image-align', rules:['left', 'right'], join: '-'}
46
- , {name: 'font-size', rules:['small', 'normal', 'large'], join: '-'}
44
+ {name: 'text-align', rules:[{name: 'left', title: '{Left}'}, {name: 'center', title: '{Center}'}, {name: 'right', title: '{Right}'}, {name: 'justify', title: '{Justify}'}], join: '-', title: '{Text_Align}'}
45
+ , {name: 'image-align', rules:[{name: 'left', title: '{Left}'}, {name: 'right', title: '{Right}'}], join: '-', title: '{Image_Align}'}
46
+ , {name: 'font-size', rules:[{name: 'small', title: '{Small}'}, {name: 'normal', title: '{Normal}'}, {name: 'large', title: '{Large}'}], join: '-', title: '{Font_Size}'}
47
47
  ]
48
48
 
49
49
  , containersItems: [
@@ -15,7 +15,9 @@ init_flash_messages = function(){
15
15
  $('#flash').animate({
16
16
  'opacity': 0,
17
17
  'visibility': 'hidden'
18
- }, 330);
18
+ }, 330, function() {
19
+ $('#flash').hide();
20
+ });
19
21
  } catch(ex) {
20
22
  $('#flash').hide();
21
23
  }
@@ -751,8 +751,8 @@ WYMeditor.editor.prototype.init = function() {
751
751
  var wym = this;
752
752
  $.each(oClass.rules, function(index, rule) {
753
753
  sClass = wym._options.classesItemHtml;
754
- sClass = h.replaceAll(sClass, WYMeditor.CLASS_NAME, oClass.name + (oClass.join || "") + rule);
755
- sClass = h.replaceAll(sClass, WYMeditor.CLASS_TITLE, rule.title || titleize(rule));
754
+ sClass = h.replaceAll(sClass, WYMeditor.CLASS_NAME, oClass.name + (oClass.join || "") + (rule.name || rule));
755
+ sClass = h.replaceAll(sClass, WYMeditor.CLASS_TITLE, rule.title || titleize(rule.name || rule));
756
756
  sRules += sClass;
757
757
  });
758
758
 
@@ -848,15 +848,17 @@ WYMeditor.editor.prototype.bindEvents = function() {
848
848
  if (oClass == null) {
849
849
  $.each(aClasses, function(index, classRule){
850
850
  if (oClass == null && classRule.rules && classRule.rules.length > 0){
851
- if ((indexOf = $.inArray(sName.replace(classRule.name + (classRule.join || ""), ""), classRule.rules)) > -1) {
852
- $.each(classRule.rules, function(i, rule) {
853
- if (i != indexOf) {
854
- replacers.push(classRule.name + (classRule.join || "") + rule);
855
- }
856
- });
851
+ var ruleName = sName.replace(classRule.name + (classRule.join || ""), "");
852
+ var indexOf = null;
853
+ $.each(classRule.rules, function(i, rule) {
854
+ if (ruleName == (rule.name || rule)) {
855
+ indexOf = i;
856
+ } else {
857
+ replacers.push(classRule.name + (classRule.join || "") + (rule.name || rule));
858
+ }
859
+ });
857
860
 
858
- oClass = {expr: (classRule.rules[indexOf].expr || null)};
859
- }
861
+ if (indexOf != null) oClass = {expr: (classRule.rules[indexOf].expr || null)};
860
862
  }
861
863
  });
862
864
  }
@@ -5158,4 +5160,4 @@ WYMeditor.WymClassSafari.prototype.getTagForStyle = function(style) {
5158
5160
  // from http://simonwillison.net/2006/Jan/20/escape/#p-6
5159
5161
  RegExp.escape = function(text) {
5160
5162
  return text.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&");
5161
- };
5163
+ };
@@ -43,5 +43,15 @@ WYMeditor.STRINGS['en'] = {
43
43
  Classes: 'Classes',
44
44
  Status: 'Status',
45
45
  Source_Code: 'Source code',
46
+ Text_Align: 'Text Align',
47
+ Image_Align: 'Image Align',
48
+ Font_Size: 'Font Size',
49
+ Left: 'Left',
50
+ Right: 'Right',
51
+ Center: 'Center',
52
+ Justify: 'Justify',
53
+ Small: 'Small',
54
+ Normal: 'Normal',
55
+ Large: 'Large',
46
56
  Apply_Style: 'Style'
47
57
  };
@@ -1,20 +1,20 @@
1
1
  WYMeditor.STRINGS['es'] = {
2
- Strong: 'Resaltar',
3
- Bold: 'Negritas',
4
- Emphasis: 'Enfatizar',
2
+ Strong: 'Resaltar',
3
+ Bold: 'Negrita',
4
+ Emphasis: 'Cursiva',
5
5
  Superscript: 'Superindice',
6
6
  Subscript: 'Subindice',
7
- Ordered_List: 'Lista ordenada',
8
- Unordered_List: 'Lista sin ordenar',
9
- Indent: 'Indentado',
10
- Outdent: 'Sin indentar',
11
- Undo: 'Deshacer',
12
- Redo: 'Rehacer',
13
- Link: 'Enlazar',
14
- Unlink: 'Eliminar enlace',
7
+ Ordered_List: 'Lista ordenada',
8
+ Unordered_List: 'Lista sin ordenar',
9
+ Indent: 'Indentado',
10
+ Outdent: 'Sin indentar',
11
+ Undo: 'Deshacer',
12
+ Redo: 'Rehacer',
13
+ Link: 'Enlazar',
14
+ Unlink: 'Eliminar enlace',
15
15
  Image: 'Imagen',
16
16
  Table: 'Tabla',
17
- HTML: 'HTML',
17
+ HTML: 'HTML',
18
18
  Paragraph: 'Párrafo',
19
19
  Heading_1: 'Cabecera 1',
20
20
  Heading_2: 'Cabecera 2',
@@ -22,27 +22,37 @@ WYMeditor.STRINGS['es'] = {
22
22
  Heading_4: 'Cabecera 4',
23
23
  Heading_5: 'Cabecera 5',
24
24
  Heading_6: 'Cabecera 6',
25
- Preformatted: 'Preformateado',
26
- Blockquote: 'Cita',
27
- Table_Header: 'Cabecera de la tabla',
28
- URL: 'URL',
25
+ Preformatted: 'Preformateado',
26
+ Blockquote: 'Cita',
27
+ Table_Header: 'Cabecera de la tabla',
28
+ URL: 'URL',
29
29
  Title: 'Título',
30
- Alternative_Text: 'Texto alternativo',
31
- Caption: 'Leyenda',
32
- Summary: 'Summary',
33
- Number_Of_Rows: 'Número de filas',
34
- Number_Of_Cols: 'Número de columnas',
35
- Insert: 'Insertar',
36
- Submit: 'Enviar',
37
- Cancel: 'Cancelar',
38
- Choose: 'Seleccionar',
39
- Preview: 'Vista previa',
30
+ Alternative_Text: 'Texto alternativo',
31
+ Caption: 'Leyenda',
32
+ Summary: 'Summary',
33
+ Number_Of_Rows: 'Número de filas',
34
+ Number_Of_Cols: 'Número de columnas',
35
+ Insert: 'Insertar',
36
+ Submit: 'Enviar',
37
+ Cancel: 'Cancelar',
38
+ Choose: 'Seleccionar',
39
+ Preview: 'Vista previa',
40
40
  Paste_From_Word: 'Pegar desde Word',
41
41
  Tools: 'Herramientas',
42
- Containers: 'Contenedores',
43
- Classes: 'Clases',
44
- Status: 'Estado',
42
+ Containers: 'Contenedores',
43
+ Classes: 'Clases',
44
+ Status: 'Estado',
45
45
  Source_Code: 'Código fuente',
46
- Apply_Style: 'Estilo'
46
+ Text_Align: 'Alineación Texto',
47
+ Image_Align: 'Alineación Texto',
48
+ Font_Size: 'Tamaño de Fuente',
49
+ Left: 'Izquierda',
50
+ Right: 'Derecha',
51
+ Center: 'Centro',
52
+ Justify: 'Justificar',
53
+ Small: 'Pequeño',
54
+ Normal: 'Normal',
55
+ Large: 'Grande',
56
+ Apply_Style: 'Estilo'
47
57
  };
48
58
 
@@ -0,0 +1,47 @@
1
+ WYMeditor.STRINGS['jp'] = {
2
+ Strong: '強調',
3
+ Bold: '太字',
4
+ Emphasis: '斜体字',
5
+ Superscript: '上つき',
6
+ Subscript: '下つき',
7
+ Ordered_List: '番号つきリスト',
8
+ Unordered_List: 'リスト',
9
+ Indent: '字下げ',
10
+ Outdent: '字上げ',
11
+ Undo: '取り消し',
12
+ Redo: '再度実行',
13
+ Link: 'リンクを追加',
14
+ Unlink: 'リンクを削除',
15
+ Image: '画像を追加',
16
+ Table: 'テーブルを追加',
17
+ HTML: 'HTML',
18
+ Paragraph: '段落',
19
+ Heading_1: 'レベル1見出し',
20
+ Heading_2: 'レベル2見出し',
21
+ Heading_3: 'レベル3見出し',
22
+ Heading_4: 'レベル4見出し',
23
+ Heading_5: 'レベル5見出し',
24
+ Heading_6: 'レベル6見出し',
25
+ Preformatted: 'フォーマット済み',
26
+ Blockquote: '長文引用',
27
+ Table_Header: 'テーブルヘッダ',
28
+ URL: 'URL',
29
+ Title: 'タイトル',
30
+ Alternative_Text: '置換用テキスト',
31
+ Caption: 'キャプション',
32
+ Summary: '要約',
33
+ Number_Of_Rows: '行数',
34
+ Number_Of_Cols: 'カラム数',
35
+ Insert: '挿入',
36
+ Submit: '送信',
37
+ Cancel: 'キャンセル',
38
+ Choose: '選択',
39
+ Preview: 'プレビュー',
40
+ Paste_From_Word: '下の欄にテキストをペーストして下さい',
41
+ Tools: 'ツール',
42
+ Containers: 'コンテナ',
43
+ Classes: 'クラス',
44
+ Status: 'ステータス',
45
+ Source_Code: 'ソース',
46
+ Apply_Style: 'スタイル'
47
+ };
@@ -2,10 +2,10 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{refinerycms-core}
5
- s.version = %q{0.9.9.10}
5
+ s.version = %q{0.9.9.11}
6
6
  s.summary = %q{Core engine for Refinery CMS}
7
7
  s.description = %q{The core of Refinery CMS. This handles the common functionality and is required by most engines}
8
- s.date = %q{2011-03-17}
8
+ s.date = %q{2011-03-25}
9
9
  s.email = %q{info@refinerycms.com}
10
10
  s.homepage = %q{http://refinerycms.com}
11
11
  s.rubyforge_project = %q{refinerycms}
@@ -14,8 +14,8 @@ Gem::Specification.new do |s|
14
14
  s.require_paths = %w(lib)
15
15
  s.executables = %w()
16
16
 
17
- s.add_dependency 'refinerycms-base', '~> 0.9.9.10'
18
- s.add_dependency 'refinerycms-settings', '~> 0.9.9.10'
17
+ s.add_dependency 'refinerycms-base', '~> 0.9.9.11'
18
+ s.add_dependency 'refinerycms-settings', '~> 0.9.9.11'
19
19
  s.add_dependency 'refinerycms-generators', '~> 1.0'
20
20
  s.add_dependency 'acts_as_indexed', '~> 0.7'
21
21
  s.add_dependency 'friendly_id_globalize3', '~> 3.2.1'
@@ -148,7 +148,9 @@ Gem::Specification.new do |s|
148
148
  'lib/refinery/application_helper.rb',
149
149
  'lib/refinery/base_presenter.rb',
150
150
  'lib/refinery/catch_all_routes.rb',
151
+ 'lib/refinery/configuration.rb',
151
152
  'lib/refinery/crud.rb',
153
+ 'lib/refinery/engine.rb',
152
154
  'lib/refinery/helpers',
153
155
  'lib/refinery/helpers/form_helper.rb',
154
156
  'lib/refinery/helpers/head_helper.rb',
@@ -339,6 +341,7 @@ Gem::Specification.new do |s|
339
341
  'public/javascripts/wymeditor/lang/he.js',
340
342
  'public/javascripts/wymeditor/lang/hu.js',
341
343
  'public/javascripts/wymeditor/lang/it.js',
344
+ 'public/javascripts/wymeditor/lang/jp.js',
342
345
  'public/javascripts/wymeditor/lang/lv.js',
343
346
  'public/javascripts/wymeditor/lang/nb.js',
344
347
  'public/javascripts/wymeditor/lang/nl.js',
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: refinerycms-core
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.9.9.10
5
+ version: 0.9.9.11
6
6
  platform: ruby
7
7
  authors:
8
8
  - Resolve Digital
@@ -13,7 +13,7 @@ autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
15
 
16
- date: 2011-03-17 00:00:00 +13:00
16
+ date: 2011-03-25 00:00:00 +13:00
17
17
  default_executable:
18
18
  dependencies:
19
19
  - !ruby/object:Gem::Dependency
@@ -24,7 +24,7 @@ dependencies:
24
24
  requirements:
25
25
  - - ~>
26
26
  - !ruby/object:Gem::Version
27
- version: 0.9.9.10
27
+ version: 0.9.9.11
28
28
  type: :runtime
29
29
  version_requirements: *id001
30
30
  - !ruby/object:Gem::Dependency
@@ -35,7 +35,7 @@ dependencies:
35
35
  requirements:
36
36
  - - ~>
37
37
  - !ruby/object:Gem::Version
38
- version: 0.9.9.10
38
+ version: 0.9.9.11
39
39
  type: :runtime
40
40
  version_requirements: *id002
41
41
  - !ruby/object:Gem::Dependency
@@ -237,7 +237,9 @@ files:
237
237
  - lib/refinery/application_helper.rb
238
238
  - lib/refinery/base_presenter.rb
239
239
  - lib/refinery/catch_all_routes.rb
240
+ - lib/refinery/configuration.rb
240
241
  - lib/refinery/crud.rb
242
+ - lib/refinery/engine.rb
241
243
  - lib/refinery/helpers/form_helper.rb
242
244
  - lib/refinery/helpers/head_helper.rb
243
245
  - lib/refinery/helpers/html_truncation_helper.rb
@@ -413,6 +415,7 @@ files:
413
415
  - public/javascripts/wymeditor/lang/he.js
414
416
  - public/javascripts/wymeditor/lang/hu.js
415
417
  - public/javascripts/wymeditor/lang/it.js
418
+ - public/javascripts/wymeditor/lang/jp.js
416
419
  - public/javascripts/wymeditor/lang/lv.js
417
420
  - public/javascripts/wymeditor/lang/nb.js
418
421
  - public/javascripts/wymeditor/lang/nl.js