knuckle_cluster 2.3.2 → 2.3.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 2343d5fb38d64891674b60a8ffd6b2c69a148442
4
- data.tar.gz: d3a0c2f602a05b84c28322e8eb9f871cd298283c
2
+ SHA256:
3
+ metadata.gz: '087fe8396a59a85d360decdeada6d55d2466ff8fe222d8e34a0c9c7cf0240006'
4
+ data.tar.gz: '090395919b3a61e03180a38a9ed016ba8f2b72fc387af3a966e99601696943d4'
5
5
  SHA512:
6
- metadata.gz: 6d4ac3beb206a62565b0f92a35bc069c0bedab373ca5b90c4145a5b2b8a90d7adfca72896c1efbaa8230187711e52d8fb77213094bd27d38302f026c54fd5f57
7
- data.tar.gz: 2004881489c23baa77c6580ab83e6eb73047f311f484f6d6c85b2d51e0e1be93826b4a839793c09040868ad72a50a40ed8225f5797070663a62014339cbe92dd
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
@@ -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
- Refactor SCP implementation to use new syntax
10
- Allow SCP copy files FROM agents or containers
15
+
16
+ ### Changed
17
+
18
+ * Refactor SCP implementation to use new syntax
19
+ * Allow SCP copy files FROM agents or containers
20
+
@@ -31,7 +31,7 @@ rescue => e
31
31
  end
32
32
 
33
33
  kc = KnuckleCluster.new(
34
- config
34
+ **config
35
35
  )
36
36
 
37
37
  if ARGV[1] == 'agents'
@@ -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"
@@ -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
@@ -1,3 +1,3 @@
1
1
  module KnuckleCluster
2
- VERSION = '2.3.2'
2
+ VERSION = '2.3.3'
3
3
  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.2
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: 2018-10-22 00:00:00.000000000 Z
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
- rubyforge_project:
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