chef-gen-flavor-example 0.6.0 → 0.6.1

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: a20b3d8328c9bd9edd3e83d34ee9c8c8e6ded651
4
- data.tar.gz: ab15529d579b8be432cf504034cf98955c647ebe
3
+ metadata.gz: 4e8cdef768e9980cc457057886c0beeafe9fa2aa
4
+ data.tar.gz: fa3ad509a930a7f618fa581a838219be5fd440da
5
5
  SHA512:
6
- metadata.gz: 755ea8b3b2ef8e21b3ce4cd25149a45db44ddd58deb33f5ff2a8f7f2d2cf650092f40c820bc52504165826442b1c8d37c4b2693a857f4d77ddf586e461f11792
7
- data.tar.gz: 1d0e474dce1159cdcfe06a8b41be29c880f4d958a88aad0e59d9cd3221dbc90d6a47cc042e1e09cf1f800b7fb3c69c5539b98e5f14ebe2072c0bec9cd70dd326
6
+ metadata.gz: ecfd9fe004609354243e65d19cd1439bd3cf117befcbb766a5ef11e99a9857977a32360a106946f07f7eb8e4c7b8590cca1521f41604ff8383dad1a8eb769add
7
+ data.tar.gz: d0623a311743c18466076133c7d7e71e3170a90b7692c5b36fe327f5cdb774a70eedf6981a7ac669437cd14ec506ccb5fc09f98e63e71b03ec2bc30c61093d09
data/History.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog for chef-gen-flavor-example
2
2
 
3
+ ## 0.6.1
4
+
5
+ * update for chef-gen-flavor-base 0.9.1
6
+
3
7
  ## 0.6.0
4
8
 
5
9
  * update for compatibility with chef-gen-flavor-base 0.9.0
@@ -1,14 +1,14 @@
1
1
  # -*- encoding: utf-8 -*-
2
- # stub: chef-gen-flavor-example 0.6.0.20150909153225 ruby lib
2
+ # stub: chef-gen-flavor-example 0.6.1.20150910102445 ruby lib
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "chef-gen-flavor-example"
6
- s.version = "0.6.0.20150909153225"
6
+ s.version = "0.6.1.20150910102445"
7
7
 
8
8
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
9
9
  s.require_paths = ["lib"]
10
10
  s.authors = ["James FitzGibbon"]
11
- s.date = "2015-09-09"
11
+ s.date = "2015-09-10"
12
12
  s.description = "An example plugin for [chef-gen-flavors](https://rubygems.org/gems/chef-gen-flavors).\n\nThis plugin makes use of all the snippets provided by\nchef-gen-flavor-base, is meant as a reference implementation than for\nactual use. It demonstrates how to create a flavor with tests and serves\nas a good example of how to get started writing your own flavors for\ndistribution.\n\nThere are two flavors in this gem:\n\n* example: includes all the snippets in their default form\n* example2: inherits from example but removes ExampleFile and ExampleTemplate from the list of snippets to use"
13
13
  s.email = ["james.i.fitzgibbon@jf647.com"]
14
14
  s.extra_rdoc_files = ["History.md", "Manifest.txt", "README.md"]
@@ -9,7 +9,7 @@ module ChefGen
9
9
  class Example < ChefGen::FlavorBase
10
10
  NAME = 'example'
11
11
  DESC = 'include ALL the snippets'
12
- VERSION = '0.6.0'
12
+ VERSION = '0.6.1'
13
13
 
14
14
  def initialize(temp_path: nil, type: nil, recipe: nil)
15
15
  super
@@ -34,7 +34,7 @@ module ChefGen
34
34
  end
35
35
 
36
36
  do_add_content do
37
- @tocopy << [File.expand_path(File.join(static_content_path(__FILE__))) + '/.']
37
+ @tocopy << [File.expand_path(File.join(static_content_path(__FILE__, 'example'))) + '/.']
38
38
  end
39
39
  end
40
40
  end
@@ -8,7 +8,7 @@ module ChefGen
8
8
  class Example2 < ChefGen::Flavor::Example
9
9
  NAME = 'example2'
10
10
  DESC = 'remove example files'
11
- VERSION = '0.6.0'
11
+ VERSION = '0.6.1'
12
12
 
13
13
  def initialize(temp_path: nil, type: nil, recipe: nil)
14
14
  super
@@ -19,7 +19,7 @@ module ChefGen
19
19
  end
20
20
 
21
21
  do_add_content do
22
- @tocopy << [File.expand_path(File.join(static_content_path(__FILE__))) + '/.']
22
+ @tocopy << [File.expand_path(File.join(static_content_path(__FILE__, 'example2'))) + '/.']
23
23
  end
24
24
  end
25
25
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chef-gen-flavor-example
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - James FitzGibbon
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-09 00:00:00.000000000 Z
11
+ date: 2015-09-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: chef-gen-flavor-base