dr 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/dr/distros.rb +48 -0
  3. data/lib/dr/version.rb +1 -1
  4. metadata +2 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dd930425239bb4dbe09cc9ad9236c17ff1a40fd8
4
- data.tar.gz: 69a6585854e0aa4ed0467235669059863005a1f5
3
+ metadata.gz: b6908964de74d0ab1db8eb3a2b41c40e77a076cd
4
+ data.tar.gz: 9d49b05fc88b46e8c3e1b0a58367cff00cf366e2
5
5
  SHA512:
6
- metadata.gz: 51da072415232cfe6cb61342d3f9b15bc7dbff7f0d98e9411f6937bb4ada82e3502bf15ebd349ee17b959c819260cedc9ce24290f6ea08d83987ed554874bb6f
7
- data.tar.gz: 0ab1b8ded25fbd98f569e8ff007fd87c09dd8cddf5f8a4e38d7fefe849fc70ed92e40bad6bb2342971a3a9715add770640d142563a3f43c6740e7fae7bc9b08f
6
+ metadata.gz: a0b70c3a9580faf6af502e3a0698a0a682412e385e078f8a578db4550e0829a546941b5a401f3d1de38f9d4848bee9d8d9efaf10ca778bb70cd95fd88e13bdfa
7
+ data.tar.gz: 7c99e41f20471633319d55f9e60f811d00c97ac2c5f0bda33ce57957e94713f15fad4be96a04f65c236a413ce7ff7bd201f03274a2506aa362b659e970df81a9
@@ -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
@@ -2,5 +2,5 @@
2
2
  # License: http://www.gnu.org/licenses/gpl-2.0.txt GNU General Public License v2
3
3
 
4
4
  module Dr
5
- VERSION = "0.2.1"
5
+ VERSION = "0.2.2"
6
6
  end
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.1
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