eve_online 0.46.0 → 0.47.0

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.
Files changed (177) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/codeql.yml +6 -6
  3. data/.github/workflows/dependency-review.yml +4 -4
  4. data/.github/workflows/mdl.yml +5 -4
  5. data/.github/workflows/rspec.yml +8 -6
  6. data/.github/workflows/scorecards.yml +6 -6
  7. data/.rubocop.yml +51 -1
  8. data/.ruby-version +1 -1
  9. data/.standard.yml +1 -1
  10. data/CHANGELOG.md +9 -0
  11. data/Gemfile +5 -1
  12. data/Gemfile.lock +198 -78
  13. data/LICENSE.txt +1 -1
  14. data/README.md +465 -418
  15. data/eve_online.gemspec +6 -6
  16. data/gemfiles/activesupport_7.2.gemfile +1 -0
  17. data/gemfiles/activesupport_8.0.gemfile +1 -0
  18. data/gemfiles/{activesupport_7.1.gemfile → activesupport_8.1.gemfile} +2 -1
  19. data/gemfiles/activesupport_main.gemfile +1 -0
  20. data/lib/eve_online/esi/client.rb +183 -0
  21. data/lib/eve_online/esi/collection.rb +36 -0
  22. data/lib/eve_online/esi/faraday_middlewares/parse_eve_dates.rb +33 -0
  23. data/lib/eve_online/esi/faraday_middlewares/raise_errors.rb +9 -1
  24. data/lib/eve_online/esi/models/aggressor.rb +5 -21
  25. data/lib/eve_online/esi/models/alliance.rb +8 -38
  26. data/lib/eve_online/esi/models/alliance_corporations.rb +13 -0
  27. data/lib/eve_online/esi/models/alliance_icon.rb +3 -3
  28. data/lib/eve_online/esi/models/alliances.rb +13 -0
  29. data/lib/eve_online/esi/models/ally.rb +3 -11
  30. data/lib/eve_online/esi/models/ancestry.rb +7 -31
  31. data/lib/eve_online/esi/models/attributes.rb +9 -45
  32. data/lib/eve_online/esi/models/bloodline.rb +14 -54
  33. data/lib/eve_online/esi/models/blueprint.rb +9 -41
  34. data/lib/eve_online/esi/models/character.rb +12 -58
  35. data/lib/eve_online/esi/models/character_asset.rb +22 -0
  36. data/lib/eve_online/esi/models/character_ship.rb +4 -16
  37. data/lib/eve_online/esi/models/character_wallet.rb +19 -0
  38. data/lib/eve_online/esi/models/clones.rb +24 -0
  39. data/lib/eve_online/esi/models/corporation.rb +15 -69
  40. data/lib/eve_online/esi/models/defender.rb +5 -21
  41. data/lib/eve_online/esi/models/faction.rb +13 -49
  42. data/lib/eve_online/esi/models/home_location.rb +3 -11
  43. data/lib/eve_online/esi/models/implants.rb +13 -0
  44. data/lib/eve_online/esi/models/jump_clone.rb +7 -22
  45. data/lib/eve_online/esi/models/npc_corporations.rb +13 -0
  46. data/lib/eve_online/esi/models/race.rb +8 -16
  47. data/lib/eve_online/esi/models/route.rb +15 -0
  48. data/lib/eve_online/esi/models/search.rb +17 -12
  49. data/lib/eve_online/esi/models/server_status.rb +5 -23
  50. data/lib/eve_online/esi/models/skill.rb +5 -21
  51. data/lib/eve_online/esi/models/skill_queue_entry.rb +9 -45
  52. data/lib/eve_online/esi/models/skills.rb +20 -0
  53. data/lib/eve_online/esi/models/war.rb +12 -48
  54. data/lib/eve_online/esi/models/wars.rb +13 -0
  55. data/lib/eve_online/esi/object.rb +31 -0
  56. data/lib/eve_online/esi/parsed_headers.rb +47 -0
  57. data/lib/eve_online/esi/resources/alliances_resources.rb +42 -0
  58. data/lib/eve_online/esi/resources/assets_resources.rb +23 -0
  59. data/lib/eve_online/esi/resources/characters_resources.rb +33 -0
  60. data/lib/eve_online/esi/resources/clones_resources.rb +29 -0
  61. data/lib/eve_online/esi/resources/corporations_resources.rb +28 -0
  62. data/lib/eve_online/esi/resources/location_resources.rb +22 -0
  63. data/lib/eve_online/esi/resources/resource.rb +51 -0
  64. data/lib/eve_online/esi/resources/routes_resources.rb +35 -0
  65. data/lib/eve_online/esi/resources/search_resources.rb +33 -0
  66. data/lib/eve_online/esi/resources/server_status_resources.rb +21 -0
  67. data/lib/eve_online/esi/resources/skills_resources.rb +36 -0
  68. data/lib/eve_online/esi/resources/universe_resources.rb +39 -0
  69. data/lib/eve_online/esi/resources/wallet_resources.rb +22 -0
  70. data/lib/eve_online/esi/resources/wars_resources.rb +32 -0
  71. data/lib/eve_online/exceptions.rb +21 -0
  72. data/lib/eve_online/version.rb +1 -1
  73. data/lib/eve_online.rb +59 -222
  74. metadata +123 -134
  75. data/.fasterer.yml +0 -5
  76. data/.github/workflows/fasterer.yml +0 -33
  77. data/lib/eve_online/esi/alliance.rb +0 -35
  78. data/lib/eve_online/esi/alliance_corporations.rb +0 -28
  79. data/lib/eve_online/esi/alliance_icon.rb +0 -34
  80. data/lib/eve_online/esi/alliances.rb +0 -20
  81. data/lib/eve_online/esi/character.rb +0 -36
  82. data/lib/eve_online/esi/character_assets.rb +0 -41
  83. data/lib/eve_online/esi/character_attributes.rb +0 -37
  84. data/lib/eve_online/esi/character_blueprints.rb +0 -41
  85. data/lib/eve_online/esi/character_clones.rb +0 -52
  86. data/lib/eve_online/esi/character_implants.rb +0 -29
  87. data/lib/eve_online/esi/character_ship.rb +0 -35
  88. data/lib/eve_online/esi/character_skill_queue.rb +0 -36
  89. data/lib/eve_online/esi/character_skills.rb +0 -51
  90. data/lib/eve_online/esi/character_wallet.rb +0 -35
  91. data/lib/eve_online/esi/corporation.rb +0 -37
  92. data/lib/eve_online/esi/corporation_npc.rb +0 -20
  93. data/lib/eve_online/esi/models/allies.rb +0 -21
  94. data/lib/eve_online/esi/search.rb +0 -61
  95. data/lib/eve_online/esi/server_status.rb +0 -26
  96. data/lib/eve_online/esi/universe_ancestries.rb +0 -31
  97. data/lib/eve_online/esi/universe_bloodlines.rb +0 -31
  98. data/lib/eve_online/esi/universe_factions.rb +0 -31
  99. data/lib/eve_online/esi/universe_races.rb +0 -31
  100. data/lib/eve_online/esi/war.rb +0 -35
  101. data/lib/eve_online/esi/wars.rb +0 -32
  102. data/lib/eve_online/exceptions/bad_gateway.rb +0 -8
  103. data/lib/eve_online/exceptions/bad_request.rb +0 -8
  104. data/lib/eve_online/exceptions/base.rb +0 -10
  105. data/lib/eve_online/exceptions/error_limited.rb +0 -8
  106. data/lib/eve_online/exceptions/forbidden.rb +0 -8
  107. data/lib/eve_online/exceptions/internal_server_error.rb +0 -8
  108. data/lib/eve_online/exceptions/no_content.rb +0 -8
  109. data/lib/eve_online/exceptions/resource_not_found.rb +0 -8
  110. data/lib/eve_online/exceptions/service_unavailable.rb +0 -8
  111. data/lib/eve_online/exceptions/timeout.rb +0 -8
  112. data/lib/eve_online/exceptions/unauthorized.rb +0 -8
  113. /data/lib/eve_online/esi/{base.rb → base.rb.old} +0 -0
  114. /data/lib/eve_online/esi/models/{alliance_short.rb → alliance_short.rb.old} +0 -0
  115. /data/lib/eve_online/esi/models/{asset.rb → asset.rb.old} +0 -0
  116. /data/lib/eve_online/esi/models/{asset_location.rb → asset_location.rb.old} +0 -0
  117. /data/lib/eve_online/esi/models/{asset_name.rb → asset_name.rb.old} +0 -0
  118. /data/lib/eve_online/esi/models/{asteroid_belt.rb → asteroid_belt.rb.old} +0 -0
  119. /data/lib/eve_online/esi/models/{base.rb → base.rb.old} +0 -0
  120. /data/lib/eve_online/esi/models/{category.rb → category.rb.old} +0 -0
  121. /data/lib/eve_online/esi/models/{character_corporation_history.rb → character_corporation_history.rb.old} +0 -0
  122. /data/lib/eve_online/esi/models/{character_industry_job.rb → character_industry_job.rb.old} +0 -0
  123. /data/lib/eve_online/esi/models/{character_location.rb → character_location.rb.old} +0 -0
  124. /data/lib/eve_online/esi/models/{character_order.rb → character_order.rb.old} +0 -0
  125. /data/lib/eve_online/esi/models/{character_portrait.rb → character_portrait.rb.old} +0 -0
  126. /data/lib/eve_online/esi/models/{constellation.rb → constellation.rb.old} +0 -0
  127. /data/lib/eve_online/esi/models/{contract.rb → contract.rb.old} +0 -0
  128. /data/lib/eve_online/esi/models/{coordinates.rb → coordinates.rb.old} +0 -0
  129. /data/lib/eve_online/esi/models/{corporation_alliance_history.rb → corporation_alliance_history.rb.old} +0 -0
  130. /data/lib/eve_online/esi/models/{corporation_industry_job.rb → corporation_industry_job.rb.old} +0 -0
  131. /data/lib/eve_online/esi/models/{corporation_order.rb → corporation_order.rb.old} +0 -0
  132. /data/lib/eve_online/esi/models/{dogma_attribute.rb → dogma_attribute.rb.old} +0 -0
  133. /data/lib/eve_online/esi/models/{dogma_attribute_short.rb → dogma_attribute_short.rb.old} +0 -0
  134. /data/lib/eve_online/esi/models/{dogma_attributes.rb → dogma_attributes.rb.old} +0 -0
  135. /data/lib/eve_online/esi/models/{dogma_effect.rb → dogma_effect.rb.old} +0 -0
  136. /data/lib/eve_online/esi/models/{dogma_effect_modifier.rb → dogma_effect_modifier.rb.old} +0 -0
  137. /data/lib/eve_online/esi/models/{dogma_effect_modifiers.rb → dogma_effect_modifiers.rb.old} +0 -0
  138. /data/lib/eve_online/esi/models/{dogma_effect_short.rb → dogma_effect_short.rb.old} +0 -0
  139. /data/lib/eve_online/esi/models/{dogma_effects.rb → dogma_effects.rb.old} +0 -0
  140. /data/lib/eve_online/esi/models/{event.rb → event.rb.old} +0 -0
  141. /data/lib/eve_online/esi/models/{event_details.rb → event_details.rb.old} +0 -0
  142. /data/lib/eve_online/esi/models/{fatigue.rb → fatigue.rb.old} +0 -0
  143. /data/lib/eve_online/esi/models/{graphic.rb → graphic.rb.old} +0 -0
  144. /data/lib/eve_online/esi/models/{group.rb → group.rb.old} +0 -0
  145. /data/lib/eve_online/esi/models/{killmail.rb → killmail.rb.old} +0 -0
  146. /data/lib/eve_online/esi/models/{killmail_short.rb → killmail_short.rb.old} +0 -0
  147. /data/lib/eve_online/esi/models/{loyalty_point.rb → loyalty_point.rb.old} +0 -0
  148. /data/lib/eve_online/esi/models/{loyalty_store_offer.rb → loyalty_store_offer.rb.old} +0 -0
  149. /data/lib/eve_online/esi/models/{mail.rb → mail.rb.old} +0 -0
  150. /data/lib/eve_online/esi/models/{mail_label.rb → mail_label.rb.old} +0 -0
  151. /data/lib/eve_online/esi/models/{mail_recipient.rb → mail_recipient.rb.old} +0 -0
  152. /data/lib/eve_online/esi/models/{mail_recipients.rb → mail_recipients.rb.old} +0 -0
  153. /data/lib/eve_online/esi/models/{market_group.rb → market_group.rb.old} +0 -0
  154. /data/lib/eve_online/esi/models/{market_history.rb → market_history.rb.old} +0 -0
  155. /data/lib/eve_online/esi/models/{market_price.rb → market_price.rb.old} +0 -0
  156. /data/lib/eve_online/esi/models/{moon.rb → moon.rb.old} +0 -0
  157. /data/lib/eve_online/esi/models/{notification.rb → notification.rb.old} +0 -0
  158. /data/lib/eve_online/esi/models/{offer_required_item.rb → offer_required_item.rb.old} +0 -0
  159. /data/lib/eve_online/esi/models/{offer_required_items.rb → offer_required_items.rb.old} +0 -0
  160. /data/lib/eve_online/esi/models/{online.rb → online.rb.old} +0 -0
  161. /data/lib/eve_online/esi/models/{planet.rb → planet.rb.old} +0 -0
  162. /data/lib/eve_online/esi/models/{planet_short.rb → planet_short.rb.old} +0 -0
  163. /data/lib/eve_online/esi/models/{planets.rb → planets.rb.old} +0 -0
  164. /data/lib/eve_online/esi/models/{position.rb → position.rb.old} +0 -0
  165. /data/lib/eve_online/esi/models/{public_contract.rb → public_contract.rb.old} +0 -0
  166. /data/lib/eve_online/esi/models/{public_contract_item.rb → public_contract_item.rb.old} +0 -0
  167. /data/lib/eve_online/esi/models/{region.rb → region.rb.old} +0 -0
  168. /data/lib/eve_online/esi/models/{standing.rb → standing.rb.old} +0 -0
  169. /data/lib/eve_online/esi/models/{star.rb → star.rb.old} +0 -0
  170. /data/lib/eve_online/esi/models/{stargate.rb → stargate.rb.old} +0 -0
  171. /data/lib/eve_online/esi/models/{station.rb → station.rb.old} +0 -0
  172. /data/lib/eve_online/esi/models/{system.rb → system.rb.old} +0 -0
  173. /data/lib/eve_online/esi/models/{system_jump.rb → system_jump.rb.old} +0 -0
  174. /data/lib/eve_online/esi/models/{system_kill.rb → system_kill.rb.old} +0 -0
  175. /data/lib/eve_online/esi/models/{type.rb → type.rb.old} +0 -0
  176. /data/lib/eve_online/esi/models/{wallet_journal.rb → wallet_journal.rb.old} +0 -0
  177. /data/lib/eve_online/esi/models/{wallet_transaction.rb → wallet_transaction.rb.old} +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 151a5eddd62026569da3e5def454496955faa3dcb814114582ec1347226cf5e0
4
- data.tar.gz: 8c49ed4e59461768e39b51b440f161cea65c70f8990764ff7dd447b4d7c43ace
3
+ metadata.gz: bd96d32439d49fde1b960ef96cf06079bf4ea2e954811d5695b72b601efc66ad
4
+ data.tar.gz: a08c573c3ea7c10d5588bcf75f0087e8c1114dc889eae0da7cda6a62e0a86af6
5
5
  SHA512:
6
- metadata.gz: 7525391f9c0dbee16695e1a5c72a36d49cfaf08f40c21627fbcbbf16ba83bbdd979762506185f5af3a33989f2ea5af24471e527c8993a21802d25e20cc0e9e31
7
- data.tar.gz: 779cbda4bde1de746fd515ff00c19b0851ef259bf9af47c45e4187b2c42b4c156df08d047d1ab163c34a0092c045df65c9938f8e79b73e500abd620a3c393a6e
6
+ metadata.gz: 9721c394c7e0f5a4d7dcde352f97126a48ff80a4defc1eda510e188543d84f32eb25d0a59a6b1cd924df1279217c9e230d67e0fffbc3c829fc8109b847b1e31e
7
+ data.tar.gz: fd16cb20143cd9f5fc54efcf2689db75bac389a319e676c63d0e90ab1fa614bd528741c5976c996dbdeb31c223c91b6ee177e59ba91735220de4b2cc9b0d429a
@@ -26,7 +26,7 @@ permissions:
26
26
  jobs:
27
27
  analyze:
28
28
  name: Analyze
29
- runs-on: ubuntu-latest
29
+ runs-on: ubuntu-24.04
30
30
  permissions:
31
31
  actions: read
32
32
  contents: read
@@ -41,16 +41,16 @@ jobs:
41
41
 
42
42
  steps:
43
43
  - name: Harden Runner
44
- uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
44
+ uses: step-security/harden-runner@58077d3c7e43986b6b15fba718e8ea69e387dfcc # v2.15.1
45
45
  with:
46
46
  egress-policy: audit
47
47
 
48
48
  - name: Checkout repository
49
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
49
+ uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
50
50
 
51
51
  # Initializes the CodeQL tools for scanning.
52
52
  - name: Initialize CodeQL
53
- uses: github/codeql-action/init@662472033e021d55d94146f66f6058822b0b39fd # v3.27.0
53
+ uses: github/codeql-action/init@0d579ffd059c29b07949a3cce3983f0780820c98 # v4.32.6
54
54
  with:
55
55
  languages: ${{ matrix.language }}
56
56
  # If you wish to specify custom queries, you can do so here or in a config file.
@@ -60,7 +60,7 @@ jobs:
60
60
  # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
61
61
  # If this step fails, then you should remove it and run the build manually (see below)
62
62
  - name: Autobuild
63
- uses: github/codeql-action/autobuild@662472033e021d55d94146f66f6058822b0b39fd # v3.27.0
63
+ uses: github/codeql-action/autobuild@0d579ffd059c29b07949a3cce3983f0780820c98 # v4.32.6
64
64
 
65
65
  # ℹ️ Command-line programs to run using the OS shell.
66
66
  # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
@@ -73,6 +73,6 @@ jobs:
73
73
  # ./location_of_script_within_repo/buildscript.sh
74
74
 
75
75
  - name: Perform CodeQL Analysis
76
- uses: github/codeql-action/analyze@662472033e021d55d94146f66f6058822b0b39fd # v3.27.0
76
+ uses: github/codeql-action/analyze@0d579ffd059c29b07949a3cce3983f0780820c98 # v4.32.6
77
77
  with:
78
78
  category: "/language:${{matrix.language}}"
@@ -10,14 +10,14 @@ permissions:
10
10
 
11
11
  jobs:
12
12
  dependency-review:
13
- runs-on: ubuntu-latest
13
+ runs-on: ubuntu-24.04
14
14
  steps:
15
15
  - name: Harden Runner
16
- uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
16
+ uses: step-security/harden-runner@58077d3c7e43986b6b15fba718e8ea69e387dfcc # v2.15.1
17
17
  with:
18
18
  egress-policy: audit
19
19
 
20
20
  - name: "Checkout Repository"
21
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
21
+ uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
22
22
  - name: "Dependency Review"
23
- uses: actions/dependency-review-action@4081bf99e2866ebe428fc0477b69eb4fcda7220a # v4.4.0
23
+ uses: actions/dependency-review-action@2031cfc080254a8a887f58cffee85186f0e49e48 # v4.9.0
@@ -7,18 +7,19 @@ on:
7
7
  pull_request:
8
8
  branches:
9
9
  - main
10
+ workflow_dispatch: {}
10
11
  schedule:
11
12
  - cron: "0 21 * * 6"
12
13
 
13
14
  jobs:
14
15
  mdl:
15
- runs-on: ubuntu-latest
16
+ runs-on: ubuntu-24.04
16
17
 
17
18
  steps:
18
19
  - name: Harden Runner
19
- uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
20
+ uses: step-security/harden-runner@58077d3c7e43986b6b15fba718e8ea69e387dfcc # v2.15.1
20
21
  with:
21
22
  egress-policy: audit
22
23
 
23
- - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
24
- - uses: bewuethr/mdl-action@e9b51f7652f37098e81a6eb4f6361fa042379ab4 # v1.2.0
24
+ - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
25
+ - uses: bewuethr/mdl-action@cd5146806e9938460327a2eed9238cc63a405af0 # v1.2.3
@@ -7,6 +7,7 @@ on:
7
7
  pull_request:
8
8
  branches:
9
9
  - main
10
+ workflow_dispatch: {}
10
11
  schedule:
11
12
  - cron: "0 21 * * 6"
12
13
 
@@ -15,27 +16,28 @@ permissions:
15
16
 
16
17
  jobs:
17
18
  rspec:
18
- runs-on: ubuntu-latest
19
+ runs-on: ubuntu-24.04
20
+ continue-on-error: ${{ matrix.ruby_version == 'head' }}
19
21
  strategy:
20
22
  fail-fast: false
21
23
  matrix:
22
- ruby: ["3.2", "3.3", "head"]
23
- activesupport: ["7.1", "7.2", "8.0", "main"]
24
+ ruby: ["3.3", "3.4", "4.0", "head"]
25
+ activesupport: ["7.2", "8.0", "8.1", "main"]
24
26
  env:
25
27
  BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/activesupport_${{ matrix.activesupport }}.gemfile
26
28
 
27
29
  name: Ruby ${{ matrix.ruby }} and ActiveSupport ${{ matrix.activesupport }}
28
30
  steps:
29
31
  - name: Harden Runner
30
- uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
32
+ uses: step-security/harden-runner@58077d3c7e43986b6b15fba718e8ea69e387dfcc # v2.15.1
31
33
  with:
32
34
  egress-policy: audit
33
35
 
34
- - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
36
+ - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
35
37
  - run: rm Gemfile.lock
36
38
  - run: rm .ruby-version
37
39
  - name: Set up Ruby
38
- uses: ruby/setup-ruby@46ca53beb334a2329bcd0e46a694816a6ae6d173 # v1.201.0
40
+ uses: ruby/setup-ruby@6ca151fd1bfcfd6fe0c4eb6837eb0584d0134a0c # v1.290.0
39
41
  with:
40
42
  ruby-version: ${{ matrix.ruby }}
41
43
  rubygems: latest
@@ -20,7 +20,7 @@ permissions: read-all
20
20
  jobs:
21
21
  analysis:
22
22
  name: Scorecard analysis
23
- runs-on: ubuntu-latest
23
+ runs-on: ubuntu-24.04
24
24
  permissions:
25
25
  # Needed to upload the results to code-scanning dashboard.
26
26
  security-events: write
@@ -31,17 +31,17 @@ jobs:
31
31
 
32
32
  steps:
33
33
  - name: Harden Runner
34
- uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
34
+ uses: step-security/harden-runner@58077d3c7e43986b6b15fba718e8ea69e387dfcc # v2.15.1
35
35
  with:
36
36
  egress-policy: audit
37
37
 
38
38
  - name: "Checkout code"
39
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
39
+ uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
40
40
  with:
41
41
  persist-credentials: false
42
42
 
43
43
  - name: "Run analysis"
44
- uses: ossf/scorecard-action@62b2cac7ed8198b15735ed49ab1e5cf35480ba46 # v2.4.0
44
+ uses: ossf/scorecard-action@4eaacf0543bb3f2c246792bd56e8cdeffafb205a # v2.4.3
45
45
  with:
46
46
  results_file: results.sarif
47
47
  results_format: sarif
@@ -63,7 +63,7 @@ jobs:
63
63
  # Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
64
64
  # format to the repository Actions tab.
65
65
  - name: "Upload artifact"
66
- uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
66
+ uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
67
67
  with:
68
68
  name: SARIF file
69
69
  path: results.sarif
@@ -71,6 +71,6 @@ jobs:
71
71
 
72
72
  # Upload the results to GitHub's code scanning dashboard.
73
73
  - name: "Upload to code-scanning"
74
- uses: github/codeql-action/upload-sarif@662472033e021d55d94146f66f6058822b0b39fd # v3.27.0
74
+ uses: github/codeql-action/upload-sarif@0d579ffd059c29b07949a3cce3983f0780820c98 # v4.32.6
75
75
  with:
76
76
  sarif_file: results.sarif
data/.rubocop.yml CHANGED
@@ -1,7 +1,7 @@
1
1
  AllCops:
2
2
  NewCops: enable
3
3
  SuggestExtensions: false
4
- TargetRubyVersion: 3.2
4
+ TargetRubyVersion: 3.3
5
5
 
6
6
  Style/WordArray:
7
7
  Enabled: true
@@ -14,8 +14,58 @@ Style/StringLiterals:
14
14
  Style/Documentation:
15
15
  Enabled: false
16
16
 
17
+ Style/ArgumentsForwarding:
18
+ Enabled: true
19
+ UseAnonymousForwarding: false
20
+
21
+ Style/OpenStructUse:
22
+ Enabled: false
23
+
24
+ Style/EmptyMethod:
25
+ Enabled: false
26
+
27
+ Style/IfUnlessModifier:
28
+ Enabled: false
29
+
17
30
  Gemspec/OrderedDependencies:
18
31
  Enabled: false
19
32
 
20
33
  Bundler/OrderedGems:
21
34
  Enabled: false
35
+
36
+ Naming/BlockForwarding:
37
+ Enabled: true
38
+ EnforcedStyle: explicit
39
+
40
+ Naming/PredicatePrefix:
41
+ Enabled: false
42
+
43
+ Layout/LineLength:
44
+ Enabled: false
45
+
46
+ Layout/ArgumentAlignment:
47
+ Enabled: false
48
+
49
+ Layout/HashAlignment:
50
+ Enabled: false
51
+
52
+ Layout/SpaceInsideHashLiteralBraces:
53
+ Enabled: false
54
+
55
+ Layout/ParameterAlignment:
56
+ Enabled: false
57
+
58
+ Metrics/AbcSize:
59
+ Enabled: false
60
+
61
+ Metrics/MethodLength:
62
+ Enabled: false
63
+
64
+ Metrics/BlockLength:
65
+ Enabled: false
66
+
67
+ Metrics/ParameterLists:
68
+ Enabled: false
69
+
70
+ Metrics/CyclomaticComplexity:
71
+ Enabled: false
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 3.3.6
1
+ 4.0.1
data/.standard.yml CHANGED
@@ -1,4 +1,4 @@
1
- ruby_version: 3.2.0
1
+ ruby_version: 3.3
2
2
 
3
3
  ignore:
4
4
  - 'lib/eve_online/esi/base.rb':
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Changelog
2
2
 
3
+ ## v0.47.0
4
+
5
+ * Re-write API. Follow example in README.md.
6
+ * Ruby 3.4
7
+ * Ruby 4.0
8
+ * Rails 8.1
9
+ * Drop support for Rails 7.1
10
+ * Drop support for Ruby 3.2
11
+
3
12
  ## v0.46.0
4
13
 
5
14
  * Rails 8.0
data/Gemfile CHANGED
@@ -7,6 +7,10 @@ gemspec
7
7
 
8
8
  gem "nokogiri"
9
9
  gem "awesome_print", require: "ap"
10
+ gem "benchmark"
11
+ gem "httplog"
12
+ gem "ostruct"
13
+ gem "rb-readline"
10
14
  gem "pry"
11
15
  gem "standard", require: false
12
- gem "fasterer", require: false
16
+ gem "super_diff", require: false