deploy-agent 1.0.0 → 1.0.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b5fedd1d54542b1fa80f5f083698d4fac13200fd
4
- data.tar.gz: f2783980bf24d0f54aeef1f2b7894c5f37b33cbb
3
+ metadata.gz: 0fabf21134da24a6c3a0e705f251796822e0ac92
4
+ data.tar.gz: b604919b01e5af9f279ab6b5b5a9ba2bcc38d957
5
5
  SHA512:
6
- metadata.gz: 986c809ff4bc0655bc586599a14e84cc7708c4f9f2a7f77fec3b57054336af2ec4e0038847483687fb1a85a8bd06f69d9056d0394c67ce0552f9d99c46cca613
7
- data.tar.gz: 9b3547acefee6e6bd3d4dca8c85baf15aaa791382e75796a413b4bec689cc147711083965bf1d70f3177d65e039fce67d76e9365b514cd7a440e4d76ddbccd0d
6
+ metadata.gz: e7f145767229dad5eaebd8a7bbb4f80dae6e3f79a18573a10fe21dd31c4526918fc62461cfb63f2eb60ed900d406bceca20aaee13cb3573364640d559eaf9672
7
+ data.tar.gz: 8d4246315146209663771135504bd8508ed6030cd17f6e5f3858405842c13b59e439b5eaa188c1bedbfb69b4b965538a7db3bb685c78b4869d800bd8d07fe30a
@@ -53,6 +53,9 @@ module DeployAgent
53
53
  # This shouldn't happen. If it does, ignore it and
54
54
  # wait a bit longer until the connection completes
55
55
  return
56
+ rescue Errno::EISCONN
57
+ # Sometimes this exception is raised when we're
58
+ # connected (OSX). It represents success.
56
59
  rescue => e
57
60
  @agent.logger.info "[#{@id}] Connection failed: #{e.message.to_s}"
58
61
  # Something went wrong connecting, inform the Deploy Server
@@ -60,7 +63,7 @@ module DeployAgent
60
63
  @server_connection.send_connection_error(@id, e.message.to_s)
61
64
  return
62
65
  end
63
- @agent.logger.info "[#{@id}] Connected to destination"
66
+ @agent.logger.info "[#{@id}] Connected to destination"
64
67
  @server_connection.send_connection_success(@id)
65
68
  @status = :connected
66
69
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: deploy-agent
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - aTech Media