Skip to content

Commit 5954e44

Browse files
committed
updates gems and locks versions
1 parent c317718 commit 5954e44

File tree

5 files changed

+79
-39
lines changed

5 files changed

+79
-39
lines changed

.tool-versions

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
ruby 3.4.1
1+
ruby 3.3.7
22
rust 1.76.0
33
nodejs 22.8.0

CHANGELOG.md

+20-5
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,22 @@ new entry format:
1616

1717
- [PR#](url) Description. - [@user](url)
1818

19+
### v0.5.7 (2025/02/16)
20+
21+
- [#166](https://github.com/simonneutert/labradorite-notebook/pull/132)
22+
Dependencies and version locks. -
23+
[@simonneutert](https://github.com/simonneutert)
24+
1925
### v0.5.0 (2024/09/01)
2026

21-
- [#132](https://github.com/simonneutert/labradorite-notebook/pull/132) All new posts' title will be set to the current date. Please visit the [UPGRADING](UPGRADING.md) readme file, too. - [@simonneutert](https://github.com/simonneutert)
22-
- [#106](https://github.com/simonneutert/labradorite-notebook/pull/106) Updates Ruby, Node.js, and Nokogiri versions, and replace unmaintained tag JS framework with "use-bootstrap-tag". - [@simonneutert](https://github.com/simonneutert)
27+
- [#132](https://github.com/simonneutert/labradorite-notebook/pull/132) All new
28+
posts' title will be set to the current date. Please visit the
29+
[UPGRADING](UPGRADING.md) readme file, too. -
30+
[@simonneutert](https://github.com/simonneutert)
31+
- [#106](https://github.com/simonneutert/labradorite-notebook/pull/106) Updates
32+
Ruby, Node.js, and Nokogiri versions, and replace unmaintained tag JS
33+
framework with "use-bootstrap-tag". -
34+
[@simonneutert](https://github.com/simonneutert)
2335

2436
### 0.4.4 (2023/11/17)
2537

@@ -54,7 +66,8 @@ new entry format:
5466

5567
- sets utf-8 docker locales
5668
- uppy setup to non-js-module, but script source
57-
- upload filename utf-8 force encoding, replaces unknown character with underscore
69+
- upload filename utf-8 force encoding, replaces unknown character with
70+
underscore
5871

5972
### 0.1.6 (2022/12/27)
6073

@@ -74,11 +87,13 @@ new entry format:
7487

7588
### 0.1.2 (2022/10/29)
7689

77-
- highlights search text in search results with yellow marker 🖍 - [@simonneutert](https://github.com/simonneutert).
90+
- highlights search text in search results with yellow marker 🖍 -
91+
[@simonneutert](https://github.com/simonneutert).
7892

7993
### 0.1.1 (2022/10/22)
8094

81-
- drops shipping of default memos, allowing easier upgrades - [@simonneutert](https://github.com/simonneutert).
95+
- drops shipping of default memos, allowing easier upgrades -
96+
[@simonneutert](https://github.com/simonneutert).
8297

8398
### 0.1.0 (2022/10/22)
8499

Dockerfile

+2
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ RUN bundle install -j${bundler_jobs}
3131

3232
FROM ruby:3.3-alpine
3333

34+
RUN apk update && apk upgrade
35+
3436
RUN apk add nodejs npm \
3537
&& rm -rf /var/cache/apk/*; \
3638
npm install -g prettier;

Gemfile.lock

+9-8
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ GEM
33
specs:
44
ast (2.4.2)
55
coderay (1.1.3)
6-
concurrent-ruby (1.3.4)
7-
diff-lcs (1.5.1)
6+
concurrent-ruby (1.3.5)
7+
diff-lcs (1.6.0)
88
fiddle (1.1.6)
99
hashie (5.0.0)
1010
htmlbeautifier (1.4.3)
@@ -45,10 +45,10 @@ GEM
4545
regexp_parser (2.10.0)
4646
reline (0.6.0)
4747
io-console (~> 0.5)
48-
rexml (3.4.0)
48+
rexml (3.4.1)
4949
roda (3.89.0)
5050
rack
51-
rubocop (1.72.0)
51+
rubocop (1.72.1)
5252
json (~> 2.3)
5353
language_server-protocol (~> 3.17.0.2)
5454
lint_roller (~> 1.1.0)
@@ -64,17 +64,18 @@ GEM
6464
rubocop-minitest (0.36.0)
6565
rubocop (>= 1.61, < 2.0)
6666
rubocop-ast (>= 1.31.1, < 2.0)
67-
rubocop-performance (1.23.1)
68-
rubocop (>= 1.48.1, < 2.0)
69-
rubocop-ast (>= 1.31.1, < 2.0)
67+
rubocop-performance (1.24.0)
68+
lint_roller (~> 1.1)
69+
rubocop (>= 1.72.1, < 2.0)
70+
rubocop-ast (>= 1.38.0, < 2.0)
7071
rubocop-rake (0.6.0)
7172
rubocop (~> 1.0)
7273
ruby-next (0.14.1)
7374
ruby-next-core (= 0.14.1)
7475
ruby-next-parser (>= 3.1.1.0)
7576
unparser (~> 0.6.0)
7677
ruby-next-core (0.14.1)
77-
ruby-next-parser (3.2.2.0)
78+
ruby-next-parser (3.4.0.2)
7879
parser (>= 3.0.3.1)
7980
ruby-progressbar (1.13.0)
8081
rutie (0.0.4)

README.md

+47-25
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22

33
<img align="right" src="https://github.com/simonneutert/labradorite-notebook/blob/main/public/labradorite.jpg?raw=true" alt="Labradorite dreamed by openai's Dall-E2: A brown labrador shooting a lazer from a blue crystal on its forehead, digital art">
44

5-
> Labradorite rightfully belongs to the group of wisdom crystals, because it promotes a free flow of mental energy as it awakens intuition and allows us to get mentally unstuck.
5+
> Labradorite rightfully belongs to the group of wisdom crystals, because it
6+
> promotes a free flow of mental energy as it awakens intuition and allows us to
7+
> get mentally unstuck.
68
>
79
> _\- every esoteric out there_
810
@@ -12,13 +14,16 @@
1214

1315
---
1416

15-
> [!IMPORTANT]
16-
> [Tantiny](https://github.com/baygeldin/tantiny) has died this summer (most probably) ...
17+
> [!IMPORTANT] [Tantiny](https://github.com/baygeldin/tantiny) has died this
18+
> summer (most probably) ...
1719
>
18-
> This project heavily depends on Tantiny, and as a result, we anticipate releasing our final updates in the near future.
19-
> I am committed to maintaining the project's functionality for as long as feasible. However, I will not be investing additional time or resources into its further development. 😔
20-
> 🥲 It will continue to work though! As it is fulfilling what it was built for in the first place.
21-
> Dependabot will help keep security vulnerabilities closed and containerization will do the rest.
20+
> This project heavily depends on Tantiny, and as a result, we anticipate
21+
> releasing our final updates in the near future.\
22+
> I am committed to maintaining the project's functionality for as long as
23+
> feasible. However, I will not be investing additional time or resources into
24+
> its further development. 😔 🥲 It will continue to work though! As it is
25+
> fulfilling what it was built for in the first place. Dependabot will help keep
26+
> security vulnerabilities closed and containerization will do the rest.
2227
2328
---
2429

@@ -40,21 +45,27 @@
4045

4146
## Rationale
4247

43-
Most Notetaking apps do either too much (Notion), too little (Apple Notes) and lock me in (all options ever).
48+
Most Notetaking apps do either too much (Notion), too little (Apple Notes) and
49+
lock me in (all options ever).
4450

45-
I wanted something that does **just-enough**™, in the spirit of a _flat file cms_. Let me try and wrap it up in a few bullets:
51+
I wanted something that does **just-enough**™, in the spirit of a _flat file
52+
cms_. Let me try and wrap it up in a few bullets:
4653

47-
- **ownership** of the notes (flat files)
54+
- **ownership** of the notes (flat files)\
4855
markdown, yaml, attachments all in one place in directories
49-
- **easy** on the eyes/mind
56+
- **easy** on the eyes/mind\
5057
I don't want to see all the old stuff I may not need anymore
51-
- a search that shows me **snips** in the notes
58+
- a search that shows me **snips** in the notes\
5259
not just the notes in a sidebar
5360
- a very simple **tagging** support
54-
- basic **file uploads**
61+
- basic **file uploads**\
5562
keeping the originals side by side with notes
5663

57-
I like to keep things simple, so I once again fell for [Roda](https://roda.jeremyevans.net) as the Web Layer. [Tantiny](https://github.com/baygeldin/tantiny) is the kicker for this project. I was curious, if I could come up with something useful quickly, not having to deal with a complicated setup or Postgres as a requirement.
64+
I like to keep things simple, so I once again fell for
65+
[Roda](https://roda.jeremyevans.net) as the Web Layer.
66+
[Tantiny](https://github.com/baygeldin/tantiny) is the kicker for this project.
67+
I was curious, if I could come up with something useful quickly, not having to
68+
deal with a complicated setup or Postgres as a requirement.
5869

5970
---
6071

@@ -95,7 +106,8 @@ I like to keep things simple, so I once again fell for [Roda](https://roda.jerem
95106
## Technical Prerequisites
96107

97108
- Ruby v3.x are tested and ready to roll
98-
- Install a stable version of [Rust](https://www.rust-lang.org/) with [Cargo](https://github.com/rust-lang/cargo)
109+
- Install [[email protected]](https://www.rust-lang.org/) with
110+
[Cargo](https://github.com/rust-lang/cargo)
99111

100112
## Architecture
101113

@@ -111,7 +123,8 @@ Little experiment on how it rolls:
111123
- `views`: ERB Views
112124
- `memos`: the Memos/Notes in subdirectories `YYYY/MM/DD/random-string`
113125
- `public`: css/js/media
114-
- `.tantiny`: the local index data created by the [tantiny](https://github.com/baygeldin/tantiny) gem
126+
- `.tantiny`: the local index data created by the
127+
[tantiny](https://github.com/baygeldin/tantiny) gem
115128

116129
## Major Dependencies
117130

@@ -121,7 +134,8 @@ Little experiment on how it rolls:
121134

122135
## Run/Deploy with Docker
123136

124-
The included `Dockerfile` and the `docker-compose.yml` are more a stub to build upon.
137+
The included `Dockerfile` and the `docker-compose.yml` are more a stub to build
138+
upon.
125139

126140
Currently the Dockerfile support passing the USERNAME as an `build-arg`.
127141

@@ -130,34 +144,42 @@ Currently the Dockerfile support passing the USERNAME as an `build-arg`.
130144

131145
Either this way, or you adapt the Dockerfile to your needs.
132146

133-
Let's say your username on the server you run (or your machine) is `johndoe`, then your Dockerfile should look something like this:
147+
Let's say your username on the server you run (or your machine) is `johndoe`,
148+
then your Dockerfile should look something like this:
134149

135150
```Dockerfile
136151
# in your version of the Dockerfile, replace labradorite at the ARG USERNAME
137152
ARG USERNAME=johndoe
138153
```
139154

140-
That will help you both secure the service and have the files being created with the proper rights on the host system.
155+
That will help you both secure the service and have the files being created with
156+
the proper rights on the host system.
141157

142158
### Docker Compose
143159

144160
build and/or up using: `$ USERNAME=$(whoami) docker-compose build`
145161

146162
**Volumes**
147163

148-
- this `memos` directory has all your created content in it. Having it mounted from your host should make easy for you to backup (if you don't use a private gitrepo for that 😉)
149-
- fyi: having tantiny's index (`.tantiny`) as a volume has no benefit. Beware, it can easily have a negative impact.
164+
- this `memos` directory has all your created content in it. Having it mounted
165+
from your host should make easy for you to backup (if you don't use a private
166+
gitrepo for that 😉)
167+
- fyi: having tantiny's index (`.tantiny`) as a volume has no benefit. Beware,
168+
it can easily have a negative impact.
150169

151170
## Development
152171

153-
From v0.5.0 on, the project can only be run native on a Linux machine or in a Docker container. See the Dockerfiles and `justfile` for more information.
172+
From v0.5.0 on, the project can only be run native on a Linux machine or in a
173+
Docker container. See the Dockerfiles and `justfile` for more information.
154174

155175
- `$ rake test` runs the test suite
156-
- `$ rake reset_default_memos` resets the files to the repos defaults (e.g. for testing)
176+
- `$ rake reset_default_memos` resets the files to the repos defaults (e.g. for
177+
testing)
157178
- `$ rake reset_memos` clears ALL memos
158179

159-
Before pushing code, you should always run `rake reset` and `rake test`,
160-
**therefore have a repo you work on AND another you use JUST for running the software.**
180+
Before pushing code, you should always run `rake reset` and `rake test`,\
181+
**therefore have a repo you work on AND another you use JUST for running the
182+
software.**
161183

162184
## Run it
163185

0 commit comments

Comments
 (0)