light-service 0.5.0 → 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/RELEASES.md +7 -0
- data/lib/light-service/action.rb +0 -2
- data/lib/light-service/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4d68f9d14bf6972f0063f0e4765b582857ecdf8c
|
|
4
|
+
data.tar.gz: ac5f09a4248a65df0781d5e93a5e7df6e95c1cfb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1ca0cb1b7e3f80e13a43560069e854c8ba410d905a2ed874a700203908465f408bc379d650cf1c820ab74ec6983ed0b30fea978e3b1c6797acb9694603b8934f
|
|
7
|
+
data.tar.gz: 6b66eb9c58f7a7fa6414bff2df6223a2e66f8d4f17de15e107514f45aa77131b778bec94f9715c026f4216720836c37069c9c93f5684587ab6d6f1293646e4de
|
data/RELEASES.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
A brief list of new features and changes introduced with the specified version.
|
|
2
2
|
|
|
3
|
+
### 0.5.1
|
|
4
|
+
* Removing the thrown exception for invoking the "executed" macro twice
|
|
5
|
+
|
|
6
|
+
### 0.5.0
|
|
7
|
+
* Adding [rollback](https://github.com/adomokos/light-service#action-rollback) functionality
|
|
8
|
+
* Adding [message localization](https://github.com/adomokos/light-service#localizing-messages) feature
|
|
9
|
+
|
|
3
10
|
### 0.4.0
|
|
4
11
|
* Adding [logging](https://github.com/adomokos/light-service#logging) to LightService
|
|
5
12
|
|
data/lib/light-service/action.rb
CHANGED
|
@@ -25,8 +25,6 @@ module LightService
|
|
|
25
25
|
end
|
|
26
26
|
|
|
27
27
|
def executed
|
|
28
|
-
raise "`executed` macro can not be invoked again" if self.respond_to?(:execute)
|
|
29
|
-
|
|
30
28
|
define_singleton_method "execute" do |context = {}|
|
|
31
29
|
action_context = create_action_context(context)
|
|
32
30
|
return action_context if action_context.stop_processing?
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: light-service
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Attila Domokos
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-
|
|
11
|
+
date: 2014-11-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|