refinerycms-page-images 3.0.0 → 4.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b72ed8ac7a3c5ba5dbf01e1bfd4fc8870d09da8a
4
- data.tar.gz: 826b59b4d21371ec72c9d04eaaf84dd4700d6bc4
3
+ metadata.gz: 2faa4005a2b29d241feae553db596df571099306
4
+ data.tar.gz: c7933eaaf2797f82b2806d8591d92caf04f343a8
5
5
  SHA512:
6
- metadata.gz: d1c3445b8c2d4ad216714df2cd6711ac5c781a024ba6551f57f2a8f2eff85c065c626e783f255b52f94c2043838e8394d83802668a234178cf2da956d85e2d6d
7
- data.tar.gz: 496669b11429333ba1a3a5276ad8af71df969d7dddaa299063e0da611263f210c1dd7018838e0294e9fcbd1b860005cad465f1ff5cd7f4a436246723aea5d57d
6
+ metadata.gz: 152c5286969ba3de73823a7a1bf9a044f89b860d744a354e538912ea39679dad4c7972cd52b858571add959d849aec376e754af5e382f9fb490c4cbfef98d3ee
7
+ data.tar.gz: 36c057c183bd38c996e981ab4f73f6dc3e29cc66959136b5eb30c086f4317e47fdc4bc0fd894e720614ba823f609e2f25cc1cea3a0fa1171cb7a64361dd59e91
Binary file
Binary file
@@ -22,5 +22,6 @@ env:
22
22
  - DB=postgresql
23
23
  - DB=mysql
24
24
  rvm:
25
- - 2.3.1
26
- - 2.2.5
25
+ - 2.4.2
26
+ - 2.3.5
27
+ - 2.2.8
data/Gemfile CHANGED
@@ -2,7 +2,7 @@ source "http://rubygems.org"
2
2
 
3
3
  gemspec
4
4
 
5
- git 'https://github.com/refinery/refinerycms', branch: '3-0-stable' do
5
+ git "https://github.com/refinery/refinerycms", branch: "master" do
6
6
  gem 'refinerycms'
7
7
 
8
8
  group :development, :test do
@@ -10,7 +10,11 @@ git 'https://github.com/refinery/refinerycms', branch: '3-0-stable' do
10
10
  end
11
11
  end
12
12
 
13
- gem 'refinerycms-wymeditor', '~> 1.0.0'
13
+ gem 'refinerycms-wymeditor', ['~> 2.0', '>= 2.0.0']
14
+
15
+ group :development do
16
+ gem 'listen'
17
+ end
14
18
 
15
19
  group :test do
16
20
  gem 'poltergeist'
@@ -30,12 +34,14 @@ end
30
34
 
31
35
  if !ENV['TRAVIS'] || ENV['DB'] == 'postgresql'
32
36
  gem 'activerecord-jdbcpostgresql-adapter', :platform => :jruby
33
- gem 'pg', :platform => :ruby
37
+ gem 'pg', '~> 0.21', platform: :ruby
34
38
  end
35
39
 
36
40
  # Refinery/rails should pull in the proper versions of these
37
- gem 'sass-rails', '~> 4.0.0'
38
- gem 'coffee-rails', '~> 4.0.0'
41
+ group :assets do
42
+ gem "sass-rails"
43
+ gem "coffee-rails"
44
+ end
39
45
 
40
46
  # Load local gems according to Refinery developer preference.
41
47
  if File.exist? local_gemfile = File.expand_path('../.gemfile', __FILE__)
@@ -1,16 +1,3 @@
1
- require 'ostruct'
1
+ Refinery::Page.include RefineryPageImages::AddImagesWithCaptionsConcern
2
2
 
3
- Refinery::Page.class_eval do
4
- attr_accessor :images_with_captions
5
3
 
6
- def images_with_captions
7
- @images_with_captions = image_pages.map do |ref|
8
- OpenStruct.new(
9
- {
10
- image: Refinery::Image.find(ref.image_id),
11
- caption: ref.caption || ''
12
- }
13
- )
14
- end
15
- end
16
- end
@@ -0,0 +1,24 @@
1
+ require 'ostruct'
2
+
3
+ module RefineryPageImages
4
+ module AddImagesWithCaptionsConcern
5
+ extend ActiveSupport::Concern
6
+ included do
7
+ attr_accessor :images_with_captions
8
+ prepend(InstanceMethods)
9
+ end
10
+
11
+ module InstanceMethods
12
+ def images_with_captions
13
+ @images_with_captions = image_pages.map do |ref|
14
+ OpenStruct.new(
15
+ {
16
+ image: Refinery::Image.find(ref.image_id),
17
+ caption: ref.caption || ''
18
+ }
19
+ )
20
+ end
21
+ end
22
+ end
23
+ end
24
+ end
@@ -5,5 +5,7 @@ module Refinery
5
5
  belongs_to :page, polymorphic: true, touch: true
6
6
 
7
7
  translates :caption
8
+
9
+ attribute :caption
8
10
  end
9
11
  end
@@ -0,0 +1,11 @@
1
+ #!/usr/bin/env ruby
2
+ # This command will automatically be run when you run "rails" with Rails gems
3
+ # installed from the root of your application.
4
+
5
+ begin
6
+ load File.join(File.expand_path('../../', __FILE__), 'spec/dummy/bin/rails')
7
+ rescue LoadError => load_error
8
+ warn "No dummy Rails application found! \n" \
9
+ "To create one in spec/dummy, please run: \n\n" \
10
+ " rake refinery:testing:dummy_app"
11
+ end
@@ -0,0 +1,21 @@
1
+ -----BEGIN CERTIFICATE-----
2
+ MIIDhjCCAm6gAwIBAgIBATANBgkqhkiG9w0BAQUFADBNMQ0wCwYDVQQDDARnZW1z
3
+ MREwDwYKCZImiZPyLGQBGRYBcDEVMBMGCgmSJomT8ixkARkWBWFybmR0MRIwEAYK
4
+ CZImiZPyLGQBGRYCaW8wHhcNMTcwNzI1MTMxMjIwWhcNMTgwNzI1MTMxMjIwWjBN
5
+ MQ0wCwYDVQQDDARnZW1zMREwDwYKCZImiZPyLGQBGRYBcDEVMBMGCgmSJomT8ixk
6
+ ARkWBWFybmR0MRIwEAYKCZImiZPyLGQBGRYCaW8wggEiMA0GCSqGSIb3DQEBAQUA
7
+ A4IBDwAwggEKAoIBAQDrjwB8be48TFEvGweP7BwWFnmsL2IMU9Ts2UKKWK9GYr7Z
8
+ 5uNZFmO1yVBCrmUQHHDlpku6SN6HDO8ChDL7LNugz/4eapRTifHZl8jhPRsOLBcF
9
+ 1hANy/V2v5NNkL5Zvb+vsUa7lyjbIOoD5yYzSDl4/T0nOe6xYzxJgBuxZK/nWSOe
10
+ Db8Uffc7B4yhA2kuayUiQUXPYAoPdfUSxoTKDohw17Sm6LKTpg8GkT0ttof1a/xu
11
+ vdsTvZHIcTsYv16e+8SrwLRZ/iBVVsyZFkMYPMxemw7WHxmWElWIgW9S7pUK5Q7J
12
+ oMS5uJVbtV2EmV+cOnhOWDz1A16P7QRFmGje5L+vAgMBAAGjcTBvMAkGA1UdEwQC
13
+ MAAwCwYDVR0PBAQDAgSwMB0GA1UdDgQWBBQ7G/yxuQIzgszkOkaZBgoKBJ1rozAa
14
+ BgNVHREEEzARgQ9nZW1zQHAuYXJuZHQuaW8wGgYDVR0SBBMwEYEPZ2Vtc0BwLmFy
15
+ bmR0LmlvMA0GCSqGSIb3DQEBBQUAA4IBAQB12WMsC+yuuIeM0Ib6HUYZ2IbhRnuW
16
+ 4uydNRvKDPdwzjChnOI0POGpcL8O1s1gh+19o/ITq6zRfTLhkwR2ir7XfwHJNppJ
17
+ yg48wbdL5gpZwggKWggKX5G9pqv9LjRsSAew6r0WB+5KW+ArCl/iNo9+AdeR3nUx
18
+ I+L/QiUxYU6XAXSrczL/i7kF5Xc3ZXQYuFsyGW9plA3i9faWUMvGKQc6pvUHIUZC
19
+ jOQmH9VbgbfUrXYM1YOKdlwW5sPR1f4PKLDlvEE+bppIUgKOgLOIv3i7KwrGvFOq
20
+ 5r7Wz/HY31SM47mkK21saPJG4NvUFEycf0wlpzP657Pl9aVo47aKKbxX
21
+ -----END CERTIFICATE-----
@@ -1,4 +1,4 @@
1
- class CreatePageImages < ActiveRecord::Migration
1
+ class CreatePageImages < ActiveRecord::Migration[4.2]
2
2
  def change
3
3
  create_table Refinery::ImagePage.table_name, :id => false do |t|
4
4
  t.integer :image_id
@@ -1,4 +1,4 @@
1
- class AddCaptionToImagePages < ActiveRecord::Migration
1
+ class AddCaptionToImagePages < ActiveRecord::Migration[4.2]
2
2
  def change
3
3
  add_column Refinery::ImagePage.table_name, :caption, :text
4
4
  end
@@ -1,4 +1,4 @@
1
- class TranslatePageImageCaptions < ActiveRecord::Migration
1
+ class TranslatePageImageCaptions < ActiveRecord::Migration[4.2]
2
2
  def up
3
3
  add_column Refinery::ImagePage.table_name, :id, :primary_key
4
4
 
@@ -1,4 +1,4 @@
1
- class ChangePageToPolymorphic < ActiveRecord::Migration
1
+ class ChangePageToPolymorphic < ActiveRecord::Migration[4.2]
2
2
  def change
3
3
  add_column Refinery::ImagePage.table_name, :page_type, :string, :default => "page"
4
4
  end
data/readme.md CHANGED
@@ -8,7 +8,7 @@ Page Images allows you to relate one or more images to any page in Refinery whic
8
8
 
9
9
  ## Requirements
10
10
 
11
- * refinerycms >= 3.0.0
11
+ * refinerycms-pages ~> 4.0
12
12
 
13
13
  ## Features
14
14
 
@@ -23,7 +23,7 @@ Page Images allows you to relate one or more images to any page in Refinery whic
23
23
  Add this line to your application's `Gemfile`
24
24
 
25
25
  ```ruby
26
- gem 'refinerycms-page-images', '~> 3.0.0', github: "refinery/refinerycms-page-images", branch: "master"
26
+ gem 'refinerycms-page-images', '~> 4.0.0', git: "https://github.com/refinery/refinerycms-page-images", branch: "master"
27
27
  ```
28
28
 
29
29
  Next run
@@ -74,7 +74,7 @@ Refinery::PageImages.wysiwyg = false
74
74
  Note that WYMeditor support requires that you have the extension in your Gemfile:
75
75
 
76
76
  ```ruby
77
- gem 'refinerycms-wymeditor', '~> 1.0.0'
77
+ gem 'refinerycms-wymeditor', ['~> 2.0', '>= 2.0.0']
78
78
  ```
79
79
 
80
80
  ## Usage
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = %q{refinerycms-page-images}
3
- s.version = %q{3.0.0}
3
+ s.version = %q{4.0.0}
4
4
  s.description = %q{Attach images to pages ins Refinery CMS}
5
5
  s.summary = %q{Page Images extension for Refinery CMS}
6
6
  s.email = %q{info@refinerycms.com}
@@ -12,7 +12,12 @@ Gem::Specification.new do |s|
12
12
  s.files = `git ls-files`.split("\n")
13
13
  s.test_files = `git ls-files -- spec/*`.split("\n")
14
14
 
15
- s.add_dependency 'refinerycms-pages', '~> 3.0.0'
16
- s.add_dependency 'decorators', '~> 2.0.0'
17
- s.add_dependency 'globalize', '~> 5.0'
15
+ s.add_dependency 'refinerycms-pages', ['~> 4.0', '>= 4.0.0']
16
+ s.add_dependency 'decorators', '~> 2.0'
17
+ s.add_dependency 'globalize', '~> 5.1.0'
18
+
19
+ s.cert_chain = [File.expand_path("../certs/parndt.pem", __FILE__)]
20
+ if $0 =~ /gem\z/ && ARGV.include?("build") && ARGV.include?(__FILE__)
21
+ s.signing_key = File.expand_path("~/.ssh/gem-private_key.pem")
22
+ end
18
23
  end
@@ -1,10 +1,10 @@
1
- FactoryGirl.define do
1
+ FactoryBot.define do
2
2
  factory :page_with_image, :parent => :page_with_page_part do
3
- after(:create) { |p| p.image_pages.create(image: FactoryGirl.create(:image)) }
3
+ after(:create) { |p| p.image_pages.create(image: FactoryBot.create(:image)) }
4
4
  end
5
5
 
6
6
  factory :blog_post_with_image, :parent => :blog_post do
7
- after(:create) { |b| b.image_pages.create(image: FactoryGirl.create(:image)) }
7
+ after(:create) { |b| b.image_pages.create(image: FactoryBot.create(:image)) }
8
8
  end if defined? Refinery::Blog::Post
9
9
 
10
10
  factory :image_page, class: Refinery::ImagePage do
@@ -4,8 +4,8 @@ describe "page images", type: :feature do
4
4
  refinery_login
5
5
 
6
6
  let(:configure) {}
7
- let(:page_for_images) { FactoryGirl.create(:page_with_page_part) }
8
- let(:image) { FactoryGirl.create(:image) }
7
+ let(:page_for_images) { FactoryBot.create(:page_with_page_part) }
8
+ let(:image) { FactoryBot.create(:image) }
9
9
  let(:navigate_to_edit) { visit refinery.edit_admin_page_path(page_for_images) }
10
10
  let(:page_images_tab_id) { "#custom_#{::I18n.t(:'refinery.plugins.refinery_page_images.tab_name')}_tab" }
11
11
 
@@ -46,7 +46,7 @@ describe "page images", type: :feature do
46
46
 
47
47
  context "with images" do
48
48
 
49
- let(:page_for_images) { FactoryGirl.create(:page_with_image) }
49
+ let(:page_for_images) { FactoryBot.create(:page_with_image) }
50
50
 
51
51
  # Regression test for #100 and #102
52
52
  it "can remove a page image to the db", js: true do
@@ -5,7 +5,7 @@ describe "attach page images", type: :feature do
5
5
 
6
6
  # No-op block : use default configuration by default
7
7
  let(:configure) {}
8
- let(:create_page) { FactoryGirl.create(:page_with_page_part) }
8
+ let(:create_page) { FactoryBot.create(:page_with_page_part) }
9
9
  let(:navigate_to_edit) { click_link "Edit this page" }
10
10
  let(:page_images_tab_id) { "#custom_#{::I18n.t(:'refinery.plugins.refinery_page_images.tab_name')}_tab" }
11
11
 
@@ -40,7 +40,7 @@ describe "attach page images", type: :feature do
40
40
  Refinery::PageImages.config.captions = true
41
41
  end
42
42
 
43
- let(:create_page) { FactoryGirl.create(:page_with_image) }
43
+ let(:create_page) { FactoryBot.create(:page_with_image) }
44
44
  let(:navigate_to_edit) { page.find('a[tooltip="Edit this page"]').click }
45
45
 
46
46
  it "shows a plain textarea when editing caption", js: true do
@@ -27,7 +27,7 @@ describe Refinery::PageImages::Engine do
27
27
 
28
28
  expect(Refinery::PageImages::EnableForMock::Model).to receive(:has_many_page_images).once
29
29
  expect(Refinery::Page).not_to receive(:has_many_page_images)
30
- ActionDispatch::Reloader.prepare!
30
+ Rails.application.reloader.prepare!
31
31
  end
32
32
  end
33
33
 
@@ -4,12 +4,12 @@ module Refinery
4
4
  module Blog
5
5
  describe Post, type: :model do
6
6
  it "should not have images" do
7
- blog = FactoryGirl.create(:blog_post)
7
+ blog = FactoryBot.create(:blog_post)
8
8
  expect(blog.images.count).to eq(0)
9
9
  end
10
10
 
11
11
  it "should have images" do
12
- blog = FactoryGirl.create(:blog_post_with_image)
12
+ blog = FactoryBot.create(:blog_post_with_image)
13
13
  expect(blog.images.count).to eq(1)
14
14
  end
15
15
  end
@@ -2,7 +2,7 @@ require 'spec_helper'
2
2
 
3
3
  module Refinery
4
4
  describe ImagePage, type: :model do
5
- let!(:image_page) { FactoryGirl.create(:image_page) }
5
+ let!(:image_page) { FactoryBot.create(:image_page) }
6
6
 
7
7
  describe "touching" do
8
8
  let(:original_updated_at) { 1.day.ago }
@@ -2,24 +2,24 @@ require 'spec_helper'
2
2
 
3
3
  module Refinery
4
4
  describe Page, type: :model do
5
- let!(:page) { FactoryGirl.create :page }
5
+ let!(:page) { FactoryBot.create :page }
6
6
  it "can have images added" do
7
7
  expect {
8
- page.image_pages.create(image: FactoryGirl.build(:image))
8
+ page.image_pages.create(image: FactoryBot.build(:image))
9
9
  }.to change{page.images.count}.from(0).to(1)
10
10
  end
11
11
 
12
12
  describe '#images_with_captions' do
13
13
  it 'returns an images_with_captions collection' do
14
14
  expect {
15
- page.image_pages.create(image: FactoryGirl.build(:image))
15
+ page.image_pages.create(image: FactoryBot.build(:image))
16
16
  }.to change{page.images_with_captions.count}.from(0).to(1)
17
17
  end
18
18
 
19
19
  it 'returns an image and a caption' do
20
20
  expect(page.images_with_captions.count).to eq(0)
21
21
 
22
- page.image_pages.create(image: FactoryGirl.build(:image))
22
+ page.image_pages.create(image: FactoryBot.build(:image))
23
23
  expect(page.images_with_captions.first[:image]).to be_a(Refinery::Image)
24
24
  expect(page.images_with_captions.first[:caption]).to be_a(String)
25
25
  end
@@ -28,7 +28,7 @@ module Refinery
28
28
 
29
29
  describe "#images_attributes=" do
30
30
  it "adds images" do
31
- image = FactoryGirl.create(:image)
31
+ image = FactoryBot.create(:image)
32
32
 
33
33
  expect {
34
34
  page.update_attributes({:images_attributes => {"0" => {"id" => image.id}}})
@@ -36,7 +36,7 @@ module Refinery
36
36
  end
37
37
 
38
38
  context 'with images' do
39
- let!(:images) { [FactoryGirl.create(:image), FactoryGirl.create(:image)] }
39
+ let!(:images) { [FactoryBot.create(:image), FactoryBot.create(:image)] }
40
40
  before do
41
41
  images.each do |image|
42
42
  page.image_pages.create(image: image)
metadata CHANGED
@@ -1,15 +1,37 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: refinerycms-page-images
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 4.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Philip Arndt
8
8
  - David Jones
9
9
  autorequire:
10
10
  bindir: bin
11
- cert_chain: []
12
- date: 2018-03-22 00:00:00.000000000 Z
11
+ cert_chain:
12
+ - |
13
+ -----BEGIN CERTIFICATE-----
14
+ MIIDhjCCAm6gAwIBAgIBATANBgkqhkiG9w0BAQUFADBNMQ0wCwYDVQQDDARnZW1z
15
+ MREwDwYKCZImiZPyLGQBGRYBcDEVMBMGCgmSJomT8ixkARkWBWFybmR0MRIwEAYK
16
+ CZImiZPyLGQBGRYCaW8wHhcNMTcwNzI1MTMxMjIwWhcNMTgwNzI1MTMxMjIwWjBN
17
+ MQ0wCwYDVQQDDARnZW1zMREwDwYKCZImiZPyLGQBGRYBcDEVMBMGCgmSJomT8ixk
18
+ ARkWBWFybmR0MRIwEAYKCZImiZPyLGQBGRYCaW8wggEiMA0GCSqGSIb3DQEBAQUA
19
+ A4IBDwAwggEKAoIBAQDrjwB8be48TFEvGweP7BwWFnmsL2IMU9Ts2UKKWK9GYr7Z
20
+ 5uNZFmO1yVBCrmUQHHDlpku6SN6HDO8ChDL7LNugz/4eapRTifHZl8jhPRsOLBcF
21
+ 1hANy/V2v5NNkL5Zvb+vsUa7lyjbIOoD5yYzSDl4/T0nOe6xYzxJgBuxZK/nWSOe
22
+ Db8Uffc7B4yhA2kuayUiQUXPYAoPdfUSxoTKDohw17Sm6LKTpg8GkT0ttof1a/xu
23
+ vdsTvZHIcTsYv16e+8SrwLRZ/iBVVsyZFkMYPMxemw7WHxmWElWIgW9S7pUK5Q7J
24
+ oMS5uJVbtV2EmV+cOnhOWDz1A16P7QRFmGje5L+vAgMBAAGjcTBvMAkGA1UdEwQC
25
+ MAAwCwYDVR0PBAQDAgSwMB0GA1UdDgQWBBQ7G/yxuQIzgszkOkaZBgoKBJ1rozAa
26
+ BgNVHREEEzARgQ9nZW1zQHAuYXJuZHQuaW8wGgYDVR0SBBMwEYEPZ2Vtc0BwLmFy
27
+ bmR0LmlvMA0GCSqGSIb3DQEBBQUAA4IBAQB12WMsC+yuuIeM0Ib6HUYZ2IbhRnuW
28
+ 4uydNRvKDPdwzjChnOI0POGpcL8O1s1gh+19o/ITq6zRfTLhkwR2ir7XfwHJNppJ
29
+ yg48wbdL5gpZwggKWggKX5G9pqv9LjRsSAew6r0WB+5KW+ArCl/iNo9+AdeR3nUx
30
+ I+L/QiUxYU6XAXSrczL/i7kF5Xc3ZXQYuFsyGW9plA3i9faWUMvGKQc6pvUHIUZC
31
+ jOQmH9VbgbfUrXYM1YOKdlwW5sPR1f4PKLDlvEE+bppIUgKOgLOIv3i7KwrGvFOq
32
+ 5r7Wz/HY31SM47mkK21saPJG4NvUFEycf0wlpzP657Pl9aVo47aKKbxX
33
+ -----END CERTIFICATE-----
34
+ date: 2018-02-03 00:00:00.000000000 Z
13
35
  dependencies:
14
36
  - !ruby/object:Gem::Dependency
15
37
  name: refinerycms-pages
@@ -17,42 +39,48 @@ dependencies:
17
39
  requirements:
18
40
  - - "~>"
19
41
  - !ruby/object:Gem::Version
20
- version: 3.0.0
42
+ version: '4.0'
43
+ - - ">="
44
+ - !ruby/object:Gem::Version
45
+ version: 4.0.0
21
46
  type: :runtime
22
47
  prerelease: false
23
48
  version_requirements: !ruby/object:Gem::Requirement
24
49
  requirements:
25
50
  - - "~>"
26
51
  - !ruby/object:Gem::Version
27
- version: 3.0.0
52
+ version: '4.0'
53
+ - - ">="
54
+ - !ruby/object:Gem::Version
55
+ version: 4.0.0
28
56
  - !ruby/object:Gem::Dependency
29
57
  name: decorators
30
58
  requirement: !ruby/object:Gem::Requirement
31
59
  requirements:
32
60
  - - "~>"
33
61
  - !ruby/object:Gem::Version
34
- version: 2.0.0
62
+ version: '2.0'
35
63
  type: :runtime
36
64
  prerelease: false
37
65
  version_requirements: !ruby/object:Gem::Requirement
38
66
  requirements:
39
67
  - - "~>"
40
68
  - !ruby/object:Gem::Version
41
- version: 2.0.0
69
+ version: '2.0'
42
70
  - !ruby/object:Gem::Dependency
43
71
  name: globalize
44
72
  requirement: !ruby/object:Gem::Requirement
45
73
  requirements:
46
74
  - - "~>"
47
75
  - !ruby/object:Gem::Version
48
- version: '5.0'
76
+ version: 5.1.0
49
77
  type: :runtime
50
78
  prerelease: false
51
79
  version_requirements: !ruby/object:Gem::Requirement
52
80
  requirements:
53
81
  - - "~>"
54
82
  - !ruby/object:Gem::Version
55
- version: '5.0'
83
+ version: 5.1.0
56
84
  description: Attach images to pages ins Refinery CMS
57
85
  email: info@refinerycms.com
58
86
  executables: []
@@ -68,12 +96,15 @@ files:
68
96
  - app/decorators/controllers/refinery/admin/blogposts_controller_decorator.rb
69
97
  - app/decorators/controllers/refinery/admin/pages_controller_decorator.rb
70
98
  - app/decorators/models/refinery/page_images_page_decorator.rb
99
+ - app/models/concerns/refinery_page_images/add_images_with_captions_concern.rb
71
100
  - app/models/refinery/image_page.rb
72
101
  - app/views/refinery/admin/pages/tabs/_images.html.erb
73
102
  - app/views/refinery/admin/pages/tabs/_images_bar.html.erb
74
103
  - app/views/refinery/admin/pages/tabs/_images_field.html.erb
104
+ - bin/rails
75
105
  - bin/rake
76
106
  - bin/rspec
107
+ - certs/parndt.pem
77
108
  - config/locales/bg.yml
78
109
  - config/locales/cs.yml
79
110
  - config/locales/da.yml
@@ -102,7 +133,6 @@ files:
102
133
  - lib/refinerycms-page-images.rb
103
134
  - readme.md
104
135
  - refinerycms-page-images.gemspec
105
- - script/rails
106
136
  - spec/factories/page-images.rb
107
137
  - spec/features/admin/page_images_spec.rb
108
138
  - spec/features/attach_page_images_spec.rb
@@ -0,0 +1,5 @@
1
+ ou �!3/8�0s��f1 ��Ұig�e Xb 霺�K������������X��M����LKGuH��c��<VY7r�CG)Qw{iPn��
2
+ `��B��Wi8�< �l5�v >�mz�7��Z<�٧�߯Ef�O�5�m�,ne
3
+ I�&���3r=�d��3� �:A�~^G{�h��l�ɣvC�=�H�;kp��lZ�|��+��yD5&���
4
+
5
+ �b�bv��:�/3�fKn� X�?��|9�� �^
@@ -1,5 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
3
-
4
- ENGINE_PATH = File.expand_path('../..', __FILE__)
5
- load File.expand_path('../../spec/dummy/bin/rails', __FILE__)