-
Notifications
You must be signed in to change notification settings - Fork 202
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rspec 3 and 2 compatibility #225
Merged
Merged
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
359d361
lower constraints on rspec version
e97e03e
lower constraints on rspec version
0a9966d
Merge branch 'rspec3_test' of github.com:tuxmea/rspec-puppet into rsp…
34b9cab
Merge branch 'rspec3_test' of github.com:tuxmea/rspec-puppet into rsp…
4549b3a
Merge branch 'rspec3_test' of github.com:tuxmea/rspec-puppet into rsp…
4a6d93d
lower constraints in gemspec file too
a8e99d8
readd rspec dependency without version
7d337da
Fix deprecation warning on :example_group
5b3d103
fix failure_message deprecation warnings
30897a8
limit RSpec 2 compatibility to Version 2 only
77d4ba8
limit RSpec 2 compatibility to Version 2 only
9242fdb
Merge branch 'rspec3_test' of github.com:tuxmea/rspec-puppet into rsp…
364cce0
Merge branch 'rspec3_test' of github.com:tuxmea/rspec-puppet into rsp…
799933d
Merge branch 'rspec3_test' of github.com:tuxmea/rspec-puppet into rsp…
3537308
example_groups - enable rspec 2 and 3
3beae4d
Keep env rspec_version in place to allow rspec version switch
dd8273d
allow usage of older rspec versions also for deprecated matchers
fe0b344
code deduplication
091d06f
travis improvements
4ef6377
travis: use latest puppet 3.4 version (3.4.3 instead of 3.4.1)
65735fa
remove rspec deprecation warnings from spec tests
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,7 @@ rvm: | |
- 1.9.2 | ||
- 1.9.3 | ||
- 2.0.0 | ||
- 2.1.2 | ||
notifications: | ||
email: | ||
- [email protected] | ||
|
@@ -13,7 +14,9 @@ env: | |
- PUPPET_VERSION=3.1.1 | ||
- PUPPET_VERSION=3.2.4 | ||
- PUPPET_VERSION=3.3.2 | ||
- PUPPET_VERSION=3.4.1 | ||
- PUPPET_VERSION=3.4.3 | ||
- PUPPET_VERSION=3.5.1 | ||
- RSPEC_VERSION=2.14 | ||
matrix: | ||
exclude: | ||
- rvm: 1.9.2 | ||
|
@@ -28,3 +31,15 @@ matrix: | |
env: PUPPET_VERSION=3.0.2 | ||
- rvm: 2.0.0 | ||
env: PUPPET_VERSION=3.1.1 | ||
- rvm: 2.1.2 | ||
env: PUPPET_VERSION=2.6.18 | ||
- rvm: 2.1.2 | ||
env: PUPPET_VERSION=2.7.23 | ||
- rvm: 2.1.2 | ||
env: PUPPET_VERSION=3.0.2 | ||
- rvm: 2.1.2 | ||
env: PUPPET_VERSION=3.1.1 | ||
- rvm: 2.1.2 | ||
env: PUPPET_VERSION=3.2.4 | ||
- rvm: 2.1.2 | ||
env: PUPPET_VERSION=3.3.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ Gem::Specification.new do |s| | |
|
||
s.files = Dir['LICENSE.md', 'README.md', 'lib/**/*', 'bin/**/*'] | ||
|
||
s.add_dependency 'rspec', '< 3.0.0' | ||
s.add_dependency 'rspec' | ||
|
||
s.authors = ['Tim Sharpe'] | ||
s.email = '[email protected]' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rather than removing this option entirely, we should just remove the
< 3.0.0
requirement so that travis-ci can be configured to run the tests against 2.x and 3.x and ensure we don't break 2.x compatibility.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.