knuckle_cluster 2.3.2 → 2.3.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 +5 -5
- data/.github/workflows/test.yml +25 -0
- data/CHANGELOG.md +12 -2
- data/bin/knuckle_cluster +1 -1
- data/knuckle_cluster.gemspec +0 -1
- data/lib/knuckle_cluster.rb +1 -1
- data/lib/knuckle_cluster/version.rb +1 -1
- metadata +4 -18
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 | 
            -
             | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 2 | 
            +
            SHA256:
         | 
| 3 | 
            +
              metadata.gz: '087fe8396a59a85d360decdeada6d55d2466ff8fe222d8e34a0c9c7cf0240006'
         | 
| 4 | 
            +
              data.tar.gz: '090395919b3a61e03180a38a9ed016ba8f2b72fc387af3a966e99601696943d4'
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 7601e20f95f15ba2a8b0c0f58610e9fe046c24cf277541e97b363bec3cdfea5f1ccb08422f26e1e0d3f0053e1cd29f214bdcbd4ccf554f985fe0d42d79b5a536
         | 
| 7 | 
            +
              data.tar.gz: 5812be37b8e53865434bf1b3e9550dd584daaa8e928b5d1dad7bbf177d88437f03a9879aeb6987524520ac1224df6a5b6e398de07e9dd95cff9112b4e1e14623
         | 
| @@ -0,0 +1,25 @@ | |
| 1 | 
            +
            name: Ruby
         | 
| 2 | 
            +
             | 
| 3 | 
            +
            on:
         | 
| 4 | 
            +
              push:
         | 
| 5 | 
            +
                branches: [ master ]
         | 
| 6 | 
            +
              pull_request:
         | 
| 7 | 
            +
                branches: [ master ]
         | 
| 8 | 
            +
             | 
| 9 | 
            +
            jobs:
         | 
| 10 | 
            +
              test:
         | 
| 11 | 
            +
                runs-on: ${{ matrix.operating_system }}
         | 
| 12 | 
            +
                strategy:
         | 
| 13 | 
            +
                  matrix:
         | 
| 14 | 
            +
                    operating_system: [ ubuntu-latest, macos-latest ]
         | 
| 15 | 
            +
                    ruby_version: [ 2.6, 2.7 ]
         | 
| 16 | 
            +
                steps:
         | 
| 17 | 
            +
                - uses: actions/checkout@v2
         | 
| 18 | 
            +
                - name: Set up Ruby ${{ matrix.ruby_version }}
         | 
| 19 | 
            +
                  uses: ruby/setup-ruby@v1
         | 
| 20 | 
            +
                  with:
         | 
| 21 | 
            +
                    ruby-version: ${{ matrix.ruby_version }}
         | 
| 22 | 
            +
                - name: Install dependencies
         | 
| 23 | 
            +
                  run: bundle install
         | 
| 24 | 
            +
                - name: Run tests
         | 
| 25 | 
            +
                  run: bundle exec rake
         | 
    
        data/CHANGELOG.md
    CHANGED
    
    | @@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file. | |
| 5 5 | 
             
            The format is based on [Keep a Changelog](http://keepachangelog.com/)
         | 
| 6 6 | 
             
            and this project adheres to [Semantic Versioning](http://semver.org/).
         | 
| 7 7 |  | 
| 8 | 
            +
            ## [2.3.3] - 2020-05-11
         | 
| 9 | 
            +
             | 
| 10 | 
            +
            ### Fixed
         | 
| 11 | 
            +
             | 
| 12 | 
            +
            * Fix deprecation warnings in Ruby 2.7 ([#28](https://github.com/envato/knuckle_cluster/pull/28))
         | 
| 13 | 
            +
             | 
| 8 14 | 
             
            ## [2.0.0] - 2018-03-27
         | 
| 9 | 
            -
             | 
| 10 | 
            -
             | 
| 15 | 
            +
             | 
| 16 | 
            +
            ### Changed
         | 
| 17 | 
            +
             | 
| 18 | 
            +
            * Refactor SCP implementation to use new syntax
         | 
| 19 | 
            +
            * Allow SCP copy files FROM agents or containers
         | 
| 20 | 
            +
             | 
    
        data/bin/knuckle_cluster
    CHANGED
    
    
    
        data/knuckle_cluster.gemspec
    CHANGED
    
    | @@ -19,7 +19,6 @@ Gem::Specification.new do |spec| | |
| 19 19 | 
             
              end
         | 
| 20 20 | 
             
              spec.require_paths = ["lib"]
         | 
| 21 21 |  | 
| 22 | 
            -
              spec.add_development_dependency "bundler", "~> 1.14"
         | 
| 23 22 | 
             
              spec.add_development_dependency "rake",    "~> 10.0"
         | 
| 24 23 | 
             
              spec.add_development_dependency "rspec",   "~> 3.0"
         | 
| 25 24 | 
             
              spec.add_development_dependency "pry",     "~> 0.11"
         | 
    
        data/lib/knuckle_cluster.rb
    CHANGED
    
    | @@ -82,7 +82,7 @@ module KnuckleCluster | |
| 82 82 | 
             
                def open_tunnel(name:)
         | 
| 83 83 | 
             
                  if tunnel = tunnels[name.to_sym]
         | 
| 84 84 | 
             
                    agent = select_agent(auto: true)
         | 
| 85 | 
            -
                    open_tunnel_via_agent(tunnel.merge(agent: agent))
         | 
| 85 | 
            +
                    open_tunnel_via_agent(**tunnel.merge(agent: agent))
         | 
| 86 86 | 
             
                  else
         | 
| 87 87 | 
             
                    puts "ERROR: A tunnel configuration was not found for '#{name}'"
         | 
| 88 88 | 
             
                  end
         | 
    
        metadata
    CHANGED
    
    | @@ -1,29 +1,15 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: knuckle_cluster
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 2.3. | 
| 4 | 
            +
              version: 2.3.3
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Envato
         | 
| 8 8 | 
             
            autorequire: 
         | 
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date:  | 
| 11 | 
            +
            date: 2020-05-11 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 | 
            -
            - !ruby/object:Gem::Dependency
         | 
| 14 | 
            -
              name: bundler
         | 
| 15 | 
            -
              requirement: !ruby/object:Gem::Requirement
         | 
| 16 | 
            -
                requirements:
         | 
| 17 | 
            -
                - - "~>"
         | 
| 18 | 
            -
                  - !ruby/object:Gem::Version
         | 
| 19 | 
            -
                    version: '1.14'
         | 
| 20 | 
            -
              type: :development
         | 
| 21 | 
            -
              prerelease: false
         | 
| 22 | 
            -
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 23 | 
            -
                requirements:
         | 
| 24 | 
            -
                - - "~>"
         | 
| 25 | 
            -
                  - !ruby/object:Gem::Version
         | 
| 26 | 
            -
                    version: '1.14'
         | 
| 27 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 28 14 | 
             
              name: rake
         | 
| 29 15 | 
             
              requirement: !ruby/object:Gem::Requirement
         | 
| @@ -145,6 +131,7 @@ executables: | |
| 145 131 | 
             
            extensions: []
         | 
| 146 132 | 
             
            extra_rdoc_files: []
         | 
| 147 133 | 
             
            files:
         | 
| 134 | 
            +
            - ".github/workflows/test.yml"
         | 
| 148 135 | 
             
            - ".gitignore"
         | 
| 149 136 | 
             
            - ".rspec"
         | 
| 150 137 | 
             
            - ".travis.yml"
         | 
| @@ -188,8 +175,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement | |
| 188 175 | 
             
                - !ruby/object:Gem::Version
         | 
| 189 176 | 
             
                  version: '0'
         | 
| 190 177 | 
             
            requirements: []
         | 
| 191 | 
            -
             | 
| 192 | 
            -
            rubygems_version: 2.6.13
         | 
| 178 | 
            +
            rubygems_version: 3.1.2
         | 
| 193 179 | 
             
            signing_key: 
         | 
| 194 180 | 
             
            specification_version: 4
         | 
| 195 181 | 
             
            summary: Handy cluster tool
         |