refinerycms-page-images 2.0.0 → 2.0.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.
@@ -117,7 +117,7 @@ open_image_caption = function(e) {
117
117
  });
118
118
 
119
119
  $('.ui-dialog:visible .ui-dialog-titlebar-close, .ui-dialog:visible .form-actions a.button')
120
- .bind('click',
120
+ .on('click',
121
121
  $.proxy(function(e) {
122
122
  // first, update the editor because we're blocking event bubbling (third argument to bind set to false).
123
123
  $(this).data('wymeditor').update();
@@ -137,7 +137,7 @@ open_image_caption = function(e) {
137
137
 
138
138
  $('#' + $(this).attr('data-old-id')).val($(this).val());
139
139
  }, textarea)
140
- , false);
140
+ );
141
141
 
142
142
  textarea.addClass('wymeditor active_rotator_wymeditor widest').wymeditor(wymeditor_boot_options);
143
143
  }
@@ -1,12 +1,7 @@
1
1
  <div class='wym_skin_refinery page_part' id='page_image_picker'>
2
- <%= render :partial => '/refinery/admin/pages/tabs/images_bar', :locals => {:f => f} %>
3
- <%= render :partial => '/refinery/admin/pages/tabs/images_field', :locals => {:f => f} %>
2
+ <%= render '/refinery/admin/pages/tabs/images_bar', :f => f %>
3
+ <%= render '/refinery/admin/pages/tabs/images_field', :f => f %>
4
4
  </div>
5
5
 
6
- <% content_for :stylesheets do %>
7
- <%= stylesheet_link_tag 'refinery/page-image-picker' %>
8
- <% end %>
9
-
10
- <% content_for :javascripts do %>
11
- <%= javascript_include_tag 'refinery/page-image-picker' %>
12
- <% end %>
6
+ <% content_for :stylesheets, stylesheet_link_tag('refinery/page-image-picker') %>
7
+ <% content_for :javascripts, javascript_include_tag('refinery/page-image-picker') %>
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = %q{refinerycms-page-images}
3
- s.version = %q{2.0.0}
3
+ s.version = %q{2.0.1}
4
4
  s.description = %q{Page Images Engine for Refinery CMS}
5
5
  s.date = Date.today.strftime("%Y-%m-%d")
6
6
  s.summary = %q{Page Images Engine for Refinery CMS}
data/script/rails ADDED
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+ #!/usr/bin/env ruby
3
+ # This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
4
+
5
+ ENGINE_PATH = File.expand_path('../..', __FILE__)
6
+ load File.expand_path('../../spec/dummy/script/rails', __FILE__)
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: refinerycms-page-images
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15
4
+ hash: 13
5
5
  prerelease:
6
6
  segments:
7
7
  - 2
8
8
  - 0
9
- - 0
10
- version: 2.0.0
9
+ - 1
10
+ version: 2.0.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Philip Arndt
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2012-03-13 00:00:00 Z
19
+ date: 2012-03-19 00:00:00 Z
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
22
22
  name: refinerycms-pages
@@ -91,6 +91,7 @@ files:
91
91
  - lib/refinerycms-page-images.rb
92
92
  - readme.md
93
93
  - refinerycms-page-images.gemspec
94
+ - script/rails
94
95
  - spec/factories/page-images.rb
95
96
  - spec/models/refinery/blog_spec.rb
96
97
  - spec/models/refinery/page_spec.rb