fear 2.0.0 → 2.0.1

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: df922b21ff9dcd7919c83d864ed99d7cc6cdd1618fac27f98f768c8cc921e569
4
- data.tar.gz: 600968bd95a016565e58b782a877ea76b73eec925f1d637539b866acea6313fd
3
+ metadata.gz: 478065fc6d889020eb722d84eed56c46187431bb500a359985ee6e2fcb3277a2
4
+ data.tar.gz: 9a92582747a64d9525967dec128f8d4cf7e36a32cfc184b6a06ffe1dbc71cf8f
5
5
  SHA512:
6
- metadata.gz: 99b517ac8c12f8071cba9324a68b0161ff4d3cc23e9230cf686b766c084500a9e0541f66b174b8bdebf063b1307adae9ac56806895aa5c8fabbad3c6c2b2a666
7
- data.tar.gz: 0d91fec31fd44c59dbdb373bc230cd0d227a41b091ce3188fab59424d9ee86e7b7f3256f5b471a477dc96e5028d2bfa263bdc57b45cb6e4de3147dd71ef12d87
6
+ metadata.gz: 9c2ac3a10810f8916efd3dffaa5b71fc57d2c08689ece14dc0fd7e29e9563703221b02f8f482c890cd4c87db784c0459a83395fb2e97acf4cc24a0ca299e5bf4
7
+ data.tar.gz: 25f4758ea5c8cb2953e6942e2c64414d135c93f1ffa79f3850dcfe813a4d0b61efc68bb3b6292a3a16f1b76b07e81351393d608728297bdc877ef6b8368db371
@@ -7,21 +7,22 @@ jobs:
7
7
  runs-on: ubuntu-latest
8
8
  strategy:
9
9
  matrix:
10
- ruby: ['2.7.x' , '3.0.x', '3.1.x']
10
+ ruby: ['2.7' , '3.0', '3.1', "3.2", "truffleruby+graalvm-head"]
11
11
  name: ${{ matrix.ruby }}
12
12
 
13
13
  steps:
14
14
  - uses: actions/checkout@v1
15
15
  - name: Set up ruby
16
- uses: actions/setup-ruby@v1
16
+ uses: ruby/setup-ruby@v1
17
17
  with:
18
18
  ruby-version: ${{ matrix.ruby }}
19
19
  - name: Install dependencies
20
- run: |
21
- gem install bundler --force --version=2.0.1
22
- bundler --version
23
- bundle install --jobs 4 --retry 3
20
+ run: bundle install
24
21
  - name: Test
22
+ if: ${{ contains(matrix.ruby, 'truffleruby') }}
23
+ run: bundle exec rspec --exclude-pattern "**/*_pattern_matching_spec.rb"
24
+ - name: Test
25
+ if: ${{ !contains(matrix.ruby, 'truffleruby') }}
25
26
  run: bundle exec rspec
26
27
  - name: Coveralls
27
28
  uses: coverallsapp/github-action@v1.1.2
data/Gemfile.lock CHANGED
@@ -8,17 +8,17 @@ GIT
8
8
  PATH
9
9
  remote: .
10
10
  specs:
11
- fear (2.0.0)
11
+ fear (2.0.1)
12
12
 
13
13
  GEM
14
14
  remote: https://rubygems.org/
15
15
  specs:
16
16
  any (0.1.0)
17
17
  ast (2.4.2)
18
- benchmark-ips (2.10.0)
19
- concurrent-ruby (1.1.10)
18
+ benchmark-ips (2.12.0)
19
+ concurrent-ruby (1.2.2)
20
20
  diff-lcs (1.5.0)
21
- docile (1.3.4)
21
+ docile (1.4.0)
22
22
  dry-configurable (0.12.1)
23
23
  concurrent-ruby (~> 1.0)
24
24
  dry-core (~> 0.5, >= 0.5.0)
@@ -54,23 +54,23 @@ GEM
54
54
  parser (3.1.2.0)
55
55
  ast (~> 2.4.1)
56
56
  rainbow (3.1.1)
57
- rake (13.0.6)
57
+ rake (13.1.0)
58
58
  regexp_parser (2.5.0)
59
59
  reline (0.0.7)
60
60
  rexml (3.2.5)
61
- rspec (3.11.0)
62
- rspec-core (~> 3.11.0)
63
- rspec-expectations (~> 3.11.0)
64
- rspec-mocks (~> 3.11.0)
65
- rspec-core (3.11.0)
66
- rspec-support (~> 3.11.0)
67
- rspec-expectations (3.11.0)
61
+ rspec (3.12.0)
62
+ rspec-core (~> 3.12.0)
63
+ rspec-expectations (~> 3.12.0)
64
+ rspec-mocks (~> 3.12.0)
65
+ rspec-core (3.12.0)
66
+ rspec-support (~> 3.12.0)
67
+ rspec-expectations (3.12.0)
68
68
  diff-lcs (>= 1.2.0, < 2.0)
69
- rspec-support (~> 3.11.0)
70
- rspec-mocks (3.11.0)
69
+ rspec-support (~> 3.12.0)
70
+ rspec-mocks (3.12.0)
71
71
  diff-lcs (>= 1.2.0, < 2.0)
72
- rspec-support (~> 3.11.0)
73
- rspec-support (3.11.0)
72
+ rspec-support (~> 3.12.0)
73
+ rspec-support (3.12.0)
74
74
  rubocop (1.32.0)
75
75
  json (~> 2.3)
76
76
  parallel (~> 1.10)
@@ -88,17 +88,15 @@ GEM
88
88
  ruby-progressbar (1.11.0)
89
89
  ruby_coding_standard (0.4.0)
90
90
  rubocop (~> 1.32.0)
91
- simplecov (0.21.2)
91
+ simplecov (0.22.0)
92
92
  docile (~> 1.1)
93
93
  simplecov-html (~> 0.11)
94
94
  simplecov_json_formatter (~> 0.1)
95
95
  simplecov-html (0.12.3)
96
96
  simplecov-lcov (0.8.0)
97
- simplecov_json_formatter (0.1.2)
97
+ simplecov_json_formatter (0.1.4)
98
98
  unicode-display_width (2.2.0)
99
- webrick (1.7.0)
100
- yard (0.9.28)
101
- webrick (~> 1.7.0)
99
+ yard (0.9.34)
102
100
 
103
101
  PLATFORMS
104
102
  ruby
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Fear
2
2
  [![Gem Version](https://badge.fury.io/rb/fear.svg)](https://badge.fury.io/rb/fear)
3
- ![Specs](https://github.com/bolshakov/fear/workflows/Spec/badge.svg)
3
+ [![Spec](https://github.com/bolshakov/fear/actions/workflows/spec.yml/badge.svg)](https://github.com/bolshakov/fear/actions/workflows/spec.yml)
4
4
  [![Maintainability](https://api.codeclimate.com/v1/badges/01030620c59e9f40961b/maintainability)](https://codeclimate.com/github/bolshakov/fear/maintainability)
5
5
  [![Coverage Status](https://coveralls.io/repos/github/bolshakov/fear/badge.svg?branch=master)](https://coveralls.io/github/bolshakov/fear?branch=master)
6
6
 
@@ -7,7 +7,7 @@ module Fear
7
7
  # An +Option+ factory which creates +Some+ if the argument is
8
8
  # not +nil+, and +None+ if it is +nil+.
9
9
  # @param value [any]
10
- # @return [Fear::Some, Fear::None]
10
+ # @return [Fear::Option<any>]
11
11
  #
12
12
  # @example
13
13
  # Fear.option(nil) #=> #<Fear::None>
data/lib/fear/version.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Fear
4
- VERSION = "2.0.0"
4
+ VERSION = "2.0.1"
5
5
  public_constant :VERSION
6
6
  end
data/spec/spec_helper.rb CHANGED
@@ -9,10 +9,6 @@ require "date"
9
9
  require "fear/rspec"
10
10
 
11
11
  RSpec.configure do |config|
12
- unless RUBY_VERSION >= "2.7"
13
- config.exclude_pattern = "**/*pattern_matching_spec.rb"
14
- end
15
-
16
12
  # rspec-expectations config goes here. You can use an alternate
17
13
  # assertion/expectation library such as wrong or the stdlib/minitest
18
14
  # assertions if you prefer.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fear
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tema Bolshakov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-07-23 00:00:00.000000000 Z
11
+ date: 2023-11-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: benchmark-ips