trix-rails 2.0.0 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -0
- data/Appraisals +4 -0
- data/CHANGELOG.md +11 -0
- data/gemfiles/rails_6.0.0.gemfile +7 -0
- data/lib/trix/simple_form/trix_editor_input.rb +1 -1
- data/lib/trix/version.rb +1 -1
- data/trix.gemspec +1 -1
- metadata +6 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5cf010b02b757636813a19c71cc9aa1b4e5c275ea427171697fcd99fc7322a45
|
4
|
+
data.tar.gz: df1034450ecc28879caef1b3e82d90680d8023168a3b1caef4b80d6a678d7c72
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a5ade6c22c6a576e6c2b290c738f18e776134cfcb16c81b0a27aa7a2ca8938be73c1a613f61bce7a7c9f1dadd2ea1104c5c3daf8ee1e60815955b4fd80ffbdc1
|
7
|
+
data.tar.gz: d388ee07fb185910722a7ae071973ab71df82e3bd769647b5258198362d6cf5fdf8c5b1464a52c8d0fa27989deb8ed0eddaf0c52be1751a2e1ec868ae668a5c8
|
data/.travis.yml
CHANGED
data/Appraisals
CHANGED
@@ -18,6 +18,10 @@ appraise 'rails-5.2.1' do
|
|
18
18
|
gem 'rails', '~> 5.2.1'
|
19
19
|
end
|
20
20
|
|
21
|
+
appraise 'rails-6.0.0' do
|
22
|
+
gem 'rails', '6.0.0'
|
23
|
+
end
|
24
|
+
|
21
25
|
appraise 'rails-master' do
|
22
26
|
gem 'rails', git: 'https://github.com/rails/rails.git', branch: 'master'
|
23
27
|
gem 'arel', git: 'https://github.com/rails/arel.git', branch: 'master'
|
data/CHANGELOG.md
CHANGED
@@ -3,6 +3,17 @@
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
This project adheres to [Semantic Versioning](http://semver.org/).
|
5
5
|
|
6
|
+
## Master
|
7
|
+
|
8
|
+
Not released
|
9
|
+
|
10
|
+
## 2.1.0
|
11
|
+
|
12
|
+
Released September 9, 2019
|
13
|
+
|
14
|
+
* 🐛🔨 Add customizable input name for trix-editor in simple form ([#12](https://github.com/kylefox/trix/pull/12)). Thanks [@ptrr](https://github.com/ptrr)!
|
15
|
+
* 💪 Modify Gemspec to support Rails 6 ([#17](https://github.com/kylefox/trix/pull/17)). Thanks [@king601](https://github.com/king601)!
|
16
|
+
|
6
17
|
## 2.0.0
|
7
18
|
|
8
19
|
Released September 29, 2018
|
@@ -2,7 +2,7 @@ module Trix
|
|
2
2
|
module SimpleForm
|
3
3
|
class TrixEditorInput < ::SimpleForm::Inputs::Base
|
4
4
|
def input(_wrapper_options)
|
5
|
-
trix_options = options.slice(:spellcheck, :toolbar, :tabindex)
|
5
|
+
trix_options = options.slice(:spellcheck, :toolbar, :tabindex, :input)
|
6
6
|
editor_options = { input: input_class, class: 'trix-content' }.merge(trix_options)
|
7
7
|
|
8
8
|
editor_tag = template.content_tag('trix-editor', '', editor_options)
|
data/lib/trix/version.rb
CHANGED
data/trix.gemspec
CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
19
19
|
spec.require_paths = ['lib']
|
20
20
|
|
21
|
-
spec.add_runtime_dependency 'rails', '> 4.1', '< 6.
|
21
|
+
spec.add_runtime_dependency 'rails', '> 4.1', '< 6.1'
|
22
22
|
|
23
23
|
spec.add_development_dependency 'appraisal'
|
24
24
|
spec.add_development_dependency 'bundler', '~> 1.10'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: trix-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kyle Fox
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2019-09-09 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -20,7 +20,7 @@ dependencies:
|
|
20
20
|
version: '4.1'
|
21
21
|
- - "<"
|
22
22
|
- !ruby/object:Gem::Version
|
23
|
-
version: '6.
|
23
|
+
version: '6.1'
|
24
24
|
type: :runtime
|
25
25
|
prerelease: false
|
26
26
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -30,7 +30,7 @@ dependencies:
|
|
30
30
|
version: '4.1'
|
31
31
|
- - "<"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '6.
|
33
|
+
version: '6.1'
|
34
34
|
- !ruby/object:Gem::Dependency
|
35
35
|
name: appraisal
|
36
36
|
requirement: !ruby/object:Gem::Requirement
|
@@ -172,6 +172,7 @@ files:
|
|
172
172
|
- gemfiles/rails_5.1.gemfile
|
173
173
|
- gemfiles/rails_5.2.1.gemfile
|
174
174
|
- gemfiles/rails_5.2.gemfile
|
175
|
+
- gemfiles/rails_6.0.0.gemfile
|
175
176
|
- gemfiles/rails_master.gemfile
|
176
177
|
- lib/formtastic/inputs/trix_editor_input.rb
|
177
178
|
- lib/trix.rb
|
@@ -202,7 +203,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
202
203
|
version: '0'
|
203
204
|
requirements: []
|
204
205
|
rubyforge_project:
|
205
|
-
rubygems_version: 2.7.6
|
206
|
+
rubygems_version: 2.7.6.2
|
206
207
|
signing_key:
|
207
208
|
specification_version: 4
|
208
209
|
summary: A rich text editor for everyday writing
|