light-service-ext 0.1.3 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/dev/setup.rb +1 -6
- data/lib/light-service-ext/configuration.rb +2 -2
- data/lib/light-service-ext/version.rb +1 -1
- data/lib/light-service-ext.rb +7 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6432cb7ae9c048af280e6415e2c57f88038f78129e2a255ab3cf02f82bd29f30
|
4
|
+
data.tar.gz: 577f2cd174a5c2583cc86550bd7fc12e6aba201eb234c09e26f7c462375b25e0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 61c7574e1da049c7afdf79c659c6e8c2ae78323197938b0246ed2872c623913148f687507a6d9b4eef074e294909c86e8bb1e4a719dc7e5d49fc52ce9ef83019
|
7
|
+
data.tar.gz: 7f6318ddb02db397b661d3dc3ae13b531459f67bc1697f9de6bf26fe3a40d388287023400e560319e8da72270c1f2687b3810279a2f9f426e01655ada53224d5
|
data/dev/setup.rb
CHANGED
@@ -2,13 +2,8 @@
|
|
2
2
|
|
3
3
|
# Sets up environment for running specs and via irb e.g. `$ irb -r ./dev/setup`
|
4
4
|
|
5
|
-
require '
|
6
|
-
require 'light-service'
|
7
|
-
require 'dry-validation'
|
5
|
+
require 'pathname'
|
8
6
|
require 'rspec/core'
|
9
7
|
|
10
|
-
require 'active_support/core_ext/array'
|
11
|
-
require 'active_support/configurable'
|
12
|
-
|
13
8
|
require File.expand_path("../../lib/light-service-ext", Pathname.new(__FILE__).realpath)
|
14
9
|
require File.expand_path("../../spec/spec_helper", Pathname.new(__FILE__).realpath)
|
@@ -4,8 +4,8 @@ module LightServiceExt
|
|
4
4
|
class Configuration
|
5
5
|
include ActiveSupport::Configurable
|
6
6
|
|
7
|
-
config_accessor(:allow_raise_on_failure
|
8
|
-
config_accessor(:non_fatal_error_classes
|
7
|
+
config_accessor(:allow_raise_on_failure) { true }
|
8
|
+
config_accessor(:non_fatal_error_classes) { [] }
|
9
9
|
config_accessor(:default_non_fatal_error_classes) { ['Rails::ActiveRecordError'.safe_constantize] }
|
10
10
|
config_accessor(:logger) { (defined? Rails.logger).nil? ? Logger.new($stdout) : Rails.logger }
|
11
11
|
|
data/lib/light-service-ext.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: light-service-ext
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Desmond O'Leary
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-05-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: light-service
|
@@ -228,7 +228,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
228
228
|
- !ruby/object:Gem::Version
|
229
229
|
version: '0'
|
230
230
|
requirements: []
|
231
|
-
rubygems_version: 3.
|
231
|
+
rubygems_version: 3.4.8
|
232
232
|
signing_key:
|
233
233
|
specification_version: 4
|
234
234
|
summary: Extends light-service with opinionated functionality
|