ckeditor5 1.0.0 → 1.0.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
  SHA256:
3
- metadata.gz: 1a430aeac80e44b802a01fd61104356f2a18e401dc6650b14c7c3e5ed8a95f9a
4
- data.tar.gz: 16f0147ad4faf2a26224236af5a54875a8fbf86139ce945b2f01c350524bc7df
3
+ metadata.gz: c5460b3107fdc19ce6939b72a36c61610eb21e95e4a402f23de3001f1ecbb92b
4
+ data.tar.gz: ea4e8aa8555bb85b011b7b13cd5a8a75b1cb1c7101cb44aebe71d9f63297164c
5
5
  SHA512:
6
- metadata.gz: 82860b61ad2da6eba0cf1969c6d1190c7d90e3ce5bfabd5c9c1ad8a9b9449a12c03d83ef65563fe37c0f74c4f75078c7ba867f377186bc35341ccf5fdff97bd7
7
- data.tar.gz: 43bdc1f9313154c6c7255a3621523ae1f4bb51d475d381eeece7515464d7bab059a64dd480d9d7e32d9d0a94c177ecb41d4998b47dbb41e5f35880b643966b1f
6
+ metadata.gz: 071262a9c4f4b43de4d12242881686f6b724fd54d04639f769b9cfb453052310c3635265cd54372addea845c702efe669ada8f03ad9e1c84134c58b8ce24ddc4
7
+ data.tar.gz: 8ad805f4918d332419b2522067f0189bab4052d7a37d8094395edd52789ff994b4c04e1cd9959eb56a6eed88fd40940598efdcead0cbfd4f61b518f8c0eac9fe
data/Gemfile CHANGED
@@ -3,12 +3,10 @@
3
3
  source 'https://rubygems.org'
4
4
 
5
5
  gem 'bundler', '~> 2.5', '>= 2.5.21'
6
+ gem 'rails', '~> 7.2', '>= 7.2.0'
6
7
 
7
8
  group :development do
8
9
  gem 'brakeman', '~> 6.1', '>= 6.1.1', require: false
9
- gem 'guard'
10
- gem 'guard-bundler'
11
- gem 'guard-rails'
12
10
  gem 'rake', '~> 13.2', '>= 13.2.1'
13
11
  gem 'rspec', '~> 3.13'
14
12
  gem 'rubocop', '~> 1.66', 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.2'
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.2
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