datewari 1.1.0 → 1.1.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: d4757bf96a70bad10143eb9c2b790b73d684c0053cd820ade449095cc185f53c
4
- data.tar.gz: a5c23c968a696c0dd6a9217d4b7b3c1a8c0d68559019cd0370122ea8a4689417
3
+ metadata.gz: d3d434d96cce244c1d00f2a8b28da3483c55b678f02e943b3bf6e4a454ec110f
4
+ data.tar.gz: fda63577285c31630b5b819e9becf9817472a3543b67f16cfa9ade122462a69a
5
5
  SHA512:
6
- metadata.gz: 4be75ff27c66c363c231bed355e1942e7abc82f48619fdd1e12685af9e35b6c7f48d34980f2ce2d46b980a65ae525428865e0e326ac4d95a8e6c7665e3bbc5eb
7
- data.tar.gz: b4361ed839a63ee21015281b68a6af0a8ac075a907e885d2378a11d3a21e156ec96cc05e925fa92b1ceb9e25a24395f96b9317c3c4db9f59d016b01cf457ceba
6
+ metadata.gz: 50ef817578c0d634d01d55015c0c41a4f5c31241377a6dffce4b5275b14e105821648948a2bf79c3711dc09a855ad86376fac28508b9c141a352f4b6f9148ea7
7
+ data.tar.gz: c28e9144ca9adfe464ea287c881a529e9fa2cc3f976ad8382975297db66cbbdd42ef71ecd7bd43c8127dab798ef7e39e5278ce9f74c950468d11bd288dca8b06
@@ -4,10 +4,10 @@ on: [push, pull_request]
4
4
 
5
5
  jobs:
6
6
  test:
7
- runs-on: ubuntu-20.04
7
+ runs-on: ubuntu-22.04
8
8
  services:
9
9
  postgres:
10
- image: postgis/postgis:10-2.5
10
+ image: postgis/postgis:15-3.4
11
11
  env:
12
12
  POSTGRES_USER: postgres
13
13
  POSTGRES_PASSWORD: postgres
@@ -24,8 +24,8 @@ jobs:
24
24
  strategy:
25
25
  fail-fast: false
26
26
  matrix:
27
- ruby: [2.4, 2.5, 2.6, 2.7, '3.0', 3.1]
28
- gemfile: ['rails50', 'rails51', 'rails52', 'rails60', 'rails61', 'rails70']
27
+ ruby: [2.4, 2.5, 2.6, 2.7, '3.0', 3.1, 3.2, 3.3]
28
+ gemfile: ['rails50', 'rails51', 'rails52', 'rails60', 'rails61', 'rails70', 'rails71']
29
29
  database: ['mysql', 'postgresql', 'postgis']
30
30
  exclude:
31
31
  - ruby: 2.4
@@ -34,10 +34,19 @@ jobs:
34
34
  gemfile: rails61
35
35
  - ruby: 2.4
36
36
  gemfile: rails70
37
+ - ruby: 2.4
38
+ gemfile: rails71
37
39
  - ruby: 2.5
38
40
  gemfile: rails70
41
+ - ruby: 2.5
42
+ gemfile: rails71
39
43
  - ruby: 2.6
40
44
  gemfile: rails70
45
+ - ruby: 2.6
46
+ gemfile: rails71
47
+ - ruby: 2.7
48
+ gemfile: rails71
49
+ database: postgis
41
50
  - ruby: 3.0
42
51
  gemfile: rails50
43
52
  - ruby: 3.0
@@ -50,6 +59,18 @@ jobs:
50
59
  gemfile: rails51
51
60
  - ruby: 3.1
52
61
  gemfile: rails52
62
+ - ruby: 3.2
63
+ gemfile: rails50
64
+ - ruby: 3.2
65
+ gemfile: rails51
66
+ - ruby: 3.2
67
+ gemfile: rails52
68
+ - ruby: 3.3
69
+ gemfile: rails50
70
+ - ruby: 3.3
71
+ gemfile: rails51
72
+ - ruby: 3.3
73
+ gemfile: rails52
53
74
 
54
75
  name: ruby ${{ matrix.ruby }}, ${{ matrix.gemfile }}, ${{ matrix.database }}
55
76
 
@@ -60,7 +81,7 @@ jobs:
60
81
  BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile
61
82
 
62
83
  steps:
63
- - uses: actions/checkout@v2
84
+ - uses: actions/checkout@v4
64
85
  - uses: ruby/setup-ruby@v1
65
86
  with:
66
87
  ruby-version: ${{ matrix.ruby }}
data/.gitignore CHANGED
@@ -6,7 +6,6 @@ gemfiles/*.lock
6
6
  pkg/
7
7
  spec/dummy/config/database.yml
8
8
  spec/dummy/db/schema.rb
9
- spec/dummy/db/*.sqlite3
10
9
  spec/dummy/log/*.log
11
10
  spec/dummy/tmp/*
12
11
  tmp/
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 1.1.1
4
+
5
+ * Add `frozen_string_literal: true`.
6
+
3
7
  ## 1.1.0
4
8
 
5
9
  * Drop support for ruby 2.3.
@@ -4,5 +4,6 @@ gem "rails", "~> 5.0.0"
4
4
  gem "mysql2", "~> 0.5.0"
5
5
  gem "pg", "~> 0.18"
6
6
  gem "activerecord-postgis-adapter", "~> 4.1"
7
+ gem "loofah", "~> 2.19.1"
7
8
 
8
9
  gemspec path: "../"
@@ -4,5 +4,6 @@ gem "rails", "~> 5.1.0"
4
4
  gem "mysql2", "~> 0.5.0"
5
5
  gem "pg", "~> 0.18"
6
6
  gem "activerecord-postgis-adapter", "~> 5.1"
7
+ gem "loofah", "~> 2.19.1"
7
8
 
8
9
  gemspec path: "../"
@@ -1,5 +1,6 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
3
  gem "rails", "~> 5.2.0"
4
+ gem "loofah", "~> 2.19.1"
4
5
 
5
6
  gemspec path: "../"
@@ -0,0 +1,5 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gem "rails", "~> 7.1.0"
4
+
5
+ gemspec path: "../"
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Datewari
2
4
  module Helper
3
5
  class LinkRenderer
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Datewari
2
4
  module Helper
3
5
  class PartsBuilder
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require_relative 'helper/link_renderer'
2
4
  require_relative 'helper/parts_builder'
3
5
 
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Datewari
2
4
  class Paginator
3
5
  class Base
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Datewari
2
4
  class Paginator
3
5
  class Mysql < Base
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Datewari
2
4
  class Paginator
3
5
  class Postgresql < Base
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require_relative 'paginator/base'
2
4
 
3
5
  module Datewari
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Datewari
2
4
  class Railtie < Rails::Railtie
3
5
  ActiveSupport.on_load :active_record do
data/lib/datewari/util.rb CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Datewari
2
4
  class Util
3
5
  class << self
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Datewari
2
- VERSION = '1.1.0'
4
+ VERSION = '1.1.1'
3
5
  end
data/lib/datewari.rb CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'datewari/version'
2
4
  require 'datewari/paginator'
3
5
  require 'datewari/helper'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: datewari
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yoshikazu Kaneta
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-01-08 00:00:00.000000000 Z
11
+ date: 2024-06-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -160,6 +160,7 @@ files:
160
160
  - gemfiles/rails60.gemfile
161
161
  - gemfiles/rails61.gemfile
162
162
  - gemfiles/rails70.gemfile
163
+ - gemfiles/rails71.gemfile
163
164
  - lib/datewari.rb
164
165
  - lib/datewari/helper.rb
165
166
  - lib/datewari/helper/link_renderer.rb
@@ -176,7 +177,7 @@ files:
176
177
  homepage: https://github.com/kanety/datewari
177
178
  licenses: []
178
179
  metadata: {}
179
- post_install_message:
180
+ post_install_message:
180
181
  rdoc_options: []
181
182
  require_paths:
182
183
  - lib
@@ -191,8 +192,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
191
192
  - !ruby/object:Gem::Version
192
193
  version: '0'
193
194
  requirements: []
194
- rubygems_version: 3.1.2
195
- signing_key:
195
+ rubygems_version: 3.3.3
196
+ signing_key:
196
197
  specification_version: 4
197
198
  summary: An ActiveRecord extension to build date oriented pagination links
198
199
  test_files: []