routes_lazy_routes 0.3.0 → 0.3.1

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: b6e8fe43c0d0952ee2879a571fd73f2e01438f31c9000433c97d9263319eeac0
4
- data.tar.gz: b685cac81ed7be0dccf6fb58a1a6e023a103b21839fecc906ec1745ab6602ad4
3
+ metadata.gz: 8b8020bcd3fda43867d90592b8b2a273b64e599e5f11952df0d3f475f047acfd
4
+ data.tar.gz: c4ba0b1fec98f499e56f6a1894b6e20de026b6b1691d314f0e14729dcca48a85
5
5
  SHA512:
6
- metadata.gz: f212b71f9b10cc35910813744f2053ebfadf88e090e964ecc124af5a2704aa52006d7d69ddf538757710c95878fa1527ee8886d9af8a039560a070f9fa268a86
7
- data.tar.gz: 75e828ca879d28ff83f4ef41f4742ff196fc7dc14bec0ab5e8618240bef74ebb0c801b27a154a9b4f73f30dd7a58da4ef50ace22f9498eb5fb4ae223a9d902c8
6
+ metadata.gz: 1991e3087a36eb71fac2ebb19f2b5f5ef08b45897dcd817bd54a5aebca25268e0f36e14617e0416a8f2a647aaeacaeff52643c6153627ced198725e39ba8047d
7
+ data.tar.gz: 60392a385fc22a5a0e6c6808e09c23a73c887ebbfb02e44d1680ee4f66f064ef011d9dee2174e6f39b88724491b2c0063b69d614484c9850b10c8159204deb40
@@ -4,15 +4,30 @@ on: [push,pull_request]
4
4
 
5
5
  jobs:
6
6
  build:
7
+ strategy:
8
+ matrix:
9
+ include:
10
+ - ruby-version: 2.7.2
11
+ rails-version: '~> 5.2.4'
12
+ - ruby-version: 2.7.2
13
+ rails-version: '~> 6.0.3'
14
+ - ruby-version: 2.7.2
15
+ rails-version: '~> 6.1.0'
16
+ - ruby-version: 3.0.0
17
+ rails-version: '~> 6.0.3'
18
+ - ruby-version: 3.0.0
19
+ rails-version: '~> 6.1.0'
7
20
  runs-on: ubuntu-latest
8
21
  steps:
9
22
  - uses: actions/checkout@v2
10
23
  - name: Set up Ruby
11
24
  uses: ruby/setup-ruby@v1
12
25
  with:
13
- ruby-version: 3.0.0
26
+ ruby-version: ${{ matrix.ruby-version }}
14
27
  - name: Run the default task
15
28
  run: |
16
29
  gem install bundler -v 2.2.0.rc.2
17
30
  bundle install
18
31
  bundle exec rake
32
+ env:
33
+ RAILS_VERSION: ${{ matrix.rails-version }}
data/Gemfile CHANGED
@@ -5,6 +5,8 @@ source "https://rubygems.org"
5
5
  # Specify your gem's dependencies in routes_lazy_routes.gemspec
6
6
  gemspec
7
7
 
8
+ gem "rails", ENV["RAILS_VERSION"] if ENV["RAILS_VERSION"]
9
+
8
10
  gem "rake", "~> 13.0"
9
11
 
10
12
  gem "minitest", "~> 5.0"
@@ -2,7 +2,7 @@
2
2
 
3
3
  module RoutesLazyRoutes
4
4
  class RoutesReloaderWrapper
5
- delegate :paths, :eager_load=, :updated?, :route_sets, to: :@original_routes_reloader
5
+ delegate :paths, :eager_load=, :updated?, :route_sets, :external_routes, to: :@original_routes_reloader
6
6
 
7
7
  def initialize(original_routes_reloader)
8
8
  @original_routes_reloader = original_routes_reloader
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RoutesLazyRoutes
4
- VERSION = '0.3.0'
4
+ VERSION = '0.3.1'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: routes_lazy_routes
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Akira Matsuda
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-12-08 00:00:00.000000000 Z
11
+ date: 2020-12-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -83,7 +83,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
83
83
  - !ruby/object:Gem::Version
84
84
  version: '0'
85
85
  requirements: []
86
- rubygems_version: 3.2.0.rc.2
86
+ rubygems_version: 3.2.0
87
87
  signing_key:
88
88
  specification_version: 4
89
89
  summary: A Rails routes lazy loader