ika3 0.5.0 → 0.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 56e3bf86129a619e8a3fa228d0d82e5e2300f501017e06132db8ae41054ea8db
4
- data.tar.gz: 22433dcc20b7f582707c05e0c5342d74f34e02a2d37da1fe838bed63967b91a0
3
+ metadata.gz: bd76783c8ddf9cc971384f3c16ece075d96bb1e0b6395643aff906a438e2b2a6
4
+ data.tar.gz: b9f0070ce53d60ab52552b633b094aafbf1fc4b0e6610c489bf07f7e2982122d
5
5
  SHA512:
6
- metadata.gz: 0c3133337e3a1e1f4b29f3502fbc384276bd844705fcd392299b4c3c16b20e428edfd0f3e8d3b6b3d6a989c94cf2c2c5fd3fabee78ca190cb584d9850d3ee4cb
7
- data.tar.gz: 87e853de6ab73580185e90abf9b2fab785640ba5f1f3e769bbd9f4c9f352d65a593645429f8fe1d7378b3f35106d811ecae92475eee315543bfd9453c1328400
6
+ metadata.gz: 7c2d36528201574a6d83ecd8eed965b7380276c9a3fb1eab917606ae494be901b5a8d383fbcdfb5d31ba905e66d397b57acebf102db09cf6d7809d90f658781b
7
+ data.tar.gz: 07bd09ae3e7877553a9dda4647c4b90db02ed819e04d3661c889c0a02fa47445ac9cf99abbd6aec1fd85d33534030302cd5e3ae28751267d4e4347b899ca6f00
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ika3 (0.5.0)
4
+ ika3 (0.5.1)
5
5
  activesupport (>= 5.0.0)
6
6
  faraday (>= 2.7.0)
7
7
 
@@ -17,7 +17,7 @@ GEM
17
17
  concurrent-ruby (1.2.2)
18
18
  csv (3.2.6)
19
19
  diff-lcs (1.5.0)
20
- faraday (2.7.5)
20
+ faraday (2.7.7)
21
21
  faraday-net_http (>= 2.0, < 3.1)
22
22
  ruby2_keywords (>= 0.0.4)
23
23
  faraday-net_http (3.0.2)
@@ -33,15 +33,17 @@ GEM
33
33
  logger (1.5.3)
34
34
  minitest (5.18.0)
35
35
  parallel (1.23.0)
36
- parser (3.2.2.1)
36
+ parser (3.2.2.3)
37
37
  ast (~> 2.4.1)
38
+ racc
39
+ racc (1.7.0)
38
40
  rainbow (3.1.1)
39
41
  rake (13.0.6)
40
42
  rb-fsevent (0.11.2)
41
43
  rb-inotify (0.10.1)
42
44
  ffi (~> 1.0)
43
45
  rbs (3.1.0)
44
- regexp_parser (2.8.0)
46
+ regexp_parser (2.8.1)
45
47
  rexml (3.2.5)
46
48
  rspec (3.12.0)
47
49
  rspec-core (~> 3.12.0)
@@ -56,17 +58,17 @@ GEM
56
58
  diff-lcs (>= 1.2.0, < 2.0)
57
59
  rspec-support (~> 3.12.0)
58
60
  rspec-support (3.12.0)
59
- rubocop (1.51.0)
61
+ rubocop (1.52.1)
60
62
  json (~> 2.3)
61
63
  parallel (~> 1.10)
62
- parser (>= 3.2.0.0)
64
+ parser (>= 3.2.2.3)
63
65
  rainbow (>= 2.2.2, < 4.0)
64
66
  regexp_parser (>= 1.8, < 3.0)
65
67
  rexml (>= 3.2.5, < 4.0)
66
68
  rubocop-ast (>= 1.28.0, < 2.0)
67
69
  ruby-progressbar (~> 1.7)
68
70
  unicode-display_width (>= 2.4.0, < 3.0)
69
- rubocop-ast (1.28.1)
71
+ rubocop-ast (1.29.0)
70
72
  parser (>= 3.2.1.0)
71
73
  rubocop-capybara (2.18.0)
72
74
  rubocop (~> 1.41)
data/lib/ika3/schedule.rb CHANGED
@@ -48,6 +48,12 @@ module Ika3
48
48
 
49
49
  @salmon_run_team_contest_obj = send_request(:get, '/api/coop-grouping-team-contest/schedule').body.results[0]
50
50
  end
51
+
52
+ def event
53
+ return @event_match_obj unless @event_match_obj.nil?
54
+
55
+ @event_match_obj = send_request(:get, '/api/event/schedule').body.results[0]
56
+ end
51
57
  end
52
58
 
53
59
  private
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.5.0'
4
+ VERSION = '0.5.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.5.0
4
+ version: 0.5.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-06-02 00:00:00.000000000 Z
11
+ date: 2023-06-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -93,7 +93,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
93
93
  - !ruby/object:Gem::Version
94
94
  version: '0'
95
95
  requirements: []
96
- rubygems_version: 3.4.7
96
+ rubygems_version: 3.4.10
97
97
  signing_key:
98
98
  specification_version: 4
99
99
  summary: Splatoon3 weapons information library.