Skip to content

Latest commit

 

History

History
93 lines (57 loc) · 2.72 KB

CHANGELOG.md

File metadata and controls

93 lines (57 loc) · 2.72 KB

Shibaraku master (unreleased)

full changelog

Shibaraku v2.0.0 (2019-11-29)

full changelog

  • [#8] Depend on ActiveRecord only, not rails

Housekeeping

  • [#10] Setup GitHub Actions
  • [#9] CI against currently rubies and rails

Shibaraku v1.4.0 (2017-02-15)

full changelog

  • [#5] Support ActiveHash (@Narazaka)

Shibaraku v1.3.0 (2016-11-08)

full changelog

  • [#4] Use ActiveSupport lazy load hook to initialize ActiveRecord (@onk)

Shibaraku v1.2.0 (2016-07-12)

full changelog

  • [#3] relax dependency version (@onk)
  • [#2] support join with shibaraku-ize tables (@onk)
  • [#1] Support matrix versions test on Travis CI (@sue445)

Shibaraku v1.1.0 (2015-10-18)

full changelog

  • rubygems.org に公開するため歴史を改ざん
  • bundle gem shibaraku をやり直して最新に追随した

Shibaraku v0.0.4 (2015-03-06)

full changelog

  • .in_time および #in_time? の第一引数(user) を省略可能にした

    Campaign.in_time
    # => select start_at <= now < end_at records
    
    Campaign.in_time(normal_user)
    # => select start_at <= now < end_at records
    
    Campaign.in_time(super_user)
    # => select test_start_at <= now < test_end_at records

Shibaraku v0.0.3 (2014-12-16)

full changelog

  • カラム名が start_at / end_at 決め打ちだったので、started_at 等をオプションで渡せるようにした

    class Event
      shibaraku start_at: :started_at, end_at: :ended_at
    end
  • 運営ユーザは test_start_at を見る、という運用に対応した

    Campaign.in_time(normal_user)
    # => select start_at <= now < end_at records
    
    Campaign.in_time(super_user)
    # => select test_start_at <= now < test_end_at records

    Breaking Change メソッドの第1引数に super_user? が呼べるオブジェクトを渡すように変更しました。 全体的にアプリケーション側のコードの修正が必要です。

Shibaraku v0.0.2 (2014-12-05)

full changelog

  • 終了時刻の 00:00 は分かりづらいので前日の 23:59 と返すメソッドを用意 (@onk)

Shibaraku v0.0.1 (2014-11-18)

  • Initial Release