pathway 0.0.12 → 0.0.13

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: 233786184d026970c9ffa64479648cf05b69435e
4
- data.tar.gz: b609fcf4c5c1f9358c4cc4bd5b0f32a087d14ee8
3
+ metadata.gz: f4102ece25806d48a8fab8ae17baa090f3c20730
4
+ data.tar.gz: 3bfbdc6fadedd29d034e682359fc565bbafc66b3
5
5
  SHA512:
6
- metadata.gz: d1e734e173467f5f42fc617d54ab996a9074db689e89690f745def296ac2d28f2a2081eccdf0ebeda308c01f54298480a4420babd0a408506d3ebcacef1161d2
7
- data.tar.gz: cdea60836d822c69afa139fb4ba0010b78a7a95d214ba3c3389775f5eb5533c617e48e285c216e5d13dd2172b785a2edb3625e9142017c3bd4648706564fb245
6
+ metadata.gz: d77498d2506f07c345bf6267bae6eece1803e0bc2a58797979be5082f5a95d24fc26925c1eeea72196f0b88682577b7601ddd044210a4878fb4a37f62c489681
7
+ data.tar.gz: 0a23e8cafac25619343c5920865d9181b8c26ccee8374b4e05a081d41e0cc878cf5284b588fc511b77a5f489128b5d0d0fc6cfffbeb0c2ecfb107bb5523b601c
@@ -11,6 +11,14 @@ module Pathway
11
11
  end
12
12
  }, &bl)
13
13
  end
14
+
15
+ def after_commit(&bl)
16
+ sequence(-> seq, _ {
17
+ db.after_commit do
18
+ seq.call
19
+ end
20
+ }, &bl)
21
+ end
14
22
  end
15
23
 
16
24
  module InstanceMethods
@@ -1,3 +1,3 @@
1
1
  module Pathway
2
- VERSION = '0.0.12'
2
+ VERSION = '0.0.13'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pathway
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.12
4
+ version: 0.0.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pablo Herrero
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-08-10 00:00:00.000000000 Z
11
+ date: 2017-08-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: inflecto