dry-monads 1.3.3 → 1.3.4

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: 76d21f731948c2aab1d34d5bcb153df6b7bf1ba537175f319f14e7bf34a790e3
4
- data.tar.gz: 0e004b1e409a71bc985bc86a751c7acd7cae748f3153ec0e0103e13d4ef81e6a
3
+ metadata.gz: 1408f096fd2a997f68c0ac8f7086eca73b3f493ffab9c2992d9ebaf52418b0e4
4
+ data.tar.gz: 0c967ca1adcaaf66813f15e92c1391abe681e8e1d0c4ae9c4ea68069b7a915d8
5
5
  SHA512:
6
- metadata.gz: dbcf725d0e4e461e9639d2ea47e80986af14916b49c94c33d38fcf6dcacda828110906c0fd20ed7e0db7677218dfcf80d24b8b69675bd064d492f96455c48a19
7
- data.tar.gz: 77b31f3a1f052ccc8eae52f7635605828032d449294facad96af556cac8a1bebf7805e7dd6dba1c87198139761d5a611146029df9e0437d62712aab92b23157e
6
+ metadata.gz: a9f8b2abd8d7a92bb56c7160c0c42c8dc594d4130c874ce79d5d67a2fe827f383353244129b033ad1ba601d20d80ccbe5aebe8b1c4378cbd181a6f532353fa12
7
+ data.tar.gz: 34d09d33244f4feb8a26fbc91bf66ee02d085e00b33e5cbc3cbcc3c23059478cfc59c2ba5c79e0fb344a4ca543d17f863e374bba11a342d42bff8713723146e8
@@ -34,13 +34,14 @@ jobs:
34
34
  curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./tmp/cc-test-reporter
35
35
  chmod +x ./tmp/cc-test-reporter
36
36
  ./tmp/cc-test-reporter before-build
37
- - name: Run all tests
38
- env:
39
- COVERAGE: ${{matrix.coverage}}
37
+ - name: Bundle install
40
38
  run: |
41
39
  gem install bundler
42
40
  bundle install --jobs 4 --retry 3 --without tools docs benchmarks
43
- bundle exec rake
41
+ - name: Run all tests
42
+ env:
43
+ COVERAGE: ${{matrix.coverage}}
44
+ run: bundle exec rake
44
45
  - name: Send coverage results
45
46
  if: "matrix.coverage == 'true'"
46
47
  env:
@@ -58,7 +59,7 @@ jobs:
58
59
  strategy:
59
60
  fail-fast: false
60
61
  matrix:
61
- image: ["jruby:9.2.8", "ruby:rc"]
62
+ image: ["jruby:9.2.9", "ruby:2.7"]
62
63
  container:
63
64
  image: ${{matrix.image}}
64
65
  steps:
@@ -67,8 +68,9 @@ jobs:
67
68
  run: |
68
69
  apt-get update
69
70
  apt-get install -y --no-install-recommends git
70
- - name: Run all tests
71
+ - name: Bundle install
71
72
  run: |
72
73
  gem install bundler
73
74
  bundle install --jobs 4 --retry 3 --without tools docs benchmarks
74
- bundle exec rspec
75
+ - name: Run all tests
76
+ run: bundle exec rake
@@ -87,3 +87,9 @@ Naming/MethodName:
87
87
 
88
88
  Style/AsciiComments:
89
89
  Enabled: false
90
+
91
+ Style/DateTime:
92
+ Enabled: false
93
+
94
+ Style/IfUnlessModifier:
95
+ Enabled: false
@@ -1,3 +1,11 @@
1
+ # v1.3.4 2019-12-28
2
+
3
+ ## Fixed
4
+
5
+ - One more delegation warning happenning in do notation (flash-gordon)
6
+
7
+ [Compare v1.3.3...v1.3.4](https://github.com/dry-rb/dry-monads/compare/v1.3.3...v1.3.4)
8
+
1
9
  # v1.3.3 2019-12-11
2
10
 
3
11
  ## Fixed
@@ -10,6 +10,8 @@ module Dry
10
10
  module Do
11
11
  extend Mixin
12
12
 
13
+ DELEGATE = ::RUBY_VERSION < '2.7' ? '*' : '...'
14
+
13
15
  # @api private
14
16
  class Halt < StandardError
15
17
  # @api private
@@ -103,7 +105,7 @@ module Dry
103
105
  # @api private
104
106
  def wrap_method(target, method_name)
105
107
  target.module_eval(<<-RUBY, __FILE__, __LINE__ + 1)
106
- def #{method_name}(*)
108
+ def #{method_name}(#{DELEGATE})
107
109
  if block_given?
108
110
  super
109
111
  else
@@ -1,6 +1,6 @@
1
1
  module Dry
2
2
  module Monads
3
3
  # Gem version
4
- VERSION = '1.3.3'.freeze
4
+ VERSION = '1.3.4'.freeze
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dry-monads
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.3
4
+ version: 1.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nikita Shilnikov
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-12-11 00:00:00.000000000 Z
11
+ date: 2019-12-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dry-equalizer
@@ -202,7 +202,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
202
202
  - !ruby/object:Gem::Version
203
203
  version: '0'
204
204
  requirements: []
205
- rubygems_version: 3.0.6
205
+ rubygems_version: 3.1.2
206
206
  signing_key:
207
207
  specification_version: 4
208
208
  summary: Common monads for Ruby.