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 +4 -4
- data/History.md +4 -0
- data/chef-gen-flavor-example.gemspec +3 -3
- data/lib/chef_gen/flavor/example.rb +2 -2
- data/lib/chef_gen/flavor/example2.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4e8cdef768e9980cc457057886c0beeafe9fa2aa
|
|
4
|
+
data.tar.gz: fa3ad509a930a7f618fa581a838219be5fd440da
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ecfd9fe004609354243e65d19cd1439bd3cf117befcbb766a5ef11e99a9857977a32360a106946f07f7eb8e4c7b8590cca1521f41604ff8383dad1a8eb769add
|
|
7
|
+
data.tar.gz: d0623a311743c18466076133c7d7e71e3170a90b7692c5b36fe327f5cdb774a70eedf6981a7ac669437cd14ec506ccb5fc09f98e63e71b03ec2bc30c61093d09
|
data/History.md
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
|
2
|
-
# stub: chef-gen-flavor-example 0.6.
|
|
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.
|
|
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-
|
|
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.
|
|
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.
|
|
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.
|
|
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-
|
|
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
|