wilbur 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 417d87a72995963bd253992473a7187df70a3a9d
4
- data.tar.gz: ea7e93c56c213dac1aa3516ab3945e6717c05345
3
+ metadata.gz: 31bae964e4dbef11ed727e58c949b9ce9c6bd9e7
4
+ data.tar.gz: a748a68b152e6155397f06b23647b7638946f781
5
5
  SHA512:
6
- metadata.gz: 74b54c9428e99513ef221cf1a59b2895a681c9fb18011163cc5547da8c65f4bd2db8b44c9ab1ae9ef61766585fda837d01c592a5a0c56f677b58fd66defe6eac
7
- data.tar.gz: 2505db8a85a9dbb82820fb9326a2570a28f3ee074702f0a3f836e080709967c6269ee0f9ba8b353a5b78406a21665ea9d66065d648ef1bd6521edff2354f2147
6
+ metadata.gz: 7657d079d8e582fd2a6106fe2b0fff14c154335cb69e687a55b5003f3fa0d905c8f6d5b282c25bb89ffc40d059c55ea0eea345304937e4a46d9410bc004af575
7
+ data.tar.gz: a1d836912eef98216f5193a86f7791694a4e16a99e8591758c564d802c33aeaf46b01fd288b3191fce470e9feaa4061cdd3d19618dabd0e4b45f94a7b9dcbda9
@@ -0,0 +1,11 @@
1
+ ---
2
+ language: ruby
3
+
4
+ rvm:
5
+ - 1.9.3
6
+ - 2.0.0
7
+
8
+ bundler_args: --path vendor/bundle
9
+
10
+ script:
11
+ - bundle exec rake test:end_to_end
data/README.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Wilbur: Your OpenWRT Build Assistant
2
2
 
3
+ [![Gem Version](https://badge.fury.io/rb/wilbur.png)](http://badge.fury.io/rb/wilbur)
4
+ [![Build Status](https://travis-ci.org/stefanozanella/wilbur.png?branch=master)](https://travis-ci.org/stefanozanella/wilbur)
5
+ [![Code Climate](https://codeclimate.com/github/stefanozanella/wilbur.png)](https://codeclimate.com/github/stefanozanella/wilbur)
6
+ [![Coverage Status](https://coveralls.io/repos/stefanozanella/wilbur/badge.png)](https://coveralls.io/r/stefanozanella/wilbur)
7
+
3
8
  This project provides a comprehensive infrastructure for building and
4
9
  provisioning OpenWRT images easily and in an automated fashion.
5
10
 
@@ -91,3 +96,13 @@ Also, additional options are available for the `build` command:
91
96
  **NOTE**: At the moment, when the build process ends, nothing is done to gather
92
97
  the produced files. For now, you have to ssh into the **builder** box and find
93
98
  the kernel and rootfs under `attitude_adjustment/bin/<arch>/`.
99
+
100
+ ## Changelog
101
+
102
+ ### 0.0.2
103
+
104
+ * Add `wilbur` executable
105
+
106
+ ### 0.0.1
107
+
108
+ * Introduce layout database generator
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'wilbur/cli'
4
+
5
+ Wilbur::CLI.start
@@ -0,0 +1,3 @@
1
+ source "https://rubygems.org"
2
+
3
+ gem "wilbur"
@@ -0,0 +1,10 @@
1
+ ## Skeleton Catalog Folder
2
+
3
+ This folder contains all the files used to generate a new Wilbur
4
+ catalog.
5
+
6
+ Each file, even if not having a `.erb` extension, is treated like a ERB
7
+ template. In addition, you can create a proper filesystem tree (with many
8
+ subdirectory levels) and it will be reproduced in the generated catalog.
9
+
10
+ **NOTE**: This file won't show up in generated catalogs.
@@ -11,7 +11,7 @@ Vagrant.configure("2") do |config|
11
11
  config.vm.define :builder do |builder|
12
12
  builder.vm.box = "ubuntu-base"
13
13
 
14
- builder.vm.hostname = "openwrt.builders.derecom.it"
14
+ builder.vm.hostname = "openwrt.builder.wilbur.org"
15
15
 
16
16
  builder.vm.provider :virtualbox do |vbox|
17
17
  vbox.customize ["modifyvm", :id, "--memory", "1024"]
@@ -30,10 +30,10 @@ Vagrant.configure("2") do |config|
30
30
  config.vm.define :provisioner do |provisioner|
31
31
  provisioner.vm.box = "centos-base"
32
32
 
33
- provisioner.vm.hostname = "openwrt.provisioning.derecom.it"
33
+ provisioner.vm.hostname = "openwrt.provisioning.wilbur.org"
34
34
 
35
35
  provisioner.vm.provider :virtualbox do |vbox|
36
- vbox.customize ["modifyvm", :id, "--memory", "1024"]
36
+ vbox.customize ["modifyvm", :id, "--memory", "512"]
37
37
  end
38
38
 
39
39
  provisioner.ssh.username = "ops"
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # Automatically generated make config: don't edit
3
3
  # OpenWrt version: Attitude Adjustment (r36872)
4
- # Fri Jun 7 18:37:18 2013
4
+ # Thu Jun 13 15:50:50 2013
5
5
  #
6
6
  CONFIG_HAVE_DOT_CONFIG=y
7
7
  # CONFIG_TARGET_ppc40x is not set
@@ -56,8 +56,8 @@ CONFIG_TARGET_ar71xx=y
56
56
  # CONFIG_TARGET_ubicom32 is not set
57
57
  # CONFIG_TARGET_uml is not set
58
58
  # CONFIG_TARGET_x86 is not set
59
- # CONFIG_TARGET_ar71xx_generic is not set
60
- CONFIG_TARGET_ar71xx_nand=y
59
+ CONFIG_TARGET_ar71xx_generic=y
60
+ # CONFIG_TARGET_ar71xx_nand is not set
61
61
  # CONFIG_TARGET_au1000_au1500 is not set
62
62
  # CONFIG_TARGET_au1000_au1550 is not set
63
63
  # CONFIG_TARGET_ramips_rt288x is not set
@@ -100,7 +100,7 @@ CONFIG_TARGET_ar71xx_nand=y
100
100
  # CONFIG_TARGET_x86_geos is not set
101
101
  # CONFIG_TARGET_x86_alix2 is not set
102
102
  # CONFIG_TARGET_x86_thincan is not set
103
- # CONFIG_TARGET_ar71xx_generic_Default is not set
103
+ CONFIG_TARGET_ar71xx_generic_Default=y
104
104
  # CONFIG_TARGET_ar71xx_generic_Minimal is not set
105
105
  # CONFIG_TARGET_ar71xx_generic_ath5k is not set
106
106
  # CONFIG_TARGET_ar71xx_generic_ALFAAP96 is not set
@@ -182,7 +182,7 @@ CONFIG_TARGET_ar71xx_nand=y
182
182
  # CONFIG_TARGET_ar71xx_generic_ZCN1523H28 is not set
183
183
  # CONFIG_TARGET_ar71xx_generic_ZCN1523H516 is not set
184
184
  # CONFIG_TARGET_ar71xx_generic_NBG_460N_550N_550NH is not set
185
- CONFIG_TARGET_ar71xx_nand_DefaultNoWifi=y
185
+ # CONFIG_TARGET_ar71xx_nand_DefaultNoWifi is not set
186
186
  # CONFIG_TARGET_ar71xx_nand_Ath5k is not set
187
187
  # CONFIG_TARGET_ppc44x_Default is not set
188
188
  # CONFIG_TARGET_rdc_ar525w is not set
@@ -397,6 +397,10 @@ CONFIG_DEFAULT_kmod-leds-gpio=y
397
397
  CONFIG_DEFAULT_kmod-ledtrig-default-on=y
398
398
  CONFIG_DEFAULT_kmod-ledtrig-netdev=y
399
399
  CONFIG_DEFAULT_kmod-ledtrig-timer=y
400
+ CONFIG_DEFAULT_kmod-ledtrig-usbdev=y
401
+ CONFIG_DEFAULT_kmod-usb-core=y
402
+ CONFIG_DEFAULT_kmod-usb-ohci=y
403
+ CONFIG_DEFAULT_kmod-usb2=y
400
404
  CONFIG_DEFAULT_kmod-wdt-ath79=y
401
405
  CONFIG_DEFAULT_libc=y
402
406
  CONFIG_DEFAULT_libgcc=y
@@ -532,7 +536,7 @@ CONFIG_TARGET_SUFFIX="uclibc"
532
536
  # CONFIG_IB is not set
533
537
  # CONFIG_SDK is not set
534
538
  # CONFIG_MAKE_TOOLCHAIN is not set
535
- CONFIG_IMAGEOPT=y
539
+ # CONFIG_IMAGEOPT is not set
536
540
  # CONFIG_PREINITOPT is not set
537
541
  CONFIG_TARGET_PREINIT_SUPPRESS_STDERR=y
538
542
  CONFIG_TARGET_PREINIT_TIMEOUT=2
@@ -547,11 +551,7 @@ CONFIG_TARGET_INIT_PATH="/bin:/sbin:/usr/bin:/usr/sbin"
547
551
  CONFIG_TARGET_INIT_ENV=""
548
552
  CONFIG_TARGET_INIT_CMD="/sbin/init"
549
553
  CONFIG_TARGET_INIT_SUPPRESS_STDERR=y
550
- CONFIG_VERSIONOPT=y
551
- CONFIG_VERSION_DIST="OpenWrt"
552
- CONFIG_VERSION_NICK="Attitude Adjustment"
553
- CONFIG_VERSION_NUMBER="12.09"
554
- CONFIG_VERSION_REPO="http://downloads.openwrt.org/attitude_adjustment/12.09/%S/packages"
554
+ # CONFIG_VERSIONOPT is not set
555
555
 
556
556
  #
557
557
  # Package features
@@ -1329,8 +1329,8 @@ CONFIG_PACKAGE_hotplug2=y
1329
1329
  # CONFIG_PACKAGE_hsflowd is not set
1330
1330
  CONFIG_PACKAGE_libc=y
1331
1331
  CONFIG_PACKAGE_libgcc=y
1332
- CONFIG_PACKAGE_libpthread=y
1333
- CONFIG_PACKAGE_librt=y
1332
+ # CONFIG_PACKAGE_libpthread is not set
1333
+ # CONFIG_PACKAGE_librt is not set
1334
1334
  # CONFIG_PACKAGE_libstdcpp is not set
1335
1335
  # CONFIG_PACKAGE_mksh is not set
1336
1336
  CONFIG_PACKAGE_mtd=y
@@ -1664,11 +1664,11 @@ CONFIG_PACKAGE_kmod-crypto-core=y
1664
1664
  # LED modules
1665
1665
  #
1666
1666
  CONFIG_PACKAGE_kmod-leds-gpio=y
1667
- CONFIG_PACKAGE_kmod-leds-rb750=y
1667
+ # CONFIG_PACKAGE_kmod-leds-rb750 is not set
1668
1668
  # CONFIG_PACKAGE_kmod-leds-wndr3700-usb is not set
1669
1669
  CONFIG_PACKAGE_kmod-ledtrig-default-on=y
1670
1670
  # CONFIG_PACKAGE_kmod-ledtrig-gpio is not set
1671
- CONFIG_PACKAGE_kmod-ledtrig-heartbeat=y
1671
+ # CONFIG_PACKAGE_kmod-ledtrig-heartbeat is not set
1672
1672
  # CONFIG_PACKAGE_kmod-ledtrig-morse is not set
1673
1673
  CONFIG_PACKAGE_kmod-ledtrig-netdev=y
1674
1674
  # CONFIG_PACKAGE_kmod-ledtrig-netfilter is not set
@@ -1922,28 +1922,9 @@ CONFIG_PACKAGE_kmod-wdt-ath79=y
1922
1922
  CONFIG_PACKAGE_kmod-usb-core=y
1923
1923
  # CONFIG_PACKAGE_kmod-usb-hid is not set
1924
1924
  # CONFIG_PACKAGE_kmod-usb-net is not set
1925
- # CONFIG_PACKAGE_kmod-usb-ohci is not set
1925
+ CONFIG_PACKAGE_kmod-usb-ohci=y
1926
1926
  # CONFIG_PACKAGE_kmod-usb-printer is not set
1927
- CONFIG_PACKAGE_kmod-usb-serial=y
1928
- # CONFIG_PACKAGE_kmod-usb-serial-ark3116 is not set
1929
- # CONFIG_PACKAGE_kmod-usb-serial-belkin is not set
1930
- # CONFIG_PACKAGE_kmod-usb-serial-ch341 is not set
1931
- # CONFIG_PACKAGE_kmod-usb-serial-cp210x is not set
1932
- # CONFIG_PACKAGE_kmod-usb-serial-cypress-m8 is not set
1933
- # CONFIG_PACKAGE_kmod-usb-serial-ftdi is not set
1934
- # CONFIG_PACKAGE_kmod-usb-serial-ipw is not set
1935
- # CONFIG_PACKAGE_kmod-usb-serial-keyspan is not set
1936
- # CONFIG_PACKAGE_kmod-usb-serial-mct is not set
1937
- # CONFIG_PACKAGE_kmod-usb-serial-mos7720 is not set
1938
- # CONFIG_PACKAGE_kmod-usb-serial-motorola-phone is not set
1939
- CONFIG_PACKAGE_kmod-usb-serial-option=y
1940
- # CONFIG_PACKAGE_kmod-usb-serial-oti6858 is not set
1941
- # CONFIG_PACKAGE_kmod-usb-serial-pl2303 is not set
1942
- # CONFIG_PACKAGE_kmod-usb-serial-qualcomm is not set
1943
- # CONFIG_PACKAGE_kmod-usb-serial-sierrawireless is not set
1944
- # CONFIG_PACKAGE_kmod-usb-serial-ti-usb is not set
1945
- # CONFIG_PACKAGE_kmod-usb-serial-visor is not set
1946
- CONFIG_PACKAGE_kmod-usb-serial-wwan=y
1927
+ # CONFIG_PACKAGE_kmod-usb-serial is not set
1947
1928
  # CONFIG_PACKAGE_kmod-usb-sierrawireless-directip is not set
1948
1929
  # CONFIG_PACKAGE_kmod-usb-storage is not set
1949
1930
  # CONFIG_PACKAGE_kmod-usb-storage-extras is not set
@@ -2040,7 +2021,7 @@ CONFIG_PACKAGE_MAC80211_MESH=y
2040
2021
  #
2041
2022
  # Boot Loaders
2042
2023
  #
2043
- # CONFIG_PACKAGE_uboot-ar71xx-nbg460n_550n_550nh is not set
2024
+ CONFIG_PACKAGE_uboot-ar71xx-nbg460n_550n_550nh=y
2044
2025
 
2045
2026
  #
2046
2027
  # Administration
@@ -2393,7 +2374,6 @@ CONFIG_PACKAGE_libnl-tiny=y
2393
2374
  # CONFIG_PACKAGE_liboil is not set
2394
2375
  # CONFIG_PACKAGE_libol is not set
2395
2376
  # CONFIG_PACKAGE_libopal is not set
2396
- # CONFIG_PACKAGE_libopencdk is not set
2397
2377
  # CONFIG_PACKAGE_libopenh323 is not set
2398
2378
  # CONFIG_PACKAGE_libopenldap is not set
2399
2379
  # CONFIG_PACKAGE_liboping is not set
@@ -2453,8 +2433,8 @@ CONFIG_PACKAGE_libuci=y
2453
2433
  # CONFIG_PACKAGE_libucl is not set
2454
2434
  # CONFIG_PACKAGE_libunbound is not set
2455
2435
  # CONFIG_PACKAGE_libupnp is not set
2456
- CONFIG_PACKAGE_libusb=y
2457
- CONFIG_PACKAGE_libusb-1.0=y
2436
+ # CONFIG_PACKAGE_libusb is not set
2437
+ # CONFIG_PACKAGE_libusb-1.0 is not set
2458
2438
  # CONFIG_PACKAGE_libusbmuxd is not set
2459
2439
  # CONFIG_PACKAGE_libusbpp is not set
2460
2440
  # CONFIG_PACKAGE_libuuid is not set
@@ -2498,7 +2478,7 @@ CONFIG_PACKAGE_libusb-1.0=y
2498
2478
  # CONFIG_PACKAGE_xmpp4r is not set
2499
2479
  # CONFIG_PACKAGE_zaptel-libtonezone is not set
2500
2480
  # CONFIG_PACKAGE_zaptel14-libtonezone is not set
2501
- CONFIG_PACKAGE_zlib=y
2481
+ # CONFIG_PACKAGE_zlib is not set
2502
2482
 
2503
2483
  #
2504
2484
  # Network
@@ -3037,7 +3017,7 @@ CONFIG_PACKAGE_iptables=y
3037
3017
  # CONFIG_PACKAGE_bwm is not set
3038
3018
  # CONFIG_PACKAGE_bwping is not set
3039
3019
  # CONFIG_PACKAGE_cdp-tools is not set
3040
- CONFIG_PACKAGE_chat=y
3020
+ # CONFIG_PACKAGE_chat is not set
3041
3021
  # CONFIG_PACKAGE_cifsmount is not set
3042
3022
  # CONFIG_PACKAGE_crda is not set
3043
3023
  # CONFIG_PACKAGE_cups is not set
@@ -3568,7 +3548,7 @@ CONFIG_PACKAGE_ubusd=y
3568
3548
  # CONFIG_PACKAGE_clish is not set
3569
3549
  # CONFIG_PACKAGE_cmdpad is not set
3570
3550
  # CONFIG_PACKAGE_collectd is not set
3571
- CONFIG_PACKAGE_comgt=y
3551
+ # CONFIG_PACKAGE_comgt is not set
3572
3552
  # CONFIG_PACKAGE_coreutils is not set
3573
3553
  # CONFIG_PACKAGE_cpusage is not set
3574
3554
  # CONFIG_PACKAGE_crypto-tools is not set
@@ -3734,11 +3714,10 @@ CONFIG_PACKAGE_jshn=y
3734
3714
  # CONFIG_PACKAGE_triggerhappy is not set
3735
3715
  CONFIG_PACKAGE_uboot-envtools=y
3736
3716
  # CONFIG_PACKAGE_upx is not set
3737
- CONFIG_PACKAGE_usb-modeswitch=y
3738
- CONFIG_PACKAGE_usb-modeswitch-data=y
3717
+ # CONFIG_PACKAGE_usb-modeswitch is not set
3739
3718
  # CONFIG_PACKAGE_usbmuxd is not set
3740
3719
  # CONFIG_PACKAGE_usbreset is not set
3741
- CONFIG_PACKAGE_usbutils=y
3720
+ # CONFIG_PACKAGE_usbutils is not set
3742
3721
  # CONFIG_PACKAGE_uuidd is not set
3743
3722
  # CONFIG_PACKAGE_uuidgen is not set
3744
3723
  # CONFIG_PACKAGE_v4l-utils is not set
@@ -0,0 +1,4 @@
1
+ ---
2
+ - name: default
3
+ desc: Default image layout, with just the basic dot_config generated by `make menuconfig` in a clean buildroot
4
+ type: rootfs
@@ -1,5 +1,10 @@
1
1
  $openwrt_source_url = "git://nbd.name/${::openwrt_release}.git"
2
2
 
3
+ $user = 'ops'
4
+ $user_home = "/home/${user}"
5
+
6
+ $buildroot_path = "${user_home}/${::openwrt_release}"
7
+
3
8
  $openwrt_build_deps = [
4
9
  'subversion',
5
10
  'git-core',
@@ -13,23 +18,21 @@ $openwrt_build_deps = [
13
18
  'build-essential',
14
19
  ]
15
20
 
16
- $buildroot_path = "/home/ops/${::openwrt_release}"
17
-
18
21
  package { $openwrt_build_deps:
19
22
  ensure => installed,
20
- before => Exec['checkout buildroot'],
23
+ before => Exec['buildroot_init'],
21
24
  }
22
25
 
23
- user { 'ops':
26
+ user { $user:
24
27
  ensure => present,
25
- home => '/home/ops',
26
- groups => 'ops',
28
+ home => $user_home,
29
+ groups => $user,
27
30
  }
28
31
 
29
- exec { 'checkout buildroot':
32
+ exec { 'buildroot_init':
30
33
  command => "git clone ${openwrt_source_url} ${buildroot_path}",
31
- user => 'ops',
34
+ user => $user,
32
35
  creates => $buildroot_path,
33
- require => User['ops'],
36
+ require => User[$user],
34
37
  path => ['/bin', '/usr/bin'],
35
38
  }
@@ -0,0 +1,10 @@
1
+ require 'pathname'
2
+
3
+ module Wilbur
4
+ class << self
5
+ # @return [Pathname]
6
+ def root
7
+ @root ||= Pathname.new(File.expand_path('..', File.dirname(__FILE__)))
8
+ end
9
+ end
10
+ end
@@ -0,0 +1,27 @@
1
+ require 'wilbur'
2
+
3
+ require 'thor'
4
+ require 'pathname'
5
+
6
+ module Wilbur
7
+ class CLI < Thor
8
+ include Thor::Actions
9
+
10
+ class << self
11
+ def source_root
12
+ Wilbur.root.join('catalog_skeleton')
13
+ end
14
+ end
15
+
16
+ desc "init", "Initialize a new Wilbur catalog in the current directory"
17
+ def init
18
+ Pathname.glob(self.class.source_root.join('**/*'))
19
+ .select { |path| path.file? }
20
+ .map { |path| path.relative_path_from self.class.source_root }
21
+ .delete_if { |path| path == Pathname.new('README.md') }.each do |path|
22
+
23
+ template path
24
+ end
25
+ end
26
+ end
27
+ end
@@ -1,3 +1,3 @@
1
1
  module Wilbur
2
- Version = VERSION = '0.0.1'.freeze
2
+ Version = VERSION = '0.0.2'.freeze
3
3
  end
@@ -0,0 +1,39 @@
1
+ require 'test_helper'
2
+
3
+ describe "wilbur init" do
4
+ before do
5
+ @cwd = Dir.pwd
6
+ @working_dir = Dir.mktmpdir("wilbur")
7
+ FileUtils.cd @working_dir
8
+ end
9
+
10
+ after do
11
+ FileUtils.cd @cwd
12
+ FileUtils.rm_rf @working_dir
13
+ end
14
+
15
+ it "initializes a Wilbur catalog in the current directory" do
16
+ capture_io { Wilbur::CLI.start %w{ init } }
17
+
18
+ filesystem {
19
+ file 'Gemfile'
20
+ file 'Vagrantfile'
21
+ file 'openwrt_release'
22
+ dir 'layouts' do
23
+ file 'layouts.yml'
24
+ dir 'default' do
25
+ file 'dot_config'
26
+ end
27
+ end
28
+ dir 'provisioning' do
29
+ dir 'manifests' do
30
+ file 'builder.pp'
31
+ file 'provisioner.pp'
32
+ end
33
+ dir 'scripts' do
34
+ file 'openwrt_release.sh'
35
+ end
36
+ end
37
+ }.must_exist_within(@working_dir)
38
+ end
39
+ end
@@ -0,0 +1,12 @@
1
+ require 'coveralls'
2
+ Coveralls.wear!
3
+
4
+ require 'minitest/autorun'
5
+ require 'minitest/pride'
6
+ require 'minitest/spec'
7
+ require 'minitest/filesystem'
8
+
9
+ require 'fileutils'
10
+ require 'tmpdir'
11
+
12
+ require 'wilbur/cli'
@@ -6,8 +6,8 @@ Gem::Specification.new do |s|
6
6
  s.version = Wilbur::Version
7
7
  s.summary = "Wilbur is a CLI tool that automates OpenWRT building process."
8
8
  s.homepage = "https://github.com/stefanozanella/wilbur"
9
- s.email = ["zanella.stefano@gmail.com"]
10
9
  s.authors = ["Stefano Zanella"]
10
+ s.email = ["zanella.stefano@gmail.com"]
11
11
 
12
12
  s.files = `git ls-files`.split($/)
13
13
  s.executables = s.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
@@ -22,6 +22,7 @@ Gem::Specification.new do |s|
22
22
 
23
23
  s.add_development_dependency "rake"
24
24
  s.add_development_dependency "minitest"
25
+ s.add_development_dependency "minitest-filesystem"
25
26
  s.add_development_dependency "coveralls"
26
27
 
27
28
  s.description = %s{
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wilbur
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stefano Zanella
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-06-11 00:00:00.000000000 Z
11
+ date: 2013-06-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -66,6 +66,20 @@ dependencies:
66
66
  - - '>='
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: minitest-filesystem
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - '>='
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - '>='
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
69
83
  - !ruby/object:Gem::Dependency
70
84
  name: coveralls
71
85
  requirement: !ruby/object:Gem::Requirement
@@ -90,26 +104,35 @@ description: "\n Wilbur is primarly a wrapper around OpenWRT Buildroot.\n
90
104
  deployments via\n network boot if your device support it.\n "
91
105
  email:
92
106
  - zanella.stefano@gmail.com
93
- executables: []
107
+ executables:
108
+ - wilbur
94
109
  extensions: []
95
110
  extra_rdoc_files:
96
111
  - README.md
97
112
  files:
98
113
  - .gitignore
99
114
  - .ruby-version
115
+ - .travis.yml
100
116
  - Gemfile
101
117
  - README.md
102
118
  - Rakefile
103
119
  - Thorfile
104
- - Vagrantfile
105
- - flavors/README.md
106
- - flavors/ar71xx_nand_3g_usb/dot_config
107
- - flavors/flavors.yml
120
+ - bin/wilbur
121
+ - catalog_skeleton/Gemfile
122
+ - catalog_skeleton/README.md
123
+ - catalog_skeleton/Vagrantfile
124
+ - catalog_skeleton/layouts/README.md
125
+ - catalog_skeleton/layouts/default/dot_config
126
+ - catalog_skeleton/layouts/layouts.yml
127
+ - catalog_skeleton/openwrt_release
128
+ - catalog_skeleton/provisioning/manifests/builder.pp
129
+ - catalog_skeleton/provisioning/manifests/provisioner.pp
130
+ - catalog_skeleton/provisioning/scripts/openwrt_release.sh
131
+ - lib/wilbur.rb
132
+ - lib/wilbur/cli.rb
108
133
  - lib/wilbur/version.rb
109
- - openwrt_release
110
- - provisioning/manifests/builder.pp
111
- - provisioning/manifests/provisioner.pp
112
- - provisioning/scripts/openwrt_release.sh
134
+ - test/end_to_end/init_command_test.rb
135
+ - test/test_helper.rb
113
136
  - wilbur.gemspec
114
137
  homepage: https://github.com/stefanozanella/wilbur
115
138
  licenses: []
@@ -135,4 +158,6 @@ rubygems_version: 2.0.2
135
158
  signing_key:
136
159
  specification_version: 4
137
160
  summary: Wilbur is a CLI tool that automates OpenWRT building process.
138
- test_files: []
161
+ test_files:
162
+ - test/end_to_end/init_command_test.rb
163
+ - test/test_helper.rb
@@ -1,4 +0,0 @@
1
- ---
2
- - name: ar71xx_nand_3g_usb
3
- desc: Minimal image for AR71xx architecture with NAND flash (mostly MikroTik) with support for 3G connectivity over USB
4
- type: rootfs