light-service-ext 0.1.3 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 962aaba417524bf102f137c7f62dd622b440701dc106c6afa8372bcb4c2c36ec
4
- data.tar.gz: 71430081be864aee8f985f67adc936ce46c078a8e19f9e476e4337f5d1d89ca0
3
+ metadata.gz: 6432cb7ae9c048af280e6415e2c57f88038f78129e2a255ab3cf02f82bd29f30
4
+ data.tar.gz: 577f2cd174a5c2583cc86550bd7fc12e6aba201eb234c09e26f7c462375b25e0
5
5
  SHA512:
6
- metadata.gz: d05157f2a3b4f92591046ef6a51b5fdd55dc9f8d7eeb3fd314529b71a6981bd71bb1d382c58bdd3c3d8bf71cf46095637682b94c35aad37dc9770fba9caef935
7
- data.tar.gz: 52144674f23c819c5680d4ab53d54260b1919abaf2bd46ed3fe05351bf169056981c8c89ce762f1a4ad837605ba96b9ab12dc2ff9d63f51e074525c2ae728cb2
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 'json'
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, default: true)
8
- config_accessor(:non_fatal_error_classes, default: [])
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
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module LightServiceExt
4
- VERSION = "0.1.3"
4
+ VERSION = "0.1.5"
5
5
  end
@@ -1,5 +1,12 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require 'json'
4
+ require 'light-service'
5
+ require 'dry-validation'
6
+ require 'active_support/core_ext/array'
7
+ require 'active_support/configurable'
8
+
9
+
3
10
  %w[
4
11
  version
5
12
  constants
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.3
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-02-26 00:00:00.000000000 Z
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.1.6
231
+ rubygems_version: 3.4.8
232
232
  signing_key:
233
233
  specification_version: 4
234
234
  summary: Extends light-service with opinionated functionality