falkorlib 0.7.13 → 0.7.14

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: 1241d0b0ac6c35f26b8bc4c6cd4590f87da72adc
4
- data.tar.gz: 42b0b755cf2d606c68f2f43b3059111842eeac4c
3
+ metadata.gz: 5f96b7e36009e31c6d9eed26df3617c53101bdcf
4
+ data.tar.gz: 3d8dc321a00e3592917e33650345c3aadab3fa6f
5
5
  SHA512:
6
- metadata.gz: 0c3b9749fe46d00311ec2b88d75d93e4f29ce546804902dfa78f021f4c39b8c807b16b05dcb7028600d32b4be8b11d47ff935b460cf441e694311d346d80cf87
7
- data.tar.gz: d7cbee49ac0992c9ab5a2148a6e6fa2228eb11eb9fef52f58ae3924c4238028b0890aa02377a17119185c9d3e2b0d7eef3f6e6b4916787028705d1385512586d
6
+ metadata.gz: 0203e66c8c90616d7e253f38f7e56e9f1c46638afdfb4f4224a5eb9e96d09024bdbbe42defbe13d00d276b7ec1079529d70bf7ebd34c5003d8ceffafee036459
7
+ data.tar.gz: 114dcd3403f15da7b3fc37c63e4597bc254c21e5a8d66fffffafc3028f33be80f3f54a09c70b8470c3d910c70b784b1c52749e884dbf8be0cbb5e1ef80cca9de
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- falkorlib (0.7.13)
4
+ falkorlib (0.7.14)
5
5
  activesupport (~> 4.0)
6
6
  artii (>= 2.1)
7
7
  awesome_print (~> 1.2)
@@ -1,6 +1,6 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
  ################################################################################
3
- # Time-stamp: <Fri 2018-04-27 13:57 svarrette>
3
+ # Time-stamp: <Fri 2018-04-27 16:34 svarrette>
4
4
  ################################################################################
5
5
  # Interface for Bootstrapping MkDocs
6
6
  #
@@ -47,12 +47,13 @@ module FalkorLib
47
47
  init_from_template(templatedir, rootdir, config,
48
48
  :no_interaction => true,
49
49
  :no_commit => true)
50
- # Dir.chdir( File.join(rootdir, 'docs')) do
51
- # run %(ln -s README.md index.md )
50
+ Dir.chdir( rootdir ) do
51
+ run %(git ignore '.vagrant/' )
52
+ # run %(ln -s README.md index.md )
52
53
  # run %(ln -s README.md contributing/index.md )
53
54
  # run %(ln -s README.md setup/index.md )
54
- # end
55
- #exit_status.to_i
55
+ end
56
+ exit_status.to_i
56
57
  end # vagrant
57
58
 
58
59
  end # module Bootstrap
@@ -19,7 +19,7 @@ module FalkorLib #:nodoc:
19
19
  # MAJOR: Defines the major version
20
20
  # MINOR: Defines the minor version
21
21
  # PATCH: Defines the patch version
22
- MAJOR, MINOR, PATCH = 0, 7, 13
22
+ MAJOR, MINOR, PATCH = 0, 7, 14
23
23
 
24
24
  module_function
25
25
 
@@ -1,6 +1,6 @@
1
1
  # -*- mode: ruby -*-
2
2
  # vi: set ft=ruby :
3
- # Time-stamp: <Fri 2018-04-27 15:36 svarrette>
3
+ # Time-stamp: <Fri 2018-04-27 16:31 svarrette>
4
4
  ###########################################################################################
5
5
  # __ __ _ __ _ _
6
6
  # \ \ / /_ _ __ _ _ __ __ _ _ __ | |_ / _(_) | ___
@@ -144,13 +144,13 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
144
144
 
145
145
  #__________________________________
146
146
  settings[:vms].each do |name, node|
147
- hostname = name
147
+ hostname = node[:hostname] ? node[:hostname] : name
148
148
  domain = network[:domain]
149
149
  fqdn = "#{hostname}.#{domain}"
150
- os = defaults[:os].to_sym
151
- ram = defaults[:ram]
152
- vcpus = defaults[:vcpus]
153
- desc = 'n/a'
150
+ os = node[:os] ? node[:os].to_sym : defaults[:os].to_sym
151
+ ram = node[:ram] ? node[:ram] : defaults[:ram]
152
+ vcpus = node[:vcpus] ? node[:vcpus] : defaults[:vcpus]
153
+ desc = node[:desc] ? node[:desc] : 'n/a'
154
154
 
155
155
  abort "Non-existing box OS '#{os}' for the VM '#{name}'" if settings[:boxes][os.to_sym].nil?
156
156
  abort "Empty IP address range" if ip_range.empty?
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: falkorlib
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.13
4
+ version: 0.7.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sebastien Varrette