ckeditor5 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
  SHA256:
3
- metadata.gz: 1a430aeac80e44b802a01fd61104356f2a18e401dc6650b14c7c3e5ed8a95f9a
4
- data.tar.gz: 16f0147ad4faf2a26224236af5a54875a8fbf86139ce945b2f01c350524bc7df
3
+ metadata.gz: 781d7cd0e2b9bb1ba9aed6f103dfeb8b9cd318970025b876a7baa792b3466d38
4
+ data.tar.gz: b2b19f8a7a549d66c1ea0ccde434a97b4b25912dd8cfe5e9e6b9e7bc512d7709
5
5
  SHA512:
6
- metadata.gz: 82860b61ad2da6eba0cf1969c6d1190c7d90e3ce5bfabd5c9c1ad8a9b9449a12c03d83ef65563fe37c0f74c4f75078c7ba867f377186bc35341ccf5fdff97bd7
7
- data.tar.gz: 43bdc1f9313154c6c7255a3621523ae1f4bb51d475d381eeece7515464d7bab059a64dd480d9d7e32d9d0a94c177ecb41d4998b47dbb41e5f35880b643966b1f
6
+ metadata.gz: bf87efd1b431a9fe2ebde09157946c268a1aeaf539c9c1dc31e8af887335b910909229da052af9f04550851750ff3b55e3f13cbd419b194d80d9b238184b71cf
7
+ data.tar.gz: b6bcf709b3cca9f23afef77bad824b8d5cf36d83cf1f8d00d3263f03228a9f7f4e52dda11b927b7f3885cacf73724b5b2a887d9af1dc73728179a61c21f75264
data/Gemfile CHANGED
@@ -3,6 +3,7 @@
3
3
  source 'https://rubygems.org'
4
4
 
5
5
  gem 'bundler', '~> 2.5', '>= 2.5.21'
6
+ gem 'rails', '~> 6.0', '>= 6.0.4'
6
7
 
7
8
  group :development do
8
9
  gem 'brakeman', '~> 6.1', '>= 6.1.1', require: false
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # CKEditor 5 Rails Integration
2
2
 
3
3
  [![License: MIT](https://img.shields.io/badge/License-MIT-orange.svg?style=flat-square)](https://opensource.org/licenses/MIT)
4
- ![Gem Version](https://img.shields.io/gem/v/ckeditor5-rails?style=flat-square)
4
+ ![Gem Version](https://img.shields.io/gem/v/ckeditor5?style=flat-square)
5
5
  [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-green.svg?style=flat-square)](http://makeapullrequest.com)
6
6
  ![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/mati365/ckeditor5-rails?style=flat-square)
7
7
  [![GitHub issues](https://img.shields.io/github/issues/mati365/ckeditor5-rails?style=flat-square)](https://github.com/Mati365/ckeditor5-rails/issues)
@@ -1,5 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require 'uri'
3
4
  require 'action_view'
4
5
 
5
6
  module CKEditor5::Rails::Assets
@@ -70,6 +70,10 @@ module CKEditor5::Rails
70
70
  @type = type
71
71
  end
72
72
 
73
+ def configure(key, value)
74
+ @config[key] = value
75
+ end
76
+
73
77
  def menubar(visible: true)
74
78
  @config[:menuBar] = {
75
79
  isVisible: visible
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CKEditor5::Rails
4
- VERSION = '1.0.0'
4
+ VERSION = '1.0.1'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ckeditor5
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
  - Mateusz Bagiński
@@ -15,16 +15,16 @@ dependencies:
15
15
  name: rails
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - "~>"
18
+ - - ">="
19
19
  - !ruby/object:Gem::Version
20
- version: '5.0'
20
+ version: '6.0'
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
- - - "~>"
25
+ - - ">="
26
26
  - !ruby/object:Gem::Version
27
- version: '5.0'
27
+ version: '6.0'
28
28
  description:
29
29
  email: cziken58@gmail.com
30
30
  executables: []
@@ -72,7 +72,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
72
72
  - !ruby/object:Gem::Version
73
73
  version: '0'
74
74
  requirements: []
75
- rubygems_version: 3.5.3
75
+ rubygems_version: 3.5.22
76
76
  signing_key:
77
77
  specification_version: 4
78
78
  summary: CKEditor 5 for Rails