librarian-chef 0.0.1.beta.2 → 0.0.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.
- data/.gitignore +8 -8
 - data/CHANGELOG.md +5 -0
 - data/bin/librarian-chef +7 -0
 - data/lib/librarian/chef/manifest_reader.rb +3 -3
 - data/lib/librarian/chef/version.rb +1 -1
 - data/librarian-chef.gemspec +1 -1
 - metadata +14 -10
 
    
        data/.gitignore
    CHANGED
    
    | 
         @@ -1,9 +1,9 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
             
     | 
| 
       2 
     | 
    
         
            -
             
     | 
| 
       3 
     | 
    
         
            -
            Gemfile.lock
         
     | 
| 
       4 
     | 
    
         
            -
            pkg/*
         
     | 
| 
       5 
     | 
    
         
            -
            tmp
         
     | 
| 
       6 
     | 
    
         
            -
            vendor
         
     | 
| 
      
 1 
     | 
    
         
            +
            /*.gem
         
     | 
| 
      
 2 
     | 
    
         
            +
            /.bundle
         
     | 
| 
      
 3 
     | 
    
         
            +
            /Gemfile.lock
         
     | 
| 
      
 4 
     | 
    
         
            +
            /pkg/*
         
     | 
| 
      
 5 
     | 
    
         
            +
            /tmp
         
     | 
| 
      
 6 
     | 
    
         
            +
            /vendor
         
     | 
| 
       7 
7 
     | 
    
         | 
| 
       8 
     | 
    
         
            -
            bin
         
     | 
| 
       9 
     | 
    
         
            -
             
     | 
| 
      
 8 
     | 
    
         
            +
            /bin/*
         
     | 
| 
      
 9 
     | 
    
         
            +
            !/bin/librarian-chef
         
     | 
    
        data/CHANGELOG.md
    ADDED
    
    
    
        data/bin/librarian-chef
    ADDED
    
    
| 
         @@ -44,13 +44,13 @@ module Librarian 
     | 
|
| 
       44 
44 
     | 
    
         | 
| 
       45 
45 
     | 
    
         
             
                private
         
     | 
| 
       46 
46 
     | 
    
         | 
| 
       47 
     | 
    
         
            -
                  if  
     | 
| 
      
 47 
     | 
    
         
            +
                  if File.respond_to?(:binread)
         
     | 
| 
       48 
48 
     | 
    
         
             
                    def binread(path)
         
     | 
| 
       49 
     | 
    
         
            -
                       
     | 
| 
      
 49 
     | 
    
         
            +
                      File.binread(path)
         
     | 
| 
       50 
50 
     | 
    
         
             
                    end
         
     | 
| 
       51 
51 
     | 
    
         
             
                  else
         
     | 
| 
       52 
52 
     | 
    
         
             
                    def binread(path)
         
     | 
| 
       53 
     | 
    
         
            -
                       
     | 
| 
      
 53 
     | 
    
         
            +
                      File.read(path)
         
     | 
| 
       54 
54 
     | 
    
         
             
                    end
         
     | 
| 
       55 
55 
     | 
    
         
             
                  end
         
     | 
| 
       56 
56 
     | 
    
         | 
    
        data/librarian-chef.gemspec
    CHANGED
    
    | 
         @@ -17,7 +17,7 @@ Gem::Specification.new do |gem| 
     | 
|
| 
       17 
17 
     | 
    
         
             
              gem.test_files    = gem.files.grep(%r{^(test|spec|features)/})
         
     | 
| 
       18 
18 
     | 
    
         
             
              gem.require_paths = ["lib"]
         
     | 
| 
       19 
19 
     | 
    
         | 
| 
       20 
     | 
    
         
            -
              gem.add_dependency "librarian", " 
     | 
| 
      
 20 
     | 
    
         
            +
              gem.add_dependency "librarian", "~> 0.1.0"
         
     | 
| 
       21 
21 
     | 
    
         
             
              gem.add_dependency "chef", ">= 0.10"
         
     | 
| 
       22 
22 
     | 
    
         
             
              gem.add_dependency "archive-tar-minitar", ">= 0.5.2"
         
     | 
| 
       23 
23 
     | 
    
         | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,32 +1,32 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: librarian-chef
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              prerelease:  
     | 
| 
       5 
     | 
    
         
            -
              version: 0.0.1 
     | 
| 
      
 4 
     | 
    
         
            +
              prerelease: 
         
     | 
| 
      
 5 
     | 
    
         
            +
              version: 0.0.1
         
     | 
| 
       6 
6 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       7 
7 
     | 
    
         
             
            authors:
         
     | 
| 
       8 
8 
     | 
    
         
             
            - Jay Feldblum
         
     | 
| 
       9 
9 
     | 
    
         
             
            autorequire: 
         
     | 
| 
       10 
10 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       11 
11 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       12 
     | 
    
         
            -
            date: 2013-03 
     | 
| 
      
 12 
     | 
    
         
            +
            date: 2013-04-03 00:00:00.000000000 Z
         
     | 
| 
       13 
13 
     | 
    
         
             
            dependencies:
         
     | 
| 
       14 
14 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       15 
15 
     | 
    
         
             
              type: :runtime
         
     | 
| 
       16 
16 
     | 
    
         
             
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       17 
17 
     | 
    
         
             
                none: false
         
     | 
| 
       18 
18 
     | 
    
         
             
                requirements:
         
     | 
| 
       19 
     | 
    
         
            -
                - -  
     | 
| 
      
 19 
     | 
    
         
            +
                - - ~>
         
     | 
| 
       20 
20 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       21 
     | 
    
         
            -
                    version: 0.1.0 
     | 
| 
      
 21 
     | 
    
         
            +
                    version: 0.1.0
         
     | 
| 
       22 
22 
     | 
    
         
             
              name: librarian
         
     | 
| 
       23 
23 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       24 
24 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       25 
25 
     | 
    
         
             
                none: false
         
     | 
| 
       26 
26 
     | 
    
         
             
                requirements:
         
     | 
| 
       27 
     | 
    
         
            -
                - -  
     | 
| 
      
 27 
     | 
    
         
            +
                - - ~>
         
     | 
| 
       28 
28 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       29 
     | 
    
         
            -
                    version: 0.1.0 
     | 
| 
      
 29 
     | 
    
         
            +
                    version: 0.1.0
         
     | 
| 
       30 
30 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       31 
31 
     | 
    
         
             
              type: :runtime
         
     | 
| 
       32 
32 
     | 
    
         
             
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
         @@ -118,6 +118,7 @@ files: 
     | 
|
| 
       118 
118 
     | 
    
         
             
            - .gitignore
         
     | 
| 
       119 
119 
     | 
    
         
             
            - .rspec
         
     | 
| 
       120 
120 
     | 
    
         
             
            - .travis.yml
         
     | 
| 
      
 121 
     | 
    
         
            +
            - CHANGELOG.md
         
     | 
| 
       121 
122 
     | 
    
         
             
            - Gemfile
         
     | 
| 
       122 
123 
     | 
    
         
             
            - LICENSE.txt
         
     | 
| 
       123 
124 
     | 
    
         
             
            - README.md
         
     | 
| 
         @@ -157,14 +158,17 @@ required_ruby_version: !ruby/object:Gem::Requirement 
     | 
|
| 
       157 
158 
     | 
    
         
             
                - !ruby/object:Gem::Version
         
     | 
| 
       158 
159 
     | 
    
         
             
                  segments:
         
     | 
| 
       159 
160 
     | 
    
         
             
                  - 0
         
     | 
| 
       160 
     | 
    
         
            -
                  hash:  
     | 
| 
      
 161 
     | 
    
         
            +
                  hash: 4422248623382062472
         
     | 
| 
       161 
162 
     | 
    
         
             
                  version: '0'
         
     | 
| 
       162 
163 
     | 
    
         
             
            required_rubygems_version: !ruby/object:Gem::Requirement
         
     | 
| 
       163 
164 
     | 
    
         
             
              none: false
         
     | 
| 
       164 
165 
     | 
    
         
             
              requirements:
         
     | 
| 
       165 
     | 
    
         
            -
              - - ! ' 
     | 
| 
      
 166 
     | 
    
         
            +
              - - ! '>='
         
     | 
| 
       166 
167 
     | 
    
         
             
                - !ruby/object:Gem::Version
         
     | 
| 
       167 
     | 
    
         
            -
                   
     | 
| 
      
 168 
     | 
    
         
            +
                  segments:
         
     | 
| 
      
 169 
     | 
    
         
            +
                  - 0
         
     | 
| 
      
 170 
     | 
    
         
            +
                  hash: 4422248623382062472
         
     | 
| 
      
 171 
     | 
    
         
            +
                  version: '0'
         
     | 
| 
       168 
172 
     | 
    
         
             
            requirements: []
         
     | 
| 
       169 
173 
     | 
    
         
             
            rubyforge_project: 
         
     | 
| 
       170 
174 
     | 
    
         
             
            rubygems_version: 1.8.25
         
     |