entangler 1.4.0 → 1.5.0

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: caeaeab73f12f452f171a80fc4c202f4e3bfcafea5f7c1509057175e6bec0c1f
4
- data.tar.gz: 950085ffeb8d56d5d5d23163f5024ee09ae173ae5d95dbb5981ee2274e24189d
3
+ metadata.gz: 3a4ebf4a24baaacd27607af53da80054873901c438a88fbc647521bf76183a6e
4
+ data.tar.gz: b5a56d17bf8a7d4cb251654c2be3929c9d4d6a4d5f31fe37b9ea41e81ab88bf3
5
5
  SHA512:
6
- metadata.gz: 9ccbc2db0d327844b0a78f52468bb11582d55c53a986ddb7158102017d229448cdb34b7ed4c16449338eb2d00f231b44ff949edebb2b40eaa0fa52d8f896b87c
7
- data.tar.gz: 6f89e593575e7120bfc897f213219c1174eef54dcdc16c8a5a125cd363fceecd4fc6cd820abca981da4e9d7f1bf974a16cac0e0a2a55217194040094631485b1
6
+ metadata.gz: 610b064643380a99c59fdfc61fb292c448d44f0b891da081fb39f34462f841e30e3be6a8094e4067e5878217ba0927ef7fbed812de40b92c55139d165a8b2916
7
+ data.tar.gz: 2d4d014f1df0606988281772c30e2674d7de057571f586953093448b7ce470cfc418b719fcbe058f57cbd9a289a49c3aa016508df86a882f58a52c106789c206
data/README.md CHANGED
@@ -30,6 +30,8 @@ Options:
30
30
  All paths should be relative to the base sync directory.
31
31
  -p, --port PORT Overwrite the SSH port (usually 22)
32
32
  (doesn't do anything in slave mode)
33
+ --force-polling Forces the use of the listen polling adapter
34
+ (works cross-platform, generally slower, doesn't do anything in slave mode)
33
35
  --no-rvm Skip attempting to load RVM on remote
34
36
  -v, --verbose Log Debug lines
35
37
  -q, --quiet Don't log to stdout in master process
data/exe/entangler CHANGED
@@ -32,7 +32,7 @@ OptionParser.new do |opts|
32
32
  opts.separator 'Options:'
33
33
 
34
34
  opts.on('-i', "--ignore '.git'", "Ignore path when syncing, string is regex if surrounded by '/'",
35
- 'All paths should be relative to the base sync directory.') do |ignore|
35
+ 'All paths should be relative to the base sync directory') do |ignore|
36
36
  options[:ignore] ||= []
37
37
  options[:ignore] << ignore
38
38
  end
@@ -41,7 +41,8 @@ OptionParser.new do |opts|
41
41
  "(doesn't do anything in slave mode)")
42
42
 
43
43
  bool_opt(options, opts, :force_polling, '--force-polling',
44
- 'Forces the use of the listen polling adapter (works cross-platform, generally slower)')
44
+ 'Forces the use of the listen polling adapter',
45
+ "(works cross-platform, generally slower, doesn't do anything in slave mode)")
45
46
 
46
47
  bool_opt(options, opts, :no_rvm, '--no-rvm', 'Skip attempting to load RVM on remote')
47
48
 
@@ -15,7 +15,7 @@ module Entangler
15
15
 
16
16
  def initialize(outputs, verbose: false)
17
17
  @loggers = Array(outputs).map do |output|
18
- logger = ::Logger.new(output)
18
+ logger = ::Logger.new(output, 1, 10_485_760) # 10.megabytes.to_i
19
19
 
20
20
  logger.level = verbose ? ::Logger::DEBUG : ::Logger::INFO
21
21
  logger.formatter = proc do |severity, datetime, _, msg|
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Entangler
4
- VERSION = '1.4.0'
4
+ VERSION = '1.5.0'
5
5
  end
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.4.0
4
+ version: 1.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dave Allie
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-01-15 00:00:00.000000000 Z
11
+ date: 2024-01-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler