tvd-tvdinner 0.0.17 → 0.0.18

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.17
1
+ 0.0.18
@@ -65,10 +65,8 @@ cookbook_file "#{node[:release_dir]}/LICENSE" do
65
65
  source "LICENSE"
66
66
  end
67
67
 
68
- [ "lib", "lib/#{node[:tvd][:name]}" ].each do |d|
69
- directory "#{node[:release_dir]}/#{d}" do
70
- mode 00755
71
- end
68
+ directory "#{node[:release_dir]}/lib/#{node[:tvd][:name]}" do
69
+ mode 00755
72
70
  end
73
71
 
74
72
  template "#{node[:release_dir]}/lib/tvd-#{node[:tvd][:name]}.rb" do
@@ -1,9 +1,9 @@
1
- require "development"
2
-
3
1
  source "https://rubygems.org"
4
2
 
5
3
  gemspec
6
4
 
5
+ require "development"
6
+
7
7
  gem "tvd-tvdinner" unless File.exists?(File.expand_path("../tvd-tvdinner.gemspec", __FILE__))
8
8
  gem "chefspec"
9
9
  gem "minitest-chef-handler"
@@ -5,7 +5,7 @@ require "tvd-<%= node[:tvd][:name] %>/version"
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "tvd-<%= node[:tvd][:name] %>"
8
- s.version = ENV['EDIT_tvd_vagrant'] ? "#{TVDinner::<%= node[:tvd][:class] %>::VERSION}.rc#{%x(git log --max-count=1 --pretty=format:%ct)}" : TVDinner::<%= node[:tvd][:class] %>::VERSION
8
+ s.version = ENV['EDIT_<%= node[:tvd][:name].gsub(/[-]/,"_") %>'] ? "#{TVDinner::<%= node[:tvd][:class] %>::VERSION}.rc#{%x(git log --max-count=1 --pretty=format:%ct)}" : TVDinner::<%= node[:tvd][:class] %>::VERSION
9
9
  s.homepage = "<%= node[:tvd][:homepage] %>"
10
10
  s.license = "Apache 2.0"
11
11
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tvd-tvdinner
3
3
  version: !ruby/object:Gem::Version
4
- hash: 61
4
+ hash: 59
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 17
10
- version: 0.0.17
9
+ - 18
10
+ version: 0.0.18
11
11
  platform: ruby
12
12
  authors:
13
13
  - Tom Bombadil