coplan-engine 0.1.0 → 0.1.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d7eb4f27bf285882f682573c1d041888e43302705198d9e1c6fbd22381d79105
4
- data.tar.gz: 8306fb39d88a3299878e745710f0c563a44fc5c56d45555766fa60d0ed579aa9
3
+ metadata.gz: 2ea64116961d118862ba30a1b170bbfbc9ccbc78705764741eab7432e951e12f
4
+ data.tar.gz: b00c04bf52745d7f8b4d8ab573fc038e4ea8fd7f08a6c557da849429825fb211
5
5
  SHA512:
6
- metadata.gz: cdfb09bca7fbab22ab978c126606339b9a9c3b5cafe5ab79600f4d944c40b74f974da606a6db3199e6966b8b97843dabf94bdb29879514dbcbd8e06d8e2f960b
7
- data.tar.gz: 66af414c9c0c9e777718a248c021d9f256209b721f95943d30af3be7c0dc7a2814a1a10315195cf53063661f5da0831c76973401c0986e23ccad0f5a1cadec43
6
+ metadata.gz: 158e16571dd1c8688beb609ec4ca1e4ae6d817f03cee00d7468d47ffb0dd10fbd3a579532a36660517310d0b01da6c9f7ca9034f5db909602ec5f9e03bf1ceeb
7
+ data.tar.gz: 304da6941f7ed2f28c937273ca5ccd33c56ff7acfad69833199e5dc8e7fe3a7149cc9b79f22dd2675a5ae66e2484526c299097f33a56601e0642a122284517f5
@@ -113,6 +113,12 @@ img, svg {
113
113
  gap: var(--space-sm);
114
114
  }
115
115
 
116
+ .site-nav__logo {
117
+ width: 28px;
118
+ height: 28px;
119
+ border-radius: 6px;
120
+ }
121
+
116
122
  .site-nav__brand:hover {
117
123
  text-decoration: none;
118
124
  color: var(--color-primary);
@@ -12,7 +12,10 @@
12
12
  <body>
13
13
  <nav class="site-nav">
14
14
  <div class="site-nav__inner">
15
- <%= link_to "📋 CoPlan", coplan.root_path, class: "site-nav__brand" %>
15
+ <%= link_to coplan.root_path, class: "site-nav__brand" do %>
16
+ <%= image_tag "/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
@@ -1,3 +1,3 @@
1
1
  module CoPlan
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
data/lib/coplan.rb CHANGED
@@ -1,4 +1,5 @@
1
1
  require "commonmarker"
2
+ require "diffy"
2
3
  require "coplan/configuration"
3
4
  require "coplan/engine"
4
5
 
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.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Block
@@ -214,6 +214,7 @@ files:
214
214
  - config/importmap.rb
215
215
  - config/routes.rb
216
216
  - db/migrate/20260226200000_create_coplan_schema.rb
217
+ - db/migrate/20260313210000_expand_content_markdown_to_mediumtext.rb
217
218
  - lib/coplan.rb
218
219
  - lib/coplan/configuration.rb
219
220
  - lib/coplan/engine.rb