opera 0.2.11 → 0.2.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 16174465116cab3f0fbadd69a03b6b0428bdb9c24ea126034f75dbf0641bc3d5
4
- data.tar.gz: 67d7987ebb8c290e564f0e3e35e02bf29a34b098699174ca48dc6207b37f99f6
3
+ metadata.gz: e3365aa09cb2ec386142398fd3257d5f0e12f106380d08d7b53f3bbcaeb087d4
4
+ data.tar.gz: 9d0f932f25e8db4d7d0df4d0494966916369b32d12b2939aa642ae8aa3a6a8b2
5
5
  SHA512:
6
- metadata.gz: ab6cbc94a66983bfdbd1326cdd7bd809a584747f8734205072cf2bfe40a00d369cfc54a9d626a3fc336482d574908a6c4d6b130fc050d0c40584638698702b14
7
- data.tar.gz: 4930ff7e4e3cc7c4635f373d7808143657cab984c9a78893daf08471a125af995f0ecd19ea2511ccd11808555d1a2c4b7a0d07da81bf5e36e5dc106d277a41fe
6
+ metadata.gz: 351a69889db7929d1ffe4954202e97ebfa84ec149dbcbdd680287be783451bde31302ad94586fc920a465b52519453027814997916fbf8082da7f305c5ed27bd
7
+ data.tar.gz: 62d81144b0e09dd5fd43e09f00f1304d7802d1d38467018e7630edc64a1208b3bfa1be819ff8743db3c61ca0fceb16fcc6ca8dfaa56480b20963a09ed5571492
@@ -16,7 +16,7 @@ jobs:
16
16
  runs-on: ubuntu-latest
17
17
  strategy:
18
18
  matrix:
19
- ruby-version: ['2.6', '2.7', '3.0']
19
+ ruby-version: ['2.6', '2.7', '3.0', 'jruby']
20
20
 
21
21
  steps:
22
22
  - uses: actions/checkout@v2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Opera Changelog
2
2
 
3
+ ### 0.2.13 - October 24, 2022
4
+
5
+ - Avoid return inside transaction block to support activegraph with jruby
6
+
7
+ ### 0.2.12 - Oct 24, 2022
8
+
9
+ - added support for JRuby
10
+
3
11
  ### 0.2.11 - June 1, 2022
4
12
 
5
13
  - handle internally exceptions from schema
data/Gemfile CHANGED
@@ -8,5 +8,6 @@ gem 'rspec', '~> 3.0'
8
8
 
9
9
  group :test, :development do
10
10
  gem 'dry-validation'
11
- gem 'pry-byebug', require: false
11
+ gem 'pry-byebug', require: false, platform: :ruby
12
+ gem 'pry-nav', require: false, platform: :jruby
12
13
  end
@@ -12,9 +12,7 @@ module Opera
12
12
  transaction_class.send(*arguments) do
13
13
  super
14
14
 
15
- return if result.success?
16
-
17
- raise(transaction_error)
15
+ raise(transaction_error) if result.failure?
18
16
  end
19
17
  rescue transaction_error
20
18
  nil
data/lib/opera/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Opera
2
- VERSION = '0.2.11'
2
+ VERSION = '0.2.13'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opera
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.11
4
+ version: 0.2.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - ProFinda Development Team
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-07-11 00:00:00.000000000 Z
11
+ date: 2022-10-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dry-validation