lambom 0.3.0 → 0.3.1

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: 3ce72548d2ff27eccb372a4fd551a8971d34d43e
4
- data.tar.gz: 1af745f60db54157d00740f1c2a45da1c9fa044f
3
+ metadata.gz: 350b4921477a12962e8c693f9205550d427fc3af
4
+ data.tar.gz: 0f1a47f164fab67970f8b10fb005eb13a9b99a30
5
5
  SHA512:
6
- metadata.gz: 44685c7d98a1bab4239cd2e9a3d703e5a7cfa692e722530ce82638327e81a3de66421e41b72ee7fcdc67f3c89d9114c0c60dcb95eed7781db56960e6accbedd2
7
- data.tar.gz: 28019193befccc3a45d83acec87f68219b13ec9c05c0252586247e48969559786e8430a944548f186dd27935d2347289ff63e1911213fc695d6ce1b6d16cc5fc
6
+ metadata.gz: 3f82923d56585ecb9d3d8337be224a84ce1f31d6874d95769a22bf70c56710a828b100e2cf89719ef890638465e6042185b5d04a59660d0ac37c051d48655af2
7
+ data.tar.gz: 7bf448f675c69a365a316cb96268b90e10ba404426da7c0ce05f9a46fc727fd02cea167bf57148f0f0ac5eb1fee0cad7c01829b41399feccd980f86efcb7f62f
data/lambom.gemspec CHANGED
@@ -19,7 +19,9 @@ Gem::Specification.new do |s|
19
19
  s.add_runtime_dependency "oj","~> 2.0"
20
20
  s.add_runtime_dependency "mixlib-authentication","~> 1.3"
21
21
  s.add_runtime_dependency "mixlib-shellout","~> 1.3"
22
-
22
+
23
+ s.add_development_dependency "rspec", "~> 2.0"
24
+
23
25
  s.homepage =
24
26
  'https://github.com/RIYIC/lambom'
25
27
  end
@@ -99,9 +99,11 @@ EOF
99
99
  def descargar_cookbooks
100
100
  unless (conf.environment == 'development')
101
101
  # aqui podemos meter unha ejecucion de berkshelf para descargar os cookbooks necesarios
102
- run_cmd('curl','-o','/tmp/cookbooks.tar.gz', '-L',COOKBOOKS_URL)
102
+ temp = "/tmp/cookbooks.tar.gz"
103
+ run_cmd('curl','-o',temp, '-L',COOKBOOKS_URL)
103
104
  FileUtils.mkdir_p(DEFAULT_CHEF_PATH) unless File.directory?(DEFAULT_CHEF_PATH)
104
- run_cmd('tar','xzf','/tmp/cookbooks.tar.gz','--no-same-owner','-C', DEFAULT_CHEF_PATH);
105
+ run_cmd('tar','xzf',temp,'--no-same-owner','-C', DEFAULT_CHEF_PATH)
106
+ File.unlink(temp)
105
107
  end
106
108
  end
107
109
 
@@ -1,3 +1,3 @@
1
1
  module Lambom
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lambom
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - J. Gomez
@@ -52,6 +52,20 @@ dependencies:
52
52
  - - ~>
53
53
  - !ruby/object:Gem::Version
54
54
  version: '1.3'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rspec
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: '2.0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ~>
67
+ - !ruby/object:Gem::Version
68
+ version: '2.0'
55
69
  description: Riyic is a server configuration service based on chef (http://riyic.com).
56
70
  The lambom gem is a tool to apply, through chef-solo, your riyic configurations
57
71
  in your server