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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 05e06ddd336864e4242fcde8f46e7d726d64a945
4
- data.tar.gz: 035d15d194ff0655e546cc8b1f210e5f72217b6a
3
+ metadata.gz: 2a1f529380771de1a1f8d516a19ffd6b96cbd87a
4
+ data.tar.gz: 0b8ba1f66db2f0a05dc19585926fe35c5063c7c3
5
5
  SHA512:
6
- metadata.gz: 6a36387aaedd603cc6108fb26d76f271ad2703c25b380c41a250626ca4d28e19487f8afb622fc7a8bfc8fa9b4988f51773800b702c7986040aff77ae122f8e45
7
- data.tar.gz: 9a06b496d29e0b0ef83c50ea653f257fb1104429b9cdc544c83bf155d67e2434a120e10ffe6ad96a71336e40c4020f61351d021a6f40cb213b993ae44547f83c
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 Exception => exception
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 Exception => exception
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 Exception => exception
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 Exception => exception
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.2'
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.1'
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
@@ -1,9 +1,8 @@
1
1
  $LOAD_PATH.unshift File.expand_path('../support/models', __FILE__)
2
2
 
3
- require 'perimeter-activerecord'
4
-
5
3
  require 'sqlite3'
6
4
  require 'active_record'
5
+ require 'perimeter-activerecord'
7
6
 
8
7
  RSpec.configure do |config|
9
8
 
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.2
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: 2014-07-14 00:00:00.000000000 Z
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.1
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.1
26
+ version: 0.0.7
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: activerecord
29
29
  requirement: !ruby/object:Gem::Requirement