kameleon-builder 2.3.3 → 2.3.4

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: 1f207b02d46c496660b255e40159798760304278
4
- data.tar.gz: 7f7833890e5fe3a60bf922b99a5e84603cf34ac9
3
+ metadata.gz: 7204c5d93f698ee3b1dfadf9f184c87348b659a3
4
+ data.tar.gz: 2bb76cccb00fe51182001159f9701372a4e1b3b0
5
5
  SHA512:
6
- metadata.gz: ad4db58b04ddcd23868e650712603be2345237278b75698062de0c146c3cf54800bb92d97f40b5f71329adba9ad8bc00c26c3fa10ad53df372ab17d42f8df752
7
- data.tar.gz: 46e1f4e26176f3658840a46969b78de8ff2646ce595cf937f90296b939d61f4c6ee908edeb9d8531da5f3439ac3efb6514b4eb10d953a11c292676f0bc7d7a7f
6
+ metadata.gz: e71d6b9f9099e5607671b8c7b3d42a97692886d80e96e13a62185662d58baaf2bfb6ab49d6252f18c3bb391225707ac44a79050c4c86c57d3462a32875519a79
7
+ data.tar.gz: 52b3bfd0fc08e6dadfdab885c1974fc363d74f6a7f276214a83654349fc57dfcad636c9363f85d6b4d548adbf9d4cff2a679dfcf1a6a2390378c7a5ce76cbd5f
data/CHANGELOG.rst CHANGED
@@ -1,6 +1,14 @@
1
1
  Kameleon CHANGELOG
2
2
  ==================
3
3
 
4
+ version 2.3.4
5
+ -------------
6
+
7
+ Released on Nov 26th 2014
8
+
9
+ - Fixed kameleon 2.3.3 regressions about the template import
10
+
11
+
4
12
  version 2.3.3
5
13
  -------------
6
14
 
data/lib/kameleon/cli.rb CHANGED
@@ -49,6 +49,7 @@ module Kameleon
49
49
 
50
50
  desc "import [TEMPLATE_NAME]", "Imports the given template"
51
51
  def import(template_name)
52
+ Kameleon.env.root_dir = Kameleon.env.repositories_path
52
53
  template_path = File.join(Kameleon.env.repositories_path, template_name)
53
54
  unless template_name.end_with? '.yaml'
54
55
  template_path = template_path + '.yaml'
@@ -71,6 +72,7 @@ module Kameleon
71
72
 
72
73
  desc "info [TEMPLATE_NAME]", "Display detailed information about a template"
73
74
  def info(template_name)
75
+ Kameleon.env.root_dir = Kameleon.env.repositories_path
74
76
  template_path = File.join(Kameleon.env.repositories_path, template_name)
75
77
  unless template_name.end_with? '.yaml'
76
78
  template_path = template_path + '.yaml'
@@ -117,6 +119,7 @@ module Kameleon
117
119
 
118
120
  desc "new [RECIPE_PATH] [TEMPLATE_NAME]", "Creates a new recipe"
119
121
  def new(recipe_path, template_name)
122
+ Kameleon.env.root_dir = Kameleon.env.repositories_path
120
123
  unless template_name.end_with? '.yaml'
121
124
  template_name = template_name + '.yaml'
122
125
  end
data/version.txt CHANGED
@@ -1 +1 @@
1
- 2.3.3
1
+ 2.3.4
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.3
4
+ version: 2.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Salem Harrache