refinerycms 0.9.6.14 → 0.9.6.15

Sign up to get free protection for your applications and to get access to all the features.
Files changed (95) hide show
  1. data/.gitignore +4 -1
  2. data/Rakefile +3 -51
  3. data/VERSION +1 -1
  4. data/bin/refinery +20 -20
  5. data/bin/refinery-override +9 -9
  6. data/bin/refinery-update-core +41 -34
  7. data/config/application.rb +28 -87
  8. data/config/environment.rb +1 -4
  9. data/config/environments/development.rb +2 -0
  10. data/config/environments/production.rb +1 -1
  11. data/config/preinitializer.rb +2 -6
  12. data/db/schema.rb +1 -1
  13. data/db/seeds.rb +1 -1
  14. data/lib/refinery/tasks/refinery.rake +83 -0
  15. data/lib/refinery/tasks/refinery.rb +16 -0
  16. data/public/images/refinery/dialogLoadingAnimation.gif +0 -0
  17. data/public/javascripts/refinery/admin.js +9 -4
  18. data/public/javascripts/refinery/boot_wym.js +19 -5
  19. data/public/javascripts/wymeditor/jquery.refinery.wymeditor.js +72 -70
  20. data/public/stylesheets/refinery/refinery.css +19 -7
  21. data/readme.md +2 -2
  22. data/test/fixtures/user_plugins.yml +36 -0
  23. data/test/fixtures/users.yml +1 -2
  24. data/test/functional/dashboard_controller_test.rb +23 -3
  25. data/test/functional/images_controller_test.rb +93 -0
  26. data/test/test_helper.rb +9 -3
  27. data/test/unit/image_test.rb +2 -2
  28. data/test/unit/inquiry_test.rb +6 -6
  29. data/test/unit/news_items_test.rb +8 -8
  30. data/test/unit/refinery_setting_test.rb +12 -12
  31. data/test/unit/resource_test.rb +3 -3
  32. data/themes/demolicious/views/layouts/application.html.erb +1 -1
  33. data/themes/demolicious/views/pages/home.html.erb +1 -1
  34. data/themes/demolicious/views/pages/show.html.erb +1 -1
  35. data/themes/hemingway/views/layouts/application.html.erb +1 -1
  36. data/vendor/plugins/dashboard/app/controllers/admin/dashboard_controller.rb +1 -1
  37. data/vendor/plugins/dashboard/rails/init.rb +1 -1
  38. data/vendor/plugins/images/app/controllers/admin/images_controller.rb +2 -2
  39. data/vendor/plugins/images/app/helpers/admin/images_helper.rb +6 -2
  40. data/vendor/plugins/images/app/models/image.rb +3 -3
  41. data/vendor/plugins/images/app/views/admin/images/_form.html.erb +4 -4
  42. data/vendor/plugins/images/app/views/admin/images/index.html.erb +2 -2
  43. data/vendor/plugins/images/app/views/admin/images/insert.html.erb +1 -1
  44. data/vendor/plugins/inquiries/app/models/inquiry.rb +3 -3
  45. data/vendor/plugins/inquiries/app/views/admin/inquiries/show.html.erb +1 -1
  46. data/vendor/plugins/inquiries/rails/init.rb +1 -1
  47. data/vendor/plugins/news/app/controllers/admin/news_items_controller.rb +1 -1
  48. data/vendor/plugins/news/app/controllers/news_items_controller.rb +1 -1
  49. data/vendor/plugins/news/app/models/news_item.rb +2 -2
  50. data/vendor/plugins/news/app/views/admin/news_items/_news_item.html.erb +1 -1
  51. data/vendor/plugins/news/app/views/admin/news_items/edit.html.erb +1 -1
  52. data/vendor/plugins/pages/app/controllers/admin/pages_controller.rb +13 -0
  53. data/vendor/plugins/pages/app/models/page_part.rb +3 -1
  54. data/vendor/plugins/pages/app/views/admin/page_dialogs/_page_link.html.erb +2 -2
  55. data/vendor/plugins/pages/app/views/admin/pages/_form.html.erb +2 -2
  56. data/vendor/plugins/pages/app/views/admin/pages/_page_part_field.html.erb +1 -1
  57. data/vendor/plugins/refinery/app/views/admin/_head.html.erb +3 -3
  58. data/vendor/plugins/refinery/app/views/admin/_menu.html.erb +3 -7
  59. data/vendor/plugins/refinery/app/views/shared/_menu.html.erb +1 -1
  60. data/vendor/plugins/refinery/app/views/shared/admin/_form_actions.html.erb +5 -3
  61. data/vendor/plugins/refinery/app/views/shared/admin/_image_picker.html.erb +1 -1
  62. data/vendor/plugins/refinery/app/views/shared/admin/_resource_picker.html.erb +0 -1
  63. data/vendor/plugins/refinery/lib/refinery.rb +9 -2
  64. data/vendor/plugins/refinery/lib/refinery/application_controller.rb +1 -1
  65. data/vendor/plugins/refinery/lib/refinery/deprecations.rb +46 -0
  66. data/vendor/plugins/refinery/lib/refinery/initializer.rb +20 -9
  67. data/vendor/plugins/refinery_dialogs/app/controllers/admin/dialogs_controller.rb +6 -5
  68. data/vendor/plugins/refinery_dialogs/app/views/admin/dialogs/show.html.erb +2 -2
  69. data/vendor/plugins/refinery_settings/app/models/refinery_setting.rb +41 -11
  70. data/vendor/plugins/refinery_settings/app/views/admin/refinery_settings/_form.html.erb +1 -1
  71. data/vendor/plugins/resources/app/controllers/admin/resources_controller.rb +1 -1
  72. data/vendor/plugins/resources/app/models/resource.rb +3 -3
  73. data/vendor/plugins/resources/app/views/admin/resources/_form.html.erb +2 -2
  74. data/vendor/plugins/resources/app/views/admin/resources/insert.html.erb +2 -2
  75. data/vendor/plugins/themes/app/helpers/themes_helper.rb +1 -1
  76. data/vendor/plugins/themes/lib/theme_server.rb +1 -1
  77. data/vendor/plugins/themes/rails/init.rb +26 -18
  78. metadata +10 -20
  79. data/Gemfile +0 -12
  80. data/public/javascripts/thickbox.js +0 -350
  81. data/public/stylesheets/refinery/thickbox.css +0 -165
  82. data/vendor/cache/aasm-2.1.3.gem +0 -0
  83. data/vendor/cache/actionmailer-2.3.5.gem +0 -0
  84. data/vendor/cache/actionpack-2.3.5.gem +0 -0
  85. data/vendor/cache/activerecord-2.3.5.gem +0 -0
  86. data/vendor/cache/activeresource-2.3.5.gem +0 -0
  87. data/vendor/cache/activesupport-2.3.5.gem +0 -0
  88. data/vendor/cache/friendly_id-2.3.1.gem +0 -0
  89. data/vendor/cache/hpricot-0.8.2.gem +0 -0
  90. data/vendor/cache/rack-1.0.1.gem +0 -0
  91. data/vendor/cache/rails-2.3.5.gem +0 -0
  92. data/vendor/cache/rake-0.8.7.gem +0 -0
  93. data/vendor/cache/rubyzip-0.9.1.gem +0 -0
  94. data/vendor/cache/slim_scrooge-1.0.3.gem +0 -0
  95. data/vendor/cache/will_paginate-2.3.11.gem +0 -0
@@ -14,11 +14,11 @@ module Refinery
14
14
  def default_plugin_paths
15
15
  paths = super.push(Refinery.root.join("vendor", "plugins").to_s).uniq
16
16
  end
17
- end if defined?(Rails::Configuration)
17
+ end
18
18
 
19
19
  class PluginLoader < Rails::Plugin::Loader
20
20
  def add_plugin_load_paths
21
- # call rails' add_plugin_load_paths
21
+ # call Rails' add_plugin_load_paths
22
22
  super
23
23
 
24
24
  # add plugin lib paths to the $LOAD_PATH so that rake tasks etc. can be run when using a gem for refinery or gems for plugins.
@@ -41,15 +41,27 @@ module Refinery
41
41
  raise LoadError, load_error.to_s unless load_error.to_s =~ /friendly_id|aasm|will_paginate/
42
42
  end
43
43
  end
44
- end if defined?(Rails::Plugin::Loader)
44
+ end
45
45
 
46
46
  class Initializer < Rails::Initializer
47
47
  def self.run(command = :process, configuration = Configuration.new)
48
- configuration.plugin_loader = Refinery::PluginLoader
48
+ # Set up configuration that is rather specific to Refinery. We make sure we check that things haven't already been set in the application.
49
+ configuration.plugin_loader = Refinery::PluginLoader unless configuration.plugin_loader != Rails::Plugin::Loader
50
+ configuration.plugins = [ :friendly_id, :will_paginate, :aasm, :all ] if configuration.plugins.nil?
51
+ configuration.gem "aasm", :version => "~> 2.1.3", :lib => "aasm"
52
+ configuration.gem "friendly_id", :version => "~> 2.3.2", :lib => "friendly_id"
53
+ configuration.gem "hpricot", :version => "~> 0.8.1", :lib => "hpricot"
54
+ configuration.gem "slim_scrooge", :version => "~> 1.0.5", :lib => "slim_scrooge"
55
+ configuration.gem "will_paginate", :version => "~> 2.3.11", :lib => "will_paginate"
56
+
57
+ # Pass our configuration along to Rails.
49
58
  Rails.configuration = configuration
50
59
 
51
- # call rails' run
60
+ # call Rails' run
52
61
  super
62
+
63
+ # Create deprecations for variables that we've stopped using (possibly remove in 1.0?)
64
+ require 'refinery/deprecations'
53
65
  end
54
66
 
55
67
  def load_plugins
@@ -72,9 +84,8 @@ module Refinery
72
84
  end
73
85
  end
74
86
 
75
- # call rails' load_plugins
87
+ # call Rails' load_plugins
76
88
  super
77
89
  end
78
- end if defined?(Rails::Initializer)
79
-
80
- end
90
+ end
91
+ end
@@ -7,20 +7,21 @@ class Admin::DialogsController < Admin::BaseController
7
7
 
8
8
  if @dialog_type
9
9
  @submit_button_text = "Insert"
10
+ @cancel_button_text = "Cancel"
10
11
 
11
12
  url_params = params.reject {|key, value| key =~ /(action)|(controller)/}
12
13
 
13
- if @dialog_type == 'image'
14
- @iframe_src = insert_admin_images_url(:dialog => true)
14
+ @iframe_src = if @dialog_type == 'image'
15
+ insert_admin_images_url(:dialog => true)
15
16
  elsif @dialog_type == 'link'
16
- @iframe_src = link_to_admin_pages_dialogs_url(url_params)
17
+ link_to_admin_pages_dialogs_url(url_params)
17
18
  end
18
19
 
19
- render :layout => false #"admin_dialog"
20
+ render :layout => false
20
21
 
21
22
  else
22
23
  render :nothing => true
23
24
  end
24
25
  end
25
26
 
26
- end
27
+ end
@@ -15,6 +15,6 @@
15
15
  <div id='dialog-form-actions' class='form-actions'>
16
16
  <input class='wym_submit submit_dialog' type='button' value='<%= @submit_button_text ||= 'Save' %>' />
17
17
  or
18
- <a href='' class='wym_cancel close_dialog'><%= @cancel_button_text ||= "Cancel" %></a>
18
+ <a href='' class='wym_cancel close_dialog'><%= @cancel_button_text ||= 'Cancel' %></a>
19
19
  </div>
20
- </form>
20
+ </form>
@@ -4,12 +4,23 @@ class RefinerySetting < ActiveRecord::Base
4
4
  validates_uniqueness_of :name
5
5
 
6
6
  serialize :value # stores into YAML format
7
-
7
+ after_save do |object|
8
+ cache_write(object.name, object.value)
9
+ end
10
+
11
+ def self.cache_write(name, value)
12
+ Rails.cache.write("refinery_setting_#{name}", value)
13
+ end
14
+
15
+ def self.cache_read(name)
16
+ Rails.cache.read("refinery_setting_#{name}")
17
+ end
18
+
8
19
  # Number of settings to show per page when using will_paginate
9
20
  def self.per_page
10
21
  10
11
22
  end
12
-
23
+
13
24
  # prettier version of the name.
14
25
  # site_name becomes Site Name
15
26
  def title
@@ -17,7 +28,7 @@ class RefinerySetting < ActiveRecord::Base
17
28
  end
18
29
 
19
30
  # Access method that allows dot notation to work.
20
- # say you had a setting called "site_name". You could access that by going RefinerySetting[:site_name]
31
+ # Say you had a setting called "site_name". You could access that by going RefinerySetting[:site_name]
21
32
  # but with this you can also access that by going RefinerySettting.site_name
22
33
  def self.method_missing(method, *args)
23
34
  method_name = method.to_s
@@ -32,12 +43,33 @@ class RefinerySetting < ActiveRecord::Base
32
43
  end
33
44
 
34
45
  def self.find_or_set(name, the_value)
35
- setting = find_or_create_by_name(:name => name.to_s, :value => the_value)
36
- setting.value
46
+ # Try to get the value from cache first.
47
+ unless (value = cache_read(name)).present?
48
+ # Either find the record or create one with the defined value
49
+ value = find_or_create_by_name(:name => name.to_s, :value => the_value).value
50
+ # Cache it
51
+ cache_write(name, value)
52
+ end
53
+
54
+ # Return what we found.
55
+ value
37
56
  end
38
57
 
39
58
  def self.[](name)
40
- self.find_by_name(name.to_s).value rescue nil
59
+ # Try to get the value from cache first.
60
+ unless (value = cache_read(name)).present?
61
+ # Not found in cache, try to find the record
62
+ value = if (setting = self.find_by_name(name.to_s)).present?
63
+ # Cache it
64
+ cache_write(name, setting.value)
65
+ else
66
+ # Still cache the nil to prevent more lookups to find nothing.
67
+ cache_write(name, nil)
68
+ end
69
+ end
70
+
71
+ # Return what we found.
72
+ value
41
73
  end
42
74
 
43
75
  def self.[]=(name, value)
@@ -46,8 +78,6 @@ class RefinerySetting < ActiveRecord::Base
46
78
  setting.save!
47
79
  end
48
80
 
49
-
50
-
51
81
  # Below is not very nice, but seems to be required
52
82
  # The problem is when Rails serialises a fields like booleans
53
83
  # it doesn't retreieve it back out as a boolean
@@ -58,7 +88,7 @@ class RefinerySetting < ActiveRecord::Base
58
88
  def value
59
89
  current_value = self[:value]
60
90
 
61
- unless current_value.nil?
91
+ if current_value.present?
62
92
  # This bit handles true and false so that true and false are actually returned
63
93
  # not "0" and "1"
64
94
  REPLACEMENTS.each do |current, new_value|
@@ -69,7 +99,7 @@ class RefinerySetting < ActiveRecord::Base
69
99
  # if the value is an integer
70
100
  begin
71
101
  if current_value.to_i.to_s == current_value
72
- current_value = current_value.to_i
102
+ current_value = current_value.to_i
73
103
  end
74
104
  rescue
75
105
  current_value
@@ -85,4 +115,4 @@ class RefinerySetting < ActiveRecord::Base
85
115
  self[:value] = new_value
86
116
  end
87
117
 
88
- end
118
+ end
@@ -6,7 +6,7 @@
6
6
  <%= f.text_field :name, :class => "larger", :size => 67 %>
7
7
  <% else %>
8
8
  <label>Name</label>
9
- <%= @refinery_setting.name.titleize %> <span class="preview">- (<%= h @refinery_setting.name %>)</span>
9
+ <%= h(@refinery_setting.name).titleize %> <span class="preview">- (<%= h @refinery_setting.name %>)</span>
10
10
  <% end %>
11
11
  </div>
12
12
  <div class='field'>
@@ -74,7 +74,7 @@ class Admin::ResourcesController < Admin::BaseController
74
74
  protected
75
75
 
76
76
  def init_dialog
77
- @thickbox = params[:thickbox].present?
77
+ @app_dialog = params[:app_dialog].present?
78
78
  @field = params[:field]
79
79
  @update_resource = params[:update_resource]
80
80
  @update_text = params[:update_text]
@@ -4,9 +4,9 @@ class Resource < ActiveRecord::Base
4
4
  MAX_SIZE_IN_MB = 50
5
5
 
6
6
  # Docs for attachment_fu http://github.com/technoweenie/attachment_fu
7
- has_attachment :storage => (USE_S3_BACKEND ? :s3 : :file_system),
7
+ has_attachment :storage => (Refinery.s3_backend ? :s3 : :file_system),
8
8
  :max_size => MAX_SIZE_IN_MB.megabytes,
9
- :path_prefix => (USE_S3_BACKEND ? nil : 'public/system/resources')
9
+ :path_prefix => (Refinery.s3_backend ? nil : 'public/system/resources')
10
10
 
11
11
  # we could use validates_as_attachment but it produces 4 odd errors like
12
12
  # "size is not in list". So we basically here enforce the same validation
@@ -18,7 +18,7 @@ class Resource < ActiveRecord::Base
18
18
  else
19
19
  [:size].each do |attr_name|
20
20
  enum = attachment_options[attr_name]
21
-
21
+
22
22
  unless enum.nil? || enum.include?(send(attr_name))
23
23
  errors.add_to_base("Files should be smaller than #{MAX_SIZE_IN_MB} MB in size") if attr_name == :size
24
24
  end
@@ -13,8 +13,8 @@
13
13
 
14
14
  <%= render :partial => "/shared/admin/form_actions", :locals => {:f => f, :continue_editing => false} %>
15
15
 
16
- <% if @thickbox -%>
17
- <input type='hidden' name='thickbox' value='<%= @thickbox %>' />
16
+ <% if @app_dialog -%>
17
+ <input type='hidden' name='app_dialog' value='<%= @app_dialog %>' />
18
18
  <input type='hidden' name='field' value='<%= @field %>' />
19
19
  <input type='hidden' name='update_resource' value='<%= @update_resource %>' />
20
20
  <input type='hidden' name='update_text' value='<%= @update_text %>' />
@@ -37,7 +37,7 @@
37
37
  :previous_label => '&laquo; Previous',
38
38
  :next_label => 'Next &raquo;',
39
39
  :renderer => Refinery::LinkRenderer,
40
- :url => {:controller => "admin/resources", :action => "insert", :dialog => from_dialog?} unless @thickbox %>
40
+ :url => {:controller => "admin/resources", :action => "insert", :dialog => from_dialog?} unless @app_dialog %>
41
41
  </div>
42
42
  <% end %>
43
43
  <div id='upload_resource_area' class='dialog_area' <%= "style='display:none;'" if @resources.any? and @resource.errors.empty? %>>
@@ -45,7 +45,7 @@
45
45
  </div>
46
46
  </div>
47
47
  </div>
48
- <% if @thickbox %>
48
+ <% if @app_dialog %>
49
49
  <div id='dialog-form-actions' class='form-actions'>
50
50
  <%= submit_tag 'Insert', :id => "submit_button" %>
51
51
 
@@ -22,4 +22,4 @@ module ThemesHelper
22
22
  tag.gsub!(/\/stylesheets\//, "/theme/stylesheets/") if theme
23
23
  tag.gsub(/theme=(.+?)\ /, '') # we need to remove any addition of theme='false' etc.
24
24
  end
25
- end
25
+ end
@@ -27,4 +27,4 @@ class ThemeServer
27
27
  end
28
28
  end
29
29
 
30
- end
30
+ end
@@ -1,24 +1,32 @@
1
- # Set up middleware to serve theme files
2
- config.middleware.use "ThemeServer"
1
+ # Before the application gets setup this will fail badly if there's no database.
2
+ if RefinerySetting.table_exists?
3
+ # Set up middleware to serve theme files
4
+ config.middleware.use "ThemeServer"
3
5
 
4
- # Add or remove theme paths to/from Refinery application
5
- ::Refinery::ApplicationController.module_eval %(
6
- before_filter do |controller|
7
- controller.view_paths.reject! { |v| v.to_s =~ %r{^themes/} }
8
- if (theme = RefinerySetting[:theme]).present?
9
- # Set up view path again for the current theme.
10
- controller.view_paths.unshift Rails.root.join("themes", theme, "views").to_s
6
+ # Add or remove theme paths to/from Refinery application
7
+ ::Refinery::ApplicationController.module_eval do
8
+ before_filter do |controller|
9
+ controller.view_paths.reject! { |v| v.to_s =~ %r{^themes/} }
10
+ if (theme = RefinerySetting[:theme]).present?
11
+ # Set up view path again for the current theme.
12
+ controller.view_paths.unshift Rails.root.join("themes", theme, "views").to_s
13
+
14
+ RefinerySetting[:refinery_menu_cache_action_suffix] = "#{theme}_site_menu"
15
+ else
16
+ # Set the cache key for the site menu (thus expiring the fragment cache if theme changes).
17
+ RefinerySetting[:refinery_menu_cache_action_suffix] = "site_menu"
18
+ end
11
19
  end
12
20
  end
13
- )
14
21
 
15
- if (theme = RefinerySetting[:theme]).present?
16
- # Set up controller paths, which can only be brought in with a server restart, sorry. (But for good reason)
17
- controller_path = Rails.root.join("themes", theme, "controllers").to_s
22
+ if (theme = RefinerySetting[:theme]).present?
23
+ # Set up controller paths, which can only be brought in with a server restart, sorry. (But for good reason)
24
+ controller_path = Rails.root.join("themes", theme, "controllers").to_s
18
25
 
19
- ::ActiveSupport::Dependencies.load_paths.unshift controller_path
20
- config.controller_paths.unshift controller_path
21
- end
26
+ ::ActiveSupport::Dependencies.load_paths.unshift controller_path
27
+ config.controller_paths.unshift controller_path
28
+ end
22
29
 
23
- # Include theme functions into application helper.
24
- Refinery::ApplicationHelper.send :include, ThemesHelper
30
+ # Include theme functions into application helper.
31
+ Refinery::ApplicationHelper.send :include, ThemesHelper
32
+ end
metadata CHANGED
@@ -6,8 +6,8 @@ version: !ruby/object:Gem::Version
6
6
  - 0
7
7
  - 9
8
8
  - 6
9
- - 14
10
- version: 0.9.6.14
9
+ - 15
10
+ version: 0.9.6.15
11
11
  platform: ruby
12
12
  authors:
13
13
  - Resolve Digital
@@ -17,7 +17,7 @@ autorequire:
17
17
  bindir: bin
18
18
  cert_chain: []
19
19
 
20
- date: 2010-02-25 00:00:00 +13:00
20
+ date: 2010-03-01 00:00:00 +13:00
21
21
  default_executable:
22
22
  dependencies: []
23
23
 
@@ -38,7 +38,6 @@ files:
38
38
  - .gems
39
39
  - .gitignore
40
40
  - .yardopts
41
- - Gemfile
42
41
  - Rakefile
43
42
  - VERSION
44
43
  - app/controllers/admin/base_controller.rb
@@ -76,6 +75,8 @@ files:
76
75
  - doc/.yardoc/checksums
77
76
  - doc/.yardoc/objects/root.dat
78
77
  - doc/.yardoc/proxy_types
78
+ - lib/refinery/tasks/refinery.rake
79
+ - lib/refinery/tasks/refinery.rb
79
80
  - lib/refinery_initializer.rb
80
81
  - license.md
81
82
  - public/.htaccess
@@ -89,6 +90,7 @@ files:
89
90
  - public/images/refinery/branch-end.gif
90
91
  - public/images/refinery/branch-start.gif
91
92
  - public/images/refinery/branch.gif
93
+ - public/images/refinery/dialogLoadingAnimation.gif
92
94
  - public/images/refinery/header_background.png
93
95
  - public/images/refinery/hover-gradient.jpg
94
96
  - public/images/refinery/icons/accept.png
@@ -164,7 +166,6 @@ files:
164
166
  - public/javascripts/jquery/MIT-LICENSE.txt
165
167
  - public/javascripts/refinery/admin.js
166
168
  - public/javascripts/refinery/boot_wym.js
167
- - public/javascripts/thickbox.js
168
169
  - public/javascripts/wymeditor/jquery.refinery.wymeditor.js
169
170
  - public/javascripts/wymeditor/lang/ca.js
170
171
  - public/javascripts/wymeditor/lang/cs.js
@@ -198,7 +199,6 @@ files:
198
199
  - public/stylesheets/refinery/home.css
199
200
  - public/stylesheets/refinery/refinery.css
200
201
  - public/stylesheets/refinery/theme.css
201
- - public/stylesheets/refinery/thickbox.css
202
202
  - public/stylesheets/refinery/tooltips.css
203
203
  - public/stylesheets/theme.css
204
204
  - public/stylesheets/wymeditor/skins/refinery/skin.css
@@ -231,8 +231,10 @@ files:
231
231
  - test/fixtures/pages.yml
232
232
  - test/fixtures/refinery_settings.yml
233
233
  - test/fixtures/resources.yml
234
+ - test/fixtures/user_plugins.yml
234
235
  - test/fixtures/users.yml
235
236
  - test/functional/dashboard_controller_test.rb
237
+ - test/functional/images_controller_test.rb
236
238
  - test/performance/browsing_test.rb
237
239
  - test/test_helper.rb
238
240
  - test/unit/image_test.rb
@@ -268,20 +270,6 @@ files:
268
270
  - themes/hemingway/stylesheets/home.css
269
271
  - themes/hemingway/views/layouts/application.html.erb
270
272
  - todo.md
271
- - vendor/cache/aasm-2.1.3.gem
272
- - vendor/cache/actionmailer-2.3.5.gem
273
- - vendor/cache/actionpack-2.3.5.gem
274
- - vendor/cache/activerecord-2.3.5.gem
275
- - vendor/cache/activeresource-2.3.5.gem
276
- - vendor/cache/activesupport-2.3.5.gem
277
- - vendor/cache/friendly_id-2.3.1.gem
278
- - vendor/cache/hpricot-0.8.2.gem
279
- - vendor/cache/rack-1.0.1.gem
280
- - vendor/cache/rails-2.3.5.gem
281
- - vendor/cache/rake-0.8.7.gem
282
- - vendor/cache/rubyzip-0.9.1.gem
283
- - vendor/cache/slim_scrooge-1.0.3.gem
284
- - vendor/cache/will_paginate-2.3.11.gem
285
273
  - vendor/plugins/acts_as_indexed/CHANGELOG
286
274
  - vendor/plugins/acts_as_indexed/MIT-LICENSE
287
275
  - vendor/plugins/acts_as_indexed/README.rdoc
@@ -540,6 +528,7 @@ files:
540
528
  - vendor/plugins/refinery/lib/refinery/application_helper.rb
541
529
  - vendor/plugins/refinery/lib/refinery/attachment_fu_patch.rb
542
530
  - vendor/plugins/refinery/lib/refinery/base_presenter.rb
531
+ - vendor/plugins/refinery/lib/refinery/deprecations.rb
543
532
  - vendor/plugins/refinery/lib/refinery/form_helpers.rb
544
533
  - vendor/plugins/refinery/lib/refinery/html_truncation_helper.rb
545
534
  - vendor/plugins/refinery/lib/refinery/initializer.rb
@@ -614,6 +603,7 @@ specification_version: 3
614
603
  summary: A beautiful open source Ruby on Rails content manager for small business.
615
604
  test_files:
616
605
  - test/functional/dashboard_controller_test.rb
606
+ - test/functional/images_controller_test.rb
617
607
  - test/performance/browsing_test.rb
618
608
  - test/test_helper.rb
619
609
  - test/unit/image_test.rb
data/Gemfile DELETED
@@ -1,12 +0,0 @@
1
- # Please add your gems above the Refinery required gems here:
2
-
3
- #===REFINERY REQUIRED GEMS===
4
- source "http://rubygems.org"
5
- gem "aasm", ">= 2.1.3", :require => "aasm"
6
- gem "friendly_id", ">= 2.3.2", :require => "friendly_id"
7
- gem "hpricot", ">= 0.8.1", :require => "hpricot"
8
- gem "slim_scrooge", ">= 1.0.5", :require => "slim_scrooge"
9
- gem "will_paginate", ">= 2.3.11", :require => "will_paginate"
10
- gem "rails", ">= 2.3.5", :require => "rails"
11
- gem "rake", ">= 0.8.3", :require => "rake"
12
- #===REFINERY END OF REQUIRED GEMS===