syncwrap 2.8.2 → 2.8.3

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: 91f6e24710b16135cac3fc92a2350595329679ab
4
- data.tar.gz: b91395ed4ba0c475fc5e931109e5cba9dd8cced8
3
+ metadata.gz: 1ed971e0ccb00e1a14a83411621845701296afd9
4
+ data.tar.gz: 3bfa895a4c14e13f30f5273b1b9dfe34daf7faab
5
5
  SHA512:
6
- metadata.gz: cef850f458be5b3c4a9238119fd78834883a36d44de41c0b75b0c7d7c9f95b90a7bd3357c3fc4322039e56f01572c052e817b921ed50a656d19002ae838841b2
7
- data.tar.gz: 1da2ff5d17e30654a494d5f9d3e7b5126b2a5562fc869583b57cb57c8c6501c036685698cb8968a0043391edc84232f0cfd339509b53be3d16d24f12da5b3baf
6
+ metadata.gz: 4eabaf3a0132cf585d7befcd15e32dac9534abe36a83d82a484e1bcfc396cbfca034ae8a3e5e142dd2577a15283c389229cf3866d68a170611988f524ae84cb6
7
+ data.tar.gz: b293d28a87021f26a6a3210039b08947ec151da28db233314633a8f3c7b18c9696e0db38a293d4fba4dbcd445fe0781cadb860a6bc74e994dd5eda532eaf6baa
data/History.rdoc CHANGED
@@ -1,7 +1,15 @@
1
+ === 2.8.3 (2017-1-31)
2
+ * Upgrade SyncWrap::CRubyVM default version to 2.2.6 (+ hash for 2.3.3)
3
+ * Upgrade SyncWrap::JRubyVM default version to 1.7.26
4
+ * Disable exit on error for `systemctl` in
5
+ SyncWrap::SystemDService#status. Early exit was interfering with
6
+ combining and merging `systemctl status` calls.
7
+
1
8
  === 2.8.2 (2016-11-1)
2
9
  * Add new SyncWrap::ChangeGuard component to preserve change key state
3
10
  in remote guard files, across any transient component failures.
4
11
  * Upgrade SyncWrap::JRubyVM default version to 1.7.25 (+ hash for 1.7.26)
12
+ * Upgrade SyncWrap::CRubyVM default version to 2.2.5 (erratum)
5
13
  * Additional, comment-only updates to postgresql.conf as of version
6
14
  9.6.1. Changes remain backward compatible with 9.1+.
7
15
 
data/lib/syncwrap/base.rb CHANGED
@@ -15,7 +15,7 @@
15
15
  #++
16
16
 
17
17
  module SyncWrap
18
- VERSION='2.8.2'
18
+ VERSION='2.8.3'
19
19
 
20
20
  GEM_ROOT = File.dirname(File.dirname(File.dirname(__FILE__))) # :nodoc:
21
21
  end
@@ -47,7 +47,7 @@ module SyncWrap
47
47
  include HashSupport
48
48
 
49
49
  # Default #ruby_version to install
50
- DEFAULT_VERSION = '2.2.5'
50
+ DEFAULT_VERSION = '2.2.6'
51
51
 
52
52
  # A set of known (sha256) cryptographic hashes, keyed by version
53
53
  # string, for the source ruby-(version).tar.gz package.
@@ -59,14 +59,18 @@ module SyncWrap
59
59
  '2.1.10' =>
60
60
  'fb2e454d7a5e5a39eb54db0ec666f53eeb6edc593d1d2b970ae4d150b831dd20',
61
61
  '2.2.5' =>
62
- '30c4b31697a4ca4ea0c8db8ad30cf45e6690a0f09687e5d483c933c03ca335e3' }
62
+ '30c4b31697a4ca4ea0c8db8ad30cf45e6690a0f09687e5d483c933c03ca335e3',
63
+ '2.2.6' =>
64
+ 'de8e192791cb157d610c48a9a9ff6e7f19d67ce86052feae62b82e3682cc675f',
65
+ '2.3.3' =>
66
+ '241408c8c555b258846368830a06146e4849a1d58dcaf6b14a3b6a73058115b7' }
63
67
 
64
68
  # The ruby version to install, as it appears in source packages
65
69
  # from ruby-lang.org. Note that starting with 2.1.0, the patch
66
70
  # release (p#) no longer appears in package names.
67
71
  # (Default: DEFAULT_VERSION)
68
72
  #
69
- # Example values: '2.0.0-p481', '2.1.10', '2.2.5'
73
+ # Example values: '2.0.0-p481', '2.2.6', '2.3.3'
70
74
  attr_accessor :ruby_version
71
75
 
72
76
  # If true, attempt to uninstall any pre-existing distro packaged
@@ -32,7 +32,7 @@ module SyncWrap
32
32
  include HashSupport
33
33
 
34
34
  # Default #jruby_version to install
35
- DEFAULT_VERSION = '1.7.25'
35
+ DEFAULT_VERSION = '1.7.26'
36
36
 
37
37
  # A set of known cryptographic hashes, keyed by version
38
38
  # string. Note, we prefer sha256 but sha1 is what is currently
@@ -17,7 +17,7 @@
17
17
  module SyncWrap
18
18
 
19
19
  # A Support module for Ruby VM components, also providing gem
20
- # handling utilties which are largely common to all Ruby VMs.
20
+ # handling utilities which are largely common to all Ruby VMs.
21
21
  module RubySupport
22
22
 
23
23
  # The name of the gem command to be installed/used (default: gem)
@@ -22,7 +22,8 @@ module SyncWrap
22
22
  # Run systemd `systemctl` command with args via sudo as root. A
23
23
  # trailing hash is interpreted as options and passed to
24
24
  # sudo. Since systemctl returns non-zero for a variety of normal
25
- # conditions, the :accept option can be passed to account for these.
25
+ # conditions, the :accept option can be passed to account for
26
+ # these, as well as :error => false.
26
27
  def systemctl( *args )
27
28
  opts = args.last.is_a?( Hash ) && args.pop || {}
28
29
  sudo( "systemctl #{args.join ' '}", opts )
@@ -108,10 +108,11 @@ module SyncWrap
108
108
  # Output status of #systemd_units (useful via CLI with --verbose).
109
109
  # Exit codes 0-3 are accepted from `systemctl`, since these will
110
110
  # be returned in normal operational contexts, for example, when
111
- # services are intentionally and manually stopped.
111
+ # services are intentionally and manually stopped. Exit on error
112
+ # is also disabled, which may be relevent for merged commands.
112
113
  def status
113
114
  require_systemd_service!
114
- systemctl( 'status', *systemd_units, accept: [0,1,2,3] )
115
+ systemctl( 'status', *systemd_units, error: false, accept: [0,1,2,3] )
115
116
  end
116
117
 
117
118
  protected
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: syncwrap
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.8.2
4
+ version: 2.8.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Kellum
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-11-01 00:00:00.000000000 Z
11
+ date: 2017-01-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: term-ansicolor