dry-transaction 0.13.3 → 0.14.0

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: cfebcfe9879d78d03bfb502faeb3965ecf265d000f34573c6aacc1cfbd9c89ac
4
- data.tar.gz: 94e63ed189b258ff5e049893e483a0f0f105bf570c8806bbf8b58abac5b09947
3
+ metadata.gz: 010cc004830363a29fd3701799a706d8734e37196acdf9e515a87519c7f1aef8
4
+ data.tar.gz: fd9b26e42dd9690c8fc56d372555378f8013a86d8f0b56426b00bccd9220aa10
5
5
  SHA512:
6
- metadata.gz: 9187e6d04eed0ce3409ddc2d7e8778a33e37f4ba53f6eb6d0a9bccbc1c06f6eda992866a5d850be062c19bf3b943df202b683fd4d0eacfc5a40393ea7d3c2e6c
7
- data.tar.gz: bf0d4654a70605d33e9343290c4178d0d8d9284cc1faeb6f184f31a909dc3bb8223fe59078ea69490ced8abbdbedcff00d855c591ff288dc8b4f5b19dfc51729
6
+ metadata.gz: 0ccdb31bf78be6abb87c19eca848acbe54120a4308a84c7c498724c7428e2aa91e6f54480ca89fe6674cc08fddc56eaff15015b32afe09b9ffeb9f499d46850d
7
+ data.tar.gz: fe27e8c8fe12217585d333e8263b7c8c3be2d1f74191c68a2ec6c9e9583ca3fb0324b34a91a78e661540b3276c1403c1f9826a2254d4f6ebcc927e008c1f7c2f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  <!--- DO NOT EDIT THIS FILE - IT'S AUTOMATICALLY GENERATED VIA DEVTOOLS --->
2
2
 
3
+ ## 0.14.0 2022-10-21
4
+
5
+
6
+ ### Changed
7
+
8
+ - Updated to work with latest dry-events and dry-monads using Zeitwerk for auto-loading (see #142) (@kzaitsev)
9
+
10
+ [Compare v0.13.3...v0.14.0](https://github.com/dry-rb/dry-transaction/compare/v0.13.3...v0.14.0)
11
+
3
12
  ## 0.13.3 2021-06-07
4
13
 
5
14
 
data/README.md CHANGED
@@ -11,7 +11,7 @@
11
11
  [![CI Status](https://github.com/dry-rb/dry-transaction/workflows/ci/badge.svg)][actions]
12
12
  [![Codacy Badge](https://api.codacy.com/project/badge/Grade/f2c8f3f2e96a477faee00109cfb2090d)][codacy]
13
13
  [![Codacy Badge](https://api.codacy.com/project/badge/Coverage/f2c8f3f2e96a477faee00109cfb2090d)][codacy]
14
- [![Inline docs](http://inch-ci.org/github/dry-rb/dry-transaction.svg?branch=master)][inchpages]
14
+ [![Inline docs](http://inch-ci.org/github/dry-rb/dry-transaction.svg?branch=main)][inchpages]
15
15
 
16
16
  ## Links
17
17
 
@@ -22,8 +22,8 @@
22
22
 
23
23
  This library officially supports the following Ruby versions:
24
24
 
25
- * MRI `>= 2.6.0`
26
- * jruby `>= 9.2`
25
+ * MRI `>= 2.7.0`
26
+ * jruby `>= 9.3` (postponed until 2.7 is supported)
27
27
 
28
28
  ## License
29
29
 
@@ -26,16 +26,12 @@ Gem::Specification.new do |spec|
26
26
  spec.metadata["source_code_uri"] = "https://github.com/dry-rb/dry-transaction"
27
27
  spec.metadata["bug_tracker_uri"] = "https://github.com/dry-rb/dry-transaction/issues"
28
28
 
29
- if defined? JRUBY_VERSION
30
- spec.required_ruby_version = ">= 2.5.0"
31
- else
32
- spec.required_ruby_version = ">= 2.6.0"
33
- end
29
+ spec.required_ruby_version = ">= 2.7.0"
34
30
 
35
31
  # to update dependencies edit project.yml
36
32
  spec.add_runtime_dependency "dry-container", ">= 0.2.8"
37
- spec.add_runtime_dependency "dry-events", ">= 0.1.0"
33
+ spec.add_runtime_dependency "dry-events", ">= 0.4.0"
38
34
  spec.add_runtime_dependency "dry-matcher", ">= 0.7.0"
39
- spec.add_runtime_dependency "dry-monads", ">= 0.4.0"
35
+ spec.add_runtime_dependency "dry-monads", ">= 0.5.0"
40
36
 
41
37
  end
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'dry/monads/result'
4
- require 'dry/events/publisher'
3
+ require 'dry/monads'
4
+ require 'dry/events'
5
5
  require 'dry/transaction/step_failure'
6
6
  require 'dry/transaction/step_adapter'
7
7
 
@@ -3,6 +3,6 @@
3
3
  module Dry
4
4
  # Business transaction DSL.
5
5
  module Transaction
6
- VERSION = '0.13.3'.freeze
6
+ VERSION = '0.14.0'.freeze
7
7
  end
8
8
  end
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "dry/monads/result"
3
+ require "dry/monads"
4
4
  require "dry/transaction/version"
5
5
  require "dry/transaction/step_adapters"
6
6
  require "dry/transaction/builder"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dry-transaction
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.3
4
+ version: 0.14.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tim Riley
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-06-07 00:00:00.000000000 Z
11
+ date: 2022-10-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dry-container
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: 0.1.0
33
+ version: 0.4.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: 0.1.0
40
+ version: 0.4.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: dry-matcher
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - ">="
60
60
  - !ruby/object:Gem::Version
61
- version: 0.4.0
61
+ version: 0.5.0
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - ">="
67
67
  - !ruby/object:Gem::Version
68
- version: 0.4.0
68
+ version: 0.5.0
69
69
  description: Business Transaction Flow DSL
70
70
  email:
71
71
  - tim@icelab.com.au
@@ -115,7 +115,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
115
115
  requirements:
116
116
  - - ">="
117
117
  - !ruby/object:Gem::Version
118
- version: 2.6.0
118
+ version: 2.7.0
119
119
  required_rubygems_version: !ruby/object:Gem::Requirement
120
120
  requirements:
121
121
  - - ">="