Skip to content

Commit

Permalink
Update to v2.14 (#1205)
Browse files Browse the repository at this point in the history
* Update to v2.14

* Add notice about new migration

* Github Workflow libvips
  • Loading branch information
Bramjetten authored Feb 22, 2023
1 parent 46b13ea commit b643139
Show file tree
Hide file tree
Showing 6 changed files with 56 additions and 38 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,14 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Install libvips
run: sudo apt-get install -y libvips

- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{matrix.ruby-version}}
bundler-cache: true

- name: StandardRB
uses: andrewmcodes/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Setup Code Climate test-reporter
run: |
Expand Down
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# Spina CMS Changelog

## 2.14

### 2.14.0 (February 22nd, 2023)
* Added Spina::Parts::PageLink part
* Added search to the media library
* Added collapsable nested pages (remember to install the new migration)
* Added hint for Spina::Parts::MultiLine
* Fixed CSS bugs in Trix
* Fixed bug with AttrJson 2.0
* Fixed missing translations
* Updated gem dependencies
* Removed StandardRB

## 2.13

### 2.13.1 (December 13th, 2022)
Expand Down
35 changes: 4 additions & 31 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
spina (2.13.1)
spina (2.14.0)
ancestry
attr_json
babosa
Expand All @@ -17,7 +17,6 @@ PATH
rack-rewrite (>= 1.5.0)
rails (>= 6.0)
sprockets-rails
standard
stimulus-rails (>= 0.7.0)
tailwindcss-rails (>= 2.0.0)
turbo-rails (>= 0.9, < 2.0)
Expand Down Expand Up @@ -96,7 +95,6 @@ GEM
ancestry (4.2.0)
activerecord (>= 5.2.6)
ansi (1.5.0)
ast (2.4.2)
attr_json (2.0.0)
activerecord (>= 6.0.0, < 7.1)
babosa (2.0.0)
Expand Down Expand Up @@ -150,7 +148,6 @@ GEM
activerecord
kaminari-core (= 1.2.2)
kaminari-core (1.2.2)
language_server-protocol (3.17.0.3)
launchy (2.5.0)
addressable (~> 2.7)
letter_opener (1.8.1)
Expand Down Expand Up @@ -193,9 +190,6 @@ GEM
nokogiri (1.14.2)
mini_portile2 (~> 2.8.0)
racc (~> 1.4)
parallel (1.22.1)
parser (3.2.1.0)
ast (~> 2.4.1)
pg (1.4.5)
pry (0.14.1)
coderay (~> 1.1)
Expand Down Expand Up @@ -240,27 +234,11 @@ GEM
rake (>= 12.2)
thor (~> 1.0)
zeitwerk (~> 2.5)
rainbow (3.1.1)
rake (13.0.6)
regexp_parser (2.7.0)
request_store (1.5.1)
rack (>= 1.4)
rexml (3.2.5)
rubocop (1.44.1)
json (~> 2.3)
parallel (~> 1.10)
parser (>= 3.2.0.0)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 1.8, < 3.0)
rexml (>= 3.2.5, < 4.0)
rubocop-ast (>= 1.24.1, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.26.0)
parser (>= 3.2.1.0)
rubocop-performance (1.15.2)
rubocop (>= 1.7.0, < 2.0)
rubocop-ast (>= 0.4.0)
ruby-progressbar (1.11.0)
ruby-vips (2.1.4)
ffi (~> 1.12)
Expand All @@ -275,30 +253,25 @@ GEM
json (>= 1.8, < 3)
simplecov-html (~> 0.10.0)
simplecov-html (0.10.2)
sprockets (4.1.1)
sprockets (4.2.0)
concurrent-ruby (~> 1.0)
rack (> 1, < 3)
rack (>= 2.2.4, < 4)
sprockets-rails (3.4.2)
actionpack (>= 5.2)
activesupport (>= 5.2)
sprockets (>= 3.0.0)
standard (1.24.3)
language_server-protocol (~> 3.17.0.2)
rubocop (= 1.44.1)
rubocop-performance (= 1.15.2)
stimulus-rails (1.2.1)
railties (>= 6.0.0)
tailwindcss-rails (2.0.23)
railties (>= 6.0.0)
thor (1.2.1)
timeout (0.3.1)
timeout (0.3.2)
turbo-rails (1.3.3)
actionpack (>= 6.0.0)
activejob (>= 6.0.0)
railties (>= 6.0.0)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
unicode-display_width (2.4.2)
view_component (2.82.0)
activesupport (>= 5.2.0, < 8.0)
concurrent-ruby (~> 1.0)
Expand Down
30 changes: 30 additions & 0 deletions docs/v2/rendering_content/9_page_link.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# PageLink

An PageLink is a part where you can link to another page. You can optionally scope it to a resource.

## Theme configuration

```
config.parts = [
# ...
{
name: "page",
title: "Page",
part_type: "Spina::Parts::PageLink"
}
]
```

```
config.parts = [
# ...
{
name: "blogpost",
title: "Blogpost",
part_type: "Spina::Parts::PageLink",
options: {
resource: "blog"
}
}
]
```
2 changes: 1 addition & 1 deletion lib/spina/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Spina
VERSION = "2.13.1"
VERSION = "2.14.0"
end
6 changes: 5 additions & 1 deletion spina.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ Gem::Specification.new do |gem|
gem.summary = "Spina"
gem.description = "CMS"
gem.license = "MIT"
gem.post_install_message = %q{
Spina v2.14 includes a new migration, don't forget to run spina:install:migrations.
For details on this specific release, refer to the CHANGELOG file.
}

gem.required_ruby_version = ">= 2.7.0"

Expand Down Expand Up @@ -46,5 +51,4 @@ Gem::Specification.new do |gem|
gem.add_dependency "jsonapi-serializer"
gem.add_dependency "browser"
gem.add_dependency "tailwindcss-rails", ">= 2.0.0"
gem.add_dependency "standard"
end

0 comments on commit b643139

Please sign in to comment.