coplan-engine 0.1.0 → 0.1.2
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/app/assets/images/coplan/coplan-logo-sm.png +0 -0
- data/app/assets/stylesheets/coplan/application.css +6 -0
- data/app/views/layouts/coplan/application.html.erb +4 -1
- data/db/migrate/20260313210000_expand_content_markdown_to_mediumtext.rb +9 -0
- data/lib/coplan/engine.rb +1 -0
- data/lib/coplan/version.rb +1 -1
- data/lib/coplan.rb +1 -0
- metadata +3 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7978a493f24f0424cd5a4170890ff0e41e27dc10e9b7dfff2de3e456df2a5c56
|
|
4
|
+
data.tar.gz: 541671d9b00b2d10ddae7269c78074db1eb025a75b94d05654a529a1809668c7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5b670e1689fc107975f40915ae5cd3b9ee509863a7b3f690b399710d3220308834d5043af9e1dec61f993bbc5759e134f5364aa43c9b3e66503612fb9d7138d0
|
|
7
|
+
data.tar.gz: 8cf385dcdbf1309395113203c186f7813e0ec51518e49ea0f7a3120075ce7b4b07453555cfd576db3c279fe415e7157e7cc756407d6297467018ffd52d199cae
|
|
Binary file
|
|
@@ -12,7 +12,10 @@
|
|
|
12
12
|
<body>
|
|
13
13
|
<nav class="site-nav">
|
|
14
14
|
<div class="site-nav__inner">
|
|
15
|
-
<%= link_to
|
|
15
|
+
<%= link_to coplan.root_path, class: "site-nav__brand" do %>
|
|
16
|
+
<%= image_tag "coplan/coplan-logo-sm.png", alt: "CoPlan", class: "site-nav__logo" %>
|
|
17
|
+
CoPlan
|
|
18
|
+
<% end %>
|
|
16
19
|
<ul class="site-nav__links">
|
|
17
20
|
<% if signed_in? %>
|
|
18
21
|
<li><%= link_to "Plans", coplan.plans_path %></li>
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
class ExpandContentMarkdownToMediumtext < ActiveRecord::Migration[8.0]
|
|
2
|
+
def up
|
|
3
|
+
change_column :coplan_plan_versions, :content_markdown, :text, limit: 16.megabytes - 1, null: false
|
|
4
|
+
end
|
|
5
|
+
|
|
6
|
+
def down
|
|
7
|
+
change_column :coplan_plan_versions, :content_markdown, :text, null: false
|
|
8
|
+
end
|
|
9
|
+
end
|
data/lib/coplan/engine.rb
CHANGED
|
@@ -15,6 +15,7 @@ module CoPlan
|
|
|
15
15
|
|
|
16
16
|
initializer "coplan.assets" do |app|
|
|
17
17
|
app.config.assets.paths << Engine.root.join("app/assets/stylesheets")
|
|
18
|
+
app.config.assets.paths << Engine.root.join("app/assets/images")
|
|
18
19
|
app.config.assets.paths << Engine.root.join("app/javascript")
|
|
19
20
|
end
|
|
20
21
|
|
data/lib/coplan/version.rb
CHANGED
data/lib/coplan.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: coplan-engine
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Block
|
|
@@ -140,6 +140,7 @@ executables: []
|
|
|
140
140
|
extensions: []
|
|
141
141
|
extra_rdoc_files: []
|
|
142
142
|
files:
|
|
143
|
+
- app/assets/images/coplan/coplan-logo-sm.png
|
|
143
144
|
- app/assets/stylesheets/coplan/application.css
|
|
144
145
|
- app/controllers/coplan/api/v1/base_controller.rb
|
|
145
146
|
- app/controllers/coplan/api/v1/comments_controller.rb
|
|
@@ -214,6 +215,7 @@ files:
|
|
|
214
215
|
- config/importmap.rb
|
|
215
216
|
- config/routes.rb
|
|
216
217
|
- db/migrate/20260226200000_create_coplan_schema.rb
|
|
218
|
+
- db/migrate/20260313210000_expand_content_markdown_to_mediumtext.rb
|
|
217
219
|
- lib/coplan.rb
|
|
218
220
|
- lib/coplan/configuration.rb
|
|
219
221
|
- lib/coplan/engine.rb
|