Skip to content

New updates#1663

Open
biow0lf wants to merge 12 commits intomainfrom
new-updates-7
Open

New updates#1663
biow0lf wants to merge 12 commits intomainfrom
new-updates-7

Conversation

@biow0lf
Copy link
Member

@biow0lf biow0lf commented Mar 12, 2026

No description provided.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR introduces support for ESI Dogma Attribute endpoints via the Client resources interface, along with new/updated models and refreshed VCR fixtures/specs to validate the behavior.

Changes:

  • Implement client.dogma with DogmaResources#attributes and #attribute.
  • Add Models::DogmaAttributes and Models::DogmaAttributeShort; expand Models::DogmaAttribute to represent full attribute details.
  • Update VCR cassettes and feature specs for dogma attributes; adjust Models::Type#dogma_attributes to use DogmaAttributeShort.

Reviewed changes

Copilot reviewed 18 out of 18 changed files in this pull request and generated no comments.

Show a summary per file
File Description
spec/fixtures/vcr_cassettes/esi/dogma/attributes/2.yml Updated recorded request/response for fetching a single dogma attribute.
spec/fixtures/vcr_cassettes/esi/dogma/attributes.yml Updated recorded request/response for listing dogma attribute IDs.
spec/features/dogma_attributes_spec.rb.old Removed legacy feature spec (old interface).
spec/features/dogma_attributes_spec.rb Added feature spec covering client.dogma.attributes and parsed headers.
spec/features/dogma_attribute_spec.rb.old Removed legacy feature spec (old interface).
spec/features/dogma_attribute_spec.rb Added feature spec covering client.dogma.attribute and parsed headers.
spec/eve_online/esi/models/dogma_attribute_short_spec.rb.old Removed legacy model spec for the old DogmaAttributeShort implementation.
spec/eve_online/esi/dogma_attributes_spec.rb.old Removed legacy unit spec for removed/legacy DogmaAttributes API wrapper.
spec/eve_online/esi/dogma_attribute_spec.rb.old Removed legacy unit spec for removed/legacy DogmaAttribute API wrapper.
lib/eve_online/esi/resources/dogma_resources.rb New Dogma resource implementing attribute list and attribute detail calls.
lib/eve_online/esi/models/type.rb Switch dogma_attributes collection items to DogmaAttributeShort.
lib/eve_online/esi/models/dogma_attributes.rb New model wrapper for dogma attribute ID list responses.
lib/eve_online/esi/models/dogma_attribute_short.rb.old Removed legacy model file.
lib/eve_online/esi/models/dogma_attribute_short.rb New short model compatible with ESI::Object (attributes.*).
lib/eve_online/esi/models/dogma_attribute.rb Update model JSON shape to full attribute details (not the short {attribute_id,value} form).
lib/eve_online/esi/dogma_attributes.rb Removed legacy DogmaAttributes API wrapper.
lib/eve_online/esi/client.rb Implement #dogma to return Resources::DogmaResources.
lib/eve_online.rb Autoload DogmaResources, DogmaAttributes, and DogmaAttributeShort.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 22 out of 22 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

Comment on lines 88 to 91
# Dogma APIs
def dogma
raise NotImplementedError, "Dogma API is not implemented yet"
Resources::DogmaResources.new(self)
end
Copy link

Copilot AI Mar 12, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Client#dogma is now implemented and returns Resources::DogmaResources, but the README still documents the legacy EveOnline::ESI::DogmaAttributes/DogmaEffects API classes (and EveOnline::ESI::DogmaAttributes appears to have been removed in this PR). Please update the public documentation (and, if this is a breaking API removal, consider providing a deprecation path or bumping the major version / changelog entry).

Copilot uses AI. Check for mistakes.
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 23 out of 23 changed files in this pull request and generated no new comments.

Comments suppressed due to low confidence (1)

README.md:981

  • The README Dogma “Get attributes” example still instantiates EveOnline::ESI::DogmaAttributes, but that class was removed (Dogma APIs are now accessed via EveOnline::ESI::Client#dogma). This snippet will raise a NameError and the example outputs (size/first) are also out of date; please update the README example to use client.dogma.attributes (and remove the extra blank lines at the start of the code block).
```ruby


dogma_attributes = EveOnline::ESI::DogmaAttributes.new

dogma_attributes.scope # => nil

dogma_attributes.attribute_ids.size # => 2469

dogma_attributes.attribute_ids.first # => 2

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants