dr 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dr/distros.rb +48 -0
- data/lib/dr/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b6908964de74d0ab1db8eb3a2b41c40e77a076cd
|
4
|
+
data.tar.gz: 9d49b05fc88b46e8c3e1b0a58367cff00cf366e2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a0b70c3a9580faf6af502e3a0698a0a682412e385e078f8a578db4550e0829a546941b5a401f3d1de38f9d4848bee9d8d9efaf10ca778bb70cd95fd88e13bdfa
|
7
|
+
data.tar.gz: 7c99e41f20471633319d55f9e60f811d00c97ac2c5f0bda33ce57957e94713f15fad4be96a04f65c236a413ce7ff7bd201f03274a2506aa362b659e970df81a9
|
data/lib/dr/distros.rb
ADDED
@@ -0,0 +1,48 @@
|
|
1
|
+
# Copyright (C) 2014 Kano Computing Ltd.
|
2
|
+
# License: http://www.gnu.org/licenses/gpl-2.0.txt GNU General Public License v2
|
3
|
+
|
4
|
+
|
5
|
+
module Dr
|
6
|
+
module Distros
|
7
|
+
@@distros = {
|
8
|
+
"Kano OS" => {
|
9
|
+
:arches => ["armhf", "armel"],
|
10
|
+
:repos => {
|
11
|
+
:raspbian => {
|
12
|
+
:url => "http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/",
|
13
|
+
:key => "http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian.public.key",
|
14
|
+
:src => true,
|
15
|
+
:codename => "wheezy",
|
16
|
+
:components => "main contrib non-free rpi"
|
17
|
+
},
|
18
|
+
|
19
|
+
:raspi_foundation => {
|
20
|
+
:url => "http://archive.raspberrypi.org/debian/",
|
21
|
+
:key => "http://archive.raspberrypi.org/debian/raspberrypi.gpg.key",
|
22
|
+
:src => false,
|
23
|
+
:codename => "wheezy",
|
24
|
+
:components => "main"
|
25
|
+
},
|
26
|
+
|
27
|
+
:kano => {
|
28
|
+
:url => "http://dev.kano.me/archive/",
|
29
|
+
:key => "http://dev.kano.me/archive/repo.gpg.key",
|
30
|
+
:src => false,
|
31
|
+
:codename => "devel",
|
32
|
+
:components => "main"
|
33
|
+
}
|
34
|
+
},
|
35
|
+
:base_repo => :raspbian,
|
36
|
+
:packages => []
|
37
|
+
}
|
38
|
+
}
|
39
|
+
|
40
|
+
def distros
|
41
|
+
@@distros
|
42
|
+
end
|
43
|
+
|
44
|
+
def add_distro(name, distro)
|
45
|
+
@@distros[name] = distro
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
data/lib/dr/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Radek Pazdera
|
@@ -119,6 +119,7 @@ files:
|
|
119
119
|
- lib/dr/buildroot.rb
|
120
120
|
- lib/dr/config.rb
|
121
121
|
- lib/dr/debpackage.rb
|
122
|
+
- lib/dr/distros.rb
|
122
123
|
- lib/dr/gitpackage.rb
|
123
124
|
- lib/dr/gnupg.rb
|
124
125
|
- lib/dr/logger.rb
|