Skip to content

Commit

Permalink
Change jquery-rails requirement to ~> 2.0.0 before running bundle ins…
Browse files Browse the repository at this point in the history
…tall initially.
  • Loading branch information
robyurkowski committed Aug 18, 2012
1 parent 97b6f8d commit 3239c55
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@

* [See full list](https://github.com/resolve/refinerycms/compare/2-0-stable...master)

## 2.0.7 [Unreleased]
## 2.0.8 [17 August 2012]
* Fixes installs broken by the release of jquery-rails 2.1.0 by requiring ~> 2.0.0. [Rob Yurkowski](https://github.com/robyurkowski)

## 2.0.7 [16 August 2012]
* Fixed a bug with nested reordering that would shuffle any set with 11 or more entities. [#1882](https://github.com/resolve/refinerycms/pull/1882). [Rob Yurkowski](https://github.com/robyurkowski)

## 2.0.6 [6 August 2012]
Expand Down
2 changes: 1 addition & 1 deletion templates/refinery/edge.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
require 'rbconfig'

gsub_file 'Gemfile', "gem 'jquery-rails'", "gem 'jquery-rails', '~> 2.0.0'"
# We want to ensure that you have an ExecJS runtime available!
begin
run 'bundle install'
Expand All @@ -9,7 +10,6 @@
gsub_file 'Gemfile', "# gem 'therubyracer'", "gem 'therubyracer'"
end

gsub_file 'Gemfile', "gem 'jquery-rails'", "gem 'jquery-rails', '~> 2.0.0'"
append_file 'Gemfile' do
"
Expand Down
2 changes: 1 addition & 1 deletion templates/refinery/installer.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
require 'rbconfig'
VERSION_BAND = '2.0.0'

gsub_file 'Gemfile', "gem 'jquery-rails'", "gem 'jquery-rails', '~> 2.0.0'"
# We want to ensure that you have an ExecJS runtime available!
begin
run 'bundle install'
Expand All @@ -21,7 +22,6 @@
end
end

gsub_file 'Gemfile', "gem 'jquery-rails'", "gem 'jquery-rails', '~> 2.0.0'"
append_file 'Gemfile', <<-GEMFILE
# Refinery CMS
Expand Down

0 comments on commit 3239c55

Please sign in to comment.