serverspec 2.24.3 → 2.25.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
  SHA1:
3
- metadata.gz: a965ec1d52dcea600b56fd1efa16bf4d101a625e
4
- data.tar.gz: fe5cb86c4204e3877dcf1e9c4293e69786ba4d99
3
+ metadata.gz: 4a03e6f60304c57dec40573257efbe513c639ed5
4
+ data.tar.gz: 644b2486bd76847fee44a1c0e13849fe188f250f
5
5
  SHA512:
6
- metadata.gz: 2c927b4f890752a1bb1122a448ad6dc5bd811b6c1cf953ac7c76104b3484e2c38119b513d6a181cb43954e044433d819229f254718f76a58f814868e72ab42e6
7
- data.tar.gz: abbec172c408d549e589606ebfbf4403e686a92c588616079fba320fcc61629048cc589301f21c66d2797d6563f0a7f36ed7d0e95bcd15b925163d8c636dd49a
6
+ metadata.gz: 4005856472a31c0e6d62d8a1195aca2c26788f8e38628f0dab601e302a4edd45a6592ef5f647a54e257cd72dcf309f7b5cd20a80723094ac3e8f44800da8f820
7
+ data.tar.gz: c9d4c593e6fba329fc7c9db09e534d817418f31e6a898b60b3ef052ea6d6a4f82069a182c3a33e9bd81e71f9aaaa3ca756a732e744509a00a6ed73acf7716ea0
data/Gemfile CHANGED
@@ -3,6 +3,7 @@ source 'https://rubygems.org'
3
3
  # Specify your gem's dependencies in serverspec.gemspec
4
4
  gemspec
5
5
 
6
- # Put Gemfile.local to use arbitrary gems for your use case.
7
- path = Pathname.new("Gemfile.local")
8
- eval(path.read) if path.exist?
6
+ if Gem::Version.new(RUBY_VERSION.dup) < Gem::Version.new('2.0.0')
7
+ # net-ssh 3.x dropped Ruby 1.8 and 1.9 support.
8
+ gem 'net-ssh', '~> 2.7'
9
+ end
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Serverspec [![Gem Version](https://badge.fury.io/rb/serverspec.png)](http://badge.fury.io/rb/serverspec) [![BuildStatus](https://secure.travis-ci.org/serverspec/serverspec.png)](http://travis-ci.org/serverspec/serverspec) [![Code Climate](https://codeclimate.com/github/serverspec/serverspec.png)](https://codeclimate.com/github/serverspec/serverspec) [![wercker status](https://app.wercker.com/status/526d1ff4df6eadaa793dca1affcaed35/s/ "wercker status")](https://app.wercker.com/project/bykey/526d1ff4df6eadaa793dca1affcaed35)
1
+ # Serverspec [![Gem Version](https://badge.fury.io/rb/serverspec.svg)](http://badge.fury.io/rb/serverspec) [![BuildStatus](https://secure.travis-ci.org/mizzy/serverspec.svg)](http://travis-ci.org/mizzy/serverspec) [![wercker status](https://app.wercker.com/status/526d1ff4df6eadaa793dca1affcaed35/s/ "wercker status")](https://app.wercker.com/project/bykey/526d1ff4df6eadaa793dca1affcaed35)
2
2
 
3
3
  RSpec tests for your servers configured by Puppet, Chef or anything else
4
4
 
@@ -9,7 +9,7 @@ You can see the details of serverspec on [serverspec.org](http://serverspec.org/
9
9
  ## Maintenance policy of Serverspec/Specinfra
10
10
 
11
11
  * The person who found a bug should fix the bug by themself.
12
- * If you find a bug and cannot fix it by yourself, send a pull request and attache test code to reproduce the bug, please.
12
+ * If you find a bug and cannot fix it by yourself, send a pull request and attach test code to reproduce the bug, please.
13
13
  * The person who want a new feature should implement it by themself.
14
14
  * For above reasons, I accept pull requests only and disable issues.
15
15
  * If you'd like to discuss about a new feature before implement it, make an empty commit and send [a WIP pull request](http://ben.straub.cc/2015/04/02/wip-pull-request/). But It is better that the WIP PR has some code than an empty commit.
@@ -13,6 +13,10 @@ module Serverspec::Type
13
13
  get_column("group")
14
14
  end
15
15
 
16
+ def count
17
+ @runner.count_process(@name).stdout.strip.to_i
18
+ end
19
+
16
20
  def method_missing(meth)
17
21
  get_column(meth.to_s)
18
22
  end
@@ -1,3 +1,3 @@
1
1
  module Serverspec
2
- VERSION = "2.24.3"
2
+ VERSION = "2.25.0"
3
3
  end
data/serverspec.gemspec CHANGED
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
21
21
  spec.add_runtime_dependency "rspec", "~> 3.0"
22
22
  spec.add_runtime_dependency "rspec-its"
23
23
  spec.add_runtime_dependency "multi_json"
24
- spec.add_runtime_dependency "specinfra", "~> 2.43"
24
+ spec.add_runtime_dependency "specinfra", "~> 2.46"
25
25
  spec.add_development_dependency "bundler", "~> 1.3"
26
26
  spec.add_development_dependency("json", "~> 1.8") if RUBY_VERSION < "1.9"
27
27
  spec.add_development_dependency "rake", "~> 10.1.1"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: serverspec
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.24.3
4
+ version: 2.25.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gosuke Miyashita
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-11-12 00:00:00.000000000 Z
11
+ date: 2015-12-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '2.43'
61
+ version: '2.46'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '2.43'
68
+ version: '2.46'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: bundler
71
71
  requirement: !ruby/object:Gem::Requirement