chef-helpers 0.1.0 → 0.1.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 +5 -13
 - data/CHANGELOG.md +4 -0
 - data/lib/chef-helpers/has_source.rb +1 -1
 - data/lib/chef-helpers/version.rb +1 -1
 - metadata +11 -11
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,15 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
     | 
    
         
            -
             
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
             
     | 
| 
       5 
     | 
    
         
            -
              data.tar.gz: !binary |-
         
     | 
| 
       6 
     | 
    
         
            -
                MTYzYWQ2ODdmZDA3YmMwMDE5ZTEzYTM5OWI0MDJiMmZlYWQwYTY1Mw==
         
     | 
| 
      
 2 
     | 
    
         
            +
            SHA1:
         
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: d57a1e42e16b680f4a1cf00fc0e1e90610c8fbc9
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 81216e1e0627b5a67a1b1832b298f634aee74d4d
         
     | 
| 
       7 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       8 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       9 
     | 
    
         
            -
             
     | 
| 
       10 
     | 
    
         
            -
                Y2U2MGM0MTdiY2VhOGExODVmODEzMjdhYWFlY2VkZTRhMWFhNzNhM2ZkM2Ni
         
     | 
| 
       11 
     | 
    
         
            -
                MzhhMDA4MzQ2YWMyYmFkZjI1Zjk0MmY2YzM1NzYyZDZiNzA0NGQ=
         
     | 
| 
       12 
     | 
    
         
            -
              data.tar.gz: !binary |-
         
     | 
| 
       13 
     | 
    
         
            -
                OTk1ODc4ZTkyNGNlMjg4MjM5Y2EwMjIwNGYyNTcyZGRjMTQ1MWI4NjQ5OTdj
         
     | 
| 
       14 
     | 
    
         
            -
                ZTQ4Y2QwNGU3YjdiMmIyMGU4ZTVjMjVmMTRhZjNhZDMzZDU3NjEzNjM3MzRm
         
     | 
| 
       15 
     | 
    
         
            -
                ZThmMTliYTdhZWI0ZmQ2NDgzZTgwZjk0NTZiNTMwOGJmNDA2NGQ=
         
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: bb3891b0727379188966e8ee06d42c06ea2240757a090b2ab921aa995e900bf9a4bed62e4e5a2dd0aaccd840986581699b8c96015d22901ff8e788289dbf3a30
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 615cdbfa29541037cabfbf616f22a04b832715271da9a44235975c5e110ed591c796f38a0d2ce2fd7e65e1d8635bb609a206b61f6f35d31fd0c6883660148bd8
         
     | 
    
        data/CHANGELOG.md
    CHANGED
    
    
| 
         @@ -38,7 +38,7 @@ module ChefHelpers 
     | 
|
| 
       38 
38 
     | 
    
         
             
                # @return [String,nil] full path to the template source or `nil`
         
     | 
| 
       39 
39 
     | 
    
         
             
                # @see #has_source?
         
     | 
| 
       40 
40 
     | 
    
         
             
                def has_cookbook_file?(cbf, cookbook=nil)
         
     | 
| 
       41 
     | 
    
         
            -
                  has_source?( 
     | 
| 
      
 41 
     | 
    
         
            +
                  has_source?(cbf, :files, cookbook)
         
     | 
| 
       42 
42 
     | 
    
         
             
                end
         
     | 
| 
       43 
43 
     | 
    
         | 
| 
       44 
44 
     | 
    
         
             
                # For a list of sources, returns first source that exist
         
     | 
    
        data/lib/chef-helpers/version.rb
    CHANGED
    
    
    
        metadata
    CHANGED
    
    | 
         @@ -1,41 +1,41 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: chef-helpers
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 0.1. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 0.1.1
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - Maciej Pasternacki
         
     | 
| 
       8 
8 
     | 
    
         
             
            autorequire: 
         
     | 
| 
       9 
9 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       10 
10 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       11 
     | 
    
         
            -
            date:  
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2014-11-20 00:00:00.000000000 Z
         
     | 
| 
       12 
12 
     | 
    
         
             
            dependencies:
         
     | 
| 
       13 
13 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       14 
14 
     | 
    
         
             
              name: jsonpath
         
     | 
| 
       15 
15 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       16 
16 
     | 
    
         
             
                requirements:
         
     | 
| 
       17 
     | 
    
         
            -
                - -  
     | 
| 
      
 17 
     | 
    
         
            +
                - - ">="
         
     | 
| 
       18 
18 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       19 
19 
     | 
    
         
             
                    version: '0'
         
     | 
| 
       20 
20 
     | 
    
         
             
              type: :runtime
         
     | 
| 
       21 
21 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       22 
22 
     | 
    
         
             
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       23 
23 
     | 
    
         
             
                requirements:
         
     | 
| 
       24 
     | 
    
         
            -
                - -  
     | 
| 
      
 24 
     | 
    
         
            +
                - - ">="
         
     | 
| 
       25 
25 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       26 
26 
     | 
    
         
             
                    version: '0'
         
     | 
| 
       27 
27 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       28 
28 
     | 
    
         
             
              name: chef
         
     | 
| 
       29 
29 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       30 
30 
     | 
    
         
             
                requirements:
         
     | 
| 
       31 
     | 
    
         
            -
                - -  
     | 
| 
      
 31 
     | 
    
         
            +
                - - ">="
         
     | 
| 
       32 
32 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       33 
33 
     | 
    
         
             
                    version: '0'
         
     | 
| 
       34 
34 
     | 
    
         
             
              type: :development
         
     | 
| 
       35 
35 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       36 
36 
     | 
    
         
             
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       37 
37 
     | 
    
         
             
                requirements:
         
     | 
| 
       38 
     | 
    
         
            -
                - -  
     | 
| 
      
 38 
     | 
    
         
            +
                - - ">="
         
     | 
| 
       39 
39 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       40 
40 
     | 
    
         
             
                    version: '0'
         
     | 
| 
       41 
41 
     | 
    
         
             
            description: A collection of helper methods to use in Opscode Chef recipes
         
     | 
| 
         @@ -45,8 +45,8 @@ executables: [] 
     | 
|
| 
       45 
45 
     | 
    
         
             
            extensions: []
         
     | 
| 
       46 
46 
     | 
    
         
             
            extra_rdoc_files: []
         
     | 
| 
       47 
47 
     | 
    
         
             
            files:
         
     | 
| 
       48 
     | 
    
         
            -
            - .gitignore
         
     | 
| 
       49 
     | 
    
         
            -
            - .yardopts
         
     | 
| 
      
 48 
     | 
    
         
            +
            - ".gitignore"
         
     | 
| 
      
 49 
     | 
    
         
            +
            - ".yardopts"
         
     | 
| 
       50 
50 
     | 
    
         
             
            - CHANGELOG.md
         
     | 
| 
       51 
51 
     | 
    
         
             
            - Gemfile
         
     | 
| 
       52 
52 
     | 
    
         
             
            - LICENSE
         
     | 
| 
         @@ -66,17 +66,17 @@ require_paths: 
     | 
|
| 
       66 
66 
     | 
    
         
             
            - lib
         
     | 
| 
       67 
67 
     | 
    
         
             
            required_ruby_version: !ruby/object:Gem::Requirement
         
     | 
| 
       68 
68 
     | 
    
         
             
              requirements:
         
     | 
| 
       69 
     | 
    
         
            -
              - -  
     | 
| 
      
 69 
     | 
    
         
            +
              - - ">="
         
     | 
| 
       70 
70 
     | 
    
         
             
                - !ruby/object:Gem::Version
         
     | 
| 
       71 
71 
     | 
    
         
             
                  version: '0'
         
     | 
| 
       72 
72 
     | 
    
         
             
            required_rubygems_version: !ruby/object:Gem::Requirement
         
     | 
| 
       73 
73 
     | 
    
         
             
              requirements:
         
     | 
| 
       74 
     | 
    
         
            -
              - -  
     | 
| 
      
 74 
     | 
    
         
            +
              - - ">="
         
     | 
| 
       75 
75 
     | 
    
         
             
                - !ruby/object:Gem::Version
         
     | 
| 
       76 
76 
     | 
    
         
             
                  version: '0'
         
     | 
| 
       77 
77 
     | 
    
         
             
            requirements: []
         
     | 
| 
       78 
78 
     | 
    
         
             
            rubyforge_project: 
         
     | 
| 
       79 
     | 
    
         
            -
            rubygems_version: 2.1 
     | 
| 
      
 79 
     | 
    
         
            +
            rubygems_version: 2.2.1
         
     | 
| 
       80 
80 
     | 
    
         
             
            signing_key: 
         
     | 
| 
       81 
81 
     | 
    
         
             
            specification_version: 4
         
     | 
| 
       82 
82 
     | 
    
         
             
            summary: Helper methods for Opscode Chef
         
     |