formalism-sequel_transactions 0.2.2 → 0.4.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: 7bda7b27f1b2800b0f5685d15efa19e8dde3f8e9e8b8905ba6afbea54df425b4
4
- data.tar.gz: b4c5c481304f894bcad2ff38603d191fe1426c0f51f0c59fa22181c31649be26
3
+ metadata.gz: 152fc373822700e6dad86ddcfc327f307a2fd66ea34aae26c273151eb2b811ca
4
+ data.tar.gz: 5b40856e817f93beeba07991fc5ae8e02570a97156f1341158e8751763492118
5
5
  SHA512:
6
- metadata.gz: dff792b0c313dd7186133763b0e365ea8850ccb3768b7d918ad2dda5d8b1b010f6e2e1920291d49d5a5cd84994c8cbd957e1a24a1d5bd13cf42e950b4218fd24
7
- data.tar.gz: 7cf3db8415798d562e8864ccda066dcc1ec1d014f024fa2eed88b34e3832b7bb299a3d59385bb442c638ece1b4256ebf3fa82b7285cbf9482a46126dec238cb5
6
+ metadata.gz: 393d4286f8a4d32a75bc0171b28590c243abc0a96bf401df6d7611d4b9353d4f2072ee7263da8f312c7a8809302494fe6ce75cdf8b2e292f640c41557106239a
7
+ data.tar.gz: 439bcba3a3e4d15b188666c2b5d8349e14763555e71ef30e4c6d6fbcae92ce7ad113eb8387ef5ab6f8ba802245cee25b8327fa47fef04bbce52fef75d4f8c0ed
data/CHANGELOG.md CHANGED
@@ -1,9 +1,25 @@
1
1
  # Changelog
2
2
 
3
- ## master (unreleased)
3
+ ## Unreleased
4
+
5
+ ## 0.4.0 (2022-09-24)
6
+
7
+ * Drop Ruby 2.5 support.
8
+ * Add Ruby 3.1 for CI.
9
+ * Update `formalism` to a new version.
10
+ * Update development dependencies.
11
+ * Update metadata in gemspec.
12
+
13
+ ## 0.3.0 (2021-02-11)
14
+
15
+ * Support Ruby 3.
16
+ * Fix small errors.
17
+ * Update development dependencies.
4
18
 
5
19
  ## 0.2.2 (2020-09-28)
6
20
 
21
+ * Update `formalism` to a new version.
22
+
7
23
  ## 0.2.1 (2020-09-25)
8
24
 
9
25
  * Fix the issue with unknown `Outcome` constant.
data/README.md CHANGED
@@ -1,12 +1,12 @@
1
1
  # Formalism Sequel Transactions
2
2
 
3
3
  [![Cirrus CI - Base Branch Build Status](https://img.shields.io/cirrus/github/AlexWayfer/formalism-sequel_transactions?style=flat-square)](https://cirrus-ci.com/github/AlexWayfer/formalism-sequel_transactions)
4
- [![Codecov branch](https://img.shields.io/codecov/c/github/AlexWayfer/formalism-sequel_transactions/master.svg?style=flat-square)](https://codecov.io/gh/AlexWayfer/formalism-sequel_transactions)
4
+ [![Codecov branch](https://img.shields.io/codecov/c/github/AlexWayfer/formalism-sequel_transactions/main.svg?style=flat-square)](https://codecov.io/gh/AlexWayfer/formalism-sequel_transactions)
5
5
  [![Code Climate](https://img.shields.io/codeclimate/maintainability/AlexWayfer/formalism-sequel_transactions.svg?style=flat-square)](https://codeclimate.com/github/AlexWayfer/formalism-sequel_transactions)
6
6
  [![Depfu](https://img.shields.io/depfu/AlexWayfer/benchmark_toys?style=flat-square)](https://depfu.com/repos/github/AlexWayfer/formalism-sequel_transactions)
7
- [![Inline docs](https://inch-ci.org/github/AlexWayfer/formalism-sequel_transactions.svg?branch=master)](https://inch-ci.org/github/AlexWayfer/formalism-sequel_transactions)
8
- [![license](https://img.shields.io/github/license/AlexWayfer/formalism-sequel_transactions.svg?style=flat-square)](https://github.com/AlexWayfer/formalism-sequel_transactions/blob/master/LICENSE.txt)
7
+ [![Inline docs](https://inch-ci.org/github/AlexWayfer/formalism-sequel_transactions.svg?branch=main)](https://inch-ci.org/github/AlexWayfer/formalism-sequel_transactions)
9
8
  [![Gem](https://img.shields.io/gem/v/formalism-sequel_transactions.svg?style=flat-square)](https://rubygems.org/gems/formalism-sequel_transactions)
9
+ [![License](https://img.shields.io/github/license/AlexWayfer/formalism-sequel_transactions.svg?style=flat-square)](LICENSE.txt)
10
10
 
11
11
  [Sequel](https://sequel.jeremyevans.net/) transaction
12
12
  inside [Formalism](https://github.com/AlexWayfer/formalism) forms.
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Formalism
4
4
  module SequelTransactions
5
- VERSION = '0.2.2'
5
+ VERSION = '0.4.0'
6
6
  end
7
7
  end
@@ -22,11 +22,9 @@ module Formalism
22
22
  end
23
23
 
24
24
  def before_retry
25
- super
26
-
27
25
  nested_forms.each_value(&__method__)
28
26
 
29
- filled_fields_and_nested_forms.clear
27
+ @filled_fields_and_nested_forms.clear
30
28
 
31
29
  fill_fields_and_nested_forms
32
30
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: formalism-sequel_transactions
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Popov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-09-28 00:00:00.000000000 Z
11
+ date: 2022-09-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: formalism
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 0.3.0
19
+ version: 0.5.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 0.3.0
26
+ version: 0.5.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: sequel
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -72,42 +72,42 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 0.4.0
75
+ version: 0.12.1
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: 0.4.0
82
+ version: 0.12.1
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: toys
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: 0.11.3
89
+ version: 0.13.1
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: 0.11.3
96
+ version: 0.13.1
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: codecov
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: 0.2.0
103
+ version: 0.6.0
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: 0.2.0
110
+ version: 0.6.0
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: rspec
113
113
  requirement: !ruby/object:Gem::Requirement
@@ -128,28 +128,28 @@ dependencies:
128
128
  requirements:
129
129
  - - "~>"
130
130
  - !ruby/object:Gem::Version
131
- version: 0.19.0
131
+ version: 0.21.2
132
132
  type: :development
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
136
  - - "~>"
137
137
  - !ruby/object:Gem::Version
138
- version: 0.19.0
138
+ version: 0.21.2
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: rubocop
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
143
  - - "~>"
144
144
  - !ruby/object:Gem::Version
145
- version: 0.92.0
145
+ version: 1.36.0
146
146
  type: :development
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
150
  - - "~>"
151
151
  - !ruby/object:Gem::Version
152
- version: 0.92.0
152
+ version: 1.36.0
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: rubocop-performance
155
155
  requirement: !ruby/object:Gem::Requirement
@@ -170,14 +170,14 @@ dependencies:
170
170
  requirements:
171
171
  - - "~>"
172
172
  - !ruby/object:Gem::Version
173
- version: '1.0'
173
+ version: '2.0'
174
174
  type: :development
175
175
  prerelease: false
176
176
  version_requirements: !ruby/object:Gem::Requirement
177
177
  requirements:
178
178
  - - "~>"
179
179
  - !ruby/object:Gem::Version
180
- version: '1.0'
180
+ version: '2.0'
181
181
  description: 'Sequel transactions inside Formalism forms.
182
182
 
183
183
  '
@@ -196,9 +196,13 @@ homepage: https://github.com/AlexWayfer/formalism-sequel_transactions
196
196
  licenses:
197
197
  - MIT
198
198
  metadata:
199
- source_code_uri: https://github.com/AlexWayfer/formalism-sequel_transactions
199
+ bug_tracker_uri: https://github.com/AlexWayfer/formalism-sequel_transactions/issues
200
+ changelog_uri: https://github.com/AlexWayfer/formalism-sequel_transactions/blob/v0.4.0/CHANGELOG.md
201
+ documentation_uri: http://www.rubydoc.info/gems/formalism-sequel_transactions/0.4.0
200
202
  homepage_uri: https://github.com/AlexWayfer/formalism-sequel_transactions
201
- changelog_uri: https://github.com/AlexWayfer/formalism-sequel_transactions/blob/master/CHANGELOG.md
203
+ rubygems_mfa_required: 'true'
204
+ source_code_uri: https://github.com/AlexWayfer/formalism-sequel_transactions
205
+ wiki_uri: https://github.com/AlexWayfer/formalism-sequel_transactions/wiki
202
206
  post_install_message:
203
207
  rdoc_options: []
204
208
  require_paths:
@@ -207,14 +211,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
207
211
  requirements:
208
212
  - - ">="
209
213
  - !ruby/object:Gem::Version
210
- version: '2.5'
214
+ version: '2.6'
215
+ - - "<"
216
+ - !ruby/object:Gem::Version
217
+ version: '4'
211
218
  required_rubygems_version: !ruby/object:Gem::Requirement
212
219
  requirements:
213
220
  - - ">="
214
221
  - !ruby/object:Gem::Version
215
222
  version: '0'
216
223
  requirements: []
217
- rubygems_version: 3.1.2
224
+ rubygems_version: 3.3.7
218
225
  signing_key:
219
226
  specification_version: 4
220
227
  summary: Sequel transactions inside Formalism forms