light-service 0.5.0 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 69a84cc464a38e385b929286e71879cfbd7c1a30
4
- data.tar.gz: a5c1a3782056e3ef2bc1a2da4e6ab89fe2ef8487
3
+ metadata.gz: 4d68f9d14bf6972f0063f0e4765b582857ecdf8c
4
+ data.tar.gz: ac5f09a4248a65df0781d5e93a5e7df6e95c1cfb
5
5
  SHA512:
6
- metadata.gz: 8242553826eed7d16e4728dda02583b335bee7649749f18661fa5155748b21184523b20f7385ef6d5c4a3c2c644872c29d511ae54317d39974d1b4a8982e590f
7
- data.tar.gz: 91dac04863bbff01761bda2f3ddbce112be0b36155c1a7e087b479dba9bce16547b661bc37ad3bbb6a8ea0ecd02034b9c8775b2f6361ef00d9706e7d030b62e2
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
 
@@ -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?
@@ -1,3 +1,3 @@
1
1
  module LightService
2
- VERSION = "0.5.0"
2
+ VERSION = "0.5.1"
3
3
  end
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.0
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-10-31 00:00:00.000000000 Z
11
+ date: 2014-11-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport