dry-transaction 0.15.0 → 0.16.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: d9c1425876b4a098f950d9522921485ff19fcc5a4e72821e9d0c201a2fe50c32
4
- data.tar.gz: 03abc2d074b6ee1b413a2576b3f9165017112cc22763b1868345c282ff7c8a5c
3
+ metadata.gz: d4cd9e9404fa18118f81eda69c2c826bf78d115db2011ffc7aaa61142cbbab26
4
+ data.tar.gz: e3d1503de5353ab0204f727f71b2189895ff78989ff43478b0f9ab13c3819831
5
5
  SHA512:
6
- metadata.gz: 0e33116591724aa2bc18722aedabe06cf55bec9c5291aba661209a96c2d83c483513defdba07906bb95ab3482e1bab2ce1956a56751a6e5d8a06971cd57a557b
7
- data.tar.gz: 1fd41ea16ce2d78b519a2cf0d20cdb0156b8040e6eb17578ed18d1d9b1e2f01be7a86a9b70e551cceb4482c1f7596c1ccbafaad1b8600e332e6b004241e2ac27
6
+ metadata.gz: b11d66011be4757691bd017cb12906c840343b93daa94912bc99fd0d9e0efc8392b501e1333f2bbda0635a1f34e308b74aedbeed95ee62026b5f52d9589e6054
7
+ data.tar.gz: 18149f9703d95a138f3536cb8b5a1f59ed5007a0ac99d5ade9b56f8e1c01e547afb4bbb7864e0d54d1271e83e67e91c073aff719a80c1f8512fe900c8febc134
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.16.0 2024-01-17
4
+
5
+
6
+ ### Changed
7
+
8
+ - Dependency on dry-matcher bumped to 1.0 (@santiagodoldan in #149)
9
+
10
+ [Compare v0.15.0...v0.16.0](https://github.com/dry-rb/dry-transaction/compare/v0.15.0...v0.16.0)
11
+
3
12
  ## 0.15.0 2022-11-16
4
13
 
5
14
 
data/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2015-2022 dry-rb team
3
+ Copyright (c) 2015-2023 dry-rb team
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy of
6
6
  this software and associated documentation files (the "Software"), to deal in
data/README.md CHANGED
@@ -1,29 +1,22 @@
1
1
  <!--- this file is synced from dry-rb/template-gem project -->
2
+
2
3
  [gem]: https://rubygems.org/gems/dry-transaction
3
4
  [actions]: https://github.com/dry-rb/dry-transaction/actions
4
- [codacy]: https://www.codacy.com/gh/dry-rb/dry-transaction
5
- [chat]: https://dry-rb.zulipchat.com
6
- [inchpages]: http://inch-ci.org/github/dry-rb/dry-transaction
7
-
8
- # dry-transaction [![Join the chat at https://dry-rb.zulipchat.com](https://img.shields.io/badge/dry--rb-join%20chat-%23346b7a.svg)][chat]
9
5
 
10
- [![Gem Version](https://badge.fury.io/rb/dry-transaction.svg)][gem]
11
- [![CI Status](https://github.com/dry-rb/dry-transaction/workflows/ci/badge.svg)][actions]
12
- [![Codacy Badge](https://api.codacy.com/project/badge/Grade/f2c8f3f2e96a477faee00109cfb2090d)][codacy]
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=main)][inchpages]
6
+ # dry-transaction [![Gem Version](https://badge.fury.io/rb/dry-transaction.svg)][gem] [![CI Status](https://github.com/dry-rb/dry-transaction/workflows/CI/badge.svg)][actions]
15
7
 
16
8
  ## Links
17
9
 
18
10
  * [User documentation](https://dry-rb.org/gems/dry-transaction)
19
11
  * [API documentation](http://rubydoc.info/gems/dry-transaction)
12
+ * [Forum](https://discourse.dry-rb.org)
20
13
 
21
14
  ## Supported Ruby versions
22
15
 
23
16
  This library officially supports the following Ruby versions:
24
17
 
25
- * MRI `>= 2.7.0`
26
- * jruby `>= 9.3` (postponed until 2.7 is supported)
18
+ * MRI `>= 3.0`
19
+ * jruby `>= 9.4` (not tested on CI)
27
20
 
28
21
  ## License
29
22
 
@@ -26,12 +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
- spec.required_ruby_version = ">= 2.7.0"
29
+ spec.required_ruby_version = ">= 3.0"
30
30
 
31
31
  # to update dependencies edit project.yml
32
32
  spec.add_runtime_dependency "dry-core", "~> 1.0"
33
33
  spec.add_runtime_dependency "dry-events", "~> 1.0"
34
- spec.add_runtime_dependency "dry-matcher", "~> 0.10"
34
+ spec.add_runtime_dependency "dry-matcher", "~> 1.0"
35
35
  spec.add_runtime_dependency "dry-monads", "~> 1.6"
36
36
 
37
37
  end
@@ -86,7 +86,6 @@ module Dry
86
86
  end
87
87
 
88
88
  def resolve_operation(step, **operations)
89
- # rubocop:disable Lint/DuplicateBranch
90
89
  if step.internal? && operations[step.name]
91
90
  operations[step.name]
92
91
  elsif methods.include?(step.name) || private_methods.include?(step.name)
@@ -98,7 +97,6 @@ module Dry
98
97
  else
99
98
  raise MissingStepError, step.name
100
99
  end
101
- # rubocop:enable Lint/DuplicateBranch
102
100
  end
103
101
 
104
102
  def assert_valid_step_args(step_args)
@@ -3,6 +3,6 @@
3
3
  module Dry
4
4
  # Business transaction DSL.
5
5
  module Transaction
6
- VERSION = "0.15.0"
6
+ VERSION = "0.16.0"
7
7
  end
8
8
  end
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.15.0
4
+ version: 0.16.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: 2022-11-16 00:00:00.000000000 Z
11
+ date: 2024-01-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dry-core
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '0.10'
47
+ version: '1.0'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '0.10'
54
+ version: '1.0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: dry-monads
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -115,14 +115,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
115
115
  requirements:
116
116
  - - ">="
117
117
  - !ruby/object:Gem::Version
118
- version: 2.7.0
118
+ version: '3.0'
119
119
  required_rubygems_version: !ruby/object:Gem::Requirement
120
120
  requirements:
121
121
  - - ">="
122
122
  - !ruby/object:Gem::Version
123
123
  version: '0'
124
124
  requirements: []
125
- rubygems_version: 3.1.6
125
+ rubygems_version: 3.3.26
126
126
  signing_key:
127
127
  specification_version: 4
128
128
  summary: Business Transaction Flow DSL