dry-monads-sorbet 1.1.0.pre.5 → 1.1.0.pre.6

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: e63c7f2683c4f670315300ab39f081e9883976856c52d6244c0aebea7d2ba0ac
4
- data.tar.gz: f6a910c42a3242926ee8b9b1b0e505a7672266072c89cee37f0d01b73945c8dc
3
+ metadata.gz: 01a587a745c74e7403e001687906bb86f47f9207f421078129bc6725ffae6727
4
+ data.tar.gz: 6282cf4854b839968987673dbca89c225e0d24c8d8b84361216fc84b25e981a7
5
5
  SHA512:
6
- metadata.gz: 25c51e24fc69a19671e9c855407e4a17aef0630fde1d4412100d24316f8ccabb6e7220211c69c50814bf6e8f4418434c2d533cd88e952bfd12d559a9f31bb439
7
- data.tar.gz: 1252fa88e4fc280d1d0ac30f4269d643298687a31081365b12f5fab8b2a2ec9e498f8952ed5695d318d033cf2f7f5310fbc998d35f11ceb9ad25339ad9d466c3
6
+ metadata.gz: 3559837cf125ff9c02ba899bd141b56d788fe7b4c435250d8a6852629a9be050aadcd503224f18acf29faaaeebef79c3396d85fff5d6c5152764b63708c34455
7
+ data.tar.gz: 732d53844aa4998458378508e0edf2826f7b078617a42b557e8dc5c9c66812cb4646710cff36d1b00edcaed6c891e26bd0e698184f127c901ec1a91d89cd85c5
@@ -0,0 +1,52 @@
1
+ ---
2
+ name: Continuous Integration
3
+ on:
4
+ push:
5
+ branches-ignore:
6
+ - refs/tags/*_staging
7
+ - refs/tags/*_production
8
+ jobs:
9
+ build:
10
+ runs-on: ubuntu-18.04
11
+ steps:
12
+ - name: Checkout branch
13
+ uses: actions/checkout@v2
14
+ - name: Extract branch name
15
+ shell: bash
16
+ run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
17
+ id: extract_branch
18
+ - name: Install Linux dependencies
19
+ run: sudo apt-get update -qq && sudo apt-get install -y libsqlite3-dev
20
+ - name: Set up Ruby
21
+ uses: actions/setup-ruby@v1.1.1
22
+ with:
23
+ ruby-version: 2.6.6
24
+ - name: Cache gems
25
+ uses: actions/cache@v1
26
+ with:
27
+ path: vendor/bundle
28
+ key: "${{ runner.OS }}-gem-cache-${{ hashFiles('**/dry-monads-sorbet.gemspec')
29
+ }}"
30
+ restore-keys: "${{ runner.OS }}-gem-cache-\n"
31
+ - name: Install bundler
32
+ run: (bundler -v | grep "2.1.4") || gem install bundler:2.1.4
33
+ - name: Install gems
34
+ run: bundle install --jobs $(nproc) --retry 3 --without metrics --path vendor/bundle
35
+ - name: Create cache directory
36
+ run: mkdir -p tmp/cache
37
+ - name: Run RSpec test suite
38
+ run: bundle exec rspec spec
39
+ env:
40
+ METRICS: '1'
41
+ - name: Post to Slack if build fails
42
+ if: failure() && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/stable')
43
+ uses: pullreminders/slack-action@master
44
+ env:
45
+ SLACK_BOT_TOKEN: "${{ secrets.SLACK_BOT_TOKEN }}"
46
+ with:
47
+ args: '{\"channel\":\"C33574SJJ\",\"text\":\"* ${{ github.repository }} BUILD
48
+ FAILURE*\", \"attachments\": [{ \"fallback\": \"Failure summary\", \"color\":
49
+ \"#ff0000\", \"fields\": [{\"title\": \"Branch\", \"value\":\"${{ steps.extract_branch.outputs.branch
50
+ }}\"}, {\"title\": \"Who broke it\", \"value\":\"${{ github.actor }}\"},
51
+ { \"title\": \"Build output\", \"value\": \"https://github.com/${{ github.repository
52
+ }}/commit/${{ github.sha }}/checks\", \"short\": false }]}]}'
@@ -28,6 +28,6 @@ Gem::Specification.new do |spec|
28
28
 
29
29
  spec.add_development_dependency 'bundler'
30
30
  spec.add_development_dependency 'pry'
31
- spec.add_development_dependency 'rake', '~> 10.0'
32
- spec.add_development_dependency 'rspec', '~> 3.0'
31
+ spec.add_development_dependency 'rake', '>= 13.0'
32
+ spec.add_development_dependency 'rspec', '>= 3.0'
33
33
  end
@@ -0,0 +1,4 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'dry/monads/all'
4
+ require 'dry/monads/sorbet'
@@ -3,7 +3,7 @@
3
3
  module Dry
4
4
  module Monads
5
5
  module Sorbet
6
- VERSION = '1.1.0.pre.5'
6
+ VERSION = '1.1.0.pre.6'
7
7
  end
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dry-monads-sorbet
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0.pre.5
4
+ version: 1.1.0.pre.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luke Worth
@@ -84,28 +84,28 @@ dependencies:
84
84
  name: rake
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - "~>"
87
+ - - ">="
88
88
  - !ruby/object:Gem::Version
89
- version: '10.0'
89
+ version: '13.0'
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: '10.0'
96
+ version: '13.0'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: rspec
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - "~>"
101
+ - - ">="
102
102
  - !ruby/object:Gem::Version
103
103
  version: '3.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
110
  version: '3.0'
111
111
  description:
@@ -115,7 +115,7 @@ executables: []
115
115
  extensions: []
116
116
  extra_rdoc_files: []
117
117
  files:
118
- - ".github/workflows/rspec.yml"
118
+ - ".github/workflows/ci.yml"
119
119
  - ".gitignore"
120
120
  - ".reek.yml"
121
121
  - ".rspec"
@@ -129,9 +129,10 @@ files:
129
129
  - bin/console
130
130
  - bin/setup
131
131
  - dry-monads-sorbet.gemspec
132
+ - lib/dry-monads-sorbet.rb
132
133
  - lib/dry/monads/sorbet.rb
133
134
  - lib/dry/monads/sorbet/version.rb
134
- - rbi/dry-monads.rbi
135
+ - rbi/dry-monads-sorbet.rbi
135
136
  homepage: https://github.com/tricycle/dry-monads-sorbet
136
137
  licenses:
137
138
  - MIT
@@ -1,22 +0,0 @@
1
- name: RSpec Test Suite
2
-
3
- on: [push]
4
-
5
- jobs:
6
- build:
7
- runs-on: ubuntu-latest
8
- steps:
9
- - name: Checkout branch
10
- uses: actions/checkout@v1
11
- - name: Set up Ruby
12
- uses: actions/setup-ruby@v1
13
- with:
14
- ruby-version: 2.5.5
15
- - name: Install system packages
16
- run: |
17
- sudo apt-get install libsqlite3-dev
18
- command -v bundler || gem install bundler
19
- - name: Install gems
20
- run: bundle install --jobs $(nproc) --retry 3
21
- - name: Run RSpec test suite
22
- run: bundle exec rspec spec