ika3 0.9.0 → 0.9.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 +4 -4
 - data/Gemfile +1 -1
 - data/Gemfile.lock +7 -7
 - data/lib/ika3/schedule.rb +12 -2
 - data/lib/ika3/version.rb +1 -1
 - data/sig/ika3/schedule.rbs +7 -0
 - metadata +2 -2
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA256:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: a82f3dab444b8ebf345d26a00ab9bf74f09aae7e06cb068359d03cda6e6d6b71
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 6fcab6b350bb4998550c131afc3e17724bacc02b27be7e9894797116bb659d7d
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: bea34a79219b42ab1172e8f6ea230e2aed0a93eb4163770277406cebf9514622e6280d2117682d1ce46a1c2c2476595b87bc214e027b68e4854d9c7da9f692f4
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: ae622ac4675c20e066d23544a2cf286c256f9955b8fc6e2178d0c9e68c71f4924eb6e684df310d350a6a9bf21705cfe38768c445d2ca5eadceba19b985772abd
         
     | 
    
        data/Gemfile
    CHANGED
    
    
    
        data/Gemfile.lock
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            PATH
         
     | 
| 
       2 
2 
     | 
    
         
             
              remote: .
         
     | 
| 
       3 
3 
     | 
    
         
             
              specs:
         
     | 
| 
       4 
     | 
    
         
            -
                ika3 (0.9. 
     | 
| 
      
 4 
     | 
    
         
            +
                ika3 (0.9.1)
         
     | 
| 
       5 
5 
     | 
    
         
             
                  activesupport (>= 6.0.0)
         
     | 
| 
       6 
6 
     | 
    
         
             
                  faraday (>= 2.7.0)
         
     | 
| 
       7 
7 
     | 
    
         | 
| 
         @@ -72,7 +72,7 @@ GEM 
     | 
|
| 
       72 
72 
     | 
    
         
             
                  diff-lcs (>= 1.2.0, < 2.0)
         
     | 
| 
       73 
73 
     | 
    
         
             
                  rspec-support (~> 3.13.0)
         
     | 
| 
       74 
74 
     | 
    
         
             
                rspec-support (3.13.0)
         
     | 
| 
       75 
     | 
    
         
            -
                rubocop (1. 
     | 
| 
      
 75 
     | 
    
         
            +
                rubocop (1.62.1)
         
     | 
| 
       76 
76 
     | 
    
         
             
                  json (~> 2.3)
         
     | 
| 
       77 
77 
     | 
    
         
             
                  language_server-protocol (>= 3.17.0)
         
     | 
| 
       78 
78 
     | 
    
         
             
                  parallel (~> 1.10)
         
     | 
| 
         @@ -80,18 +80,18 @@ GEM 
     | 
|
| 
       80 
80 
     | 
    
         
             
                  rainbow (>= 2.2.2, < 4.0)
         
     | 
| 
       81 
81 
     | 
    
         
             
                  regexp_parser (>= 1.8, < 3.0)
         
     | 
| 
       82 
82 
     | 
    
         
             
                  rexml (>= 3.2.5, < 4.0)
         
     | 
| 
       83 
     | 
    
         
            -
                  rubocop-ast (>= 1. 
     | 
| 
      
 83 
     | 
    
         
            +
                  rubocop-ast (>= 1.31.1, < 2.0)
         
     | 
| 
       84 
84 
     | 
    
         
             
                  ruby-progressbar (~> 1.7)
         
     | 
| 
       85 
85 
     | 
    
         
             
                  unicode-display_width (>= 2.4.0, < 3.0)
         
     | 
| 
       86 
     | 
    
         
            -
                rubocop-ast (1. 
     | 
| 
       87 
     | 
    
         
            -
                  parser (>= 3. 
     | 
| 
      
 86 
     | 
    
         
            +
                rubocop-ast (1.31.2)
         
     | 
| 
      
 87 
     | 
    
         
            +
                  parser (>= 3.3.0.4)
         
     | 
| 
       88 
88 
     | 
    
         
             
                rubocop-capybara (2.20.0)
         
     | 
| 
       89 
89 
     | 
    
         
             
                  rubocop (~> 1.41)
         
     | 
| 
       90 
90 
     | 
    
         
             
                rubocop-factory_bot (2.25.1)
         
     | 
| 
       91 
91 
     | 
    
         
             
                  rubocop (~> 1.41)
         
     | 
| 
       92 
92 
     | 
    
         
             
                rubocop-rake (0.6.0)
         
     | 
| 
       93 
93 
     | 
    
         
             
                  rubocop (~> 1.0)
         
     | 
| 
       94 
     | 
    
         
            -
                rubocop-rspec (2. 
     | 
| 
      
 94 
     | 
    
         
            +
                rubocop-rspec (2.27.1)
         
     | 
| 
       95 
95 
     | 
    
         
             
                  rubocop (~> 1.40)
         
     | 
| 
       96 
96 
     | 
    
         
             
                  rubocop-capybara (~> 2.17)
         
     | 
| 
       97 
97 
     | 
    
         
             
                  rubocop-factory_bot (~> 2.22)
         
     | 
| 
         @@ -132,7 +132,7 @@ DEPENDENCIES 
     | 
|
| 
       132 
132 
     | 
    
         
             
              rspec (~> 3.13)
         
     | 
| 
       133 
133 
     | 
    
         
             
              rubocop
         
     | 
| 
       134 
134 
     | 
    
         
             
              rubocop-rake (~> 0.6.0)
         
     | 
| 
       135 
     | 
    
         
            -
              rubocop-rspec (~> 2. 
     | 
| 
      
 135 
     | 
    
         
            +
              rubocop-rspec (~> 2.27)
         
     | 
| 
       136 
136 
     | 
    
         
             
              steep
         
     | 
| 
       137 
137 
     | 
    
         
             
              typeprof
         
     | 
| 
       138 
138 
     | 
    
         | 
    
        data/lib/ika3/schedule.rb
    CHANGED
    
    | 
         @@ -78,7 +78,7 @@ module Ika3 
     | 
|
| 
       78 
78 
     | 
    
         
             
                end
         
     | 
| 
       79 
79 
     | 
    
         | 
| 
       80 
80 
     | 
    
         
             
                class Salmon
         
     | 
| 
       81 
     | 
    
         
            -
                  attr_reader :start_time, :end_time, :stage, :weapons
         
     | 
| 
      
 81 
     | 
    
         
            +
                  attr_reader :start_time, :end_time, :stage, :weapons, :boss
         
     | 
| 
       82 
82 
     | 
    
         | 
| 
       83 
83 
     | 
    
         
             
                  def initialize(data)
         
     | 
| 
       84 
84 
     | 
    
         
             
                    return unless data
         
     | 
| 
         @@ -87,6 +87,7 @@ module Ika3 
     | 
|
| 
       87 
87 
     | 
    
         
             
                    @end_time = data['end_time']
         
     | 
| 
       88 
88 
     | 
    
         
             
                    @stage = Stage.new(data['stage'])
         
     | 
| 
       89 
89 
     | 
    
         
             
                    @weapons = data['weapons'].map { |weapon| Weapon.new(weapon) }
         
     | 
| 
      
 90 
     | 
    
         
            +
                    @boss = Boss.new(data['boss'])
         
     | 
| 
       90 
91 
     | 
    
         
             
                  end
         
     | 
| 
       91 
92 
     | 
    
         | 
| 
       92 
93 
     | 
    
         
             
                  class Stage
         
     | 
| 
         @@ -107,7 +108,16 @@ module Ika3 
     | 
|
| 
       107 
108 
     | 
    
         
             
                    end
         
     | 
| 
       108 
109 
     | 
    
         
             
                  end
         
     | 
| 
       109 
110 
     | 
    
         | 
| 
       110 
     | 
    
         
            -
                   
     | 
| 
      
 111 
     | 
    
         
            +
                  class Boss
         
     | 
| 
      
 112 
     | 
    
         
            +
                    attr_reader :name, :id
         
     | 
| 
      
 113 
     | 
    
         
            +
             
     | 
| 
      
 114 
     | 
    
         
            +
                    def initialize(data)
         
     | 
| 
      
 115 
     | 
    
         
            +
                      @name = data['name']
         
     | 
| 
      
 116 
     | 
    
         
            +
                      @id = data['id']
         
     | 
| 
      
 117 
     | 
    
         
            +
                    end
         
     | 
| 
      
 118 
     | 
    
         
            +
                  end
         
     | 
| 
      
 119 
     | 
    
         
            +
             
     | 
| 
      
 120 
     | 
    
         
            +
                  private_constant :Stage, :Weapon, :Boss
         
     | 
| 
       111 
121 
     | 
    
         
             
                end
         
     | 
| 
       112 
122 
     | 
    
         | 
| 
       113 
123 
     | 
    
         
             
                private_constant :Battle, :Salmon
         
     | 
    
        data/lib/ika3/version.rb
    CHANGED
    
    
    
        data/sig/ika3/schedule.rbs
    CHANGED
    
    | 
         @@ -43,6 +43,7 @@ module Ika3 
     | 
|
| 
       43 
43 
     | 
    
         
             
                  @end_time: untyped
         
     | 
| 
       44 
44 
     | 
    
         
             
                  @stage: Stage
         
     | 
| 
       45 
45 
     | 
    
         
             
                  @weapons: Array[Weapon]
         
     | 
| 
      
 46 
     | 
    
         
            +
                  @boss: untyped
         
     | 
| 
       46 
47 
     | 
    
         
             
                  def initialize: (Hash[untyped, untyped] data) -> void
         
     | 
| 
       47 
48 
     | 
    
         | 
| 
       48 
49 
     | 
    
         
             
                  class Stage
         
     | 
| 
         @@ -56,6 +57,12 @@ module Ika3 
     | 
|
| 
       56 
57 
     | 
    
         
             
                    @image: String
         
     | 
| 
       57 
58 
     | 
    
         
             
                    def initialize: (Hash[untyped, untyped] data) -> void
         
     | 
| 
       58 
59 
     | 
    
         
             
                  end
         
     | 
| 
      
 60 
     | 
    
         
            +
             
     | 
| 
      
 61 
     | 
    
         
            +
                  class Boss
         
     | 
| 
      
 62 
     | 
    
         
            +
                    @name: String
         
     | 
| 
      
 63 
     | 
    
         
            +
                    @image: String
         
     | 
| 
      
 64 
     | 
    
         
            +
                    def initialize: (Hash[untyped, untyped] data) -> void
         
     | 
| 
      
 65 
     | 
    
         
            +
                  end
         
     | 
| 
       59 
66 
     | 
    
         
             
                end
         
     | 
| 
       60 
67 
     | 
    
         
             
              end
         
     | 
| 
       61 
68 
     | 
    
         
             
            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.9. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 0.9.1
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - YutaGoto
         
     | 
| 
       8 
8 
     | 
    
         
             
            autorequire: 
         
     | 
| 
       9 
9 
     | 
    
         
             
            bindir: exe
         
     | 
| 
       10 
10 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       11 
     | 
    
         
            -
            date: 2024-03- 
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2024-03-15 00:00:00.000000000 Z
         
     | 
| 
       12 
12 
     | 
    
         
             
            dependencies:
         
     | 
| 
       13 
13 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       14 
14 
     | 
    
         
             
              name: activesupport
         
     |