actiontext 7.0.8.7 → 7.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
 - data/CHANGELOG.md +10 -0
 - data/app/assets/javascripts/actiontext.js +3 -3
 - data/app/helpers/action_text/tag_helper.rb +2 -6
 - data/lib/action_text/gem_version.rb +2 -2
 - data/package.json +1 -1
 - metadata +14 -17
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA256:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: 3e4f545623c42e3ed464f64c9917dab0d836de04eafc8a519d258287b9030e95
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 3501515584ff2ffc79631e98dc7a2a902bafd3cc84abfcb99a039c27c94798c8
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 725ecd0b9572edd1dee8a894269f4b79ad6a75ca466996a8afbe907020eec9921d679dd5e88530ecb945feb3abf459bf9fa7bf8bf5c6680e187f8fb0b03e751b
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: d945736f348172e6f42c4c9291c85d926c13653a1f331014f4a8f592925bdadf85bf69bad63dd50f87a8bf7d44a23eecf35480d386ce2951e5ad9ad45012d2c6
         
     | 
    
        data/CHANGELOG.md
    CHANGED
    
    
| 
         @@ -753,9 +753,9 @@ var activestorage = {exports: {}}; 
     | 
|
| 
       753 
753 
     | 
    
         
             
                }
         
     | 
| 
       754 
754 
     | 
    
         
             
              }
         
     | 
| 
       755 
755 
     | 
    
         
             
              function didClick(event) {
         
     | 
| 
       756 
     | 
    
         
            -
                const  
     | 
| 
       757 
     | 
    
         
            -
                if ( 
     | 
| 
       758 
     | 
    
         
            -
                  submitButtonsByForm.set( 
     | 
| 
      
 756 
     | 
    
         
            +
                const button = event.target.closest("button, input");
         
     | 
| 
      
 757 
     | 
    
         
            +
                if (button && button.type === "submit" && button.form) {
         
     | 
| 
      
 758 
     | 
    
         
            +
                  submitButtonsByForm.set(button.form, button);
         
     | 
| 
       759 
759 
     | 
    
         
             
                }
         
     | 
| 
       760 
760 
     | 
    
         
             
              }
         
     | 
| 
       761 
761 
     | 
    
         
             
              function didSubmitForm(event) {
         
     | 
| 
         @@ -65,15 +65,11 @@ module ActionView::Helpers 
     | 
|
| 
       65 
65 
     | 
    
         
             
                # * <tt>[:data][:blob_url_template]</tt> - Defaults to <tt>rails_service_blob_url(":signed_id", ":filename")</tt>.
         
     | 
| 
       66 
66 
     | 
    
         
             
                #
         
     | 
| 
       67 
67 
     | 
    
         
             
                # ==== Example
         
     | 
| 
       68 
     | 
    
         
            -
                #    
     | 
| 
       69 
     | 
    
         
            -
                #     form.rich_text_area :content
         
     | 
| 
       70 
     | 
    
         
            -
                #   end
         
     | 
| 
      
 68 
     | 
    
         
            +
                #   rich_text_area :message, :content
         
     | 
| 
       71 
69 
     | 
    
         
             
                #   # <input type="hidden" name="message[content]" id="message_content_trix_input_message_1">
         
     | 
| 
       72 
70 
     | 
    
         
             
                #   # <trix-editor id="content" input="message_content_trix_input_message_1" class="trix-content" ...></trix-editor>
         
     | 
| 
       73 
71 
     | 
    
         
             
                #
         
     | 
| 
       74 
     | 
    
         
            -
                #    
     | 
| 
       75 
     | 
    
         
            -
                #     form.rich_text_area :content, value: "<h1>Default message</h1>"
         
     | 
| 
       76 
     | 
    
         
            -
                #   end
         
     | 
| 
      
 72 
     | 
    
         
            +
                #   rich_text_area :message, :content, value: "<h1>Default message</h1>"
         
     | 
| 
       77 
73 
     | 
    
         
             
                #   # <input type="hidden" name="message[content]" id="message_content_trix_input_message_1" value="<h1>Default message</h1>">
         
     | 
| 
       78 
74 
     | 
    
         
             
                #   # <trix-editor id="content" input="message_content_trix_input_message_1" class="trix-content" ...></trix-editor>
         
     | 
| 
       79 
75 
     | 
    
         
             
                def rich_text_area(object_name, method, options = {})
         
     | 
    
        data/package.json
    CHANGED
    
    
    
        metadata
    CHANGED
    
    | 
         @@ -1,16 +1,15 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: actiontext
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 7.0. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 7.0.10
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - Javan Makhmali
         
     | 
| 
       8 
8 
     | 
    
         
             
            - Sam Stephenson
         
     | 
| 
       9 
9 
     | 
    
         
             
            - David Heinemeier Hansson
         
     | 
| 
       10 
     | 
    
         
            -
            autorequire: 
         
     | 
| 
       11 
10 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       12 
11 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       13 
     | 
    
         
            -
            date:  
     | 
| 
      
 12 
     | 
    
         
            +
            date: 1980-01-02 00:00:00.000000000 Z
         
     | 
| 
       14 
13 
     | 
    
         
             
            dependencies:
         
     | 
| 
       15 
14 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       16 
15 
     | 
    
         
             
              name: activesupport
         
     | 
| 
         @@ -18,56 +17,56 @@ dependencies: 
     | 
|
| 
       18 
17 
     | 
    
         
             
                requirements:
         
     | 
| 
       19 
18 
     | 
    
         
             
                - - '='
         
     | 
| 
       20 
19 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       21 
     | 
    
         
            -
                    version: 7.0. 
     | 
| 
      
 20 
     | 
    
         
            +
                    version: 7.0.10
         
     | 
| 
       22 
21 
     | 
    
         
             
              type: :runtime
         
     | 
| 
       23 
22 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       24 
23 
     | 
    
         
             
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       25 
24 
     | 
    
         
             
                requirements:
         
     | 
| 
       26 
25 
     | 
    
         
             
                - - '='
         
     | 
| 
       27 
26 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       28 
     | 
    
         
            -
                    version: 7.0. 
     | 
| 
      
 27 
     | 
    
         
            +
                    version: 7.0.10
         
     | 
| 
       29 
28 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       30 
29 
     | 
    
         
             
              name: activerecord
         
     | 
| 
       31 
30 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       32 
31 
     | 
    
         
             
                requirements:
         
     | 
| 
       33 
32 
     | 
    
         
             
                - - '='
         
     | 
| 
       34 
33 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       35 
     | 
    
         
            -
                    version: 7.0. 
     | 
| 
      
 34 
     | 
    
         
            +
                    version: 7.0.10
         
     | 
| 
       36 
35 
     | 
    
         
             
              type: :runtime
         
     | 
| 
       37 
36 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       38 
37 
     | 
    
         
             
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       39 
38 
     | 
    
         
             
                requirements:
         
     | 
| 
       40 
39 
     | 
    
         
             
                - - '='
         
     | 
| 
       41 
40 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       42 
     | 
    
         
            -
                    version: 7.0. 
     | 
| 
      
 41 
     | 
    
         
            +
                    version: 7.0.10
         
     | 
| 
       43 
42 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       44 
43 
     | 
    
         
             
              name: activestorage
         
     | 
| 
       45 
44 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       46 
45 
     | 
    
         
             
                requirements:
         
     | 
| 
       47 
46 
     | 
    
         
             
                - - '='
         
     | 
| 
       48 
47 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       49 
     | 
    
         
            -
                    version: 7.0. 
     | 
| 
      
 48 
     | 
    
         
            +
                    version: 7.0.10
         
     | 
| 
       50 
49 
     | 
    
         
             
              type: :runtime
         
     | 
| 
       51 
50 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       52 
51 
     | 
    
         
             
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       53 
52 
     | 
    
         
             
                requirements:
         
     | 
| 
       54 
53 
     | 
    
         
             
                - - '='
         
     | 
| 
       55 
54 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       56 
     | 
    
         
            -
                    version: 7.0. 
     | 
| 
      
 55 
     | 
    
         
            +
                    version: 7.0.10
         
     | 
| 
       57 
56 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       58 
57 
     | 
    
         
             
              name: actionpack
         
     | 
| 
       59 
58 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       60 
59 
     | 
    
         
             
                requirements:
         
     | 
| 
       61 
60 
     | 
    
         
             
                - - '='
         
     | 
| 
       62 
61 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       63 
     | 
    
         
            -
                    version: 7.0. 
     | 
| 
      
 62 
     | 
    
         
            +
                    version: 7.0.10
         
     | 
| 
       64 
63 
     | 
    
         
             
              type: :runtime
         
     | 
| 
       65 
64 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       66 
65 
     | 
    
         
             
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       67 
66 
     | 
    
         
             
                requirements:
         
     | 
| 
       68 
67 
     | 
    
         
             
                - - '='
         
     | 
| 
       69 
68 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       70 
     | 
    
         
            -
                    version: 7.0. 
     | 
| 
      
 69 
     | 
    
         
            +
                    version: 7.0.10
         
     | 
| 
       71 
70 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       72 
71 
     | 
    
         
             
              name: nokogiri
         
     | 
| 
       73 
72 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
         @@ -160,12 +159,11 @@ licenses: 
     | 
|
| 
       160 
159 
     | 
    
         
             
            - MIT
         
     | 
| 
       161 
160 
     | 
    
         
             
            metadata:
         
     | 
| 
       162 
161 
     | 
    
         
             
              bug_tracker_uri: https://github.com/rails/rails/issues
         
     | 
| 
       163 
     | 
    
         
            -
              changelog_uri: https://github.com/rails/rails/blob/v7.0. 
     | 
| 
       164 
     | 
    
         
            -
              documentation_uri: https://api.rubyonrails.org/v7.0. 
     | 
| 
      
 162 
     | 
    
         
            +
              changelog_uri: https://github.com/rails/rails/blob/v7.0.10/actiontext/CHANGELOG.md
         
     | 
| 
      
 163 
     | 
    
         
            +
              documentation_uri: https://api.rubyonrails.org/v7.0.10/
         
     | 
| 
       165 
164 
     | 
    
         
             
              mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
         
     | 
| 
       166 
     | 
    
         
            -
              source_code_uri: https://github.com/rails/rails/tree/v7.0. 
     | 
| 
      
 165 
     | 
    
         
            +
              source_code_uri: https://github.com/rails/rails/tree/v7.0.10/actiontext
         
     | 
| 
       167 
166 
     | 
    
         
             
              rubygems_mfa_required: 'true'
         
     | 
| 
       168 
     | 
    
         
            -
            post_install_message: 
         
     | 
| 
       169 
167 
     | 
    
         
             
            rdoc_options: []
         
     | 
| 
       170 
168 
     | 
    
         
             
            require_paths:
         
     | 
| 
       171 
169 
     | 
    
         
             
            - lib
         
     | 
| 
         @@ -180,8 +178,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement 
     | 
|
| 
       180 
178 
     | 
    
         
             
                - !ruby/object:Gem::Version
         
     | 
| 
       181 
179 
     | 
    
         
             
                  version: '0'
         
     | 
| 
       182 
180 
     | 
    
         
             
            requirements: []
         
     | 
| 
       183 
     | 
    
         
            -
            rubygems_version: 3. 
     | 
| 
       184 
     | 
    
         
            -
            signing_key: 
         
     | 
| 
      
 181 
     | 
    
         
            +
            rubygems_version: 3.6.9
         
     | 
| 
       185 
182 
     | 
    
         
             
            specification_version: 4
         
     | 
| 
       186 
183 
     | 
    
         
             
            summary: Rich text framework.
         
     | 
| 
       187 
184 
     | 
    
         
             
            test_files: []
         
     |