HornsAndHooves-publify_core 10.2.0 → 10.4.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9a09dce0d55773731cef11473dcf8be31314f3aa1098d3f8dd317c11af86c2b9
4
- data.tar.gz: e6b94c596692f5e7c70e84ed1305b127ade475cbf202ff2eefa5342f8ecae9ab
3
+ metadata.gz: dc399285f58305525d3598d5f95cd9690e8d44d3fc3ca499fd8652653ff8b0b0
4
+ data.tar.gz: 3043443be7e21bdbe4583832e397253defcef2af73169392de8fe7309890a9e0
5
5
  SHA512:
6
- metadata.gz: 107f21bd932909c13c19fc87e6b6e73e7f9e62f54981981213c593d1b1eaf1aa0659deff10d36c051c20d6dc1e82bc711babee1d7b94cd822fc3359871dbde0a
7
- data.tar.gz: ad597f44c029a425659d95257190c134d022e955b6e9d56a79968e18358425402f40726e4a6e48e1ddf346c0017664bd9deb9456e0bfc1af258dfe28810cc947
6
+ metadata.gz: 160da99f1802a128125fb4308b7e9d920191af3be554b8a76b0a7484c227b28e3ada3e3aa45a27b50487475a38fac04605b08710cafe0fd2a86a011c80d593e1
7
+ data.tar.gz: dfb5efba32da955399d1808484a5ff0ab1b158b4fdecee1a4745d4a1ea48b0d33cd10155e97525507190ab958cefbb3d3dd1547e5a0f245db9fc26b7eef660f5
@@ -101,10 +101,14 @@ class ArticlesController < ContentController
101
101
  end
102
102
  end
103
103
 
104
- r = Redirect.find_by!(from_path: from)
104
+ r = Redirect.find_by(from_path: from)
105
105
  # TODO: If linked to article, directly redirect to the article.
106
106
  # Let redirection made outside of the blog on purpose (deal with it, Brakeman!)
107
- redirect_to r.full_to_path, status: :moved_permanently if r
107
+ if r
108
+ redirect_to r.full_to_path, status: :moved_permanently
109
+ else
110
+ render "errors/404", status: :not_found
111
+ end
108
112
  end
109
113
 
110
114
  def archives
@@ -665,7 +665,7 @@ da:
665
665
  this_comment_has_been_flagged_for_moderator_approval: Denne kommentar er blevet markeret som krævende godkendelse. Den vil ikke blive vist før forfatteren godkender den.
666
666
  date:
667
667
  abbr_month_names:
668
- -
668
+ -
669
669
  - Jan
670
670
  - Feb
671
671
  - Mar
@@ -679,7 +679,7 @@ da:
679
679
  - Nov
680
680
  - Dec
681
681
  month_names:
682
- -
682
+ -
683
683
  - January
684
684
  - February
685
685
  - March
@@ -665,7 +665,7 @@ de:
665
665
  this_comment_has_been_flagged_for_moderator_approval: Dieser Kommentar wurde für die Moderatorfreigabe markiert. Er wird erst nach Freigabe durch den Moderator in diesem Blog erscheinen
666
666
  date:
667
667
  abbr_month_names:
668
- -
668
+ -
669
669
  - Jan
670
670
  - Feb
671
671
  - Mar
@@ -679,7 +679,7 @@ de:
679
679
  - Nov
680
680
  - Dec
681
681
  month_names:
682
- -
682
+ -
683
683
  - January
684
684
  - February
685
685
  - March
@@ -44,6 +44,7 @@ en:
44
44
  cancel: Cancel
45
45
  default: Default
46
46
  excerpt: Excerpt(Meta description)
47
+ image_alt: Image Alt Text
47
48
  now: now
48
49
  ok: OK
49
50
  password: Password
@@ -60,7 +61,6 @@ en:
60
61
  tags: Tags
61
62
  tags_explanation_html: Separate tags with commas. Use double quotes (&quot;) around multi-word tags, e.g. &quot;opera house&quot;.
62
63
  title: Title
63
- image_alt: Image Alt Text
64
64
  type_your_post: Type your post
65
65
  visibility: Visibility
66
66
  index:
@@ -302,8 +302,8 @@ en:
302
302
  to: To
303
303
  resources:
304
304
  destroy:
305
- notice: File has been deleted
306
305
  error: File cannot be deleted. There is an article which uses it.
306
+ notice: File has been deleted
307
307
  index:
308
308
  are_you_sure: Are you sure?
309
309
  content_type: Content Type
@@ -665,7 +665,7 @@ es-MX:
665
665
  this_comment_has_been_flagged_for_moderator_approval: Este comentario ha sido marcado para aprobaci&oacute;n del moderador. Este no aparecer&aacute; en este blog hasta qye el autor lo apruebe
666
666
  date:
667
667
  abbr_month_names:
668
- -
668
+ -
669
669
  - Jan
670
670
  - Feb
671
671
  - Mar
@@ -679,7 +679,7 @@ es-MX:
679
679
  - Nov
680
680
  - Dec
681
681
  month_names:
682
- -
682
+ -
683
683
  - January
684
684
  - February
685
685
  - March
@@ -665,7 +665,7 @@ fr:
665
665
  this_comment_has_been_flagged_for_moderator_approval: Ce commentaire a été soumis pour modération. Il ne sera affiché qu'une fois approuvé par un modérateur
666
666
  date:
667
667
  abbr_month_names:
668
- -
668
+ -
669
669
  - jan
670
670
  - fév
671
671
  - mars
@@ -679,7 +679,7 @@ fr:
679
679
  - nov
680
680
  - déc
681
681
  month_names:
682
- -
682
+ -
683
683
  - Janvier
684
684
  - Février
685
685
  - Mars
@@ -665,7 +665,7 @@ he:
665
665
  this_comment_has_been_flagged_for_moderator_approval: תגובה זו הועברה לביקורת. היא לא תופיע בבלוג עד אשר הכותב יאשר אותה
666
666
  date:
667
667
  abbr_month_names:
668
- -
668
+ -
669
669
  - Jan
670
670
  - Feb
671
671
  - Mar
@@ -679,7 +679,7 @@ he:
679
679
  - Nov
680
680
  - Dec
681
681
  month_names:
682
- -
682
+ -
683
683
  - January
684
684
  - February
685
685
  - March
@@ -665,7 +665,7 @@ it:
665
665
  this_comment_has_been_flagged_for_moderator_approval: This comment has been flagged for moderator approval. It won't appear on this blog until the author approves it
666
666
  date:
667
667
  abbr_month_names:
668
- -
668
+ -
669
669
  - Jan
670
670
  - Feb
671
671
  - Mar
@@ -679,7 +679,7 @@ it:
679
679
  - Nov
680
680
  - Dec
681
681
  month_names:
682
- -
682
+ -
683
683
  - January
684
684
  - February
685
685
  - March
@@ -665,7 +665,7 @@ ja:
665
665
  this_comment_has_been_flagged_for_moderator_approval: このコメントはモデレーターの確認が必要です。モデレーターが確認後にコメントが表示されます。
666
666
  date:
667
667
  abbr_month_names:
668
- -
668
+ -
669
669
  - 1月
670
670
  - 2月
671
671
  - 3月
@@ -679,7 +679,7 @@ ja:
679
679
  - 11月
680
680
  - 12月
681
681
  month_names:
682
- -
682
+ -
683
683
  - 1月
684
684
  - 2月
685
685
  - 3月
@@ -679,7 +679,7 @@ lt:
679
679
  this_comment_has_been_flagged_for_moderator_approval: Komentaras laukia moderatoriaus patvirtinimo
680
680
  date:
681
681
  abbr_month_names:
682
- -
682
+ -
683
683
  - Jan
684
684
  - Feb
685
685
  - Mar
@@ -693,7 +693,7 @@ lt:
693
693
  - Nov
694
694
  - Dec
695
695
  month_names:
696
- -
696
+ -
697
697
  - January
698
698
  - February
699
699
  - March
@@ -665,7 +665,7 @@ nb-NO:
665
665
  this_comment_has_been_flagged_for_moderator_approval: Denne kommentaren har blitt flagget for godkjenning av moderator. Den vil ikke bli vist på bloggen før moderatoren godkjenner den.
666
666
  date:
667
667
  abbr_month_names:
668
- -
668
+ -
669
669
  - Jan
670
670
  - Feb
671
671
  - Mar
@@ -679,7 +679,7 @@ nb-NO:
679
679
  - Nov
680
680
  - Des
681
681
  month_names:
682
- -
682
+ -
683
683
  - Januar
684
684
  - Februar
685
685
  - Mars
@@ -665,7 +665,7 @@ nl:
665
665
  this_comment_has_been_flagged_for_moderator_approval: Dit commentaar is gemarkeerd voor goedkeuring. Het zal niet getoond worden totdat de auteur het goedkeurt.
666
666
  date:
667
667
  abbr_month_names:
668
- -
668
+ -
669
669
  - Jan
670
670
  - Feb
671
671
  - Mrt
@@ -679,7 +679,7 @@ nl:
679
679
  - Nov
680
680
  - Dec
681
681
  month_names:
682
- -
682
+ -
683
683
  - Januari
684
684
  - Februari
685
685
  - Maart
@@ -693,7 +693,7 @@ pl:
693
693
  this_comment_has_been_flagged_for_moderator_approval: Ten komentarz oczekuje na akceptację. Nie ukaże się do czasu zaakceptowania przez autora.
694
694
  date:
695
695
  abbr_month_names:
696
- -
696
+ -
697
697
  - Jan
698
698
  - Feb
699
699
  - Mar
@@ -707,7 +707,7 @@ pl:
707
707
  - Nov
708
708
  - Dec
709
709
  month_names:
710
- -
710
+ -
711
711
  - January
712
712
  - February
713
713
  - March
@@ -665,7 +665,7 @@ pt-BR:
665
665
  this_comment_has_been_flagged_for_moderator_approval: Este comentário foi marcado para aprovação do moderador. Não será exibido até o autor aprovar.
666
666
  date:
667
667
  abbr_month_names:
668
- -
668
+ -
669
669
  - Jan
670
670
  - Fev
671
671
  - Mar
@@ -679,7 +679,7 @@ pt-BR:
679
679
  - Nov
680
680
  - Dez
681
681
  month_names:
682
- -
682
+ -
683
683
  - Janeiro
684
684
  - Fevereiro
685
685
  - Março
@@ -693,7 +693,7 @@ ru:
693
693
  this_comment_has_been_flagged_for_moderator_approval: This comment has been flagged for moderator approval. It won't appear on this blog until the author approves it
694
694
  date:
695
695
  abbr_month_names:
696
- -
696
+ -
697
697
  - Jan
698
698
  - Feb
699
699
  - Mar
@@ -707,7 +707,7 @@ ru:
707
707
  - Nov
708
708
  - Dec
709
709
  month_names:
710
- -
710
+ -
711
711
  - January
712
712
  - February
713
713
  - March
@@ -665,7 +665,7 @@ zh-TW:
665
665
  this_comment_has_been_flagged_for_moderator_approval: 這篇評論被標示為版主所允許的。他不會在部落格顯示直到版主承認他。
666
666
  date:
667
667
  abbr_month_names:
668
- -
668
+ -
669
669
  - Jan
670
670
  - Feb
671
671
  - Mar
@@ -679,7 +679,7 @@ zh-TW:
679
679
  - Nov
680
680
  - Dec
681
681
  month_names:
682
- -
682
+ -
683
683
  - January
684
684
  - February
685
685
  - March
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PublifyCore
4
- VERSION = "10.2.0"
4
+ VERSION = "10.4.0"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: HornsAndHooves-publify_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 10.2.0
4
+ version: 10.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matijs van Zuijlen
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2023-11-30 00:00:00.000000000 Z
14
+ date: 2023-12-12 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: aasm