dry-monads 1.3.0 → 1.3.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.codeclimate.yml +10 -39
- data/.github/ISSUE_TEMPLATE/----please-don-t-ask-for-support-via-issues.md +10 -0
- data/.github/ISSUE_TEMPLATE/---bug-report.md +30 -0
- data/.github/ISSUE_TEMPLATE/---feature-request.md +18 -0
- data/.github/workflows/ci.yml +52 -0
- data/.github/workflows/docsite.yml +34 -0
- data/.github/workflows/sync_configs.yml +56 -0
- data/.rspec +1 -0
- data/.rubocop.yml +101 -0
- data/CHANGELOG.md +130 -62
- data/CODE_OF_CONDUCT.md +13 -0
- data/CONTRIBUTING.md +4 -4
- data/Gemfile +7 -8
- data/Gemfile.devtools +14 -0
- data/LICENSE +17 -17
- data/README.md +17 -38
- data/Rakefile +2 -0
- data/bin/.gitkeep +0 -0
- data/bin/console +1 -0
- data/docsite/source/case-equality.html.md +42 -0
- data/docsite/source/do-notation.html.md +207 -0
- data/docsite/source/getting-started.html.md +142 -0
- data/docsite/source/index.html.md +179 -0
- data/docsite/source/list.html.md +87 -0
- data/docsite/source/maybe.html.md +146 -0
- data/docsite/source/pattern-matching.html.md +68 -0
- data/docsite/source/result.html.md +190 -0
- data/docsite/source/task.html.md +126 -0
- data/docsite/source/tracing-failures.html.md +32 -0
- data/docsite/source/try.html.md +76 -0
- data/docsite/source/unit.html.md +36 -0
- data/docsite/source/validated.html.md +88 -0
- data/dry-monads.gemspec +7 -5
- data/lib/dry-monads.rb +2 -0
- data/lib/dry/monads.rb +3 -0
- data/lib/dry/monads/all.rb +2 -0
- data/lib/dry/monads/{undefined.rb → constants.rb} +3 -1
- data/lib/dry/monads/conversion_stubs.rb +2 -0
- data/lib/dry/monads/curry.rb +2 -0
- data/lib/dry/monads/do.rb +7 -2
- data/lib/dry/monads/do/all.rb +5 -2
- data/lib/dry/monads/do/mixin.rb +4 -3
- data/lib/dry/monads/either.rb +2 -0
- data/lib/dry/monads/errors.rb +4 -2
- data/lib/dry/monads/lazy.rb +4 -2
- data/lib/dry/monads/list.rb +10 -9
- data/lib/dry/monads/maybe.rb +9 -4
- data/lib/dry/monads/registry.rb +5 -2
- data/lib/dry/monads/result.rb +5 -4
- data/lib/dry/monads/result/fixed.rb +4 -2
- data/lib/dry/monads/right_biased.rb +55 -8
- data/lib/dry/monads/task.rb +6 -3
- data/lib/dry/monads/transformer.rb +2 -0
- data/lib/dry/monads/traverse.rb +2 -0
- data/lib/dry/monads/try.rb +6 -1
- data/lib/dry/monads/validated.rb +12 -9
- data/lib/dry/monads/version.rb +3 -1
- data/lib/json/add/dry/monads/maybe.rb +1 -0
- data/project.yml +2 -0
- metadata +45 -22
- data/.travis.yml +0 -41
data/.travis.yml
DELETED
@@ -1,41 +0,0 @@
|
|
1
|
-
language: ruby
|
2
|
-
dist: trusty
|
3
|
-
cache: bundler
|
4
|
-
bundler_args: --without benchmarks docs
|
5
|
-
script:
|
6
|
-
- bundle exec rspec spec $RSPEC_OPTS
|
7
|
-
before_install:
|
8
|
-
- gem update --system
|
9
|
-
- gem install bundler
|
10
|
-
after_success:
|
11
|
-
- "[ -d coverage ] && bundle exec codeclimate-test-reporter"
|
12
|
-
rvm:
|
13
|
-
- 2.4.6
|
14
|
-
- 2.5.5
|
15
|
-
- 2.6.3
|
16
|
-
- jruby-9.2.7.0
|
17
|
-
env:
|
18
|
-
global:
|
19
|
-
- JRUBY_OPTS='--dev -J-Xmx1024M'
|
20
|
-
- COVERAGE=true
|
21
|
-
- RSPEC_OPTS='--exclude-pattern spec/integration/pattern_matching_spec.rb'
|
22
|
-
matrix:
|
23
|
-
include:
|
24
|
-
- rvm: 2.7
|
25
|
-
env: "RSPEC_OPTS=''"
|
26
|
-
allow_failures:
|
27
|
-
- rvm: ruby-head
|
28
|
-
|
29
|
-
notifications:
|
30
|
-
email:
|
31
|
-
recipients:
|
32
|
-
- fg@flashgordon.ru
|
33
|
-
on_success: change
|
34
|
-
on_failure: always
|
35
|
-
on_start: false # default: false
|
36
|
-
webhooks:
|
37
|
-
urls:
|
38
|
-
- https://webhooks.gitter.im/e/19098b4253a72c9796db
|
39
|
-
on_success: change # options: [always|never|change] default: always
|
40
|
-
on_failure: always # options: [always|never|change] default: always
|
41
|
-
on_start: false # default: false
|