Skip to content

Commit b643139

Browse files
authored
Update to v2.14 (#1205)
* Update to v2.14 * Add notice about new migration * Github Workflow libvips
1 parent 46b13ea commit b643139

File tree

6 files changed

+56
-38
lines changed

6 files changed

+56
-38
lines changed

.github/workflows/ruby.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,16 +31,14 @@ jobs:
3131
steps:
3232
- uses: actions/checkout@v2
3333

34+
- name: Install libvips
35+
run: sudo apt-get install -y libvips
36+
3437
- name: Set up Ruby
3538
uses: ruby/setup-ruby@v1
3639
with:
3740
ruby-version: ${{matrix.ruby-version}}
3841
bundler-cache: true
39-
40-
- name: StandardRB
41-
uses: andrewmcodes/standardrb-action@v1.0.0
42-
env:
43-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4442

4543
- name: Setup Code Climate test-reporter
4644
run: |

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
# Spina CMS Changelog
22

3+
## 2.14
4+
5+
### 2.14.0 (February 22nd, 2023)
6+
* Added Spina::Parts::PageLink part
7+
* Added search to the media library
8+
* Added collapsable nested pages (remember to install the new migration)
9+
* Added hint for Spina::Parts::MultiLine
10+
* Fixed CSS bugs in Trix
11+
* Fixed bug with AttrJson 2.0
12+
* Fixed missing translations
13+
* Updated gem dependencies
14+
* Removed StandardRB
15+
316
## 2.13
417

518
### 2.13.1 (December 13th, 2022)

Gemfile.lock

Lines changed: 4 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
spina (2.13.1)
4+
spina (2.14.0)
55
ancestry
66
attr_json
77
babosa
@@ -17,7 +17,6 @@ PATH
1717
rack-rewrite (>= 1.5.0)
1818
rails (>= 6.0)
1919
sprockets-rails
20-
standard
2120
stimulus-rails (>= 0.7.0)
2221
tailwindcss-rails (>= 2.0.0)
2322
turbo-rails (>= 0.9, < 2.0)
@@ -96,7 +95,6 @@ GEM
9695
ancestry (4.2.0)
9796
activerecord (>= 5.2.6)
9897
ansi (1.5.0)
99-
ast (2.4.2)
10098
attr_json (2.0.0)
10199
activerecord (>= 6.0.0, < 7.1)
102100
babosa (2.0.0)
@@ -150,7 +148,6 @@ GEM
150148
activerecord
151149
kaminari-core (= 1.2.2)
152150
kaminari-core (1.2.2)
153-
language_server-protocol (3.17.0.3)
154151
launchy (2.5.0)
155152
addressable (~> 2.7)
156153
letter_opener (1.8.1)
@@ -193,9 +190,6 @@ GEM
193190
nokogiri (1.14.2)
194191
mini_portile2 (~> 2.8.0)
195192
racc (~> 1.4)
196-
parallel (1.22.1)
197-
parser (3.2.1.0)
198-
ast (~> 2.4.1)
199193
pg (1.4.5)
200194
pry (0.14.1)
201195
coderay (~> 1.1)
@@ -240,27 +234,11 @@ GEM
240234
rake (>= 12.2)
241235
thor (~> 1.0)
242236
zeitwerk (~> 2.5)
243-
rainbow (3.1.1)
244237
rake (13.0.6)
245238
regexp_parser (2.7.0)
246239
request_store (1.5.1)
247240
rack (>= 1.4)
248241
rexml (3.2.5)
249-
rubocop (1.44.1)
250-
json (~> 2.3)
251-
parallel (~> 1.10)
252-
parser (>= 3.2.0.0)
253-
rainbow (>= 2.2.2, < 4.0)
254-
regexp_parser (>= 1.8, < 3.0)
255-
rexml (>= 3.2.5, < 4.0)
256-
rubocop-ast (>= 1.24.1, < 2.0)
257-
ruby-progressbar (~> 1.7)
258-
unicode-display_width (>= 2.4.0, < 3.0)
259-
rubocop-ast (1.26.0)
260-
parser (>= 3.2.1.0)
261-
rubocop-performance (1.15.2)
262-
rubocop (>= 1.7.0, < 2.0)
263-
rubocop-ast (>= 0.4.0)
264242
ruby-progressbar (1.11.0)
265243
ruby-vips (2.1.4)
266244
ffi (~> 1.12)
@@ -275,30 +253,25 @@ GEM
275253
json (>= 1.8, < 3)
276254
simplecov-html (~> 0.10.0)
277255
simplecov-html (0.10.2)
278-
sprockets (4.1.1)
256+
sprockets (4.2.0)
279257
concurrent-ruby (~> 1.0)
280-
rack (> 1, < 3)
258+
rack (>= 2.2.4, < 4)
281259
sprockets-rails (3.4.2)
282260
actionpack (>= 5.2)
283261
activesupport (>= 5.2)
284262
sprockets (>= 3.0.0)
285-
standard (1.24.3)
286-
language_server-protocol (~> 3.17.0.2)
287-
rubocop (= 1.44.1)
288-
rubocop-performance (= 1.15.2)
289263
stimulus-rails (1.2.1)
290264
railties (>= 6.0.0)
291265
tailwindcss-rails (2.0.23)
292266
railties (>= 6.0.0)
293267
thor (1.2.1)
294-
timeout (0.3.1)
268+
timeout (0.3.2)
295269
turbo-rails (1.3.3)
296270
actionpack (>= 6.0.0)
297271
activejob (>= 6.0.0)
298272
railties (>= 6.0.0)
299273
tzinfo (2.0.6)
300274
concurrent-ruby (~> 1.0)
301-
unicode-display_width (2.4.2)
302275
view_component (2.82.0)
303276
activesupport (>= 5.2.0, < 8.0)
304277
concurrent-ruby (~> 1.0)
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# PageLink
2+
3+
An PageLink is a part where you can link to another page. You can optionally scope it to a resource.
4+
5+
## Theme configuration
6+
7+
```
8+
config.parts = [
9+
# ...
10+
{
11+
name: "page",
12+
title: "Page",
13+
part_type: "Spina::Parts::PageLink"
14+
}
15+
]
16+
```
17+
18+
```
19+
config.parts = [
20+
# ...
21+
{
22+
name: "blogpost",
23+
title: "Blogpost",
24+
part_type: "Spina::Parts::PageLink",
25+
options: {
26+
resource: "blog"
27+
}
28+
}
29+
]
30+
```

lib/spina/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module Spina
2-
VERSION = "2.13.1"
2+
VERSION = "2.14.0"
33
end

spina.gemspec

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ Gem::Specification.new do |gem|
1414
gem.summary = "Spina"
1515
gem.description = "CMS"
1616
gem.license = "MIT"
17+
gem.post_install_message = %q{
18+
Spina v2.14 includes a new migration, don't forget to run spina:install:migrations.
19+
20+
For details on this specific release, refer to the CHANGELOG file.
21+
}
1722

1823
gem.required_ruby_version = ">= 2.7.0"
1924

@@ -46,5 +51,4 @@ Gem::Specification.new do |gem|
4651
gem.add_dependency "jsonapi-serializer"
4752
gem.add_dependency "browser"
4853
gem.add_dependency "tailwindcss-rails", ">= 2.0.0"
49-
gem.add_dependency "standard"
5054
end

0 commit comments

Comments
 (0)