From 05576459977f2ec33fc937a0910ba477d867f8c4 Mon Sep 17 00:00:00 2001 From: Pat Allan Date: Sun, 29 Oct 2017 12:28:48 +1100 Subject: [PATCH] 1.0.0 --- README.md | 6 +++++- gutentag.gemspec | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d9697b3..96eaf86 100644 --- a/README.md +++ b/README.md @@ -68,7 +68,7 @@ Article.tagged_with(:ids => [tag_a.id, tag_b.id], :match => :all) Get it into your Gemfile - and don't forget the version constraint! ```Ruby -gem 'gutentag', '~> 0.9.0' +gem 'gutentag', '~> 1.0.0' ``` Next: your tags get persisted to your database, so let's import and run the migrations to get the tables set up: @@ -105,6 +105,10 @@ add_index :gutentag_tags, :taggings_count

Upgrading

+### 1.0.0 + +Behaviour that was deprecated in 0.9.0 (`has_many_tags`, `tagged_with` arguments) have now been removed. + ### 0.9.0 * In your models with tags, change `has_many_tags` to `Gutentag::ActiveRecord.call self`. diff --git a/gutentag.gemspec b/gutentag.gemspec index 05a831a..92d072d 100644 --- a/gutentag.gemspec +++ b/gutentag.gemspec @@ -3,7 +3,7 @@ Gem::Specification.new do |s| s.name = "gutentag" - s.version = "0.9.0" + s.version = "1.0.0" s.authors = ["Pat Allan"] s.email = ["pat@freelancing-gods.com"] s.homepage = "https://github.com/pat/gutentag"