Skip to content

Commit

Permalink
Merge pull request #335 from natritmeyer/v3_release
Browse files Browse the repository at this point in the history
V3 release
  • Loading branch information
luke-hill authored Oct 12, 2018
2 parents 35837b9 + 8382fbc commit 0b63c15
Show file tree
Hide file tree
Showing 4 changed files with 56 additions and 14 deletions.
14 changes: 8 additions & 6 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,16 @@ Please help us understand your change by including the following information in
If you feel it easier to describe the change with code blocks feel free

## Steps to reproduce (If a Bugfix)
Show us a before / after from your PR. So ideally a situation beforehand which was broken, and afterwards isn't broken.
Show us a before / after from your PR.

Try to include a Short, Self Contained, Correct compilable example [SSCCE](http://sscce.org/)
So ideally the situation beforehand which was broken, and afterwards it isn't broken.

Try to include a Short, Self-Contained, Correct Compilable Example [SSCCE](http://sscce.org/)

## Pointers

This repo is currently being monitored and maintained by the following tools
- [rubocop](https://github.com/bbatsov/rubocop) : Ruby Style Guide best practices - _At the moment this is not actively enforced_
- [simplecov](https://github.com/colszowka/simplecov) : To show us that all of our gem code is utilised
- [rspec](https://github.com/rspec/rspec) : Unit test coverage for the whole gem
- [cucumber](https://github.com/cucumber/cucumber-ruby) : Feature test coverage where appropriate for the whole gem
- [rubocop](https://github.com/bbatsov/rubocop) : Ruby Style Guide best practices
- [simplecov](https://github.com/colszowka/simplecov) : Gem code is all consumed in tests
- [rspec](https://github.com/rspec/rspec) : Unit test coverage
- [cucumber](https://github.com/cucumber/cucumber-ruby) : Feature test coverage
1 change: 0 additions & 1 deletion .simplecov
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,3 @@ SimpleCov.start do
end

SimpleCov.minimum_coverage 92
SimpleCov.refuse_coverage_drop
53 changes: 47 additions & 6 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,44 @@
<!-- #320 - Sep 9th - Last update to this document -->
<!-- #329 - Oct 12th - Last update to this document -->
## [3.0] - 2018-10-12
### Removed
- All Statically configured Error messages for all SitePrism defined Errors
- Loadables still have an error message passed if defined
([luke-hill])

### Added
- `.simplecov` configuration file to allow easier configuration of the suite going forward
([luke-hill])

- A base SitePrism logger that wraps the Ruby Logger library
- For now this will only output to `$stdout` and can only be configured as ON/OFF
- Logger can be enabled with `SitePrism.enable_logging = true` (Default set to `false`)
- Initial set of logger messages have been setup to debug / warn users when calling methods
([luke-hill])

- A new set of unconsumed leaner html pages which will in time replace the muddled ones
([luke-hill])

### Changed
- Upped Version Dependencies
- `capybara` must be at least `2.17`, and can use any v3 version
- `addressable ~> 2.5`
([luke-hill])

### Fixed
- Cucumber Rework
- Began work on fixing up the erroneous and misleading names inside the `features` directory
- Re-ordered the directory structure to use cucumbers autoload functionality
- Added timings document to give us a set of goalposts to aim for
([luke-hill])

- Some of the `ElementContainer` module has been rewritten to be a little more concise
([luke-hill])

- All of the existing feature tests have now been adapted to fit to the aims of v3
- Some of the new feature tests have been migrated to test implicit waiting logic
- Previously defunct tests have now been fully migrated over to use wait key assignment
([luke-hill])

## [3.0.beta] - 2018-09-15
### Removed
- `wait_for_<element>` and `wait_for_no_<element>` have been removed
Expand Down Expand Up @@ -329,7 +369,7 @@ Removed testing for Ruby `2.0` on Travis
### Fixed
- Travis Fixes
- Not pulling in geckodriver dependency
- Ubuntu container being EOL is now remedied (Using trusty)
- Ubuntu container migrated to `trusty` from `precise`
([RustyNail])

- Allow `#all_there?` to use in-line configured implicit wait (Still defaulted to false)
Expand Down Expand Up @@ -576,16 +616,16 @@ Removed testing for Ruby `2.0` on Travis
- Upped Version Dependencies
- `capybara ~> 1.1`
- `rspec ~> 2.0`
([natritmeyer])
([natritmeyer])

- Internal API Changes:
- `#element_names` is now `#mapped_items` in `SitePrism::Page` and `SitePrism::Section`
- We now use a `build` method to decide what methods are created for each element/section and in what order
([natritmeyer])
([natritmeyer])

- External API Change (Probably breaking change):
- `NoLocatorForElement` is now `NoSelectorForElement`
([natritmeyer])
([natritmeyer])

### Fixed
- README typo sweep done. Errors fixed
Expand Down Expand Up @@ -680,7 +720,8 @@ Removed testing for Ruby `2.0` on Travis
- First release!

<!-- Releases -->
[3.0.beta]: https://github.com/natritmeyer/site_prism/compare/v2.17.1...master
[3.0]: https://github.com/natritmeyer/site_prism/compare/v3.0.beta...v3.0
[3.0.beta]: https://github.com/natritmeyer/site_prism/compare/v2.17.1...v3.0.beta
[2.17.1]: https://github.com/natritmeyer/site_prism/compare/v2.17...v2.17.1
[2.17]: https://github.com/natritmeyer/site_prism/compare/v2.16...v2.17
[2.16]: https://github.com/natritmeyer/site_prism/compare/v2.15.1...v2.16
Expand Down
2 changes: 1 addition & 1 deletion lib/site_prism/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module SitePrism
VERSION = '3.0.beta'.freeze
VERSION = '3.0'.freeze
end

0 comments on commit 0b63c15

Please sign in to comment.