From 3411c512ed847840396edfee831f8cd6e4941add Mon Sep 17 00:00:00 2001 From: Jason Lee Date: Mon, 14 Jan 2019 15:31:56 +0800 Subject: [PATCH] version 0.4.3 --- CHANGELOG.md | 16 ++++++++++++++++ Gemfile.lock | 4 ++-- lib/action_store/version.rb | 2 +- 3 files changed, 19 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c16b574..fa843be 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,19 @@ +0.4.3 +----- + +- Auto reload `target`, when action/unaction target. + +```rb +irb> post.likes_count +=> 0 +irb> user.like_post(post) +irb> post.likes_count +=> 1 +irb> user.unlike_post(post) +irb> post.likes_count +=> 0 +``` + 0.4.2 ----- diff --git a/Gemfile.lock b/Gemfile.lock index f7fbc0f..cf2442c 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - action-store (0.4.2) + action-store (0.4.3) rails (~> 5) GEM @@ -142,4 +142,4 @@ DEPENDENCIES simplecov BUNDLED WITH - 1.17.1 + 1.17.2 diff --git a/lib/action_store/version.rb b/lib/action_store/version.rb index 32c7c1a..55cff78 100644 --- a/lib/action_store/version.rb +++ b/lib/action_store/version.rb @@ -1,4 +1,4 @@ # frozen_string_literal: true module ActionStore - VERSION = "0.4.2" + VERSION = "0.4.3" end