cap-util 1.5.1 → 1.5.2

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
- SHA512:
3
- data.tar.gz: afeccba9070642513dec62ccd17344bc4916617282d6bf60514d840b8e10492f6097a4df813fca8fad6094af480cbfd45db6f0a02dfffb1436d80ad8b3930f6c
4
- metadata.gz: df55b6ef25d03f02ffadbaa7818cbed9258bac9005eed56b4329b68cb72a945f50282425293ef01f2a410e863bea43b043ee771d87984c2c7b24789993d82941
5
2
  SHA1:
6
- data.tar.gz: 302f1b5305b7b56ecb348c4be735cbf58955ae3c
7
- metadata.gz: 5700f9fbdecabd7322597c876f1fd43b929aacd2
3
+ data.tar.gz: a98b931e3b1e7fcbd549face6378ff8befa892f4
4
+ metadata.gz: e321342cb8efeb6f4b8a440456e18b96be8ff483
5
+ SHA512:
6
+ data.tar.gz: c7188ac376c4ca49cf176bcde25ccfb7f6102543b07e7e0518b59b001ffd5defe3d284634267fb8f0f9cd9c68b5b25a23398967705cd9a4664f8673bee43751d
7
+ metadata.gz: 3b62ce8c27df1b2d29df05f88e74b72a2e69fb237241a80b3172ec2dce1e75301be0c7d8249075610e1255883f8a7034860689e6a4f8073d8450a2934cef1829
@@ -18,9 +18,9 @@ Gem::Specification.new do |gem|
18
18
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
19
19
  gem.require_paths = ["lib"]
20
20
 
21
- gem.add_development_dependency("assert", ["~> 2.15.0"])
21
+ gem.add_development_dependency("assert", ["~> 2.16.1"])
22
22
 
23
- gem.add_dependency("scmd", ["~> 3.0.0"])
23
+ gem.add_dependency("scmd", ["~> 3.0.2"])
24
24
  gem.add_dependency("capistrano", ["~> 2.0"])
25
25
 
26
26
  end
@@ -1,3 +1,3 @@
1
1
  module CapUtil
2
- VERSION = "1.5.1"
2
+ VERSION = "1.5.2"
3
3
  end
@@ -9,6 +9,15 @@ require 'pry'
9
9
 
10
10
  require 'test/support/factory'
11
11
 
12
+ # 1.8.7 backfills
13
+
14
+ # Array#sample
15
+ if !(a = Array.new).respond_to?(:sample) && a.respond_to?(:choice)
16
+ class Array
17
+ alias_method :sample, :choice
18
+ end
19
+ end
20
+
12
21
  ENV['CAPUTIL_SILENCE_SAY'] = 'yes'
13
22
 
14
23
  require 'cap-util'
@@ -104,7 +104,7 @@ YAML
104
104
  end
105
105
 
106
106
  should "build its options with both string and symbol keys" do
107
- server = CapUtil::ServerRoles::ServerDef.new('opts1', 'primary')
107
+ server = CapUtil::ServerRoles::ServerDef.new('opts1', ['primary'])
108
108
 
109
109
  assert_equal true, server.options[:primary]
110
110
  assert_equal true, server.options['primary']
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cap-util
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.1
4
+ version: 1.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kelly Redding
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2016-03-11 00:00:00 Z
13
+ date: 2016-06-14 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: assert
@@ -19,7 +19,7 @@ dependencies:
19
19
  requirements:
20
20
  - - ~>
21
21
  - !ruby/object:Gem::Version
22
- version: 2.15.0
22
+ version: 2.16.1
23
23
  type: :development
24
24
  version_requirements: *id001
25
25
  - !ruby/object:Gem::Dependency
@@ -29,7 +29,7 @@ dependencies:
29
29
  requirements:
30
30
  - - ~>
31
31
  - !ruby/object:Gem::Version
32
- version: 3.0.0
32
+ version: 3.0.2
33
33
  type: :runtime
34
34
  version_requirements: *id002
35
35
  - !ruby/object:Gem::Dependency
@@ -108,7 +108,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
108
108
  requirements: []
109
109
 
110
110
  rubyforge_project:
111
- rubygems_version: 2.5.1
111
+ rubygems_version: 2.6.4
112
112
  signing_key:
113
113
  specification_version: 4
114
114
  summary: A set of utilities for writing cap tasks.