entangler 1.2.2 → 1.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/entangler/errors.rb +1 -0
- data/lib/entangler/executor/validation/master.rb +7 -1
- data/lib/entangler/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 783a5b3ef9783c555695f78996ccd7708b336a7f6a96f3fed514d64b60c040aa
|
4
|
+
data.tar.gz: d91234cd85293e33d26551f78da5057ca7ee9c4f8c8a4279371d7291dc9c5168
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2765a50d87ff234c7b4311c80fbe9b58f20de55e46a60df8214145e43911948971e7b16bf9b25dc0bfadb5c24a2c909efc9b1b19e755d49b3a2488be72638994
|
7
|
+
data.tar.gz: 6ab807597be96dfea700b7bc517318003b035b3d64782ea2b6c6dd122dda44e5bc42e82f9df7a3798b7a5c795d326ab374d5568f4ecfef213a26fe1256e5e733
|
data/README.md
CHANGED
data/lib/entangler/errors.rb
CHANGED
@@ -50,12 +50,18 @@ module Entangler
|
|
50
50
|
return unless @opts[:remote_mode]
|
51
51
|
|
52
52
|
res = `#{generate_ssh_command('source ~/.rvm/environments/default && entangler --version')}`
|
53
|
+
if res.empty?
|
54
|
+
msg = 'Entangler is not installed on the remote server.' \
|
55
|
+
' Install Entangler on the remote server (SSH in, then `gem install entangler`), then try again.'
|
56
|
+
raise Entangler::NotInstalledOnRemoteError, msg
|
57
|
+
end
|
58
|
+
|
53
59
|
remote_version = Gem::Version.new(res.strip)
|
54
60
|
local_version = Gem::Version.new(Entangler::VERSION)
|
55
61
|
return unless major_version_mismatch?(local_version, remote_version)
|
56
62
|
|
57
63
|
msg = 'Entangler version too far apart, please update either local or remote Entangler.' \
|
58
|
-
|
64
|
+
" Local version is #{local_version} and remote version is #{remote_version}."
|
59
65
|
raise Entangler::VersionMismatchError, msg
|
60
66
|
end
|
61
67
|
|
data/lib/entangler/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: entangler
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dave Allie
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-06-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -153,7 +153,7 @@ homepage: https://github.com/daveallie/entangler
|
|
153
153
|
licenses:
|
154
154
|
- MIT
|
155
155
|
metadata: {}
|
156
|
-
post_install_message:
|
156
|
+
post_install_message:
|
157
157
|
rdoc_options: []
|
158
158
|
require_paths:
|
159
159
|
- lib
|
@@ -168,8 +168,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
168
168
|
- !ruby/object:Gem::Version
|
169
169
|
version: '0'
|
170
170
|
requirements: []
|
171
|
-
rubygems_version: 3.
|
172
|
-
signing_key:
|
171
|
+
rubygems_version: 3.3.7
|
172
|
+
signing_key:
|
173
173
|
specification_version: 4
|
174
174
|
summary: Two way file syncer using platform native notify.
|
175
175
|
test_files: []
|