ops_build 1.1.7 → 1.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d93fc653a69fb212ba84521c004e2481cafac1df
4
- data.tar.gz: 2f80c78d72fb0cdd9939e24fbc7dfe474f47e02f
3
+ metadata.gz: 2528e5176a23cc28889838463e448c97870bd91f
4
+ data.tar.gz: 49f830cde911d80941f37fab0bfeffdd79d8d9b7
5
5
  SHA512:
6
- metadata.gz: 2073d89f1f125a5e8cec4b3a5113d8575e4b21153e9ebad6d8cb86caf00959b81d5dd4442fc63ceccf7e3bdb6a0dfbe935bd256aabab32cbbd80f40d06894f5f
7
- data.tar.gz: 379d8d6894b8b5aa3c910e2f6cfab6a66656eca491b55f4658238ca23c39e3b396585f376b3bb808532826558129d00367094e5857dd3049a0d2ce12898e44f4
6
+ metadata.gz: 54821bb3295dd630a23713b88a3f333e4db6392292f57d61bafb89aae2a153a78c998c1ea6eb94374e7d566bbf17734c12bca546674982ef4fc0b7b5e07b9350
7
+ data.tar.gz: 3b48388784e59802bb2ff57c6cdce3351b03081ec8f06d742a3bf1cd54f603ae41fc83084e3dca9b64eb4e0e50e4295f368ab4ef30651467e6325018e9d7361a
@@ -22,7 +22,7 @@ module OpsBuild
22
22
 
23
23
  Dir.glob("#{@dir}/*.box").each do |path|
24
24
  filename = File.basename(path)
25
- m = /^#{@name}[\_\-](?<version>[0-9]+(\.[0-9]+){3,}(\-[0-9]+)?)\.box$/.match(filename)
25
+ m = /^#{@name}[\_\-](?<version>[0-9]+(\.[0-9A-Z]+){1,}([\-\.][0-9]+))\.box$/.match(filename)
26
26
  next if m.nil?
27
27
 
28
28
  OpsBuild.logger.debug("Found box '#{filename}'")
@@ -64,6 +64,8 @@ module OpsBuild
64
64
  path = File.expand_path(path)
65
65
  raise "Vagrantfile #{path} not found!" unless File.exists?(path)
66
66
 
67
+ # TODO: parse jason params -> 'base_url'
68
+
67
69
  env = { 'VAGRANT_CWD' => File.dirname(path) }
68
70
  if options[:params]
69
71
  raise "JSON #{options[:params]} not found!" unless File.exists?(options[:params])
@@ -90,6 +92,7 @@ module OpsBuild
90
92
  log_prefix: 'vagrant',
91
93
  env: env
92
94
  )
95
+ # TODO: vboxmanage
93
96
  end
94
97
  end
95
98
  end
@@ -1,3 +1,3 @@
1
1
  module OpsBuild
2
- VERSION = '1.1.7'
2
+ VERSION = '1.1.8'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ops_build
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.7
4
+ version: 1.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - HAMSIK Adam
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-26 00:00:00.000000000 Z
11
+ date: 2015-02-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor