facilguide 0.1.0 → 0.1.1
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.
- checksums.yaml +4 -4
- data/lib/facilguide.rb +61 -3
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d5008dc53e9053b5ec67c6c66bc97a49a6790f2ddf38e5c6c3a530424f8b0433
|
|
4
|
+
data.tar.gz: 2517132fbbc4d5ced3afaada133c16d4e5de89b97689113cd32be3455e08e616
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ee88e3364ade66efae73c9e20b3e412bdbafba81dcfe9058f8540306edcb9c1aa19fae16b475bdde83e9cec220af05be07a3462c1a13a41b542231565d687758
|
|
7
|
+
data.tar.gz: 6b659f52fe47bd218e37aa9253541338c367e3c8b7dcb469b28499db9af386da6f219d5eb9e2fadaac9393a6c33879fed8517d7d81efe3d5947390085ff9a62d
|
data/lib/facilguide.rb
CHANGED
|
@@ -1,19 +1,77 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
#
|
|
3
|
+
# FacilGuide - Multilingual tech guide utilities
|
|
4
4
|
# https://facil.guide
|
|
5
|
+
#
|
|
6
|
+
# Simplified technology guides for seniors in 5 languages.
|
|
5
7
|
|
|
6
8
|
module FacilGuide
|
|
7
|
-
VERSION = '0.1.
|
|
9
|
+
VERSION = '0.1.1'
|
|
8
10
|
|
|
9
11
|
BASE_URL = 'https://facil.guide'
|
|
10
12
|
|
|
11
|
-
|
|
13
|
+
DESCRIPTION = 'Multilingual platform publishing simplified technology guides for seniors and older adults in five languages.'
|
|
12
14
|
|
|
15
|
+
LANGUAGES = {
|
|
16
|
+
'en' => 'English',
|
|
17
|
+
'es' => 'Espanol',
|
|
18
|
+
'fr' => 'Francais',
|
|
19
|
+
'pt' => 'Portugues',
|
|
20
|
+
'it' => 'Italiano'
|
|
21
|
+
}.freeze
|
|
22
|
+
|
|
23
|
+
GUIDE_CATEGORIES = %w[
|
|
24
|
+
smartphones messaging video-calls social-media
|
|
25
|
+
email online-safety photos streaming shopping
|
|
26
|
+
].freeze
|
|
27
|
+
|
|
28
|
+
ENDPOINTS = {
|
|
29
|
+
home: '/',
|
|
30
|
+
en: '/en/',
|
|
31
|
+
es: '/es/',
|
|
32
|
+
fr: '/fr/',
|
|
33
|
+
pt: '/pt/',
|
|
34
|
+
it: '/it/'
|
|
35
|
+
}.freeze
|
|
36
|
+
|
|
37
|
+
@config = {}
|
|
38
|
+
|
|
39
|
+
# Returns platform metadata
|
|
40
|
+
def self.info
|
|
41
|
+
{
|
|
42
|
+
name: 'FacilGuide',
|
|
43
|
+
version: VERSION,
|
|
44
|
+
base_url: BASE_URL,
|
|
45
|
+
description: DESCRIPTION,
|
|
46
|
+
language_count: LANGUAGES.size,
|
|
47
|
+
languages: LANGUAGES.keys,
|
|
48
|
+
audience: 'seniors and older adults',
|
|
49
|
+
categories: GUIDE_CATEGORIES
|
|
50
|
+
}
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
# Returns available endpoint paths
|
|
54
|
+
def self.endpoints
|
|
55
|
+
ENDPOINTS
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
# Block-based configuration
|
|
59
|
+
def self.configure
|
|
60
|
+
yield @config if block_given?
|
|
61
|
+
@config
|
|
62
|
+
end
|
|
63
|
+
|
|
64
|
+
# Read current configuration
|
|
65
|
+
def self.config
|
|
66
|
+
@config
|
|
67
|
+
end
|
|
68
|
+
|
|
69
|
+
# Returns the current library version
|
|
13
70
|
def self.version
|
|
14
71
|
VERSION
|
|
15
72
|
end
|
|
16
73
|
|
|
74
|
+
# Returns the base URL
|
|
17
75
|
def self.base_url
|
|
18
76
|
BASE_URL
|
|
19
77
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: facilguide
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Arnaud Leroy
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-03-
|
|
11
|
+
date: 2026-03-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: Utilities for Facil Guide, a multilingual platform providing simple technology
|
|
14
14
|
guides for seniors in English, Spanish, French, Portuguese, and Italian.
|
|
@@ -23,9 +23,9 @@ licenses:
|
|
|
23
23
|
- MIT
|
|
24
24
|
metadata:
|
|
25
25
|
homepage_uri: https://facil.guide
|
|
26
|
-
source_code_uri: https://github.com/
|
|
26
|
+
source_code_uri: https://github.com/arnaudleroy-studio/facilguide-ruby
|
|
27
27
|
documentation_uri: https://facil.guide/en/
|
|
28
|
-
bug_tracker_uri: https://github.com/
|
|
28
|
+
bug_tracker_uri: https://github.com/arnaudleroy-studio/facilguide-ruby/issues
|
|
29
29
|
post_install_message:
|
|
30
30
|
rdoc_options: []
|
|
31
31
|
require_paths:
|