Skip to content

Releases: metka-ruby/metka

v3.0.1

Choose a tag to compare

@igor-alexandrov igor-alexandrov released this 19 Aug 13:41
46cd30b

What's Changed

Full Changelog: v3.0.0...v3.0.1

v3.0.0

Choose a tag to compare

@igor-alexandrov igor-alexandrov released this 19 Aug 00:13
92c10cb

What's Changed

Full Changelog: v2.3.4...v3.0.0

v2.3.1

Choose a tag to compare

@ReyMorozov ReyMorozov released this 01 Apr 07:11
83786f5

Fixed spec for Rails master
Updated Gemfile

v2.2.0

Choose a tag to compare

@igor-alexandrov igor-alexandrov released this 28 Dec 13:34
  • Optimised query syntax to use PostgreSQL GIN indices (thanks @BenTalagan)
    Please add GIN indices to you tag columns where it is necessary (e.g. if you usually search your models by tag)
class AddIndices < ActiveRecord::Migration[5.0]
  def change
    add_index :users, :tags, using: 'gin'
  end
end
  • Dropped support for Rails < 5.2
  • Switched to GitHub Actions

Rails 6.1 support

Choose a tag to compare

@igor-alexandrov igor-alexandrov released this 25 Dec 07:18

Added support for Rails 6.1. Dropped support for Rails 5.0 and 5.1.

v2.0.3

Choose a tag to compare

@ReyMorozov ReyMorozov released this 04 Sep 11:10

v2.0.2

Choose a tag to compare

@ReyMorozov ReyMorozov released this 08 Jul 06:14

Bumps rack from 2.0.8 to 2.2.3

v2.0.0

Choose a tag to compare

@enoch0x5a enoch0x5a released this 08 May 15:09

Changes

  1. Added .tagged_with scope.
class Record < ApplicationRecord
  include Metka::Model(columns: %w[tag1 tag2])
  ...
end

...

Record.tagged_with('some, tags')

# same as above
Record.tagged_with('some, tags', on: %w[tag1 tag2], exclude: false, any: false, join_operator: Metka::Or)
  1. Added ActiveRecord strategy as a default strategy, so now it is possible to generate tag clouds without generating the new migrations and database objects.

Breaking changes

  1. only single Metka::Model inclusion is allowed, so instead of:
  include Metka::Model(column: 'tags1')
  include Metka::Model(column: 'tags2')

use:

  include Metka::Model(columns: %w[tags1 tags2])

is fine:

  include Metka::Model(column: 'tags')
  1. only one tags parser is allowed per model
  include Metka::Model(columns: %w[tags1 tags2], parser: My::AwesomeParser.instance)

Bump nokogiri from 1.10.7 to 1.10.8

Choose a tag to compare

@ReyMorozov ReyMorozov released this 28 Feb 10:21
76c3980

Bumps nokogiri from 1.10.7 to 1.10.8.

Release notes
Changelog
Commits

Release version 1.0.2

Choose a tag to compare

@ReyMorozov ReyMorozov released this 20 Dec 06:46

Bumps rack from 2.0.7 to 2.0.8.