File tree 2 files changed +14
-11
lines changed
2 files changed +14
-11
lines changed Original file line number Diff line number Diff line change @@ -6,25 +6,26 @@ module Ubuntu
6
6
# https://ubuntu.com/download
7
7
8
8
# https://wiki.ubuntu.com/Releases
9
+ # http://releases.ubuntu.com/
9
10
# https://cloud-images.ubuntu.com/
10
- CODENAME_VERSION = {
11
- lunar : "23.04" ,
12
- kinetic : "22.10" ,
11
+ LTS = {
13
12
jammy : "22.04" ,
14
13
focal : "20.04" ,
15
- bionic : "18.04" ,
16
- xenial : "16.04" ,
17
- trusty : "14.04"
14
+ bionic : "18.04"
18
15
}
19
16
20
- LTS = {
21
- jammy : "22.04" ,
22
- focal : "20.04" ,
23
- bionic : "18.04" ,
17
+ ESM = {
24
18
xenial : "16.04" ,
25
19
trusty : "14.04"
26
20
}
27
21
22
+ DEV = {
23
+ lunar : "23.04" ,
24
+ kinetic : "22.10"
25
+ }
26
+
27
+ CODENAME_VERSION = { } . merge ( DEV , LTS , ESM )
28
+
28
29
EDITION_RELEASE_URL = {
29
30
Desktop : "http://cdimage.ubuntu.com/releases/" ,
30
31
Server : "http://cdimage.ubuntu.com/releases/" ,
Original file line number Diff line number Diff line change 3
3
require_relative "ubuntu"
4
4
5
5
class MyClass
6
+ extend RootFS ::Distro ::Ubuntu
6
7
include RootFS ::Distro ::Ubuntu
7
8
end
8
9
9
10
u = MyClass . new
10
11
11
- p u . is_lts? ( "20.04.5" )
12
+ p u . is_lts? ( "20.04.5" )
13
+ p MyClass ::CODENAME_VERSION
You can’t perform that action at this time.
0 commit comments