uuids 4.1.2 → 4.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/services/add.rb +1 -5
- data/lib/uuids/version.rb +1 -1
- data/spec/dummy/db/test.sqlite3 +0 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 26ab118cb2345e2661d2db7cd4dfeda6729531b8
|
4
|
+
data.tar.gz: e86f8c257d37ecd12e95d05301f1973ef92bf9d8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 30236a707e43fd13e383659b3b50b3d304ccf26a078d288b07789253c2ae1421114bf6dd37a4adc566305795fd8f823b1431bb8ad8e8e2d0fe7b5ab4a1bd26d0
|
7
|
+
data.tar.gz: 78b2169f231d9a70ec7786a1d7940d7ced442fca689884d42078b6f8dfb08945e4e7944f603cfa9c1e3b6584c79091563f43fe978690adb24b7cf57ac0b18bfe
|
data/app/services/add.rb
CHANGED
@@ -52,7 +52,7 @@ module Uuids
|
|
52
52
|
rescue => err
|
53
53
|
publish :error, err.messages
|
54
54
|
else
|
55
|
-
|
55
|
+
publish :created, uuid, messages
|
56
56
|
end
|
57
57
|
|
58
58
|
private
|
@@ -61,11 +61,7 @@ module Uuids
|
|
61
61
|
|
62
62
|
def create_uuid
|
63
63
|
@uuid = Models::Uuid.create! record: record, value: value
|
64
|
-
end
|
65
|
-
|
66
|
-
def on_uuid_created
|
67
64
|
add_message "success", :created, uuid: uuid, record: name
|
68
|
-
publish :created, uuid, messages
|
69
65
|
end
|
70
66
|
|
71
67
|
def name
|
data/lib/uuids/version.rb
CHANGED
data/spec/dummy/db/test.sqlite3
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: uuids
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.1.
|
4
|
+
version: 4.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Kozin
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-12-
|
11
|
+
date: 2014-12-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: hexx-active_record
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '3.0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '3.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: coveralls
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|