1
0
Fork 0
mirror of https://github.com/aasm/aasm synced 2023-03-27 23:22:41 -04:00
Commit graph

114 commits

Author SHA1 Message Date
Thorsten Böttger
4ea38fc6fc version bump to 4.2.0 2015-06-23 21:43:03 +12:00
Thorsten Böttger
aad5fa55de documenting pull request in the changelog 2015-06-23 21:40:28 +12:00
Thorsten Böttger
dad5b44bcf update changelog for disabling/enabling no_direct_assignment 2015-05-29 22:43:29 +12:00
Thorsten Böttger
d8405cbeb3 version bump to 4.1.1 2015-05-13 18:52:42 +12:00
Thorsten Böttger
67f12f26d1 support block notation for :after_commit event callbacks 2015-05-13 18:52:13 +12:00
Thorsten Böttger
f394bde646 add extension for to changelog 2015-03-07 23:10:37 +13:00
Thorsten Böttger
427521ae2d add extension for and to changelog 2015-03-07 22:59:01 +13:00
Thorsten Böttger
bd167e41d9 add bugfix for to changelog 2015-03-07 22:50:12 +13:00
Thorsten Böttger
3596993093 version bump to 4.1.0 2015-02-23 21:44:19 +13:00
Thorsten Böttger
65e1cfe32e update changelog for latest patch from @Shwetakale 2015-02-23 21:43:11 +13:00
Thorsten Böttger
b562834e53 update changelog for latest patch from @reidmorrison 2015-02-23 21:22:49 +13:00
Thorsten Böttger
8c262aba96 bugfix: may_<event>? should return true or false only 2014-12-31 12:13:48 +01:00
Thorsten Böttger
763957f6ec bugfix: take private methods into account when checking for callbacks 2014-12-20 20:12:15 +01:00
Thorsten Böttger
046dad9dfd version bump to 4.0.6 2014-12-20 17:29:05 +01:00
Thorsten Böttger
cdc3d5e829 bugfix: false is treated as uninitialised state (same as nil) 2014-12-13 01:21:40 +01:00
Thorsten Böttger
bb01034c1a an event's :error callback now retrieves all arguments passed to the event 2014-12-13 00:43:38 +01:00
Thorsten Böttger
e48fcc1161 bugfix: initialize the aasm state column after initialization of the ActiveRecord instance only if the attribute has been loaded 2014-12-06 11:15:12 +01:00
Thorsten Böttger
6f7f8d3315 version bump to 4.0.4 2014-12-05 17:34:18 +01:00
Thorsten Böttger
4e8d65202b corrected callback order in README 2014-12-05 17:20:32 +01:00
Thorsten Böttger
13c8e96fe7 bugfix: initialize the aasm state column after initialization of the _ActiveRecord_ instance 2014-12-05 00:07:38 +01:00
Thorsten Böttger
8f7f1b2da8 bugfix: avoid Rails autoloading conflicts (see and ) 2014-11-28 22:22:43 +01:00
Thorsten Böttger
9aa50f9c11 bugfix: fire guards only once per transition, part 2 2014-11-25 22:23:23 +01:00
Thorsten Böttger
6fbdefd620 aasm_column is deprecated. Use aasm.attribute_name instead. 2014-11-24 23:50:04 +01:00
Thorsten Böttger
4fdc2a73b5 bugfix: really support block-guards (defined within a transition block) 2014-11-24 13:47:21 +01:00
Thorsten Böttger
aac1ece778 fire guards only once per transition 2014-11-19 23:34:39 +01:00
Thorsten Böttger
ef70ac53d9 aasm_human_event_name is deprecated, use aasm.human_event_name instead 2014-11-16 22:59:35 +01:00
Thorsten Böttger
8ee22da6f0 version bump to 4.0.0 2014-11-15 17:45:35 +01:00
Thorsten Böttger
7d32335b60 Merge branch 'master' into aasm4
Conflicts:
	CHANGELOG.md
	lib/aasm/event.rb
	lib/aasm/transition.rb
2014-11-15 12:24:56 +01:00
Thorsten Böttger
44cb4c2039 support if and unless guard syntax (extended README) 2014-11-14 18:08:34 +01:00
Thorsten Böttger
e9a7686b3e removed deprecated methods (mostly the ones prefixed with ) 2014-11-06 00:02:13 +01:00
Thorsten Böttger
710790a03e planned changes for AASM 4.0 and 4.1 2014-11-05 00:18:47 +01:00
Thorsten Böttger
488bda0c42 renamed permissible states and events to permitted states events 2014-10-13 23:24:00 +02:00
Thorsten Böttger
1352b9b215 class-based events now returns a list of Event instances (instead of a hash with event names as keys) 2014-10-12 16:16:01 +02:00
Thorsten Böttger
6ab03be38b instance-based permissible_events has been removed in favor or events(:permissible => true) 2014-10-12 15:57:56 +02:00
Thorsten Böttger
9346e6a859 instance-based events inspection now returns event instances (instead of the event names as symbol) 2014-10-12 15:46:11 +02:00
Thorsten Böttger
72b0257734 callback :on_transition renamed to :after and changed its binding (see ) 2014-09-12 14:30:36 +02:00
Thorsten Böttger
1c23eaf350 Merge branch 'master' into aasm4 2014-09-12 13:46:14 +02:00
Thorsten Böttger
0adf6c5799 allow retrieving the current event (see and ) 2014-09-12 11:42:01 +02:00
Thorsten Böttger
8e356d3fa4 update changelog for callback clean-up 2014-09-09 23:04:47 +02:00
Thorsten Böttger
116314d646 Merge branch 'master' into aasm4 2014-09-08 23:41:21 +02:00
Thorsten Böttger
25fd16a1a7 version bump to 3.3.3 2014-08-20 21:46:57 +02:00
Thorsten Böttger
2f5f9cb038 Merge branch 'master' into aasm4
Conflicts:
	lib/aasm/aasm.rb
	lib/aasm/persistence/active_record_persistence.rb
2014-08-18 21:44:42 +02:00
Thorsten Böttger
ca6f524a98 bugfix: support reloading development environment in Rails 2014-08-17 18:42:19 +02:00
Thorsten Böttger
3fc5e0ee7e version bump to 3.3.2 2014-08-16 13:04:15 +02:00
Thorsten Böttger
dfec1bfe76 added some changes to the changelog 2014-08-16 13:02:45 +02:00
Thorsten Böttger
f120fae3b0 added some changes to the changelog 2014-08-16 12:47:43 +02:00
Thorsten Böttger
12bca87744 Merge branch 'master' into aasm4
Conflicts:
	README.md
	lib/aasm/base.rb
2014-07-13 14:17:53 +02:00
Thorsten Böttger
6aa96d85dc version bump to 3.3.1 2014-07-12 16:09:53 +02:00
Thorsten Böttger
75c81b1195 bugfix: permissible events will respect given guards 2014-07-12 15:24:17 +02:00
Thorsten Böttger
e7f21ffdfc version bump to 3.3.0 2014-07-06 18:41:44 +02:00