airbrussh 0.4.0 → 0.4.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
  SHA1:
3
- metadata.gz: 4190ed3e910f42341fb9f0b011c2344a7e61d319
4
- data.tar.gz: 241bd99b747b5547aa323d8d279bda603277a822
3
+ metadata.gz: 59f8a8dfe9592ad3823bc7888584fe7be83252cb
4
+ data.tar.gz: f87ce479163f998b0b8c05baa26d8979656bad94
5
5
  SHA512:
6
- metadata.gz: 3a3f03a76405c5502739ab9de9600608f635c8367e51ccea07bd8de677977d2bf7a7bc1f3644c0a89105ae3577f498331681d2609be3ff33023c71462abc53c9
7
- data.tar.gz: b74f8692916139b70407530a83cc8737b3a55c73863569c75bf304bf5595859b63d12c962ed34f240b7cd445d832ab957c7ff61126c913610b0e4fa380b516bc
6
+ metadata.gz: d02fbf942e4fc78aab225897b09e34827ee47759d912ef773b964c05d6a2f536e83b3834561bfb990dcd27a5492557d5660b9a9c7a31845cf26581cd12f356b8
7
+ data.tar.gz: f265dda3cc676f575684b56561f760309175a879b5dc6f5439da6a29baaf28ad6dcf2a5e9f008086f537efb9161c25b1cb083e691451f452d61d19a9d02ca15e
data/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  * Your contribution here!
4
4
 
5
+ ## 0.4.1 (2015-05-06)
6
+
7
+ * Fix `Marshal.dump` warnings by removing `deep_copy` workaround that it is no longer needed for the latest SSHKit ([#10](https://github.com/mattbrictson/airbrussh/issues/10)).
8
+
5
9
  ## 0.4.0 (2015-05-03)
6
10
 
7
11
  * Changes to ensure compatibility with the upcoming version of SSHKit ([ec3122b](https://github.com/mattbrictson/airbrussh/commit/ec3122b101de53f2304723da842d5c8b6f70f4f3)).
@@ -80,8 +80,8 @@ module Airbrussh
80
80
 
81
81
  def write(obj)
82
82
  # SSHKit's :pretty formatter mutates the stdout and stderr data in the
83
- # command obj. So we need to clone it to ensure our copy is unscathed.
84
- @log_file_formatter << deep_copy(obj)
83
+ # command obj. So we need to dup it to ensure our copy is unscathed.
84
+ @log_file_formatter << obj.dup
85
85
 
86
86
  case obj
87
87
  when SSHKit::Command then write_command(obj)
@@ -225,9 +225,5 @@ module Airbrussh
225
225
  def config
226
226
  Airbrussh.configuration
227
227
  end
228
-
229
- def deep_copy(obj)
230
- Marshal.load(Marshal.dump(obj))
231
- end
232
228
  end
233
229
  end
@@ -1,3 +1,3 @@
1
1
  module Airbrussh
2
- VERSION = "0.4.0"
2
+ VERSION = "0.4.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: airbrussh
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Brictson
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-05-03 00:00:00.000000000 Z
11
+ date: 2015-05-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sshkit