Skip to content

Commit

Permalink
v3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Damian Galarza committed Apr 15, 2016
1 parent f5313da commit cbab60f
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
high_voltage (2.4.0)
high_voltage (3.0.0)

GEM
remote: https://rubygems.org/
Expand Down
5 changes: 5 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
New for 3.0.0
+ HighVoltage now supports Rails 5.0.0.beta3 and up.
+ Properly handle extensions in root route constraint requests.
+ Removes caching in preparation for Rails 5.

New for 2.4.0
+ Retrieve a list of available static pages via `HighVoltage.page_ids`.
+ Properly handle page ids which are blank when being sanitized.
Expand Down
8 changes: 2 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,9 @@ Yeah, like "About us", "Directions", marketing pages, etc.
Include in your Gemfile:

```ruby
gem 'high_voltage', '~> 2.4.0'
gem 'high_voltage', '~> 3.0.0'
```

For Rails versions prior to 3.0, use the 0.9.2 tag of high_voltage:

https://github.com/thoughtbot/high_voltage/tree/v0.9.2

## Usage

Write your static pages and put them in the RAILS_ROOT/app/views/pages directory.
Expand Down Expand Up @@ -362,7 +358,7 @@ Thank you, [contributors]!

## License

High Voltage is copyright © 2009-2015 thoughtbot. It is free software, and may
High Voltage is copyright © 2009-2016 thoughtbot. It is free software, and may
be redistributed under the terms specified in the [`LICENSE`] file.

[`LICENSE`]: /MIT-LICENSE
Expand Down
2 changes: 1 addition & 1 deletion lib/high_voltage/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module HighVoltage
VERSION = "2.4.0".freeze
VERSION = "3.0.0".freeze
end

0 comments on commit cbab60f

Please sign in to comment.