kameleon-builder 2.3.1 → 2.3.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: 831efdcaf699199841a69c3d9ab2bff0e94ebf5a
4
- data.tar.gz: f44e03a1c234a92ca5121f9b4763d6e346a3719e
3
+ metadata.gz: 3502f7bd5d33a589f771b80c5e3be99c8c80a800
4
+ data.tar.gz: 39aab439f0edd4f124ed6497f7bc924b0dfb41a3
5
5
  SHA512:
6
- metadata.gz: cdaca07b09b3d7dabf2e84173df798e1243e14ee7657391bdc0ff86e59fc1e7d5db1b2a082c32ea90b17e7f5ec82c7a7945a8bcbdc747a7465faa1ebde31921a
7
- data.tar.gz: e7039527062c70fca73b71324e2109d20b8b372c7172f4de8ecb518d1d6fbaa971922d1feb002c6a4458b4886d53bbcb25471265b5d9196b8a356c6fdbc8b26e
6
+ metadata.gz: 4777200f4ef5b2ccae8afc2cb0f5d5d7017921954a204bda4718cc3722424eb53f00fddfc9b8a96bab45cf886a388cb574a48747669d77d23c253b34b6cde802
7
+ data.tar.gz: 8eb860cbf58b0f43622b26073e0151bab552b0726a25992636839ba42bf3cd6f7a52a6212e208dbac9780cd7b8091c161ec2bf761dd4a6a0585fdb0c331903c9
data/CHANGELOG.rst CHANGED
@@ -1,6 +1,13 @@
1
1
  Kameleon CHANGELOG
2
2
  ==================
3
3
 
4
+ version 2.3.2
5
+ -------------
6
+
7
+ Released on Nov 20th 2014
8
+
9
+ - Search steps directories in the workspace first.
10
+
4
11
  version 2.3.1
5
12
  -------------
6
13
 
data/README.rst CHANGED
@@ -8,4 +8,4 @@ VirtualBox, iso images, ..., but as it is designed to be very generic you can
8
8
  probably do a lot more than that.
9
9
 
10
10
  * Latest documentation: http://kameleon.imag.fr/getting_started.html
11
- * Source code and issue tracker: https://github.com/Kozea/WeasyPrint
11
+ * Source code and issue tracker: https://github.com/oar-team/kameleon
@@ -38,7 +38,10 @@ module Kameleon
38
38
  @files = []
39
39
  Kameleon.ui.debug("Initialize new recipe (#{path})")
40
40
  @base_recipes_files = [@path]
41
- @steps_dirs = []
41
+ @steps_dirs = [
42
+ File.expand_path(File.join(Kameleon.env.workspace, 'steps')),
43
+ File.expand_path(File.join(Kameleon.env.workspace, '.steps')),
44
+ ]
42
45
  load! :strict => false
43
46
  end
44
47
 
@@ -56,14 +59,12 @@ module Kameleon
56
59
  yaml_recipe.delete("extend")
57
60
 
58
61
  # Where we can find steps
59
- @steps_dirs = @base_recipes_files.map do |recipe_path|
62
+ @base_recipes_files.each do |recipe_path|
60
63
  dirname = File.dirname(recipe_path)
61
- [ File.expand_path(File.join(dirname, 'steps')),
62
- File.expand_path(File.join(dirname, '.steps')),
63
- File.expand_path(File.join(dirname, '..', 'steps')),
64
- File.expand_path(File.join(dirname, '..', '.steps')),
65
- ]
66
- end.flatten(1)
64
+ @steps_dirs.push(File.expand_path(File.join(dirname, 'steps')))
65
+ @steps_dirs.push(File.expand_path(File.join(dirname, '.steps')))
66
+ end
67
+ @steps_dirs.uniq!
67
68
 
68
69
  # Load Global variables
69
70
  @global.merge!(yaml_recipe.fetch("global", {}))
data/version.txt CHANGED
@@ -1 +1 @@
1
- 2.3.1
1
+ 2.3.2
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kameleon-builder
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.1
4
+ version: 2.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Salem Harrache
@@ -12,7 +12,7 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2014-11-05 00:00:00.000000000 Z
15
+ date: 2014-11-20 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: childprocess