ika3 0.8.0 → 0.8.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: acd81ebd4f504e0ea9da7d4fea8a7a6fa28d9107b88afe2d43a2524fbbbf0b75
4
- data.tar.gz: c743adeb966479061899159c63929e6672754342bef84b27d4daa7ffcfc8a49d
3
+ metadata.gz: 98570065a01dfbd040555768a09fbf9f268a4a33fbde153a67702f256eec55b9
4
+ data.tar.gz: 8294682e390ccc55dcdce0730101f347db8f0e0c1151d427806b3ce04f8ef457
5
5
  SHA512:
6
- metadata.gz: 6737a5765cf9c63680b4575da78921492fa59c59c6d29b767e5fb7aa4cd7c28c8eaf50e96da995b31af69a40e23c4a669d1b4053966536a628cdec9119428323
7
- data.tar.gz: fe5fd7bee6fece6e3c7964b4b53df88352067acb9ca7c1ab9a06553fe93528f2dd9546666ed563488d97af6ec8d62676a390457889b5388622be85c8e1303d01
6
+ metadata.gz: cd63e57da79c969ce3a4bfd7124e50fde0bbc15cad7a4bf86b41e461fb41fd4987d1b440ac442c0f7623a5b27a61ac75ff2352fa511c55c3cde9b480998b9cce
7
+ data.tar.gz: 66ac586250ec31d9ec52be8514fb39dec29371e208f0b9736d7f9b759f0e7ef090cf8258408edf6505bcf13ced7da15e599414b44d2f7e2264e9142f1b81792f
data/.rubocop.yml CHANGED
@@ -4,7 +4,7 @@ require:
4
4
 
5
5
  AllCops:
6
6
  NewCops: enable
7
- TargetRubyVersion: 2.7
7
+ TargetRubyVersion: 3.0
8
8
 
9
9
  Layout/LineLength:
10
10
  Exclude:
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ika3 (0.8.0)
4
+ ika3 (0.8.1)
5
5
  activesupport (>= 5.0.0)
6
6
  faraday (>= 2.7.0)
7
7
 
@@ -27,7 +27,7 @@ GEM
27
27
  diff-lcs (1.5.0)
28
28
  drb (2.2.0)
29
29
  ruby2_keywords
30
- faraday (2.7.12)
30
+ faraday (2.8.1)
31
31
  base64
32
32
  faraday-net_http (>= 2.0, < 3.1)
33
33
  ruby2_keywords (>= 0.0.4)
@@ -36,7 +36,7 @@ GEM
36
36
  fileutils (1.7.1)
37
37
  i18n (1.14.1)
38
38
  concurrent-ruby (~> 1.0)
39
- json (2.6.3)
39
+ json (2.7.1)
40
40
  language_server-protocol (3.17.0.3)
41
41
  listen (3.8.0)
42
42
  rb-fsevent (~> 0.10, >= 0.10.3)
@@ -48,14 +48,14 @@ GEM
48
48
  parser (3.2.2.4)
49
49
  ast (~> 2.4.1)
50
50
  racc
51
- racc (1.7.1)
51
+ racc (1.7.3)
52
52
  rainbow (3.1.1)
53
53
  rake (13.1.0)
54
54
  rb-fsevent (0.11.2)
55
55
  rb-inotify (0.10.1)
56
56
  ffi (~> 1.0)
57
57
  rbs (3.1.3)
58
- regexp_parser (2.8.2)
58
+ regexp_parser (2.8.3)
59
59
  rexml (3.2.6)
60
60
  rspec (3.12.0)
61
61
  rspec-core (~> 3.12.0)
@@ -70,7 +70,7 @@ GEM
70
70
  diff-lcs (>= 1.2.0, < 2.0)
71
71
  rspec-support (~> 3.12.0)
72
72
  rspec-support (3.12.0)
73
- rubocop (1.57.2)
73
+ rubocop (1.59.0)
74
74
  json (~> 2.3)
75
75
  language_server-protocol (>= 3.17.0)
76
76
  parallel (~> 1.10)
@@ -78,7 +78,7 @@ GEM
78
78
  rainbow (>= 2.2.2, < 4.0)
79
79
  regexp_parser (>= 1.8, < 3.0)
80
80
  rexml (>= 3.2.5, < 4.0)
81
- rubocop-ast (>= 1.28.1, < 2.0)
81
+ rubocop-ast (>= 1.30.0, < 2.0)
82
82
  ruby-progressbar (~> 1.7)
83
83
  unicode-display_width (>= 2.4.0, < 3.0)
84
84
  rubocop-ast (1.30.0)
data/ika3.gemspec CHANGED
@@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
12
12
  spec.description = 'Splatoon3 weapons information library. This gem provide weapon name, sub, and special. not official'
13
13
  spec.homepage = 'https://github.com/YutaGoto/ika3'
14
14
  spec.license = 'MIT'
15
- spec.required_ruby_version = '>= 2.7.0'
15
+ spec.required_ruby_version = '>= 3.0.0'
16
16
 
17
17
  spec.metadata['homepage_uri'] = spec.homepage
18
18
  spec.metadata['source_code_uri'] = 'https://github.com/YutaGoto/ika3'
@@ -6,7 +6,7 @@ module Ika3
6
6
  module_function
7
7
 
8
8
  def load_yaml_file(file)
9
- YAML.safe_load(File.read(file), aliases: true)
9
+ YAML.safe_load_file(file, aliases: true)
10
10
  end
11
11
  end
12
12
  end
data/lib/ika3/schedule.rb CHANGED
@@ -24,7 +24,7 @@ module Ika3
24
24
 
25
25
  schedules.each do |schedule|
26
26
  modes.each do |mode|
27
- define_method("#{mode}_#{schedule}".to_sym) do
27
+ define_method(:"#{mode}_#{schedule}") do
28
28
  if instance_variable_defined?("@#{mode}_#{schedule}_obj")
29
29
  return instance_variable_get("@#{mode}_#{schedule}_obj")
30
30
  end
@@ -34,7 +34,7 @@ module Ika3
34
34
  end
35
35
  end
36
36
 
37
- define_method("salmon_run_#{schedule}".to_sym) do
37
+ define_method(:"salmon_run_#{schedule}") do
38
38
  if instance_variable_defined?("@salmon_run_#{schedule}_obj")
39
39
  return instance_variable_get("@salmon_run_#{schedule}_obj")
40
40
  end
data/lib/ika3/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Ika3
4
- VERSION = '0.8.0'
4
+ VERSION = '0.8.1'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ika3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - YutaGoto
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-12-03 00:00:00.000000000 Z
11
+ date: 2024-01-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -86,7 +86,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - ">="
88
88
  - !ruby/object:Gem::Version
89
- version: 2.7.0
89
+ version: 3.0.0
90
90
  required_rubygems_version: !ruby/object:Gem::Requirement
91
91
  requirements:
92
92
  - - ">="