effective_regions 1.9.0 → 1.10.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
  SHA256:
3
- metadata.gz: 2ba94f8c8d5b5d1f44e5c6becb9e8243a5f01b30c1926b5e8eff93caeec1863e
4
- data.tar.gz: 4c76c3056698a2152a5bf1ebeeaa6de93a9ed2dd81e8918e92361a0c7a01ded2
3
+ metadata.gz: a7aa0433b2e695dd195090cb20d46d4baedecce240bdf62d36cb5e3a071266bf
4
+ data.tar.gz: 0f9ec81c8a9b84d55cc2a4acd76c076b442c012946d2943b60082ed067cb8295
5
5
  SHA512:
6
- metadata.gz: cf35cbc0a65e91dda1851adb09c08689fa904025ef99aa4a50ff1633dc7fca1b19b9a3b359ce9bbeaab07333c8b26f5a63d22599a3585e54ab37fa8c127ffe39
7
- data.tar.gz: 3b6db2cde4926b5563b23ed7e96a7b2e6e91236d5d46ee6fee21fd575b3caae193011c90a0008e9d3a3c9999cae48a261ca9e191788218a88558b035a6629825
6
+ metadata.gz: a9d15123d4576f57191b4ef573b310b1b0dd86aa890e0621740975fdd5666250a07d419c7f21658f52ab669624ee933a163390ff988c79f85137f62086671a37
7
+ data.tar.gz: 42e37bab17b09f62870ef01e40df40e751644953ed0e8b0c46dc36f2ca6f8fd1544a0371648ae010236280841ca16b3197ba0c19989576b42c2b461a9232d25b
@@ -0,0 +1,3 @@
1
+ //= link_directory ../javascripts .js
2
+ //= link_directory ../stylesheets .css
3
+ //= link_directory ../images/effective/templates
@@ -38,8 +38,6 @@ module EffectiveRegionsHelper
38
38
  end
39
39
  end
40
40
 
41
- private
42
-
43
41
  def ckeditor_region(args, options = {}, &block)
44
42
  obj = args.first
45
43
  title = args.last.to_s.parameterize
@@ -6,7 +6,9 @@ module EffectiveRegions
6
6
 
7
7
  # Include Helpers to base application
8
8
  initializer 'effective_regions.action_controller' do |app|
9
- ActiveSupport.on_load :action_controller do
9
+ ActiveSupport.on_load :action_controller_base do
10
+ helper EffectiveRegionsHelper
11
+
10
12
  ActionController::Base.send(:include, ::EffectiveRegionsControllerHelper)
11
13
  end
12
14
  end
@@ -24,7 +26,7 @@ module EffectiveRegions
24
26
  end
25
27
 
26
28
  initializer "effective_regions.append_precompiled_assets" do |app|
27
- Rails.application.config.assets.precompile += ['ck_assets.js', 'ck_assets.css', 'drop_cap.css']
29
+ app.config.assets.precompile += ['effective_regions_manifest.js', 'ck_assets.js', 'ck_assets.css', 'drop_cap.css']
28
30
  end
29
31
 
30
32
  end
@@ -1,3 +1,3 @@
1
1
  module EffectiveRegions
2
- VERSION = '1.9.0'.freeze
2
+ VERSION = '1.10.0'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_regions
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.0
4
+ version: 1.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-02-18 00:00:00.000000000 Z
11
+ date: 2021-06-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -52,6 +52,20 @@ dependencies:
52
52
  - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: sassc
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
55
69
  description: Create editable content regions within your existing, ordinary ActionView::Base
56
70
  views, and update content with an actually-good full-screen WYSIWYG editor.
57
71
  email:
@@ -63,6 +77,7 @@ files:
63
77
  - MIT-LICENSE
64
78
  - README.md
65
79
  - Rakefile
80
+ - app/assets/config/effective_regions_manifest.js
66
81
  - app/assets/images/effective/templates/image_and_title.png
67
82
  - app/assets/javascripts/ck_assets.js.coffee
68
83
  - app/assets/javascripts/effective/snippets/current_date_time.js.coffee