forked from mbleigh/acts-as-taggable-on
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into integration
* master: (26 commits) mbleigh#623 collation parameter is ignored if it generates an exception. Update release date for 3.5.0 Update README.md Changing ActsAsTaggable to ActsAsTaggableOn version 3.5.0 Add context constraint to find_related_* methods. Fixes mbleigh#628 added rake rule and a config parameter to force binary collation (MySql) added migration and rake task mbleigh#623: added manual column alter suggestion to fix special characters in tags (MySql only) version bump Add context constraint to find_related_* methods. Fixes mbleigh#628 Fixing typo in docs with strong typing Namespaced TagList usage in a customer parser version bump, test on ruby 2.2, remove rails edge from matrix. clears column cache on reset_column_information resolves mbleigh#621 Use the new build env on Travis Update README.md sha_prefix should not be random Fix milestones link Meet interface expectation for active record. ...
- Loading branch information
Showing
30 changed files
with
215 additions
and
98 deletions.
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
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 |
---|---|---|
@@ -1,22 +1,16 @@ | ||
appraise "activerecord-3.2" do | ||
gem "activerecord", "~> 3.2" | ||
gem "activerecord", github: "rails/rails" , branch: '3-2-stable' | ||
end | ||
|
||
appraise "activerecord-4.0" do | ||
gem "activerecord", "~> 4.0.0" | ||
gem "activerecord", github: "rails/rails" , branch: '4-0-stable' | ||
end | ||
|
||
appraise "activerecord-4.1" do | ||
gem "activerecord", "~> 4.1.0" | ||
gem "activerecord", github: "rails/rails" , branch: '4-1-stable' | ||
end | ||
|
||
appraise "activerecord-4.2" do | ||
gem "railties", ">= 4.2.0.beta1" | ||
gem "activerecord", ">= 4.2.0.beta1" | ||
gem "rack", ">= 1.6.0.beta" | ||
end | ||
|
||
appraise "activerecord-edge" do | ||
gem "activerecord", github: "rails/rails" | ||
gem 'arel', github: 'rails/arel' | ||
gem "railties", github: "rails/rails" , branch: '4-2-stable' | ||
gem "activerecord", github: "rails/rails" , branch: '4-2-stable' | ||
end |
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 |
---|---|---|
|
@@ -8,4 +8,4 @@ group :local_development do | |
gem 'appraisal' | ||
gem 'rake' | ||
gem 'byebug' , platform: :mri_21 | ||
end | ||
end |
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# This migration is added to circumvent issue #623 and have special characters | ||
# work properly | ||
class ChangeCollationForTagNames < ActiveRecord::Migration | ||
def up | ||
if ActsAsTaggableOn::Utils.using_mysql? | ||
execute("ALTER TABLE tags MODIFY name varchar(255) CHARACTER SET utf8 COLLATE utf8_bin;") | ||
end | ||
end | ||
end |
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 was deleted.
Oops, something went wrong.
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
Oops, something went wrong.