sorbet-rails 0.7.20 → 0.7.22

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: '0558c5531553c522732f660d34e3c40595e6de551545ac1e841f706a95afe4c9'
4
- data.tar.gz: b478f41bff9b1a4815536a3b6c80d895694587de7dfab985caf7eda779a98168
3
+ metadata.gz: c089b34f04fa829aa30f1e844626e4ffe72f95f4adb9a3690250287ae626af4f
4
+ data.tar.gz: 7e7afb8c3de657085ea4fce31584bbd324f27b57c66520f74967ada5ffee24dc
5
5
  SHA512:
6
- metadata.gz: bd7ab5eca8697b424c3087ec93a507fd1af4dffa6cb027c56b84f43457884e3166826de123ebd49de2158b9dc0ef6d67148972779b54d03eb8b256cd5e1000d0
7
- data.tar.gz: a438116c58dce3f75ae5fc968249c4f3c6ebe3146a353b1a33e8738ad5d815dcca126df5fab01343306360a83159e89297c0ee275d05d6ef9b5deb015bbee8b3
6
+ metadata.gz: eded78f1d240d92dfa8d52849846897f430756324e5999ec86ce04f595dc7f39906b8d145e7e30836bfa77cece8ddb26d80087dcfc26e3ca01c691efa320af74
7
+ data.tar.gz: 5f0bbab68508ed1cd968e2dcb098268cac25a29c917a5cb2517bc024f69ee27bada1e180f57cb54e9dff4d3964847f3d74084c886c0a8546d26f1a7cd5cb5dce
@@ -15,7 +15,6 @@ jobs:
15
15
 
16
16
  env:
17
17
  RAILS_VERSION: ${{ matrix.rails }}
18
- CI: true
19
18
 
20
19
  steps:
21
20
  - uses: actions/checkout@v2
@@ -24,3 +23,4 @@ jobs:
24
23
  ruby-version: ${{ matrix.ruby }}
25
24
  # bundler-cache: true -- this messes up some dynamic constants
26
25
  - run: "./spec/bin/run_spec.sh"
26
+ - run: bundle exec srb tc
@@ -1,17 +1,26 @@
1
1
  name: publish-gem
2
2
 
3
3
  on:
4
- # pull_request: # test with pull request
5
- push:
6
- branches: # Trigger only on the main branch to avoid duplicate runs on PR branches
7
- - master
4
+ pull_request: # test with pull request
5
+ # push:
6
+ # branches: # Trigger only on the main branch to avoid duplicate runs on PR branches
7
+ # - master
8
8
 
9
9
  jobs:
10
10
  build:
11
11
  runs-on: ubuntu-latest
12
12
 
13
+ env:
14
+ RAILS_VERSION: 6.0
15
+
13
16
  steps:
14
17
  - uses: actions/checkout@v2
18
+ - uses: ruby/setup-ruby@v1
19
+ with:
20
+ ruby-version: 2.7
21
+ # bundler-cache: true -- this messes up some dynamic constants
22
+ - run: "./spec/bin/run_spec.sh"
23
+ - run: bundle exec srb tc
15
24
  - name: Release Gem
16
25
  uses: dawidd6/action-publish-gem@v1
17
26
  with:
@@ -90,7 +90,7 @@ module SorbetRails::ModelUtils
90
90
  # where, limit, etc and not something like a named scope. It should likely
91
91
  # only be set to `true` when called from the ActiveRecordQuerying plugin.
92
92
  builtin_query_method: T::Boolean,
93
- custom_return_value: String,
93
+ custom_return_value: T.nilable(String),
94
94
  ).void
95
95
  }
96
96
  def add_relation_query_method(
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sorbet-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.20
4
+ version: 0.7.22
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chan Zuckerberg Initiative
@@ -689,7 +689,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
689
689
  - !ruby/object:Gem::Version
690
690
  version: '0'
691
691
  requirements: []
692
- rubygems_version: 3.1.2
692
+ rubygems_version: 3.1.6
693
693
  signing_key:
694
694
  specification_version: 4
695
695
  summary: Set of tools to make Sorbet work with Rails seamlessly.