ecm_links2_backend 1.0.0 → 1.0.1

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: 57d82343f43594cb02a6b8fa830b7bbc1489c552
4
- data.tar.gz: a4d70deb1ca3972955faae8038caf05c8d7ee5d3
3
+ metadata.gz: 4b09b3b6ac9d71d9ece468b7379bf97b62a37c49
4
+ data.tar.gz: 186787eb288df18209944c4f9c7ff71118e1d42c
5
5
  SHA512:
6
- metadata.gz: 666717b03c4c224721c49132d0b9ec2c6874901b5fe8e533347d0b3e8d3313e9dab0408dd1b20ecad87246503a1b8a1a5ea156c26d78fa72d2b1ed42c705a9a4
7
- data.tar.gz: ac72df116c0a21a710c61d8fd7689911218a373d34b5cb0ba7ad0b1c69cfb92d4f05237b4682fd34ad3c04f85c046f6709f51dd7e9811e8c0a5fff94fd1d3881
6
+ metadata.gz: aeda376f7335c53077f69e4355bc4d3660bc40e5ccaab5b4390a3ed4f5ced9ab145d85234b62d55624317f48beac61b9f7043e72f99feb7f5a08b78d8f5e4caa
7
+ data.tar.gz: 0fb0ca3a37bac21e09c0ff43bec5b60d527c524a87343563db4ce4e8fa40184f8bb6a0b0933a68d53857a5ce8b5be730e0df7b21e8704f2d15ea92d09eda8ab8
data/Rakefile CHANGED
@@ -14,7 +14,6 @@ RDoc::Task.new(:rdoc) do |rdoc|
14
14
  rdoc.rdoc_files.include('lib/**/*.rb')
15
15
  end
16
16
 
17
-
18
17
  Bundler::GemHelper.install_tasks
19
18
 
20
19
  require 'rails/dummy/tasks'
@@ -8,6 +8,6 @@ class Ecm::Links::Backend::CategoriesController < Itsf::Backend::Resource::BaseC
8
8
  def permitted_params
9
9
  params
10
10
  .require(:ecm_links_category)
11
- .permit(:parent_id, :locale, :name, :markup_language, :short_description, :long_description, :link_footer_column)
11
+ .permit(:parent_id, :locale, :name, :markup_language, :short_description, :long_description, :link_footer_column)
12
12
  end
13
13
  end
@@ -12,6 +12,6 @@ class Ecm::Links::Backend::LinksController < Itsf::Backend::Resource::BaseContro
12
12
  def permitted_params
13
13
  params
14
14
  .require(:ecm_links_link)
15
- .permit(:ecm_links_category_id, :name, :url, :markup_language, :description)
15
+ .permit(:ecm_links_category_id, :name, :url, :markup_language, :description)
16
16
  end
17
17
  end
@@ -1,4 +1,4 @@
1
1
  module Ecm::Links
2
2
  class CategoryPolicy < Itsf::Backend::BasePolicy
3
3
  end
4
- end
4
+ end
@@ -1,4 +1,4 @@
1
1
  module Ecm::Links
2
2
  class LinkPolicy < Itsf::Backend::BasePolicy
3
3
  end
4
- end
4
+ end
@@ -10,11 +10,11 @@ module Ecm
10
10
  end
11
11
 
12
12
  mattr_accessor :registered_controllers do
13
- -> {[]}
13
+ -> { [] }
14
14
  end
15
15
 
16
16
  mattr_accessor :registered_services do
17
- -> {[]}
17
+ -> { [] }
18
18
  end
19
19
  end
20
20
  end
@@ -4,7 +4,7 @@ module Ecm
4
4
  class Engine < ::Rails::Engine
5
5
  isolate_namespace Ecm::Links::Backend
6
6
 
7
- initializer "ecm_links_backend.asset_pipeline" do |app|
7
+ initializer 'ecm_links_backend.asset_pipeline' do |app|
8
8
  app.config.assets.precompile << 'ecm_links_backend.js'
9
9
  app.config.assets.precompile << 'ecm_links_backend.css'
10
10
  end
@@ -1,7 +1,7 @@
1
1
  module Ecm
2
2
  module Links
3
3
  module Backend
4
- VERSION = "1.0.0"
4
+ VERSION = '1.0.1'.freeze
5
5
  end
6
6
  end
7
7
  end
@@ -6,5 +6,5 @@ require 'rails-i18n'
6
6
  # require 'ransack'
7
7
  require 'route_translator'
8
8
 
9
- require "ecm/links/backend"
10
- require "ecm/links/backend/engine"
9
+ require 'ecm/links/backend'
10
+ require 'ecm/links/backend/engine'
@@ -30,4 +30,4 @@ module Ecm
30
30
  end
31
31
  end
32
32
  end
33
- end
33
+ end
@@ -1,22 +1,24 @@
1
- Ecm::Links::Backend.configure do |config|
1
+ Ecm::Links::Backend.configure do |config|
2
2
  # Set the resources, that will be shown in the backend menu in development
3
3
  # mode. This needs to be set to get a correct menu because
4
4
  # Controller.descendants is empty in development. This is an eager load
5
5
  # issue.
6
- #
6
+ #
7
7
  # Default: config.registered_controllers = -> {[
8
8
  # Ecm::Links::Backend::CategoriesController,
9
9
  # Ecm::Links::Backend::LinksController
10
10
  # ]}
11
- #
12
- config.registered_controllers = -> {[
13
- Ecm::Links::Backend::CategoriesController,
14
- Ecm::Links::Backend::LinksController
15
- ]}
11
+ #
12
+ config.registered_controllers = lambda {
13
+ [
14
+ Ecm::Links::Backend::CategoriesController,
15
+ Ecm::Links::Backend::LinksController
16
+ ]
17
+ }
16
18
 
17
19
  # Set the services, that will be shown in the backend menu.
18
20
  #
19
21
  # Default: config.registered_services = -> {[]}
20
- #
21
- config.registered_services = -> {[]}
22
- end
22
+ #
23
+ config.registered_services = -> { [] }
24
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ecm_links2_backend
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roberto Vasquez Angel
@@ -203,8 +203,10 @@ files:
203
203
  - README.rdoc
204
204
  - Rakefile
205
205
  - app/assets/javascripts/ecm/links/backend/application.js
206
+ - app/assets/javascripts/ecm/links/backend/application/dummy.js
206
207
  - app/assets/javascripts/ecm_links_backend.js
207
208
  - app/assets/stylesheets/ecm/links/backend/application.css
209
+ - app/assets/stylesheets/ecm/links/backend/application/dummy.css
208
210
  - app/assets/stylesheets/ecm_links_backend.css
209
211
  - app/controllers/ecm/links/backend/application_controller.rb
210
212
  - app/controllers/ecm/links/backend/categories_controller.rb