fronde 0.4.0 → 0.6.0

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.
Files changed (49) hide show
  1. checksums.yaml +4 -4
  2. data/lib/ext/nil_time.rb +3 -6
  3. data/lib/ext/time.rb +10 -17
  4. data/lib/ext/time_no_time.rb +27 -0
  5. data/lib/fronde/cli/commands.rb +18 -14
  6. data/lib/fronde/cli/data/fish_completion +20 -0
  7. data/lib/fronde/cli/data/gitignore +0 -1
  8. data/lib/fronde/cli/helpers.rb +0 -2
  9. data/lib/fronde/cli/opt_parse.rb +15 -18
  10. data/lib/fronde/cli/throbber.rb +35 -18
  11. data/lib/fronde/cli.rb +4 -3
  12. data/lib/fronde/config/data/org-config.el +3 -2
  13. data/lib/fronde/config/data/ox-fronde.el +91 -46
  14. data/lib/fronde/config/data/themes/umaneti/css/htmlize.css +364 -0
  15. data/lib/fronde/config/data/themes/umaneti/css/style.css +250 -0
  16. data/lib/fronde/config/data/themes/umaneti/img/bottom.png +0 -0
  17. data/lib/fronde/config/data/themes/umaneti/img/content.png +0 -0
  18. data/lib/fronde/config/data/themes/umaneti/img/tic.png +0 -0
  19. data/lib/fronde/config/data/themes/umaneti/img/top.png +0 -0
  20. data/lib/fronde/config/helpers.rb +1 -19
  21. data/lib/fronde/config/lisp.rb +14 -7
  22. data/lib/fronde/config.rb +47 -31
  23. data/lib/fronde/emacs.rb +23 -9
  24. data/lib/fronde/index/atom_generator.rb +1 -1
  25. data/lib/fronde/index/data/all_tags.org +6 -1
  26. data/lib/fronde/index/data/template.org +8 -4
  27. data/lib/fronde/index/org_generator.rb +10 -6
  28. data/lib/fronde/index.rb +19 -17
  29. data/lib/fronde/org/file.rb +71 -39
  30. data/lib/fronde/org/file_extracter.rb +23 -12
  31. data/lib/fronde/org.rb +14 -12
  32. data/lib/fronde/slug.rb +39 -12
  33. data/lib/fronde/source/gemini.rb +4 -9
  34. data/lib/fronde/source/html.rb +9 -9
  35. data/lib/fronde/source.rb +17 -12
  36. data/lib/fronde/sync/neocities.rb +220 -0
  37. data/lib/fronde/sync/rsync.rb +46 -0
  38. data/lib/fronde/sync.rb +32 -0
  39. data/lib/fronde/templater.rb +35 -51
  40. data/lib/fronde/version.rb +1 -1
  41. data/lib/tasks/cli.rake +45 -13
  42. data/lib/tasks/org.rake +30 -35
  43. data/lib/tasks/site.rake +63 -41
  44. data/lib/tasks/sync.rake +19 -50
  45. data/lib/tasks/tags.rake +2 -2
  46. data/locales/en.yml +143 -81
  47. data/locales/fr.yml +153 -89
  48. metadata +56 -17
  49. data/lib/ext/r18n.rb +0 -17
data/locales/en.yml CHANGED
@@ -1,85 +1,147 @@
1
1
  ---
2
- fronde:
3
- bin:
4
- usage: 'Usage: fronde %1 [options]'
5
- done: done
6
- commands:
7
- cmd_title: Commands
8
- alias: Alias for ‘%1’.
9
- new: Initialize a new Fronde instance.
10
- update: >-
11
- Update Fronde configuration and dependency (to be run after each
12
- modification of the config.yml file and once in a while to stay
13
- up-to-date with Org).
14
- preview: Start a test web server to preview the generated website.
15
- open: Open or create an org file.
16
- build: Compile all org files to HTML or gemtext.
17
- publish: Push local changes to the public web server.
18
- help: Alias for the -h switch.
19
- options:
20
- cmd_title: Options
21
- help: Display help for a command and exit.
22
- version: Display Fronde version and exit.
23
- default_title: New article
24
- error:
2
+ en:
3
+ fronde:
25
4
  bin:
26
- label: An error occurred.
27
- explanation: >-
28
- To see the error, run the same command again with more
29
- verbosity, for example, fronde build -v
30
- no_command: 'ERROR: no command or unknown command given.'
31
- no_file: >-
32
- Warning: No file path given. Default file will be used.
33
- config:
34
- deprecated_public_folder: >-
35
- ‘public_folder’ setting is deprecated. Please use either
36
- ‘html_public_folder’ or ‘gemini_public_folder’.
37
- source:
38
- no_path: Skipping %{source} as its ‘path’ key is missing.
39
- duplicate: >-
40
- Skipping %{source} as it appears at least twice in the sources
41
- of type %{type}.
42
- inclusion: >-
43
- Skipping %{source} as it might be already embedded into the
44
- other source %{other_source} of type %{type}.
45
- org_file:
46
- no_file_or_title: No file or title given.
47
- no_project: No project found for %{file}. Publication will fail.
5
+ usage: 'Usage: fronde %{label} [options]'
6
+ done: done
7
+ interrupted: interrupted
8
+ commands:
9
+ cmd_title: Commands
10
+ alias: Alias for ‘%{alias}’.
11
+ new: Initialize a new Fronde instance.
12
+ update: >-
13
+ Update Fronde configuration and dependency (to be run after each
14
+ modification of the config.yml file and once in a while to stay
15
+ up-to-date with Org).
16
+ preview: Start a test web server to preview the generated website.
17
+ open: Open or create an org file.
18
+ build: Compile all org files to HTML or gemtext.
19
+ publish: Push local changes to the public web server.
20
+ help: Alias for the -h switch.
21
+ options:
22
+ cmd_title: Options
23
+ help: Display help for a command and exit.
24
+ version: Display Fronde version and exit.
25
+ default_title: New article
26
+ error:
27
+ bin:
28
+ label: An error occurred.
29
+ explanation: >-
30
+ To see the error, run the same command again with more
31
+ verbosity, for example, fronde build -v
32
+ no_command: 'ERROR: no command or unknown command given.'
33
+ no_file: >-
34
+ Warning: No file path given. Default file will be used.
35
+ config:
36
+ deprecated_public_folder: >-
37
+ ‘public_folder’ setting is deprecated. Please use either
38
+ ‘html_public_folder’ or ‘gemini_public_folder’.
39
+ source:
40
+ no_path: Skipping %{source} as its ‘path’ key is missing.
41
+ duplicate: >-
42
+ Skipping %{source} as it appears at least twice in the sources
43
+ of type %{type}.
44
+ inclusion: >-
45
+ Skipping %{source} as it might be already embedded into the
46
+ other source %{other_source} of type %{type}.
47
+ org_file:
48
+ no_file_or_title: No file or title given.
49
+ no_project: No project found for %{file}. Publication will fail.
50
+ dangerous_code_block: >-
51
+ The file %{file} contains at least one code block to eval, which will
52
+ be ignored for security reasons. You can still evaluate it manually
53
+ from inside Org in order to have its result exported.
54
+ index:
55
+ wrong_sort_kind: '%{kind} not in %{accepted_values}'
56
+ templater:
57
+ no_element_found: >-
58
+ No element found with the selector %{source} in %{file}.
48
59
  index:
49
- wrong_sort_kind: '%{kind} not in %{accepted_values}'
50
- templater:
51
- no_element_found: >-
52
- No element found with the selector %{source} in %{file}.
53
- no_head_element: No head tag found in file %{file}.
54
- index:
55
- unsorted: Unsorted
56
- published_on: Published on %1
57
- all_tags: All tags
58
- by_name: By alphabetical order
59
- by_weight: By publication number
60
- full_date_format: '%A %{date}'
61
- full_date_with_time_format: '%{date} at %{time}'
62
- index_generated: Generated index file for %{tag}.
63
- atom_generated: Generated Atom feed for %{tag}.
64
- org:
65
- generate_blog_index: Generating blog home page for %{name}
66
- postamble:
67
- written_by: Written by %a
68
- last_modification: Last modification on %C
69
- with_emacs: with %c, and published with %n
70
- with_emacs_html: with %c, and published with %N
71
- tasks:
72
- site:
73
- aborting: Aborting
74
- generating_indexes: 'Generating index files:'
75
- building_indexes: 'Building index files:'
76
- publishing_feeds: 'Publishing Atom feeds:'
77
- building: 'Building:'
78
- customizing: 'Customizing:'
79
- remove_orphan_file: 'Remove it? [y/N]: '
60
+ unsorted: Unsorted
61
+ published_on: Published on %{date}
62
+ all_tags: All tags
63
+ by_name: By alphabetical order
64
+ by_weight: By publication number
65
+ index_generated: Generated index file for %{tag}.
66
+ atom_generated: Generated Atom feed for %{tag}.
80
67
  org:
81
- downloaded: Org version %{version} has been downloaded.
82
- downloading: 'Downloading Org:'
83
- no_download: Impossible to download Org now. Please try again later.
84
- installed: Org version %{version} has been locally installed.
85
- installing: 'Installing Org:'
68
+ generate_blog_index: Generating blog home page for %{name}
69
+ postamble:
70
+ written_by: Written by %a
71
+ last_modification: Last modification on %C
72
+ with_emacs: with %c, and published with %n
73
+ with_emacs_html: with %c, and published with %N
74
+ neocities:
75
+ deleting: deleting %{path}
76
+ sha1_differ: SHA1 hash differ for %{uri}
77
+ tasks:
78
+ site:
79
+ aborting: Aborting
80
+ generating_indexes: 'Generating index files:'
81
+ building_indexes: 'Building index files:'
82
+ publishing_feeds: 'Publishing Atom feeds:'
83
+ building: 'Building:'
84
+ customizing: 'Customizing:'
85
+ customizing_file: 'Customizing file %{file}'
86
+ orphan_tag: The file %{file} refers to a tag, which is no more in use.
87
+ remove_orphan_file: 'Remove it? [y/N]: '
88
+ org:
89
+ downloaded: Org version %{version} has been downloaded.
90
+ downloading: 'Downloading Org:'
91
+ no_download: Impossible to download Org now. Please try again later.
92
+ installed: Org version %{version} has been locally installed.
93
+ installing: 'Installing Org:'
94
+ time:
95
+ formats:
96
+ default: '%a, %b %-d, %Y %H:%M:%S %z'
97
+ long: '%A, %B %-d, %Y at %R'
98
+ long_no_year: '%A, %B %-d at %R'
99
+ long_no_time: '%A, %B %-d, %Y'
100
+ long_no_time_no_year: '%A, %B %-d'
101
+ date:
102
+ abbr_day_names:
103
+ - Sun
104
+ - Mon
105
+ - Tue
106
+ - Wed
107
+ - Thu
108
+ - Fri
109
+ - Sat
110
+ abbr_month_names:
111
+ -
112
+ - Jan
113
+ - Feb
114
+ - Mar
115
+ - Apr
116
+ - May
117
+ - Jun
118
+ - Jul
119
+ - Aug
120
+ - Sep
121
+ - Oct
122
+ - Nov
123
+ - Dec
124
+ day_names:
125
+ - Sunday
126
+ - Monday
127
+ - Tuesday
128
+ - Wednesday
129
+ - Thursday
130
+ - Friday
131
+ - Saturday
132
+ formats:
133
+ default: '%Y-%m-%d'
134
+ month_names:
135
+ -
136
+ - January
137
+ - February
138
+ - March
139
+ - April
140
+ - May
141
+ - June
142
+ - July
143
+ - August
144
+ - September
145
+ - October
146
+ - November
147
+ - December
data/locales/fr.yml CHANGED
@@ -1,93 +1,157 @@
1
1
  ---
2
- fronde:
3
- bin:
4
- usage: 'Usage : fronde %1 [options]'
5
- done: fait
6
- commands:
7
- cmd_title: Commandes
8
- alias: Alias pour ‘%1’.
9
- new: Initialise une nouvelle instance de Fronde.
10
- update: >-
11
- Met à jour la configuration et les dépendances de Fronde (à
12
- lancer après chaque modification du fichier config.yml et une
13
- fois de temps à autre pour rester à jour avec Org).
14
- preview: >-
15
- Démarre un serveur web de test pour prévisualiser le site
16
- généré.
17
- open: Ouvre ou crée un fichier org.
18
- build: Compile les fichiers org en HTML ou gemtext.
19
- publish: >-
20
- Pousse les changements locaux vers le serveur web public.
21
- help: Alias pour l'argument -h.
22
- options:
23
- cmd_title: Options
24
- help: Affiche l'aide pour une commande et quitte.
25
- version: Affiche la version de Fronde et quitte.
26
- default_title: Nouvel article
27
- error:
2
+ fr:
3
+ fronde:
28
4
  bin:
29
- label: Une erreur est survenue
30
- explanation: >-
31
- Pour voir le détail, lancez de nouveau la commande avec plus de
32
- verbosité, par exemple fronde build -v
33
- no_command: 'ERREUR : Aucune commande ou commande inconnue donnée.'
34
- no_file: >-
35
- Attention : Aucun chemin de fichier donné. Utilisation du
36
- fichier par défaut.
37
- config:
38
- deprecated_public_folder: >-
39
- La clé de configuration ‘public_folder’ est dépréciée. Merci
40
- d’utiliser ‘html_public_folder’ ou ‘gemini_public_folder’ à la
41
- place.
42
- source:
43
- no_path: >-
44
- Ignore %{source} comme sa clé ‘path’ est manquante.
45
- duplicate: >-
46
- Ignore %{source} comme elle apparaît au moins deux fois dans les
47
- sources de type %{type}.
48
- inclusion: >-
49
- Ignore %{source} qui semble être déjà inclue dans l’autre source
50
- %{other_source} de type %{type}.
51
- org_file:
52
- no_file_or_title: Aucun chemin de fichier ou titre donné.
53
- no_project: Aucun projet trouvé pour %{file}. Sa publication va échouer.
5
+ usage: 'Usage : fronde %{label} [options]'
6
+ done: fait
7
+ interrupted: arrêté
8
+ commands:
9
+ cmd_title: Commandes
10
+ alias: Alias pour ‘%{alias}’.
11
+ new: Initialise une nouvelle instance de Fronde.
12
+ update: >-
13
+ Met à jour la configuration et les dépendances de Fronde (à
14
+ lancer après chaque modification du fichier config.yml et une
15
+ fois de temps à autre pour rester à jour avec Org).
16
+ preview: >-
17
+ Démarre un serveur web de test pour prévisualiser le site
18
+ généré.
19
+ open: Ouvre ou crée un fichier org.
20
+ build: Compile les fichiers org en HTML ou gemtext.
21
+ publish: >-
22
+ Pousse les changements locaux vers le serveur web public.
23
+ help: Alias pour l’argument -h.
24
+ options:
25
+ cmd_title: Options
26
+ help: Affiche l’aide pour une commande et quitte.
27
+ version: Affiche la version de Fronde et quitte.
28
+ default_title: Nouvel article
29
+ error:
30
+ bin:
31
+ label: Une erreur est survenue
32
+ explanation: >-
33
+ Pour voir le détail, lancez de nouveau la commande avec plus de
34
+ verbosité, par exemple fronde build -v
35
+ no_command: 'ERREUR : Aucune commande ou commande inconnue donnée.'
36
+ no_file: >-
37
+ Attention : Aucun chemin de fichier donné. Utilisation du
38
+ fichier par défaut.
39
+ config:
40
+ deprecated_public_folder: >-
41
+ La clé de configuration ‘public_folder’ est dépréciée. Merci
42
+ d’utiliser ‘html_public_folder’ ou ‘gemini_public_folder’ à la
43
+ place.
44
+ source:
45
+ no_path: >-
46
+ Ignore %{source} comme sa clé ‘path’ est manquante.
47
+ duplicate: >-
48
+ Ignore %{source} comme elle apparaît au moins deux fois dans les
49
+ sources de type %{type}.
50
+ inclusion: >-
51
+ Ignore %{source} qui semble être déjà inclue dans l’autre source
52
+ %{other_source} de type %{type}.
53
+ org_file:
54
+ no_file_or_title: Aucun chemin de fichier ou titre donné.
55
+ no_project: Aucun projet trouvé pour %{file}. Sa publication va échouer.
56
+ dangerous_code_block: >-
57
+ Le fichier %{file} contient au moins un bloc de code à évaluer qui
58
+ sera ignoré pour des raisons de sécûrité. Vous pouvez manuellement
59
+ l’évaluer dans Org pour que son résultat soit correctement exporté.
60
+ index:
61
+ wrong_sort_kind: '%{kind} n’est pas dans %{accepted_values}'
62
+ templater:
63
+ no_element_found: >-
64
+ Aucun élément trouvé avec le sélecteur %{source} dans %{file}.
54
65
  index:
55
- wrong_sort_kind: '%{kind} n’est pas dans %{accepted_values}'
56
- templater:
57
- no_element_found: >-
58
- Aucun élément trouvé avec le sélecteur %{source} dans %{file}.
59
- no_head_element: Aucun élément head trouvé dans le fichier %{file}.
60
- index:
61
- unsorted: Non triés
62
- published_on: Publié le %1
63
- all_tags: Toutes les étiquettes
64
- by_name: Par ordre alphabétique
65
- by_weight: Par nombre de publication
66
- full_date_format: '%A %{date}'
67
- full_date_with_time_format: '%{date} à %{time}'
68
- index_generated: Fichier d’index généré pour %{tag}.
69
- atom_generated: Flux Atom généré pour %{tag}.
70
- org:
71
- generate_blog_index: Génération de la page d’accueil du blog pour %{name}
72
- postamble:
73
- written_by: Écrit par %a
74
- last_modification: dernière modification le %C
75
- with_emacs: avec %c et publié avec %n
76
- with_emacs_html: avec %c et publié avec %N
77
- tasks:
78
- site:
79
- aborting: Annulation
80
- generating_indexes: 'Génération des fichiers d’index :'
81
- building_indexes: 'Compilation des fichiers d’index :'
82
- publishing_feeds: 'Publication des flux Atom :'
83
- building: 'Compilation :'
84
- customizing: 'Décoration :'
85
- remove_orphan_file: 'Le supprimer ? [y/N]: '
66
+ unsorted: Non triés
67
+ published_on: Publié le %{date}
68
+ all_tags: Toutes les étiquettes
69
+ by_name: Par ordre alphabétique
70
+ by_weight: Par nombre de publication
71
+ index_generated: Fichier d’index généré pour %{tag}.
72
+ atom_generated: Flux Atom généré pour %{tag}.
86
73
  org:
87
- downloaded: La version %{version} de Org a été téléchargée.
88
- downloading: 'Téléchargement de Org :'
89
- no_download: >-
90
- Impossible de télécharger Org maintenant. Merci de réessayer
91
- plus tard.
92
- installed: La version %{version} de Org a été installé localement.
93
- installing: 'Installation de Org :'
74
+ generate_blog_index: Génération de la page d’accueil du blog pour %{name}
75
+ postamble:
76
+ written_by: Écrit par %a
77
+ last_modification: dernière modification le %C
78
+ with_emacs: avec %c et publié avec %n
79
+ with_emacs_html: avec %c et publié avec %N
80
+ neocities:
81
+ deleting: suppression de %{path}
82
+ sha1_differ: La somme de contrôle SHA1 diffère pour %{uri}
83
+ tasks:
84
+ site:
85
+ aborting: Annulation
86
+ generating_indexes: 'Génération des fichiers d’index :'
87
+ building_indexes: 'Compilation des fichiers d’index :'
88
+ publishing_feeds: 'Publication des flux Atom :'
89
+ building: 'Compilation :'
90
+ customizing: 'Décoration :'
91
+ customizing_file: 'Décoration du fichier %{file}'
92
+ orphan_tag: >-
93
+ Le fichier %{file} fait référence à une étiquette qui n’est plus
94
+ utilisée.
95
+ remove_orphan_file: 'Le supprimer ? [y/N]: '
96
+ org:
97
+ downloaded: La version %{version} de Org a été téléchargée.
98
+ downloading: 'Téléchargement de Org :'
99
+ no_download: >-
100
+ Impossible de télécharger Org maintenant. Merci de réessayer
101
+ plus tard.
102
+ installed: La version %{version} de Org a été installé localement.
103
+ installing: 'Installation de Org :'
104
+ time:
105
+ formats:
106
+ default: '%A %-d %B %Y %R'
107
+ long: '%A %-d %B %Y à %R'
108
+ long_no_year: '%A %-d %B à %R'
109
+ long_no_time: '%A %-d %B %Y'
110
+ long_no_time_no_year: '%A %-d %B'
111
+ date:
112
+ abbr_day_names:
113
+ - dim
114
+ - lun
115
+ - mar
116
+ - mer
117
+ - jeu
118
+ - ven
119
+ - sam
120
+ abbr_month_names:
121
+ -
122
+ - jan.
123
+ - fév.
124
+ - mars
125
+ - avr.
126
+ - mai
127
+ - juin
128
+ - juil.
129
+ - août
130
+ - sept.
131
+ - oct.
132
+ - nov.
133
+ - déc.
134
+ day_names:
135
+ - dimanche
136
+ - lundi
137
+ - mardi
138
+ - mercredi
139
+ - jeudi
140
+ - vendredi
141
+ - samedi
142
+ formats:
143
+ default: '%d/%m/%Y'
144
+ month_names:
145
+ -
146
+ - janvier
147
+ - février
148
+ - mars
149
+ - avril
150
+ - mai
151
+ - juin
152
+ - juillet
153
+ - août
154
+ - septembre
155
+ - octobre
156
+ - novembre
157
+ - décembre
metadata CHANGED
@@ -1,57 +1,85 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fronde
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Étienne Deparis
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-11-23 00:00:00.000000000 Z
11
+ date: 2024-10-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: liquid
14
+ name: base64
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '5.4'
19
+ version: '0.1'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '5.4'
26
+ version: '0.1'
27
27
  - !ruby/object:Gem::Dependency
28
- name: nokogiri
28
+ name: bigdecimal
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '3.1'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '3.1'
41
+ - !ruby/object:Gem::Dependency
42
+ name: i18n
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '1.14'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '1.14'
55
+ - !ruby/object:Gem::Dependency
56
+ name: liquid
29
57
  requirement: !ruby/object:Gem::Requirement
30
58
  requirements:
31
59
  - - "~>"
32
60
  - !ruby/object:Gem::Version
33
- version: '1.15'
61
+ version: '5.5'
34
62
  type: :runtime
35
63
  prerelease: false
36
64
  version_requirements: !ruby/object:Gem::Requirement
37
65
  requirements:
38
66
  - - "~>"
39
67
  - !ruby/object:Gem::Version
40
- version: '1.15'
68
+ version: '5.5'
41
69
  - !ruby/object:Gem::Dependency
42
- name: r18n-core
70
+ name: nokogiri
43
71
  requirement: !ruby/object:Gem::Requirement
44
72
  requirements:
45
73
  - - "~>"
46
74
  - !ruby/object:Gem::Version
47
- version: '5.0'
75
+ version: '1.16'
48
76
  type: :runtime
49
77
  prerelease: false
50
78
  version_requirements: !ruby/object:Gem::Requirement
51
79
  requirements:
52
80
  - - "~>"
53
81
  - !ruby/object:Gem::Version
54
- version: '5.0'
82
+ version: '1.16'
55
83
  - !ruby/object:Gem::Dependency
56
84
  name: rainbow
57
85
  requirement: !ruby/object:Gem::Requirement
@@ -72,14 +100,14 @@ dependencies:
72
100
  requirements:
73
101
  - - "~>"
74
102
  - !ruby/object:Gem::Version
75
- version: '13.0'
103
+ version: '13.1'
76
104
  type: :runtime
77
105
  prerelease: false
78
106
  version_requirements: !ruby/object:Gem::Requirement
79
107
  requirements:
80
108
  - - "~>"
81
109
  - !ruby/object:Gem::Version
82
- version: '13.0'
110
+ version: '13.1'
83
111
  - !ruby/object:Gem::Dependency
84
112
  name: webrick
85
113
  requirement: !ruby/object:Gem::Requirement
@@ -106,12 +134,13 @@ files:
106
134
  - LICENSE
107
135
  - bin/fronde
108
136
  - lib/ext/nil_time.rb
109
- - lib/ext/r18n.rb
110
137
  - lib/ext/time.rb
138
+ - lib/ext/time_no_time.rb
111
139
  - lib/fronde/cli.rb
112
140
  - lib/fronde/cli/commands.rb
113
141
  - lib/fronde/cli/data/Rakefile
114
142
  - lib/fronde/cli/data/config.yml
143
+ - lib/fronde/cli/data/fish_completion
115
144
  - lib/fronde/cli/data/gitignore
116
145
  - lib/fronde/cli/data/zsh_completion
117
146
  - lib/fronde/cli/helpers.rb
@@ -120,6 +149,12 @@ files:
120
149
  - lib/fronde/config.rb
121
150
  - lib/fronde/config/data/org-config.el
122
151
  - lib/fronde/config/data/ox-fronde.el
152
+ - lib/fronde/config/data/themes/umaneti/css/htmlize.css
153
+ - lib/fronde/config/data/themes/umaneti/css/style.css
154
+ - lib/fronde/config/data/themes/umaneti/img/bottom.png
155
+ - lib/fronde/config/data/themes/umaneti/img/content.png
156
+ - lib/fronde/config/data/themes/umaneti/img/tic.png
157
+ - lib/fronde/config/data/themes/umaneti/img/top.png
123
158
  - lib/fronde/config/helpers.rb
124
159
  - lib/fronde/config/lisp.rb
125
160
  - lib/fronde/emacs.rb
@@ -137,6 +172,9 @@ files:
137
172
  - lib/fronde/source.rb
138
173
  - lib/fronde/source/gemini.rb
139
174
  - lib/fronde/source/html.rb
175
+ - lib/fronde/sync.rb
176
+ - lib/fronde/sync/neocities.rb
177
+ - lib/fronde/sync/rsync.rb
140
178
  - lib/fronde/templater.rb
141
179
  - lib/fronde/version.rb
142
180
  - lib/tasks/cli.rake
@@ -171,14 +209,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
171
209
  requirements:
172
210
  - - ">="
173
211
  - !ruby/object:Gem::Version
174
- version: '2.7'
212
+ version: '3.1'
175
213
  required_rubygems_version: !ruby/object:Gem::Requirement
176
214
  requirements:
177
215
  - - ">="
178
216
  - !ruby/object:Gem::Version
179
217
  version: '0'
180
- requirements: []
181
- rubygems_version: 3.4.22
218
+ requirements:
219
+ - emacs
220
+ rubygems_version: 3.5.21
182
221
  signing_key:
183
222
  specification_version: 4
184
223
  summary: An opinionated static website generator for Org
data/lib/ext/r18n.rb DELETED
@@ -1,17 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- # Monkey patch to add a little helper
4
- module R18nPatch
5
- refine R18n::Translation do
6
- def full_datetime_format
7
- date_fmt = fronde.index.full_date_format(
8
- date: @locale.full_format
9
- )
10
- date_fmt = @locale.year_format.sub('_', date_fmt)
11
- time_fmt = @locale.time_format.delete('_').strip
12
- fronde.index.full_date_with_time_format(
13
- date: date_fmt, time: time_fmt
14
- )
15
- end
16
- end
17
- end