sshkit 1.18.0 → 1.18.1

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
2
  SHA256:
3
- metadata.gz: bebf3a96075e905b11a3f52b5e75064e49f5d710c375ae2c39c7bbd93b7d76bd
4
- data.tar.gz: e8d9ab9ec716df400ce730ebc82c74a32c23c83e0edc52b778e74a5cba8055ee
3
+ metadata.gz: b0eb90af6c1f3c123cafc1739b6c8783d5a41a18eb93c962cfd39909e955ad1d
4
+ data.tar.gz: a5fc8373c24f79313fd6ec129e5cc67f8f8a9e8db37edd6d6188489de9c828c7
5
5
  SHA512:
6
- metadata.gz: e91cf1cbcff6c0dfaef0f2a05a6843f5312f8091b6b55fbc24022cc4e688c29fce690ac09d3b6cb33a9e8c42ba6bcb1441479f5fdf40d111f862ff55bb3b9122
7
- data.tar.gz: 3e50dc789ef3dff1ecd3041f89c332bc5883157c9ab2f007148e0c025f47f3a2941bab046661f45dcaa5f4880493674d34ff142df660f19a7eaf82b0c9e5da41
6
+ metadata.gz: 218acec6e67c5e4c71e4db4a9f69e1417339038d8d585b3fc16822714c962676e06eecd84664dd190896d682fd25782ce42c094332c8060ae4bad319b7b11849
7
+ data.tar.gz: 2752f4f661e29a627e946f3b14f85aacdc3a97a3c744380a9deb1f81bbc2ac8b8e9cf778f889ac036133540b62870080ac56b03aa03d1996bc873990263ad522
@@ -7,6 +7,10 @@ appear at the top.
7
7
 
8
8
  * Your contribution here!
9
9
 
10
+ ## [1.18.1][] (2019-01-26)
11
+
12
+ * [#447](https://github.com/capistrano/sshkit/pull/447): Fix broken thread safety by widening critical section - [Takumasa Ochi](https://github.com/aeroastro)
13
+
10
14
  ## [1.18.0][] (2018-10-21)
11
15
 
12
16
  * [#435](https://github.com/capistrano/sshkit/pull/435): Consistent verbosity configuration #capture and #test methods - [@NikolayRys](https://github.com/NikolayRys)
@@ -750,7 +754,8 @@ version `0.0.5`.
750
754
 
751
755
  First release.
752
756
 
753
- [Unreleased]: https://github.com/capistrano/sshkit/compare/v1.18.0...HEAD
757
+ [Unreleased]: https://github.com/capistrano/sshkit/compare/v1.18.1...HEAD
758
+ [1.18.1]: https://github.com/capistrano/sshkit/compare/v1.18.0...v1.18.1
754
759
  [1.18.0]: https://github.com/capistrano/sshkit/compare/v1.17.0...v1.18.0
755
760
  [1.17.0]: https://github.com/capistrano/sshkit/compare/v1.16.1...v1.17.0
756
761
  [1.16.1]: https://github.com/capistrano/sshkit/compare/v1.16.0...v1.16.1
data/README.md CHANGED
@@ -71,7 +71,7 @@ For the remote backend, the file is transferred with scp.
71
71
  ```ruby
72
72
  on '1.example.com' do
73
73
  upload! 'some_local_file.txt', '/home/some_user/somewhere'
74
- download! '/home/some_user/some_remote_file.txt', 'somewhere_local', :log_percent 25
74
+ download! '/home/some_user/some_remote_file.txt', 'somewhere_local', log_percent: 25
75
75
  end
76
76
  ```
77
77
 
@@ -118,9 +118,9 @@ class SSHKit::Backend::ConnectionPool
118
118
  # Update cache key with changed args to prevent cache miss
119
119
  def update_key_if_args_changed(cache, args)
120
120
  new_key = cache_key_for_connection_args(args)
121
- return if cache.same_key?(new_key)
122
121
 
123
122
  caches.synchronize do
123
+ return if cache.same_key?(new_key)
124
124
  caches[new_key] = caches.delete(cache.key)
125
125
  cache.key = new_key
126
126
  end
@@ -1,3 +1,3 @@
1
1
  module SSHKit
2
- VERSION = "1.18.0".freeze
2
+ VERSION = "1.18.1".freeze
3
3
  end
@@ -23,7 +23,7 @@ Gem::Specification.new do |gem|
23
23
  gem.add_development_dependency('danger')
24
24
  gem.add_development_dependency('minitest', '>= 5.0.0')
25
25
  gem.add_development_dependency('minitest-reporters')
26
- gem.add_development_dependency('rainbow', '~> 2.1.0')
26
+ gem.add_development_dependency('rainbow', '~> 2.2.2')
27
27
  gem.add_development_dependency('rake')
28
28
  gem.add_development_dependency('rubocop', "~> 0.49.1")
29
29
  gem.add_development_dependency('mocha')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sshkit
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.18.0
4
+ version: 1.18.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lee Hambley
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2018-10-21 00:00:00.000000000 Z
12
+ date: 2019-01-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: net-ssh
@@ -87,14 +87,14 @@ dependencies:
87
87
  requirements:
88
88
  - - "~>"
89
89
  - !ruby/object:Gem::Version
90
- version: 2.1.0
90
+ version: 2.2.2
91
91
  type: :development
92
92
  prerelease: false
93
93
  version_requirements: !ruby/object:Gem::Requirement
94
94
  requirements:
95
95
  - - "~>"
96
96
  - !ruby/object:Gem::Version
97
- version: 2.1.0
97
+ version: 2.2.2
98
98
  - !ruby/object:Gem::Dependency
99
99
  name: rake
100
100
  requirement: !ruby/object:Gem::Requirement
@@ -284,8 +284,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
284
284
  - !ruby/object:Gem::Version
285
285
  version: '0'
286
286
  requirements: []
287
- rubyforge_project:
288
- rubygems_version: 2.7.7
287
+ rubygems_version: 3.0.2
289
288
  signing_key:
290
289
  specification_version: 4
291
290
  summary: SSHKit makes it easy to write structured, testable SSH commands in Ruby