ridley 5.1.0 → 5.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 +4 -4
- data/.gitattributes +5 -0
- data/appveyor.yml +36 -0
- data/lib/ridley/chef/cookbook.rb +1 -1
- data/lib/ridley/logging.rb +1 -1
- data/lib/ridley/version.rb +1 -1
- data/ridley.gemspec +1 -1
- data/spec/unit/ridley/connection_spec.rb +2 -2
- data/spec/unit/ridley/logger_spec.rb +1 -1
- metadata +7 -5
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA1:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 70e56ad1675bb2f33708c992f83692102399fd80
         | 
| 4 | 
            +
              data.tar.gz: cea4cb6e53e26463924614a6609a3d964fa62cb0
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: c39a8f169544ebe02728b5db13dfdc30a8926cb182429ba55e5a0c0aad82d0dbe45ea5daceec00845044ee842a30776f845bfe468268dadd3d25a75160e7091b
         | 
| 7 | 
            +
              data.tar.gz: d046d010f1dbfad2f286f26df5639f3a70b31d1450c7538d3b7ce7cbfb02788b5acd52fc5cbbea69ea8d6db9a2dcb40cdb4e9e177c4f8550b44d3ffb4f245796
         | 
    
        data/.gitattributes
    ADDED
    
    
    
        data/appveyor.yml
    ADDED
    
    | @@ -0,0 +1,36 @@ | |
| 1 | 
            +
            version: "master-{build}"
         | 
| 2 | 
            +
             | 
| 3 | 
            +
            os: Windows Server 2012 R2
         | 
| 4 | 
            +
            platform:
         | 
| 5 | 
            +
              - x64
         | 
| 6 | 
            +
             | 
| 7 | 
            +
            environment:
         | 
| 8 | 
            +
              matrix:
         | 
| 9 | 
            +
                - ruby_version: "23-x64"
         | 
| 10 | 
            +
                - ruby_version: "23"
         | 
| 11 | 
            +
             | 
| 12 | 
            +
            clone_depth: 1
         | 
| 13 | 
            +
            skip_tags: true
         | 
| 14 | 
            +
            skip_branch_with_pr: true
         | 
| 15 | 
            +
            branches:
         | 
| 16 | 
            +
              only:
         | 
| 17 | 
            +
                - master
         | 
| 18 | 
            +
             | 
| 19 | 
            +
            install:
         | 
| 20 | 
            +
              - SET PATH=C:\Ruby%ruby_version%\bin;%PATH%
         | 
| 21 | 
            +
              - ruby --version
         | 
| 22 | 
            +
              - gem update --system || gem update --system || gem update --system
         | 
| 23 | 
            +
              - gem install bundler --quiet --no-ri --no-rdoc || gem install bundler --quiet --no-ri --no-rdoc || gem install bundler --quiet --no-ri --no-rdoc
         | 
| 24 | 
            +
              - update_rubygems
         | 
| 25 | 
            +
              - gem --version
         | 
| 26 | 
            +
              - bundler --version
         | 
| 27 | 
            +
              - SET BUNDLE_IGNORE_CONFIG=true
         | 
| 28 | 
            +
              - SET CI=true
         | 
| 29 | 
            +
              - SET BUNDLE_WITHOUT=development:guard:maintenance:tools:integration:changelog:docgen:travis:style:omnibus_package:aix:bsd:linux:mac_os_x:solaris
         | 
| 30 | 
            +
             | 
| 31 | 
            +
            build_script:
         | 
| 32 | 
            +
              - bundle install || bundle install || bundle install
         | 
| 33 | 
            +
             | 
| 34 | 
            +
            test_script:
         | 
| 35 | 
            +
              - SET SPEC_OPTS=--format progress
         | 
| 36 | 
            +
              - bundle exec thor spec:all
         | 
    
        data/lib/ridley/chef/cookbook.rb
    CHANGED
    
    | @@ -119,7 +119,7 @@ module Ridley::Chef | |
| 119 119 | 
             
                #   path to the compiled metadata
         | 
| 120 120 | 
             
                def compile_metadata(out = self.path)
         | 
| 121 121 | 
             
                  filepath = File.join(out, Metadata::COMPILED_FILE_NAME)
         | 
| 122 | 
            -
                  File.open(filepath, " | 
| 122 | 
            +
                  File.open(filepath, "wb+") do |f|
         | 
| 123 123 | 
             
                    f.write(metadata.to_json)
         | 
| 124 124 | 
             
                  end
         | 
| 125 125 |  | 
    
        data/lib/ridley/logging.rb
    CHANGED
    
    
    
        data/lib/ridley/version.rb
    CHANGED
    
    
    
        data/ridley.gemspec
    CHANGED
    
    | @@ -27,7 +27,7 @@ Gem::Specification.new do |s| | |
| 27 27 | 
             
              s.add_dependency 'celluloid-io',            '~> 0.16.1'
         | 
| 28 28 | 
             
              s.add_dependency 'chef-config',             '>= 12.5.0'
         | 
| 29 29 | 
             
              s.add_dependency 'erubis'
         | 
| 30 | 
            -
              s.add_dependency 'faraday',                 '~> 0.9 | 
| 30 | 
            +
              s.add_dependency 'faraday',                 '~> 0.9'
         | 
| 31 31 | 
             
              s.add_dependency 'hashie',                  '>= 2.0.2', '< 4.0.0'
         | 
| 32 32 | 
             
              s.add_dependency 'httpclient',              '~> 2.7'
         | 
| 33 33 | 
             
              s.add_dependency 'json',                    '>= 1.7.7'
         | 
| @@ -11,7 +11,7 @@ describe Ridley::Connection do | |
| 11 11 |  | 
| 12 12 | 
             
              context " when proxy environment variables are set" do
         | 
| 13 13 | 
             
                subject do
         | 
| 14 | 
            -
                  described_class.new('http:// | 
| 14 | 
            +
                  described_class.new('http://127.0.0.1:8889', client_name, client_key)
         | 
| 15 15 | 
             
                end
         | 
| 16 16 |  | 
| 17 17 | 
             
                it "fails with http_proxy set without no_proxy" do
         | 
| @@ -24,7 +24,7 @@ describe Ridley::Connection do | |
| 24 24 | 
             
                it "works with http_proxy and no_proxy set" do
         | 
| 25 25 | 
             
                  stub_const('ENV', ENV.to_hash.merge(
         | 
| 26 26 | 
             
                    'http_proxy' => 'http://i.am.an.http.proxy',
         | 
| 27 | 
            -
                    'no_proxy' => ' | 
| 27 | 
            +
                    'no_proxy' => '127.0.0.1:8889')
         | 
| 28 28 | 
             
                  )
         | 
| 29 29 | 
             
                  expect(subject.get('/nodes').status).to eq(200)
         | 
| 30 30 | 
             
                end
         | 
    
        metadata
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: ridley
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 5.1. | 
| 4 | 
            +
              version: 5.1.1
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Jamie Winsor
         | 
| @@ -9,7 +9,7 @@ authors: | |
| 9 9 | 
             
            autorequire: 
         | 
| 10 10 | 
             
            bindir: bin
         | 
| 11 11 | 
             
            cert_chain: []
         | 
| 12 | 
            -
            date:  | 
| 12 | 
            +
            date: 2017-05-26 00:00:00.000000000 Z
         | 
| 13 13 | 
             
            dependencies:
         | 
| 14 14 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 15 15 | 
             
              name: addressable
         | 
| @@ -157,14 +157,14 @@ dependencies: | |
| 157 157 | 
             
                requirements:
         | 
| 158 158 | 
             
                - - "~>"
         | 
| 159 159 | 
             
                  - !ruby/object:Gem::Version
         | 
| 160 | 
            -
                    version: 0.9 | 
| 160 | 
            +
                    version: '0.9'
         | 
| 161 161 | 
             
              type: :runtime
         | 
| 162 162 | 
             
              prerelease: false
         | 
| 163 163 | 
             
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 164 164 | 
             
                requirements:
         | 
| 165 165 | 
             
                - - "~>"
         | 
| 166 166 | 
             
                  - !ruby/object:Gem::Version
         | 
| 167 | 
            -
                    version: 0.9 | 
| 167 | 
            +
                    version: '0.9'
         | 
| 168 168 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 169 169 | 
             
              name: hashie
         | 
| 170 170 | 
             
              requirement: !ruby/object:Gem::Requirement
         | 
| @@ -277,6 +277,7 @@ executables: [] | |
| 277 277 | 
             
            extensions: []
         | 
| 278 278 | 
             
            extra_rdoc_files: []
         | 
| 279 279 | 
             
            files:
         | 
| 280 | 
            +
            - ".gitattributes"
         | 
| 280 281 | 
             
            - ".gitignore"
         | 
| 281 282 | 
             
            - ".travis.yml"
         | 
| 282 283 | 
             
            - CHANGELOG.md
         | 
| @@ -286,6 +287,7 @@ files: | |
| 286 287 | 
             
            - README.md
         | 
| 287 288 | 
             
            - Rakefile
         | 
| 288 289 | 
             
            - Thorfile
         | 
| 290 | 
            +
            - appveyor.yml
         | 
| 289 291 | 
             
            - lib/ridley.rb
         | 
| 290 292 | 
             
            - lib/ridley/chef.rb
         | 
| 291 293 | 
             
            - lib/ridley/chef/chefignore.rb
         | 
| @@ -429,7 +431,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement | |
| 429 431 | 
             
                  version: '0'
         | 
| 430 432 | 
             
            requirements: []
         | 
| 431 433 | 
             
            rubyforge_project: 
         | 
| 432 | 
            -
            rubygems_version: 2.6. | 
| 434 | 
            +
            rubygems_version: 2.6.12
         | 
| 433 435 | 
             
            signing_key: 
         | 
| 434 436 | 
             
            specification_version: 4
         | 
| 435 437 | 
             
            summary: A reliable Chef API client with a clean syntax
         |