actiontext 7.0.4.3 → 7.0.5.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: e72bf6f0b05cf6a8437b8a32b812bafe7916893877942d304a12e5914867ee4c
4
- data.tar.gz: 159e6d4f14f2ab5d95cd3af135c35167ef53fd0571e0096ffbf71982e1267bb3
3
+ metadata.gz: f40c80fdae1b3f8df3252b1fa31840c3a9f0ed2f078d9fe680421e3197b74dbd
4
+ data.tar.gz: 60ab086e4c0b913048bee61ab20e3914fef441ab331a390ccfaae70b322731d4
5
5
  SHA512:
6
- metadata.gz: 6f2aca7fe76e252826b8b883e98d3fb6c49a2d5cc73de364541ee58c4f922a99b7666dcf50a92b02a657bad86a64d7febd0fada2770c84f035798ec1e57ffe20
7
- data.tar.gz: 687ce6584eb0d4d31f159acae8e3d35e235cea801cc33dbb25a00d120f8a82aecb412a52a0fcc702f934960794982bd8ce1da29985c4f65d6eca5c5dd8fd0364
6
+ metadata.gz: 949900d78b431d90f30592d142a9862f5c724575a68e8cae098f198d1cf837716d65c7232781599a52d6088759252078f9a3af72605dbaf54dc972fc357223b6
7
+ data.tar.gz: 8ecc5e306ea62d2afdd6bc9375e22859158a090eb3f865d1bbf3a887a6a9368f423a372b842bcf3d25f5d2c4fcf293bb8480dc94ca9c99c8a608fb26c42f6565
data/CHANGELOG.md CHANGED
@@ -1,3 +1,15 @@
1
+ ## Rails 7.0.5.1 (June 26, 2023) ##
2
+
3
+ * No changes.
4
+
5
+
6
+ ## Rails 7.0.5 (May 24, 2023) ##
7
+
8
+ * Fix `ActionText::Attachable#as_json`.
9
+
10
+ *Alexandre Ruban*
11
+
12
+
1
13
  ## Rails 7.0.4.3 (March 13, 2023) ##
2
14
 
3
15
  * No changes.
@@ -64,7 +64,7 @@ module ActionText
64
64
  end
65
65
 
66
66
  def as_json(*)
67
- super.merge(attachable_sgid: attachable_sgid)
67
+ super.merge("attachable_sgid" => persisted? ? attachable_sgid : nil)
68
68
  end
69
69
 
70
70
  def to_trix_content_attachment_partial_path
@@ -4,8 +4,7 @@ module ActionText
4
4
  # Fixtures are a way of organizing data that you want to test against; in
5
5
  # short, sample data.
6
6
  #
7
- # To learn more about fixtures, read the
8
- # {ActiveRecord::FixtureSet}[rdoc-ref:ActiveRecord::FixtureSet] documentation.
7
+ # To learn more about fixtures, read the ActiveRecord::FixtureSet documentation.
9
8
  #
10
9
  # === YAML
11
10
  #
@@ -9,8 +9,8 @@ module ActionText
9
9
  module VERSION
10
10
  MAJOR = 7
11
11
  MINOR = 0
12
- TINY = 4
13
- PRE = "3"
12
+ TINY = 5
13
+ PRE = "1"
14
14
 
15
15
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
16
16
  end
data/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rails/actiontext",
3
- "version": "7.0.4-3",
3
+ "version": "7.0.5-1",
4
4
  "description": "Edit and display rich text in Rails applications",
5
5
  "main": "app/assets/javascripts/actiontext.js",
6
6
  "type": "module",
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: actiontext
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.0.4.3
4
+ version: 7.0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Javan Makhmali
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2023-03-13 00:00:00.000000000 Z
13
+ date: 2023-06-26 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: activesupport
@@ -18,56 +18,56 @@ dependencies:
18
18
  requirements:
19
19
  - - '='
20
20
  - !ruby/object:Gem::Version
21
- version: 7.0.4.3
21
+ version: 7.0.5.1
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  requirements:
26
26
  - - '='
27
27
  - !ruby/object:Gem::Version
28
- version: 7.0.4.3
28
+ version: 7.0.5.1
29
29
  - !ruby/object:Gem::Dependency
30
30
  name: activerecord
31
31
  requirement: !ruby/object:Gem::Requirement
32
32
  requirements:
33
33
  - - '='
34
34
  - !ruby/object:Gem::Version
35
- version: 7.0.4.3
35
+ version: 7.0.5.1
36
36
  type: :runtime
37
37
  prerelease: false
38
38
  version_requirements: !ruby/object:Gem::Requirement
39
39
  requirements:
40
40
  - - '='
41
41
  - !ruby/object:Gem::Version
42
- version: 7.0.4.3
42
+ version: 7.0.5.1
43
43
  - !ruby/object:Gem::Dependency
44
44
  name: activestorage
45
45
  requirement: !ruby/object:Gem::Requirement
46
46
  requirements:
47
47
  - - '='
48
48
  - !ruby/object:Gem::Version
49
- version: 7.0.4.3
49
+ version: 7.0.5.1
50
50
  type: :runtime
51
51
  prerelease: false
52
52
  version_requirements: !ruby/object:Gem::Requirement
53
53
  requirements:
54
54
  - - '='
55
55
  - !ruby/object:Gem::Version
56
- version: 7.0.4.3
56
+ version: 7.0.5.1
57
57
  - !ruby/object:Gem::Dependency
58
58
  name: actionpack
59
59
  requirement: !ruby/object:Gem::Requirement
60
60
  requirements:
61
61
  - - '='
62
62
  - !ruby/object:Gem::Version
63
- version: 7.0.4.3
63
+ version: 7.0.5.1
64
64
  type: :runtime
65
65
  prerelease: false
66
66
  version_requirements: !ruby/object:Gem::Requirement
67
67
  requirements:
68
68
  - - '='
69
69
  - !ruby/object:Gem::Version
70
- version: 7.0.4.3
70
+ version: 7.0.5.1
71
71
  - !ruby/object:Gem::Dependency
72
72
  name: nokogiri
73
73
  requirement: !ruby/object:Gem::Requirement
@@ -160,10 +160,10 @@ licenses:
160
160
  - MIT
161
161
  metadata:
162
162
  bug_tracker_uri: https://github.com/rails/rails/issues
163
- changelog_uri: https://github.com/rails/rails/blob/v7.0.4.3/actiontext/CHANGELOG.md
164
- documentation_uri: https://api.rubyonrails.org/v7.0.4.3/
163
+ changelog_uri: https://github.com/rails/rails/blob/v7.0.5.1/actiontext/CHANGELOG.md
164
+ documentation_uri: https://api.rubyonrails.org/v7.0.5.1/
165
165
  mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
166
- source_code_uri: https://github.com/rails/rails/tree/v7.0.4.3/actiontext
166
+ source_code_uri: https://github.com/rails/rails/tree/v7.0.5.1/actiontext
167
167
  rubygems_mfa_required: 'true'
168
168
  post_install_message:
169
169
  rdoc_options: []
@@ -180,7 +180,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
180
180
  - !ruby/object:Gem::Version
181
181
  version: '0'
182
182
  requirements: []
183
- rubygems_version: 3.4.3
183
+ rubygems_version: 3.3.3
184
184
  signing_key:
185
185
  specification_version: 4
186
186
  summary: Rich text framework.