ecm_cms2_backend 1.2.1 → 1.2.2

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: cb1e05fdb2d3595223b0f3b1927b9d01a7e969b7
4
- data.tar.gz: fe23776f9916c4030dd3ec6585c3a2d81e42c892
3
+ metadata.gz: 2957b4a01edbfcb25175fe502139b452b95ed841
4
+ data.tar.gz: a2908064cc49f7bd9f59457c3dbd3ce96c7a5c8d
5
5
  SHA512:
6
- metadata.gz: 541b451ff3293c5854f274fe2923de77eeb329742c4737699ef40b26080b09f1634c0d9eb86eedc6667ee20709563597b03220f6570be6db6048776ab30aa109
7
- data.tar.gz: 557fc440dd30432e3e1566a8aa175c337ce0df86047a12f6edbfc4e16e7fac63f8a55312d4e971e0d900166fac01f2c0428d2910233bdd975b4512ec5c4fb7e8
6
+ metadata.gz: cf1e30b803b16e752e8c29e9b85bcdee3587f3583509f4c09b4800fcf1da9492e019caf7e863cd9dc43b2c175990c801550673c783bdbc9d28eb0fd9624583bd
7
+ data.tar.gz: 6f4bb11063d06d3bf33f28a3faabf650a1154b44f737b6eb01ab41848dcf73a21e48f6a6e89e2cc9b66eca72613a66ace2ffb3b940f3b526ae1d32fe8a0f360c
@@ -7,6 +7,6 @@ class Ecm::Cms::Backend::TemplatesController < Itsf::Backend::Resource::BaseCont
7
7
 
8
8
  def permitted_params
9
9
  params.require(:template)
10
- .permit
10
+ .permit(:body, :pathname, :basename, :locale, :format, :handler)
11
11
  end
12
12
  end
@@ -1,2 +1,2 @@
1
- = table.column(:name) { |resource| resource.name }
1
+ = table.column :name, sortable: true
2
2
  = table.timestamps
@@ -1,8 +1,8 @@
1
- = table.association(:ecm_cms_navigation, url: ->(navigation_item) { navigation_path(navigation_item.ecm_cms_navigation) })
2
- = table.column(:name) do |navigation_item|
1
+ = table.association(:ecm_cms_navigation, sortable: :ecm_cms_navigation_name, url: ->(navigation_item) { navigation_path(navigation_item.ecm_cms_navigation) })
2
+ = table.column(:name, sortable: true) do |navigation_item|
3
3
  %span{ class: "indent indent-chars-#{navigation_item.depth * 3}"}= navigation_item.name
4
- = table.column :url
5
- = table.column(:ecm_cms_page) do |navigation_item|
4
+ = table.column :url, sortable: true
5
+ = table.column(:ecm_cms_page, sortable: :ecm_cms_page_title) do |navigation_item|
6
6
  - link_to navigation_item.ecm_cms_page.title, page_path(navigation_item.ecm_cms_page) if navigation_item.ecm_cms_page.present?
7
7
  = table.timestamps
8
8
  = table.awesome_nested_set_actions scope: ->(navigation_item) { navigation_item.root.ecm_cms_navigation.to_param }
@@ -1,4 +1,4 @@
1
- = table.column :locale
2
- = table.column :name
3
- = table.column :ecm_cms_navigation_items_count
1
+ = table.column :locale, sortable: true
2
+ = table.column :name, sortable: true
3
+ = table.column :ecm_cms_navigation_items_count, sortable: true
4
4
  = table.timestamps
@@ -1,8 +1,8 @@
1
- = table.column :title, class: 'truncate-chars truncate-chars-30'
2
- = table.column :pathname, class: 'truncate-chars truncate-chars-30'
3
- = table.column :filename, class: 'truncate-chars truncate-chars-30'
4
- = table.column :home_page?
5
- = table.column :layout
1
+ = table.column :title, sortable: true, class: 'truncate-chars truncate-chars-30'
2
+ = table.column :pathname, sortable: true, class: 'truncate-chars truncate-chars-30'
3
+ = table.column :filename, sortable: true, class: 'truncate-chars truncate-chars-30'
4
+ = table.column :home_page?, sortable: true
5
+ = table.column :layout, sortable: true
6
6
  = table.column(:ecm_cms_navigation_items, sortable: false) do |page|
7
7
  - page.ecm_cms_navigation_items.collect{ |navigation_item| link_to(navigation_item, navigation_item_path(navigation_item)) }.join('<br />').html_safe
8
8
  = table.timestamps
@@ -1,5 +1,5 @@
1
- = table.column :pathname, class: 'truncate-chars truncate-chars-30'
2
- = table.column :filename, class: 'truncate-chars truncate-chars-30'
3
- = table.column(:body) do |partial|
1
+ = table.column :pathname, sortable: true, class: 'truncate-chars truncate-chars-30'
2
+ = table.column :filename, sortable: true, class: 'truncate-chars truncate-chars-30'
3
+ = table.column(:body, sortable: true) do |partial|
4
4
  %div{ title: partial.body, class: 'truncate-chars truncate-chars-30'}= h(partial.body)
5
5
  = table.timestamps
@@ -1,5 +1,5 @@
1
- = table.column :pathname, class: 'truncate-chars truncate-chars-30'
2
- = table.column :filename, class: 'truncate-chars truncate-chars-30'
3
- = table.column(:body) do |partial|
1
+ = table.column :pathname, sortable: true, class: 'truncate-chars truncate-chars-30'
2
+ = table.column :filename, sortable: true, class: 'truncate-chars truncate-chars-30'
3
+ = table.column(:body, sortable: true) do |partial|
4
4
  %div{ title: partial.body, class: 'truncate-chars truncate-chars-30'}= h(partial.body)
5
5
  = table.timestamps
@@ -2,5 +2,4 @@ de:
2
2
  classes:
3
3
  ecm/cms/backend/engine: 'CMS'
4
4
  routes:
5
- mount:
6
- ecm_cms_backend: '/backend/content-management-system'
5
+ ecm-cms-backend-engine: 'cms'
@@ -2,5 +2,4 @@ en:
2
2
  classes:
3
3
  ecm/cms/backend/engine: 'CMS'
4
4
  routes:
5
- mount:
6
- ecm_cms_backend: '/backend/content-management-system'
5
+ ecm-cms-backend-engine: 'cms'
@@ -1,7 +1,7 @@
1
1
  module Ecm
2
2
  module Cms
3
3
  module Backend
4
- VERSION = '1.2.1'.freeze
4
+ VERSION = '1.2.2'.freeze
5
5
  end
6
6
  end
7
7
  end
@@ -1,5 +1,5 @@
1
1
  # This migration comes from ecm_cms_engine (originally 1)
2
- class CreateEcmCmsFolders < ActiveRecord::Migration
2
+ class CreateEcmCmsFolders < ActiveRecord::Migration[4.2]
3
3
  def change
4
4
  create_table :ecm_cms_folders do |t|
5
5
  t.string :basename
@@ -1,5 +1,5 @@
1
1
  # This migration comes from ecm_cms_engine (originally 2)
2
- class CreateEcmCmsPages < ActiveRecord::Migration
2
+ class CreateEcmCmsPages < ActiveRecord::Migration[4.2]
3
3
  def change
4
4
  create_table :ecm_cms_pages do |t|
5
5
  t.string :basename
@@ -1,5 +1,5 @@
1
1
  # This migration comes from ecm_cms_engine (originally 3)
2
- class CreateEcmCmsTemplates < ActiveRecord::Migration
2
+ class CreateEcmCmsTemplates < ActiveRecord::Migration[4.2]
3
3
  def change
4
4
  create_table :ecm_cms_templates do |t|
5
5
  t.string :basename
@@ -1,5 +1,5 @@
1
1
  # This migration comes from ecm_cms_engine (originally 4)
2
- class CreateEcmCmsPartials < ActiveRecord::Migration
2
+ class CreateEcmCmsPartials < ActiveRecord::Migration[4.2]
3
3
  def change
4
4
  create_table :ecm_cms_partials do |t|
5
5
  t.string :basename
@@ -1,5 +1,5 @@
1
1
  # This migration comes from ecm_cms_engine (originally 5)
2
- class CreateEcmCmsNavigations < ActiveRecord::Migration
2
+ class CreateEcmCmsNavigations < ActiveRecord::Migration[4.2]
3
3
  def change
4
4
  create_table :ecm_cms_navigations do |t|
5
5
  t.string :locale
@@ -1,5 +1,5 @@
1
1
  # This migration comes from ecm_cms_engine (originally 6)
2
- class CreateEcmCmsNavigationItems < ActiveRecord::Migration
2
+ class CreateEcmCmsNavigationItems < ActiveRecord::Migration[4.2]
3
3
  def change
4
4
  create_table :ecm_cms_navigation_items do |t|
5
5
  t.string :name
@@ -1,5 +1,5 @@
1
1
  # This migration comes from ecm_cms_engine (originally 7)
2
- class CreateEcmCmsContentBoxes < ActiveRecord::Migration
2
+ class CreateEcmCmsContentBoxes < ActiveRecord::Migration[4.2]
3
3
  def change
4
4
  create_table :ecm_cms_content_boxes do |t|
5
5
  t.string :name
@@ -1,5 +1,5 @@
1
1
  # This migration comes from ecm_cms_engine (originally 8)
2
- class CreateEcmCmsPageContentBlocks < ActiveRecord::Migration
2
+ class CreateEcmCmsPageContentBlocks < ActiveRecord::Migration[4.2]
3
3
  def change
4
4
  create_table :ecm_cms_page_content_blocks do |t|
5
5
  t.text :body
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ecm_cms2_backend
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roberto Vasquez Angel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-12 00:00:00.000000000 Z
11
+ date: 2017-07-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -316,8 +316,6 @@ files:
316
316
  - spec/dummy/db/schema.rb
317
317
  - spec/dummy/db/test.sqlite3
318
318
  - spec/dummy/lib/templates/haml/scaffold/_form.html.haml
319
- - spec/dummy/log/development.log
320
- - spec/dummy/log/test.log
321
319
  - spec/dummy/public/404.html
322
320
  - spec/dummy/public/422.html
323
321
  - spec/dummy/public/500.html
@@ -1613,7 +1611,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
1613
1611
  version: '0'
1614
1612
  requirements: []
1615
1613
  rubyforge_project:
1616
- rubygems_version: 2.4.8
1614
+ rubygems_version: 2.6.11
1617
1615
  signing_key:
1618
1616
  specification_version: 4
1619
1617
  summary: Backend Module for ECM CMS 2
@@ -1622,8 +1620,6 @@ test_files:
1622
1620
  - spec/dummy/public/404.html
1623
1621
  - spec/dummy/public/500.html
1624
1622
  - spec/dummy/public/favicon.ico
1625
- - spec/dummy/log/development.log
1626
- - spec/dummy/log/test.log
1627
1623
  - spec/dummy/config.ru
1628
1624
  - spec/dummy/tmp/cache/assets/development/sprockets/v3.0/X-frZGOBbVIbn4qKlg7GYzNfIInroswJtI7GApnKD2c.cache
1629
1625
  - spec/dummy/tmp/cache/assets/development/sprockets/v3.0/5KbgvCGD9vHaJZq1OGX-rpTGfSLq0heUJ8CMNVTd81k.cache
@@ -2947,4 +2943,3 @@ test_files:
2947
2943
  - spec/dummy/bin/rails
2948
2944
  - spec/dummy/bin/bundle
2949
2945
  - spec/dummy/bin/setup
2950
- has_rdoc: