serverkit 0.8.0 → 0.9.0

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: 0ce764896945d0b12f9f53a0fd4c63372468bf07525fe8759fb98af0e7f8e4cf
4
- data.tar.gz: 7238d155e7572c6cc15ce468a04297edfe908abd2c1d9bc008ce0f1f52351238
3
+ metadata.gz: f0a8343f18bc7860a4264d4ff2f45ed107b953b5ca199dc3a26befcae8655966
4
+ data.tar.gz: 046be4d2ba0e52ac7cd9a971b662a1b583ce087f3c95dcc03feee69fdafe39a7
5
5
  SHA512:
6
- metadata.gz: 30bc8a1686266af21c76d45509b3977dcba32bb80e9eb120faf61eb2f1145e8e48c52589e4e74870387cc33f84a50ade184afb76ea104be801f76f3a61aaba75
7
- data.tar.gz: f84ae0f215bc5ee7091745792a60cd61a0ec3e93acfbc3952db7601132537502a99aff17e25df98add6eed210bcc478bccd7408876dd4a2fab98da62c3fcbff2
6
+ metadata.gz: edc2ff8e32e7ce61e97aba62552e1d528c0ebfcd518fa9353cfe302abf903e93e82f8dfa4522f91f4bad19cd99fd01bf15c30a76bd4999d13464fc0093c03ed8
7
+ data.tar.gz: f46e507784dce1733c7e23d8875e19c16de2cb97bc1156939708025040ff0f4dd15b993a1be8e367cd5395acf5f14f1e0a138f31e72cf4e09994d8cde0aecb92
data/.rubocop.yml CHANGED
@@ -1,10 +1,10 @@
1
1
  AllCops:
2
- TargetRubyVersion: 2.3
2
+ TargetRubyVersion: 2.6
3
3
 
4
4
  Lint/AssignmentInCondition:
5
5
  Enabled: false
6
6
 
7
- Lint/HandleExceptions:
7
+ Lint/SuppressedException:
8
8
  Enabled: false
9
9
 
10
10
  Lint/ShadowingOuterLocalVariable:
@@ -46,7 +46,7 @@ Naming/AccessorMethodName:
46
46
  Naming/PredicateName:
47
47
  Enabled: false
48
48
 
49
- Naming/UncommunicativeMethodParamName:
49
+ Naming/MethodParameterName:
50
50
  Enabled: false
51
51
 
52
52
  Style/AndOr:
data/.travis.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.3.0
3
+ - 2.6.3
4
4
  - 2.7.7
5
5
  - 3.0.5
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## 0.9.0
2
+ - Drop Ruby 2.5 and older versions support.
3
+
1
4
  ## 0.8.0
2
5
  - Add Ruby 3.0 support.
3
6
 
@@ -41,7 +41,7 @@ module Serverkit
41
41
 
42
42
  # @return [ERB]
43
43
  def erb
44
- _erb = ERB.new(pathname.read, nil, "-")
44
+ _erb = ERB.new(pathname.read, trim_mode: "-")
45
45
  _erb.filename = pathname.to_s
46
46
  _erb
47
47
  end
@@ -16,7 +16,7 @@ module Serverkit
16
16
 
17
17
  # @return [ERB]
18
18
  def erb
19
- _erb = ::ERB.new(template_content, nil, "-")
19
+ _erb = ::ERB.new(template_content, trim_mode: "-")
20
20
  _erb.filename = source
21
21
  _erb
22
22
  end
@@ -1,3 +1,3 @@
1
1
  module Serverkit
2
- VERSION = "0.8.0".freeze
2
+ VERSION = "0.9.0".freeze
3
3
  end
data/serverkit.gemspec CHANGED
@@ -14,7 +14,7 @@ Gem::Specification.new do |spec|
14
14
  spec.bindir = "bin"
15
15
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
16
16
  spec.require_paths = ["lib"]
17
- spec.required_ruby_version = ">= 2.3.0"
17
+ spec.required_ruby_version = ">= 2.6.0"
18
18
 
19
19
  spec.add_runtime_dependency "activemodel"
20
20
  spec.add_runtime_dependency "activesupport", ">= 5.0.0"
@@ -28,5 +28,5 @@ Gem::Specification.new do |spec|
28
28
  spec.add_development_dependency "pry"
29
29
  spec.add_development_dependency "rake"
30
30
  spec.add_development_dependency "rspec"
31
- spec.add_development_dependency "rubocop", "~> 0.75.0"
31
+ spec.add_development_dependency "rubocop", "~> 0.93.0"
32
32
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: serverkit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryo Nakamura
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-12-19 00:00:00.000000000 Z
11
+ date: 2022-12-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel
@@ -184,14 +184,14 @@ dependencies:
184
184
  requirements:
185
185
  - - "~>"
186
186
  - !ruby/object:Gem::Version
187
- version: 0.75.0
187
+ version: 0.93.0
188
188
  type: :development
189
189
  prerelease: false
190
190
  version_requirements: !ruby/object:Gem::Requirement
191
191
  requirements:
192
192
  - - "~>"
193
193
  - !ruby/object:Gem::Version
194
- version: 0.75.0
194
+ version: 0.93.0
195
195
  description:
196
196
  email:
197
197
  - r7kamura@gmail.com
@@ -304,7 +304,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
304
304
  requirements:
305
305
  - - ">="
306
306
  - !ruby/object:Gem::Version
307
- version: 2.3.0
307
+ version: 2.6.0
308
308
  required_rubygems_version: !ruby/object:Gem::Requirement
309
309
  requirements:
310
310
  - - ">="