actiontext 6.0.0.beta1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (41) hide show
  1. checksums.yaml +7 -0
  2. data/CHANGELOG.md +5 -0
  3. data/MIT-LICENSE +21 -0
  4. data/README.md +9 -0
  5. data/app/helpers/action_text/content_helper.rb +30 -0
  6. data/app/helpers/action_text/tag_helper.rb +75 -0
  7. data/app/javascript/actiontext/attachment_upload.js +45 -0
  8. data/app/javascript/actiontext/index.js +10 -0
  9. data/app/models/action_text/rich_text.rb +29 -0
  10. data/app/views/action_text/attachables/_missing_attachable.html.erb +1 -0
  11. data/app/views/action_text/attachables/_remote_image.html.erb +8 -0
  12. data/app/views/action_text/attachment_galleries/_attachment_gallery.html.erb +3 -0
  13. data/app/views/action_text/content/_layout.html.erb +3 -0
  14. data/app/views/active_storage/blobs/_blob.html.erb +14 -0
  15. data/db/migrate/201805281641_create_action_text_tables.rb +14 -0
  16. data/lib/action_text.rb +37 -0
  17. data/lib/action_text/attachable.rb +82 -0
  18. data/lib/action_text/attachables/content_attachment.rb +38 -0
  19. data/lib/action_text/attachables/missing_attachable.rb +13 -0
  20. data/lib/action_text/attachables/remote_image.rb +46 -0
  21. data/lib/action_text/attachment.rb +103 -0
  22. data/lib/action_text/attachment_gallery.rb +65 -0
  23. data/lib/action_text/attachments/caching.rb +16 -0
  24. data/lib/action_text/attachments/minification.rb +17 -0
  25. data/lib/action_text/attachments/trix_conversion.rb +34 -0
  26. data/lib/action_text/attribute.rb +48 -0
  27. data/lib/action_text/content.rb +132 -0
  28. data/lib/action_text/engine.rb +50 -0
  29. data/lib/action_text/fragment.rb +57 -0
  30. data/lib/action_text/gem_version.rb +17 -0
  31. data/lib/action_text/html_conversion.rb +24 -0
  32. data/lib/action_text/plain_text_conversion.rb +81 -0
  33. data/lib/action_text/serialization.rb +34 -0
  34. data/lib/action_text/trix_attachment.rb +92 -0
  35. data/lib/action_text/version.rb +10 -0
  36. data/lib/tasks/actiontext.rake +20 -0
  37. data/lib/templates/actiontext.scss +36 -0
  38. data/lib/templates/fixtures.yml +4 -0
  39. data/lib/templates/installer.rb +32 -0
  40. data/package.json +29 -0
  41. metadata +158 -0
@@ -0,0 +1,29 @@
1
+ {
2
+ "name": "@rails/actiontext",
3
+ "version": "6.0.0-beta1",
4
+ "description": "Edit and display rich text in Rails applications",
5
+ "main": "app/javascript/actiontext/index.js",
6
+ "files": [
7
+ "app/javascript/actiontext/*.js"
8
+ ],
9
+ "homepage": "http://rubyonrails.org/",
10
+ "repository": {
11
+ "type": "git",
12
+ "url": "git+https://github.com/rails/rails.git"
13
+ },
14
+ "bugs": {
15
+ "url": "https://github.com/rails/rails/issues"
16
+ },
17
+ "author": "Basecamp, LLC",
18
+ "contributors": [
19
+ "Javan Makhmali <javan@javan.us>",
20
+ "Sam Stephenson <sstephenson@gmail.com>"
21
+ ],
22
+ "license": "MIT",
23
+ "dependencies": {
24
+ "@rails/activestorage": "^6.0.0-alpha"
25
+ },
26
+ "peerDependencies": {
27
+ "trix": "^1.0.0"
28
+ }
29
+ }
metadata ADDED
@@ -0,0 +1,158 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: actiontext
3
+ version: !ruby/object:Gem::Version
4
+ version: 6.0.0.beta1
5
+ platform: ruby
6
+ authors:
7
+ - Javan Makhmali
8
+ - Sam Stephenson
9
+ - David Heinemeier Hansson
10
+ autorequire:
11
+ bindir: bin
12
+ cert_chain: []
13
+ date: 2019-01-18 00:00:00.000000000 Z
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: activesupport
17
+ requirement: !ruby/object:Gem::Requirement
18
+ requirements:
19
+ - - '='
20
+ - !ruby/object:Gem::Version
21
+ version: 6.0.0.beta1
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ requirements:
26
+ - - '='
27
+ - !ruby/object:Gem::Version
28
+ version: 6.0.0.beta1
29
+ - !ruby/object:Gem::Dependency
30
+ name: activerecord
31
+ requirement: !ruby/object:Gem::Requirement
32
+ requirements:
33
+ - - '='
34
+ - !ruby/object:Gem::Version
35
+ version: 6.0.0.beta1
36
+ type: :runtime
37
+ prerelease: false
38
+ version_requirements: !ruby/object:Gem::Requirement
39
+ requirements:
40
+ - - '='
41
+ - !ruby/object:Gem::Version
42
+ version: 6.0.0.beta1
43
+ - !ruby/object:Gem::Dependency
44
+ name: activestorage
45
+ requirement: !ruby/object:Gem::Requirement
46
+ requirements:
47
+ - - '='
48
+ - !ruby/object:Gem::Version
49
+ version: 6.0.0.beta1
50
+ type: :runtime
51
+ prerelease: false
52
+ version_requirements: !ruby/object:Gem::Requirement
53
+ requirements:
54
+ - - '='
55
+ - !ruby/object:Gem::Version
56
+ version: 6.0.0.beta1
57
+ - !ruby/object:Gem::Dependency
58
+ name: actionpack
59
+ requirement: !ruby/object:Gem::Requirement
60
+ requirements:
61
+ - - '='
62
+ - !ruby/object:Gem::Version
63
+ version: 6.0.0.beta1
64
+ type: :runtime
65
+ prerelease: false
66
+ version_requirements: !ruby/object:Gem::Requirement
67
+ requirements:
68
+ - - '='
69
+ - !ruby/object:Gem::Version
70
+ version: 6.0.0.beta1
71
+ - !ruby/object:Gem::Dependency
72
+ name: nokogiri
73
+ requirement: !ruby/object:Gem::Requirement
74
+ requirements:
75
+ - - ">="
76
+ - !ruby/object:Gem::Version
77
+ version: 1.8.5
78
+ type: :runtime
79
+ prerelease: false
80
+ version_requirements: !ruby/object:Gem::Requirement
81
+ requirements:
82
+ - - ">="
83
+ - !ruby/object:Gem::Version
84
+ version: 1.8.5
85
+ description: Edit and display rich text in Rails applications.
86
+ email:
87
+ - javan@javan.us
88
+ - sstephenson@gmail.com
89
+ - david@loudthinking.com
90
+ executables: []
91
+ extensions: []
92
+ extra_rdoc_files: []
93
+ files:
94
+ - CHANGELOG.md
95
+ - MIT-LICENSE
96
+ - README.md
97
+ - app/helpers/action_text/content_helper.rb
98
+ - app/helpers/action_text/tag_helper.rb
99
+ - app/javascript/actiontext/attachment_upload.js
100
+ - app/javascript/actiontext/index.js
101
+ - app/models/action_text/rich_text.rb
102
+ - app/views/action_text/attachables/_missing_attachable.html.erb
103
+ - app/views/action_text/attachables/_remote_image.html.erb
104
+ - app/views/action_text/attachment_galleries/_attachment_gallery.html.erb
105
+ - app/views/action_text/content/_layout.html.erb
106
+ - app/views/active_storage/blobs/_blob.html.erb
107
+ - db/migrate/201805281641_create_action_text_tables.rb
108
+ - lib/action_text.rb
109
+ - lib/action_text/attachable.rb
110
+ - lib/action_text/attachables/content_attachment.rb
111
+ - lib/action_text/attachables/missing_attachable.rb
112
+ - lib/action_text/attachables/remote_image.rb
113
+ - lib/action_text/attachment.rb
114
+ - lib/action_text/attachment_gallery.rb
115
+ - lib/action_text/attachments/caching.rb
116
+ - lib/action_text/attachments/minification.rb
117
+ - lib/action_text/attachments/trix_conversion.rb
118
+ - lib/action_text/attribute.rb
119
+ - lib/action_text/content.rb
120
+ - lib/action_text/engine.rb
121
+ - lib/action_text/fragment.rb
122
+ - lib/action_text/gem_version.rb
123
+ - lib/action_text/html_conversion.rb
124
+ - lib/action_text/plain_text_conversion.rb
125
+ - lib/action_text/serialization.rb
126
+ - lib/action_text/trix_attachment.rb
127
+ - lib/action_text/version.rb
128
+ - lib/tasks/actiontext.rake
129
+ - lib/templates/actiontext.scss
130
+ - lib/templates/fixtures.yml
131
+ - lib/templates/installer.rb
132
+ - package.json
133
+ homepage: https://rubyonrails.org
134
+ licenses:
135
+ - MIT
136
+ metadata:
137
+ source_code_uri: https://github.com/rails/rails/tree/v6.0.0.beta1/actiontext
138
+ changelog_uri: https://github.com/rails/rails/blob/v6.0.0.beta1/actiontext/CHANGELOG.md
139
+ post_install_message:
140
+ rdoc_options: []
141
+ require_paths:
142
+ - lib
143
+ required_ruby_version: !ruby/object:Gem::Requirement
144
+ requirements:
145
+ - - ">="
146
+ - !ruby/object:Gem::Version
147
+ version: 2.5.0
148
+ required_rubygems_version: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ">"
151
+ - !ruby/object:Gem::Version
152
+ version: 1.3.1
153
+ requirements: []
154
+ rubygems_version: 3.0.1
155
+ signing_key:
156
+ specification_version: 4
157
+ summary: Rich text framework.
158
+ test_files: []