helios-press 0.1.0

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.
Files changed (51) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.md +122 -0
  4. data/Rakefile +3 -0
  5. data/app/assets/stylesheets/helios/press/application.css +15 -0
  6. data/app/assets/stylesheets/helios/press/blocks.css +231 -0
  7. data/app/controllers/helios/press/admin/base_controller.rb +9 -0
  8. data/app/controllers/helios/press/admin/block_images_controller.rb +75 -0
  9. data/app/controllers/helios/press/admin/blocks_controller.rb +103 -0
  10. data/app/controllers/helios/press/admin/posts_controller.rb +72 -0
  11. data/app/controllers/helios/press/api/base_controller.rb +25 -0
  12. data/app/controllers/helios/press/api/posts_controller.rb +54 -0
  13. data/app/controllers/helios/press/application_controller.rb +6 -0
  14. data/app/controllers/helios/press/posts_controller.rb +9 -0
  15. data/app/helpers/helios/press/application_helper.rb +39 -0
  16. data/app/javascript/helios/press/controllers/blocks_controller.js +276 -0
  17. data/app/javascript/helios/press/controllers/image_block_controller.js +178 -0
  18. data/app/javascript/helios/press/controllers/text_block_controller.js +63 -0
  19. data/app/javascript/helios/press/index.js +6 -0
  20. data/app/jobs/helios/press/application_job.rb +6 -0
  21. data/app/mailers/helios/press/application_mailer.rb +8 -0
  22. data/app/models/helios/press/application_record.rb +7 -0
  23. data/app/models/helios/press/block.rb +34 -0
  24. data/app/models/helios/press/block_image.rb +16 -0
  25. data/app/models/helios/press/post.rb +39 -0
  26. data/app/views/helios/press/admin/blocks/_block.html.erb +25 -0
  27. data/app/views/helios/press/admin/blocks/_image_block.html.erb +47 -0
  28. data/app/views/helios/press/admin/blocks/_image_item.html.erb +38 -0
  29. data/app/views/helios/press/admin/blocks/_text_block.html.erb +39 -0
  30. data/app/views/helios/press/admin/blocks/_video_block.html.erb +43 -0
  31. data/app/views/helios/press/admin/posts/_blocks_container.html.erb +27 -0
  32. data/app/views/helios/press/admin/posts/_form.html.erb +48 -0
  33. data/app/views/helios/press/admin/posts/edit.html.erb +26 -0
  34. data/app/views/helios/press/admin/posts/index.html.erb +31 -0
  35. data/app/views/helios/press/admin/posts/new.html.erb +12 -0
  36. data/app/views/helios/press/posts/blocks/_image_container.html.erb +18 -0
  37. data/app/views/helios/press/posts/blocks/_text.html.erb +3 -0
  38. data/app/views/helios/press/posts/blocks/_video_container.html.erb +12 -0
  39. data/app/views/helios/press/posts/show.html.erb +45 -0
  40. data/app/views/layouts/helios/press/admin.html.erb +1 -0
  41. data/app/views/layouts/helios/press/application.html.erb +17 -0
  42. data/config/routes.rb +21 -0
  43. data/db/migrate/20250510000001_create_helios_press_posts.rb +18 -0
  44. data/db/migrate/20250510000002_create_helios_press_blocks.rb +14 -0
  45. data/db/migrate/20250510000003_create_helios_press_block_images.rb +13 -0
  46. data/lib/helios/press/configuration.rb +17 -0
  47. data/lib/helios/press/engine.rb +11 -0
  48. data/lib/helios/press/version.rb +5 -0
  49. data/lib/helios/press.rb +23 -0
  50. data/lib/tasks/helios/press_tasks.rake +4 -0
  51. metadata +148 -0
metadata ADDED
@@ -0,0 +1,148 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: helios-press
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Jason Fleetwood-Boldt
8
+ bindir: bin
9
+ cert_chain: []
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
+ dependencies:
12
+ - !ruby/object:Gem::Dependency
13
+ name: rails
14
+ requirement: !ruby/object:Gem::Requirement
15
+ requirements:
16
+ - - ">="
17
+ - !ruby/object:Gem::Version
18
+ version: '8.0'
19
+ type: :runtime
20
+ prerelease: false
21
+ version_requirements: !ruby/object:Gem::Requirement
22
+ requirements:
23
+ - - ">="
24
+ - !ruby/object:Gem::Version
25
+ version: '8.0'
26
+ - !ruby/object:Gem::Dependency
27
+ name: acts_as_list
28
+ requirement: !ruby/object:Gem::Requirement
29
+ requirements:
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: '1.0'
33
+ type: :runtime
34
+ prerelease: false
35
+ version_requirements: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - ">="
38
+ - !ruby/object:Gem::Version
39
+ version: '1.0'
40
+ - !ruby/object:Gem::Dependency
41
+ name: helios-videos
42
+ requirement: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - ">="
45
+ - !ruby/object:Gem::Version
46
+ version: '0'
47
+ type: :runtime
48
+ prerelease: false
49
+ version_requirements: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - ">="
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
54
+ - !ruby/object:Gem::Dependency
55
+ name: helios-sitemap
56
+ requirement: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - ">="
59
+ - !ruby/object:Gem::Version
60
+ version: '0'
61
+ type: :runtime
62
+ prerelease: false
63
+ version_requirements: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - ">="
66
+ - !ruby/object:Gem::Version
67
+ version: '0'
68
+ description: A Rails engine providing a WordPress-like block editor for blog posts.
69
+ Supports text (ActionText), image stacks, and video blocks with drag-to-reorder.
70
+ email:
71
+ - jason@heliosflow.ai
72
+ executables: []
73
+ extensions: []
74
+ extra_rdoc_files: []
75
+ files:
76
+ - MIT-LICENSE
77
+ - README.md
78
+ - Rakefile
79
+ - app/assets/stylesheets/helios/press/application.css
80
+ - app/assets/stylesheets/helios/press/blocks.css
81
+ - app/controllers/helios/press/admin/base_controller.rb
82
+ - app/controllers/helios/press/admin/block_images_controller.rb
83
+ - app/controllers/helios/press/admin/blocks_controller.rb
84
+ - app/controllers/helios/press/admin/posts_controller.rb
85
+ - app/controllers/helios/press/api/base_controller.rb
86
+ - app/controllers/helios/press/api/posts_controller.rb
87
+ - app/controllers/helios/press/application_controller.rb
88
+ - app/controllers/helios/press/posts_controller.rb
89
+ - app/helpers/helios/press/application_helper.rb
90
+ - app/javascript/helios/press/controllers/blocks_controller.js
91
+ - app/javascript/helios/press/controllers/image_block_controller.js
92
+ - app/javascript/helios/press/controllers/text_block_controller.js
93
+ - app/javascript/helios/press/index.js
94
+ - app/jobs/helios/press/application_job.rb
95
+ - app/mailers/helios/press/application_mailer.rb
96
+ - app/models/helios/press/application_record.rb
97
+ - app/models/helios/press/block.rb
98
+ - app/models/helios/press/block_image.rb
99
+ - app/models/helios/press/post.rb
100
+ - app/views/helios/press/admin/blocks/_block.html.erb
101
+ - app/views/helios/press/admin/blocks/_image_block.html.erb
102
+ - app/views/helios/press/admin/blocks/_image_item.html.erb
103
+ - app/views/helios/press/admin/blocks/_text_block.html.erb
104
+ - app/views/helios/press/admin/blocks/_video_block.html.erb
105
+ - app/views/helios/press/admin/posts/_blocks_container.html.erb
106
+ - app/views/helios/press/admin/posts/_form.html.erb
107
+ - app/views/helios/press/admin/posts/edit.html.erb
108
+ - app/views/helios/press/admin/posts/index.html.erb
109
+ - app/views/helios/press/admin/posts/new.html.erb
110
+ - app/views/helios/press/posts/blocks/_image_container.html.erb
111
+ - app/views/helios/press/posts/blocks/_text.html.erb
112
+ - app/views/helios/press/posts/blocks/_video_container.html.erb
113
+ - app/views/helios/press/posts/show.html.erb
114
+ - app/views/layouts/helios/press/admin.html.erb
115
+ - app/views/layouts/helios/press/application.html.erb
116
+ - config/routes.rb
117
+ - db/migrate/20250510000001_create_helios_press_posts.rb
118
+ - db/migrate/20250510000002_create_helios_press_blocks.rb
119
+ - db/migrate/20250510000003_create_helios_press_block_images.rb
120
+ - lib/helios/press.rb
121
+ - lib/helios/press/configuration.rb
122
+ - lib/helios/press/engine.rb
123
+ - lib/helios/press/version.rb
124
+ - lib/tasks/helios/press_tasks.rake
125
+ homepage: https://github.com/heliosdev-shop/helios-press
126
+ licenses:
127
+ - Nonstandard
128
+ metadata:
129
+ homepage_uri: https://github.com/heliosdev-shop/helios-press
130
+ source_code_uri: https://github.com/heliosdev-shop/helios-press
131
+ rdoc_options: []
132
+ require_paths:
133
+ - lib
134
+ required_ruby_version: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
139
+ required_rubygems_version: !ruby/object:Gem::Requirement
140
+ requirements:
141
+ - - ">="
142
+ - !ruby/object:Gem::Version
143
+ version: '0'
144
+ requirements: []
145
+ rubygems_version: 3.6.9
146
+ specification_version: 4
147
+ summary: Multi-block blog post editor for Rails with drag-to-reorder
148
+ test_files: []