openhub.net
Black Duck Software, Inc.
Black Duck Open Hub
Follow @
OH
Sign In
Join Now
Projects
People
Organizations
Tools
Blog
BDSA
Projects
People
Projects
Organizations
Forums
S
state_flow
Settings
|
Report Duplicate
0
I Use This!
×
Login Required
Log in to Open Hub
Remember Me
Inactive
Commits
: Listings
Analyzed
about 16 hours
ago. based on code collected
1 day
ago.
Apr 16, 2023 — Apr 16, 2024
Showing page 1 of 2
Search / Filter on:
Commit Message
Contributor
Files Modified
Lines Added
Lines Removed
Code Location
Date
Version bump to 0.2.1
akimatter
More...
over 14 years ago
実行時にコンテキストにアクセスできるようにインスタンスメソッドstate_flow_contextsメソッドを実装しました。
akimatter
More...
over 14 years ago
明示的なロールバックを削除しました。
akimatter
More...
over 14 years ago
例外が発生した場合のrecoverを元のトランザクションの外側で行うようにしました。
akimatter
More...
over 14 years ago
例外のハンドリング中に更に例外が起きた場合の処理を実装しました・・・が、実際のアプリに適用してみると Mysql::Error: SAVEPOINT active_record_1 does not exist: ROLLBACK TO SAVEPOINT active_r...@xxxx_controller rescue Error というようなエラーが出てしまいます・・・。なので、例外発生時は一度トランザクションを抜けてその後にExceptionHandlerを動かすようにします。
akimatter
More...
over 14 years ago
EventClient#exception_handlingはExceptionHandlerClientに移動したはずが残っていたので削除しました。 また、無駄なevent_handlingを減らしてログを追いかけやすいようにしました。
akimatter
More...
over 14 years ago
process開始時 stateが見つからなかった場合に例外をraiseするようにしました。
akimatter
More...
over 14 years ago
バージョンアップに伴いREADME.rdocを更新しました。
akimatter
More...
over 14 years ago
親ステータスに定義されているイベントによってちゃんと遷移できるようにしました。
akimatter
More...
over 14 years ago
entryは状態遷移図の用語にあるのでやめて、elementにしました。
akimatter
More...
over 14 years ago
entryは状態遷移図の用語にあるのでやめて、elementにしました。
akimatter
More...
over 14 years ago
transition.rbは不要なので削除しました。
akimatter
More...
over 14 years ago
デフォルトで:keep_process => trueにしたので、テストからその記述を削除しました。
akimatter
More...
over 14 years ago
継続実行時にエラーが例外が発生した場合に正しく状態が遷移することを確認するテストを追加しました。
akimatter
More...
over 14 years ago
process_xxxxやイベントによって状態遷移したときに、自動で遷移する場合(イベントがなくガードに合致する場合)自動でその遷移も行うようにしました。:keep_process => true
akimatter
More...
over 14 years ago
contextの生成もStateFlow::Baseで行うようにしてトランザクションの制御もcontextに任せるようにしました。
akimatter
More...
over 14 years ago
デフォルトでsave!が実行されるようにしました。
akimatter
More...
over 14 years ago
action_eventの:settlement_okとnamed_eventの:settlement_okがややこしいので、action_eventの方を:okにしました。
akimatter
More...
over 14 years ago
イベントのメソッドを自動で定義するようにしました。
akimatter
More...
over 14 years ago
NamedEventがうまく処理されていないようなので、まずはActionEventのまわりをシンプルにActionの戻り値の判断をするイベントにはActionEventクラスのみを使うようにしました。
akimatter
More...
over 14 years ago
ステータスの親ステータスの例外のハンドリングもちゃんと機能するようにしました。
akimatter
More...
over 14 years ago
発生した例外とrecoverした例外はコンテキストに覚えておくようにしました。
akimatter
More...
over 14 years ago
StateFlow::Context#recordを通じた処理をすべてStateFlow::Contextのメソッドとして定義しました。
akimatter
More...
over 14 years ago
exception_handlering を exception_handling に修正しました。
akimatter
More...
over 14 years ago
一連の処理を表現するためにContextクラスを導入しました。
akimatter
More...
over 14 years ago
Order.count == 1 となっていたところをshouldを使うように修正しました。
akimatter
More...
over 14 years ago
例外のハンドリングができるようにしました。
akimatter
More...
over 14 years ago
例外ではなくreserve_stockの戻り値によってstock_errorに遷移する際に、reserve_ponitで確保したポイントをdelete_pointによって消さなければならないので、修正しました。
akimatter
More...
over 14 years ago
junctionのような書き方でイベントをまとめてみました。
akimatter
More...
over 14 years ago
Orderの銀行振込と外国の決済手段Aでの決済前から決済中へのプロセルができました。
akimatter
More...
over 14 years ago
←
1
2
→
This site uses cookies to give you the best possible experience. By using the site, you consent to our use of cookies. For more information, please see our
Privacy Policy
Agree