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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b04e0fd70f69ccaaea02b5801e0a13de7a200b961ad2654df29602f838f79957
4
- data.tar.gz: dbb3e3a5d09cc0a42e5a1de84d90c9cf278be3eea7a1158dbfab7db3c8a6e56d
3
+ metadata.gz: 5cf010b02b757636813a19c71cc9aa1b4e5c275ea427171697fcd99fc7322a45
4
+ data.tar.gz: df1034450ecc28879caef1b3e82d90680d8023168a3b1caef4b80d6a678d7c72
5
5
  SHA512:
6
- metadata.gz: 5a403e2a68b74a9ea7f8dd30c0dac448a39c6e40a95e5c265d97a5f693de1d16dc3695818214ad9b76196b233e2a824341912b950b407df985cd2b83401c2c20
7
- data.tar.gz: 648e90125470a5eb0adcf336d0d87b5d8e251ca23cbfa4d5666c616f265e98aa221f2158172d3cfea727eab29557ab4654b30fd61ea82907d28b79e98b600fab
6
+ metadata.gz: a5ade6c22c6a576e6c2b290c738f18e776134cfcb16c81b0a27aa7a2ca8938be73c1a613f61bce7a7c9f1dadd2ea1104c5c3daf8ee1e60815955b4fd80ffbdc1
7
+ data.tar.gz: d388ee07fb185910722a7ae071973ab71df82e3bd769647b5258198362d6cf5fdf8c5b1464a52c8d0fa27989deb8ed0eddaf0c52be1751a2e1ec868ae668a5c8
data/.travis.yml CHANGED
@@ -9,6 +9,7 @@ gemfile:
9
9
  - gemfiles/rails_5.1.gemfile
10
10
  - gemfiles/rails_5.2.gemfile
11
11
  - gemfiles/rails_5.2.1.gemfile
12
+ - gemfiles/rails_6.0.0.gemfile
12
13
  - gemfiles/rails_master.gemfile
13
14
  matrix:
14
15
  allow_failures:
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
@@ -0,0 +1,7 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "rails", "6.0.0"
6
+
7
+ gemspec path: "../"
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Trix
2
- VERSION = '2.0.0'.freeze
2
+ VERSION = '2.1.0'.freeze
3
3
  end
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.0'
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.0.0
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: 2018-09-29 00:00:00.000000000 Z
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.0'
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.0'
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