chefdk-julia 0.4.2 → 0.4.3

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,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YzlmNDRjMTFjNmYyZTlhY2U5MzAyMGY5ODNlZGY2YTk0MjljNDY1NA==
4
+ OTY5MTAxOGM1MDY0MjA5ZTEwYmExNTNhOGU3ZDdmYzIxOTkyN2Y0OA==
5
5
  data.tar.gz: !binary |-
6
- YTRjMDBhYzQ2NWZmZDRkMWVjMzI2Mzg5NGQ3YWIzMTMxYzEwY2Q1Zg==
6
+ YTJjZWNjODNiODJhZDQ3MDczYTczOWVkZDg0NDE5ODNlOWRmY2ZhYw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ZGRhNzc2Njg3NWI3MTIzZWMzMjVlZWMxNjViMWZmOTM5ZmU0MjJjZDQ1N2Vi
10
- NDFlMzZmYzc2NGE3NTFlMGNhZmMxODdiMDA2YzEyM2NkMWIzZTFhMjYzMTU5
11
- NGNkNmM5NzFmYzk3NGJhZTgxOWFhNmEwZjdhZDljNGQ4ODQzMTI=
9
+ NmE4YmYwODRjOTViYTFiMmYzNzU5ZjNhMTE0ZjFiNTcxZTA1Mjg3MTQwYmY5
10
+ ODMwNWNmMmU5Zjc5Nzc3ZDcxOGFiZmVjYzI0MWNiODMzMjZmMTgxNGI5ODc4
11
+ ODNiNWVmYmJhNWRkYTYzMGYwYTY5ZTRiNTdjYjg4YmE4ZWRiY2M=
12
12
  data.tar.gz: !binary |-
13
- Y2NmOWUxNzRjZTdhZTQzNTU2ZWI1MjAyY2VkMWU1NzA0OWYwZWZjYjExMzRl
14
- MjAyMThiZDk3OWI5NTkzYzc0ZjY5NGE5OTE4ZGExNzU1NWM1N2VmMDU4NTU4
15
- YjE4ZDE4NzcxNzM4YzgyZjhmOWRlZDcwYzJkZGVlNTViYTRhNDY=
13
+ Mzg0NmI0NGM3ZTcxMjFlMTk3N2NkNjgzMmI5NjdhZjRlYjFlZDJkZWU2NDIw
14
+ MDJkNzQ5MTk3OGM4MTRkYmZmYjBjZDQyODcxNDYwOWVhMGFiN2U4ZmIwNjQy
15
+ MmYxMjA0Y2ZkNGIzY2U2ZGU5ZDRhMWQwOTVlMDRjY2QwMmNjYTA=
data/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # Changelog for chefdk-julia
2
2
 
3
+ ## 0.4.3
4
+ * Update README and gem post-install message with correct require statement
5
+
3
6
  ## 0.4.2
4
7
  * Fix ERROR: Could not find cookbook(s) to satisfy run list ["recipe[chefdk-julia-0.4.1::cookbook]"]
5
8
  See https://github.com/chef/chef-dk/issues/633
data/README.md CHANGED
@@ -3,6 +3,8 @@ An opinionated cookbook creator.
3
3
 
4
4
  _with spunk and a grin, by Nordstrom_
5
5
 
6
+ [![Build Status](https://travis-ci.org/Nordstrom/chefdk-julia.svg?branch=master)](https://travis-ci.org/Nordstrom/chefdk-julia)
7
+
6
8
  ## About
7
9
  Julia is a special type of Chef cookbook that is designed to generate code (cookbooks, recipes, templates, etc.).
8
10
 
@@ -25,8 +27,10 @@ Add these lines to your `~/.chef/config.rb` or `~/.chef/knife.rb` configuration
25
27
 
26
28
  ```ruby
27
29
  # Paste lines below into ~/.chef/config.rb or knife.rb
28
- require 'chefdk-julia'
29
- chefdk.generator_cookbook Chefdk::Julia.path
30
+ if defined?(ChefDK::CLI)
31
+ require 'chefdk/julia'
32
+ chefdk.generator_cookbook ChefDK::Julia.path
33
+ end
30
34
  ```
31
35
 
32
36
  ## Generating a cookbook
data/chefdk-julia.gemspec CHANGED
@@ -18,7 +18,7 @@ require 'chefdk/julia/version'
18
18
 
19
19
  Gem::Specification.new do |spec|
20
20
  spec.name = 'chefdk-julia'
21
- spec.version = Chefdk::Julia::VERSION
21
+ spec.version = ChefDK::Julia::VERSION
22
22
  spec.authors = ['Orion Ifland', 'Doug Ireton']
23
23
  spec.email = ['orion.ifland@nordstrom.com', 'doug.ireton@nordstrom.com']
24
24
  spec.license = 'Apache-2.0'
@@ -35,7 +35,9 @@ Gem::Specification.new do |spec|
35
35
  spec.post_install_message = <<-EOF
36
36
  Paste lines below into your ~/.chef/config.rb or knife.rb
37
37
 
38
- require 'chefdk-julia'
39
- chefdk.generator_cookbook Chefdk::Julia.path
38
+ if defined?(ChefDK::CLI)
39
+ require 'chefdk/julia'
40
+ chefdk.generator_cookbook ChefDK::Julia.path
41
+ end
40
42
  EOF
41
43
  end
@@ -12,9 +12,9 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
- module Chefdk
15
+ module ChefDK
16
16
  # namespace for VERSION constant
17
17
  module Julia
18
- VERSION = '0.4.2'
18
+ VERSION = '0.4.3'
19
19
  end
20
20
  end
data/lib/chefdk/julia.rb CHANGED
@@ -12,7 +12,7 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
- module Chefdk
15
+ module ChefDK
16
16
  # namespace for path method
17
17
  module Julia
18
18
  def self.path
data/metadata.rb CHANGED
@@ -27,4 +27,4 @@ name File.basename(File.dirname(__FILE__))
27
27
  description 'An Opinionated Cookbook Creator'
28
28
  long_description 'An Opinionated Cookbook Creator, with spunk and a grin, by Nordstrom'
29
29
 
30
- version Chefdk::Julia::VERSION
30
+ version ChefDK::Julia::VERSION
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chefdk-julia
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Orion Ifland
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-12-30 00:00:00.000000000 Z
12
+ date: 2015-12-31 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: An Opinionated Cookbook creator, with spunk and a grin, by Nordstrom
15
15
  email:
@@ -88,7 +88,8 @@ licenses:
88
88
  - Apache-2.0
89
89
  metadata: {}
90
90
  post_install_message: ! " Paste lines below into your ~/.chef/config.rb or knife.rb\n\n
91
- \ require 'chefdk-julia'\n chefdk.generator_cookbook Chefdk::Julia.path\n"
91
+ \ if defined?(ChefDK::CLI)\n require 'chefdk/julia'\n chefdk.generator_cookbook
92
+ ChefDK::Julia.path\n end\n"
92
93
  rdoc_options: []
93
94
  require_paths:
94
95
  - lib