business_pipeline 0.2.0 → 0.3.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: 87c9f00222933c8299c1c9980bbc96c617d4cad0999e0864ae58e0a825beeb84
4
- data.tar.gz: 7705f869cd0c9247b94cf698b215a1fd0faa9708c07a560636c3f117f9e7eb22
3
+ metadata.gz: 90cbc85ab42d34a109751f5437d0e383e8e5b9eed7df4f464b35a09e61320f3c
4
+ data.tar.gz: af0204e3102f34029d9092362df9df59cffe4e293db1a1dae8635e688cd94a06
5
5
  SHA512:
6
- metadata.gz: da83c4bbe6ef8f391e06664e5cad46b82188226e69623e27675f7c9a3f3ddf36bf56d71312b562b25d285d408182b234154ff581cfa2c52bc9da65c8340fb615
7
- data.tar.gz: e79ef790d67d7b0ff5d1f1de72638f9f7d21f07e8cc71a1d36705620f305128a917a4ebdc8506a0358ec89eb235fc42b330406885c6893edf8fe43517c477ac4
6
+ metadata.gz: d3694d458510d9a416d6faf5d72307ab9bd206074d9ede36bffabadfad5ab0c5c65ccc74e2c5f5ddfaea4fd4f6857e944e534689b43c1d029e942c8524b6459c
7
+ data.tar.gz: 7e7751b15256cd2dc2ac736b209a1f72819d9bcc051c8e0b7a4e7a6be1480675a382caeef624c790896d8b9e64706ca8576306ab108fc1512f762d1b5dc9be53
data/.travis.yml CHANGED
@@ -6,3 +6,5 @@ rvm:
6
6
  - 2.5
7
7
  - 2.6
8
8
  - 2.7
9
+ - 3.0
10
+ - 3.1
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.3.0
4
+
5
+ * Adding Ruby 3+ compatibility
6
+
3
7
  ## 0.2.0
4
8
 
5
9
  * Adding Ruby 2.7 compatibility
data/Gemfile.lock CHANGED
@@ -1,24 +1,24 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- business_pipeline (0.2.0)
4
+ business_pipeline (0.3.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
8
8
  specs:
9
- ast (2.4.0)
10
- coderay (1.1.2)
11
- diff-lcs (1.3)
12
- docile (1.3.2)
13
- ffi (1.12.2)
14
- formatador (0.2.5)
15
- guard (2.16.2)
9
+ ast (2.4.2)
10
+ coderay (1.1.3)
11
+ diff-lcs (1.5.0)
12
+ docile (1.4.0)
13
+ ffi (1.15.5)
14
+ formatador (1.1.0)
15
+ guard (2.18.0)
16
16
  formatador (>= 0.2.4)
17
17
  listen (>= 2.7, < 4.0)
18
18
  lumberjack (>= 1.0.12, < 2.0)
19
19
  nenv (~> 0.1)
20
20
  notiffany (~> 0.0)
21
- pry (>= 0.9.12)
21
+ pry (>= 0.13.0)
22
22
  shellany (~> 0.0)
23
23
  thor (>= 0.18.1)
24
24
  guard-compat (1.2.1)
@@ -26,40 +26,40 @@ GEM
26
26
  guard (~> 2.1)
27
27
  guard-compat (~> 1.1)
28
28
  rspec (>= 2.99.0, < 4.0)
29
- listen (3.2.1)
29
+ listen (3.7.1)
30
30
  rb-fsevent (~> 0.10, >= 0.10.3)
31
31
  rb-inotify (~> 0.9, >= 0.9.10)
32
- lumberjack (1.2.4)
32
+ lumberjack (1.2.8)
33
33
  method_source (1.0.0)
34
34
  nenv (0.3.0)
35
35
  notiffany (0.1.3)
36
36
  nenv (~> 0.1)
37
37
  shellany (~> 0.0)
38
- parallel (1.19.1)
39
- parser (2.7.1.2)
40
- ast (~> 2.4.0)
41
- pry (0.13.1)
38
+ parallel (1.22.1)
39
+ parser (3.1.2.0)
40
+ ast (~> 2.4.1)
41
+ pry (0.14.1)
42
42
  coderay (~> 1.1)
43
43
  method_source (~> 1.0)
44
- rainbow (3.0.0)
45
- rake (13.0.1)
46
- rb-fsevent (0.10.4)
44
+ rainbow (3.1.1)
45
+ rake (13.0.6)
46
+ rb-fsevent (0.11.1)
47
47
  rb-inotify (0.10.1)
48
48
  ffi (~> 1.0)
49
- rexml (3.2.4)
50
- rspec (3.9.0)
51
- rspec-core (~> 3.9.0)
52
- rspec-expectations (~> 3.9.0)
53
- rspec-mocks (~> 3.9.0)
54
- rspec-core (3.9.2)
55
- rspec-support (~> 3.9.3)
56
- rspec-expectations (3.9.2)
49
+ rexml (3.2.5)
50
+ rspec (3.11.0)
51
+ rspec-core (~> 3.11.0)
52
+ rspec-expectations (~> 3.11.0)
53
+ rspec-mocks (~> 3.11.0)
54
+ rspec-core (3.11.0)
55
+ rspec-support (~> 3.11.0)
56
+ rspec-expectations (3.11.0)
57
57
  diff-lcs (>= 1.2.0, < 2.0)
58
- rspec-support (~> 3.9.0)
59
- rspec-mocks (3.9.1)
58
+ rspec-support (~> 3.11.0)
59
+ rspec-mocks (3.11.1)
60
60
  diff-lcs (>= 1.2.0, < 2.0)
61
- rspec-support (~> 3.9.0)
62
- rspec-support (3.9.3)
61
+ rspec-support (~> 3.11.0)
62
+ rspec-support (3.11.0)
63
63
  rubocop (0.84.0)
64
64
  parallel (~> 1.10)
65
65
  parser (>= 2.7.0.1)
@@ -68,16 +68,16 @@ GEM
68
68
  rubocop-ast (>= 0.0.3)
69
69
  ruby-progressbar (~> 1.7)
70
70
  unicode-display_width (>= 1.4.0, < 2.0)
71
- rubocop-ast (0.0.3)
72
- parser (>= 2.7.0.1)
73
- ruby-progressbar (1.10.1)
71
+ rubocop-ast (1.18.0)
72
+ parser (>= 3.1.1.0)
73
+ ruby-progressbar (1.11.0)
74
74
  shellany (0.0.1)
75
75
  simplecov (0.18.5)
76
76
  docile (~> 1.1)
77
77
  simplecov-html (~> 0.11)
78
- simplecov-html (0.12.2)
79
- thor (1.0.1)
80
- unicode-display_width (1.7.0)
78
+ simplecov-html (0.12.3)
79
+ thor (1.2.1)
80
+ unicode-display_width (1.8.0)
81
81
 
82
82
  PLATFORMS
83
83
  ruby
data/README.md CHANGED
@@ -1,5 +1,9 @@
1
1
  [![Build Status](https://travis-ci.org/simonc/business_pipeline.svg?branch=master)](https://travis-ci.org/simonc/business_pipeline)
2
2
 
3
+ ## Deprecated
4
+
5
+ This gem is no longer active and the recommended alternative is [dry-transactions](https://dry-rb.org/gems/dry-transaction).
6
+
3
7
  # BusinessPipeline
4
8
 
5
9
  BusinessPipeline (BP) aim is to help organize your app's logic in a generic way. You define business bricks that you can then plug together to build more eveolved pipelines.
@@ -37,7 +37,7 @@ module BusinessPipeline
37
37
  end
38
38
 
39
39
  private def update!(context)
40
- context.each { |key, value| modifiable?[key.to_sym] = value }
40
+ context.each { |key, value| self[key.to_sym] = value }
41
41
  end
42
42
  end
43
43
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module BusinessPipeline
4
- VERSION = -'0.2.0'
4
+ VERSION = -'0.3.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: business_pipeline
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Simon Courtois
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-05-24 00:00:00.000000000 Z
11
+ date: 2022-05-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -94,7 +94,7 @@ dependencies:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
96
  version: 0.18.5
97
- description:
97
+ description:
98
98
  email:
99
99
  - scourtois_github@cubyx.fr
100
100
  executables: []
@@ -124,11 +124,11 @@ files:
124
124
  - lib/business_pipeline/process.rb
125
125
  - lib/business_pipeline/step.rb
126
126
  - lib/business_pipeline/version.rb
127
- homepage:
127
+ homepage:
128
128
  licenses:
129
129
  - MIT
130
130
  metadata: {}
131
- post_install_message:
131
+ post_install_message:
132
132
  rdoc_options: []
133
133
  require_paths:
134
134
  - lib
@@ -143,8 +143,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
143
143
  - !ruby/object:Gem::Version
144
144
  version: '0'
145
145
  requirements: []
146
- rubygems_version: 3.0.3
147
- signing_key:
146
+ rubygems_version: 3.3.7
147
+ signing_key:
148
148
  specification_version: 4
149
149
  summary: A new business pipeline architecture for Rails applications
150
150
  test_files: []