ecm_cms2_backend 1.2.2 → 1.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/views/ecm/cms/backend/pages/_form.html.haml +1 -1
- data/app/views/ecm/cms/backend/partials/_form.html.haml +1 -1
- data/app/views/ecm/cms/backend/templates/_form.html.haml +1 -1
- data/lib/ecm/cms/backend/version.rb +1 -1
- data/lib/generators/ecm/cms/backend/install/install_generator.rb +5 -1
- data/lib/generators/ecm/cms/backend/install/templates/routes.source +4 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cf17ea9c87baaf65ec744a9c2ccda08f929b4735
|
4
|
+
data.tar.gz: 8f0f431ee982860154d02600201125a60b073fa1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 96c05faf3f093857182adcf5865a81e52502dd9d348263a8ba0f210ca3812b4ddd39b6d964fb4131d5c35d18647b7e62a92a91afa417b94f003acaf1109ba1e7
|
7
|
+
data.tar.gz: 118b3ad203c6bb3e6447f4d72c97be1d84a22ff2ce01f2fb657d5b01c6cef3a05f33427258243561641eac9839b06dc70b8c47ca311a75c26e3b2d7baf9f6851
|
@@ -4,7 +4,7 @@
|
|
4
4
|
~ form.input :body, input_html: { 'data-add-editor': Itsf::Backend.features?(:'ace-rails-ap'), 'data-editor-syntax': form.object.handler }
|
5
5
|
|
6
6
|
.well
|
7
|
-
= form.input :pathname
|
7
|
+
= form.input :pathname, required: false
|
8
8
|
= form.input :basename
|
9
9
|
= form.input :locale, collection: I18n.available_locales
|
10
10
|
= form.input :format, collection: Mime::SET.symbols
|
@@ -2,7 +2,7 @@
|
|
2
2
|
~ form.input :body, input_html: { 'data-add-editor': Itsf::Backend.features?(:'ace-rails-ap'), 'data-editor-syntax': form.object.handler }
|
3
3
|
|
4
4
|
.well
|
5
|
-
= form.input :pathname
|
5
|
+
= form.input :pathname, required: false
|
6
6
|
= form.input :basename
|
7
7
|
= form.input :locale, collection: I18n.available_locales
|
8
8
|
= form.input :format, collection: Mime::SET.symbols
|
@@ -2,7 +2,7 @@
|
|
2
2
|
~ form.input :body, input_html: { 'data-add-editor': Itsf::Backend.features?(:'ace-rails-ap'), 'data-editor-syntax': form.object.handler }
|
3
3
|
|
4
4
|
.well
|
5
|
-
= form.input :pathname
|
5
|
+
= form.input :pathname, required: false
|
6
6
|
= form.input :basename
|
7
7
|
= form.input :locale, collection: I18n.available_locales
|
8
8
|
= form.input :format, collection: Mime::SET.symbols
|
@@ -3,7 +3,7 @@ module Ecm
|
|
3
3
|
module Backend
|
4
4
|
module Generators
|
5
5
|
class InstallGenerator < Rails::Generators::Base
|
6
|
-
desc 'Generates the
|
6
|
+
desc 'Generates the initializer'
|
7
7
|
|
8
8
|
source_root File.expand_path('../templates', __FILE__)
|
9
9
|
|
@@ -11,6 +11,10 @@ module Ecm
|
|
11
11
|
copy_file 'initializer.rb', 'config/initializers/ecm_cms_backend.rb'
|
12
12
|
end
|
13
13
|
|
14
|
+
def generate_routes
|
15
|
+
route File.read(File.join(File.expand_path('../templates', __FILE__), 'routes.source'))
|
16
|
+
end
|
17
|
+
|
14
18
|
def add_to_itsf_backend
|
15
19
|
insert_into_itsf_backend_config(Ecm::Cms::Backend::Engine)
|
16
20
|
end
|
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.
|
4
|
+
version: 1.2.3
|
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-
|
11
|
+
date: 2017-10-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -263,6 +263,7 @@ files:
|
|
263
263
|
- lib/ecm_cms2_backend.rb
|
264
264
|
- lib/generators/ecm/cms/backend/install/install_generator.rb
|
265
265
|
- lib/generators/ecm/cms/backend/install/templates/initializer.rb
|
266
|
+
- lib/generators/ecm/cms/backend/install/templates/routes.source
|
266
267
|
- lib/tasks/ecm/cms2/backend_tasks.rake
|
267
268
|
- spec/dummy/README.rdoc
|
268
269
|
- spec/dummy/Rakefile
|