light-services 2.0.0.rc8 → 2.0.0.rc9

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
  SHA256:
3
- metadata.gz: 033745e056484b3cb06dd7047bde7aa8f57d3e7a831f5f9eb2495aec0f9f96e9
4
- data.tar.gz: 6927b650f82197c0ee0403487f18f71015096d244785ae947d0b8ea4dd56373f
3
+ metadata.gz: 1a32ce4735f531eedca5081a844f20f19f67401a6ec1a64439239aaf34812bda
4
+ data.tar.gz: 3515bac03ea98559cbe642b4e999563c83430a02ef1f2c6b1ebbf9d32c3d6e05
5
5
  SHA512:
6
- metadata.gz: c87c5af17cccc1cce0514a65dd8f87b84d21599fcafec91ea92fa9f5d068842bfb01f0055b98c62340809a47e4eb3721a974b5958c7cd6b6410249251cf4cdca
7
- data.tar.gz: a48e79125c81939dd5967ea08e6fcafcb6474f9a13edbc07f1e1d4ec69fc83b23e2bc43a660bf978d999d4b97a57c4f543f5f14b65219c555f2266ce3d06b51f
6
+ metadata.gz: b10f45c46be479084c44047720dc83ad0371eb9c4dad8d73bcabf1dbbe6266d52a53fa5fbb069e3d0e701f7853f7998dc54751823dd9fdaeee006608d7e990cb
7
+ data.tar.gz: 9acee6f8be9ecbc03a1f0b303e247a2decd50ac2d802b78fd7b5877dd16a0520cbcd3147477fd9e2711b1317e00ac101ee9b050af3057dabebd98a4abd1fb55d
@@ -41,7 +41,7 @@ module Light
41
41
  next if !settings.default_exists || key?(name)
42
42
 
43
43
  if settings.default.is_a?(Proc)
44
- set(name, settings.default.call)
44
+ set(name, @instance.instance_exec(&settings.default))
45
45
  else
46
46
  set(name, deep_dup(settings.default))
47
47
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Light
4
4
  module Services
5
- VERSION = "2.0.0.rc8"
5
+ VERSION = "2.0.0.rc9"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: light-services
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0.rc8
4
+ version: 2.0.0.rc9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Emelianenko
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-09-19 00:00:00.000000000 Z
11
+ date: 2022-10-04 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Powerful implementation of Service Object pattern for Ruby and Rails
14
14
  email:
@@ -57,7 +57,7 @@ metadata:
57
57
  source_code_uri: https://github.com/light-ruby/light-services
58
58
  changelog_uri: https://github.com/light-ruby/light-services/blob/master/CHANGELOG.md
59
59
  rubygems_mfa_required: 'true'
60
- post_install_message:
60
+ post_install_message:
61
61
  rdoc_options: []
62
62
  require_paths:
63
63
  - lib
@@ -72,8 +72,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
72
72
  - !ruby/object:Gem::Version
73
73
  version: 1.3.1
74
74
  requirements: []
75
- rubygems_version: 3.1.6
76
- signing_key:
75
+ rubygems_version: 3.3.7
76
+ signing_key:
77
77
  specification_version: 4
78
78
  summary: Powerful implementation of Service Object pattern for Ruby and Rails
79
79
  test_files: []