perimeter-activerecord 0.0.2 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/perimeter/repository/adapters/active_record.rb +4 -4
- data/perimeter-activerecord.gemspec +2 -2
- data/spec/spec_helper.rb +1 -2
- 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: 2a1f529380771de1a1f8d516a19ffd6b96cbd87a
|
4
|
+
data.tar.gz: 0b8ba1f66db2f0a05dc19585926fe35c5063c7c3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 06dacb3db5be739f5fb51d952c400a24ae240eb9a369674d2ac59f21f1dae2c8aa777a66d8972402e895e456a3fe0f0b2c177af4424aea36a3fe108024c657b2
|
7
|
+
data.tar.gz: 13978b9b56bc4b4b6bcdd059b4f6995d16319d94bdabd573e06ac9ac8412d5a4fd46da675f4d12b7acf8ee1c844e1816142f598a923f644ad5953207ef679904
|
@@ -22,7 +22,7 @@ module Perimeter
|
|
22
22
|
rescue ::ActiveRecord::RecordNotFound => exception
|
23
23
|
Operations.failure :record_not_found, object: exception
|
24
24
|
|
25
|
-
rescue
|
25
|
+
rescue => exception
|
26
26
|
::Trouble.notify exception
|
27
27
|
Operations.failure :backend_error, object: exception
|
28
28
|
end
|
@@ -45,7 +45,7 @@ module Perimeter
|
|
45
45
|
Operations.failure :creation_failed, object: record_to_entity(record)
|
46
46
|
end
|
47
47
|
|
48
|
-
rescue
|
48
|
+
rescue => exception
|
49
49
|
::Trouble.notify exception
|
50
50
|
Operations.failure :backend_error, object: exception
|
51
51
|
end
|
@@ -72,7 +72,7 @@ module Perimeter
|
|
72
72
|
Operations.failure :update_failed
|
73
73
|
end
|
74
74
|
|
75
|
-
rescue
|
75
|
+
rescue => exception
|
76
76
|
::Trouble.notify exception
|
77
77
|
Operations.failure :backend_error, object: exception
|
78
78
|
end
|
@@ -88,7 +88,7 @@ module Perimeter
|
|
88
88
|
Operations.failure :destruction_failed
|
89
89
|
end
|
90
90
|
|
91
|
-
rescue
|
91
|
+
rescue => exception
|
92
92
|
::Trouble.notify exception
|
93
93
|
Operations.failure :backend_error, object: exception
|
94
94
|
end
|
@@ -3,7 +3,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
3
3
|
|
4
4
|
Gem::Specification.new do |spec|
|
5
5
|
spec.name = 'perimeter-activerecord'
|
6
|
-
spec.version = '0.0.
|
6
|
+
spec.version = '0.0.4'
|
7
7
|
spec.authors = %w{ Bukowskis }
|
8
8
|
spec.description = %q{Repository/Entity pattern conventions. This is an adapter for ActiveRecord.}
|
9
9
|
spec.summary = %q{Repository/Entity pattern conventions. This is an adapter for ActiveRecord.}
|
@@ -15,7 +15,7 @@ Gem::Specification.new do |spec|
|
|
15
15
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
16
16
|
spec.require_paths = %w{ lib }
|
17
17
|
|
18
|
-
spec.add_dependency 'perimeter', '~> 0.0.
|
18
|
+
spec.add_dependency 'perimeter', '~> 0.0.7'
|
19
19
|
|
20
20
|
spec.add_development_dependency 'activerecord'
|
21
21
|
spec.add_development_dependency 'guard-rspec'
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: perimeter-activerecord
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bukowskis
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-03-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: perimeter
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.0.
|
19
|
+
version: 0.0.7
|
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: 0.0.
|
26
|
+
version: 0.0.7
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: activerecord
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|