rspec-system-serverspec 2.0.0 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/CHANGEFILE CHANGED
@@ -1,3 +1,9 @@
1
+ 2013-12-05 2.0.1
2
+ - Update readme for breaking changes and deprecation notice. If you previously
3
+ had `include Serverspec::Helper::RSpecSystem` or `include
4
+ Serverspec::Helper::DetectOS` in `spec/spec_helper_system.rb` then these
5
+ should be removed.
6
+
1
7
  2013-12-03 2.0.0
2
8
  - Update for new specinfra gem
3
9
 
data/README.md CHANGED
@@ -5,12 +5,9 @@
5
5
  ## Quick Start
6
6
 
7
7
  * Have a module that is configured to use rspec-system
8
- * `gem install serverspec`
9
- * Add the `serverspec` and `rspec-system-serverspec` gems to your module's `Gemfile`
10
- * Add these lines to your `spec/spec_helper_system.rb` file:
8
+ * Add the `rspec-system-serverspec` gem to your module's `Gemfile`
9
+ * Add the following line to your `spec/spec_helper_system.rb` file:
11
10
 
12
11
  ```ruby
13
12
  require 'rspec-system-serverspec/helpers'
14
- include Serverspec::Helper::RSpecSystem
15
- include Serverspec::Helper::DetectOS
16
13
  ```
@@ -6,3 +6,10 @@ require 'rspec-system-serverspec/helper/rspec_system'
6
6
 
7
7
  include SpecInfra::Helper::RSpecSystem
8
8
  include SpecInfra::Helper::DetectOS
9
+
10
+ module Serverspec::Helper::RSpecSystem
11
+ def self.included(base)
12
+ # Deprecated in 2.0.0
13
+ warn "[DEPRECATED] Serverspec::Helper::RSpecSystem is deprecated and should no longer be included. See the README for information."
14
+ end
15
+ end
@@ -2,7 +2,7 @@
2
2
  Gem::Specification.new do |s|
3
3
  # Metadata
4
4
  s.name = 'rspec-system-serverspec'
5
- s.version = '2.0.0'
5
+ s.version = '2.0.1'
6
6
  s.authors = ['Hunter Haugen']
7
7
  s.email = ['h.haugen@gmail.com']
8
8
  s.summary = 'Serverspec rspec-system plugin'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-system-serverspec
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-12-04 00:00:00.000000000 Z
12
+ date: 2013-12-05 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec-system