aikido-ruby-client 0.0.3 → 0.0.4

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: 6692ba6b0f697d0f69b840a95e96cbbca656863ed9c71af7c48fc2634678a659
4
- data.tar.gz: 9997f0daca4a3e133a3d5e3c041f8ddf66bd6af56521d18d6c8bfbffbc323b40
3
+ metadata.gz: d270cfc87dd0e7cfbd288c3902cc602030c8c55001f60c9bf3c6af44d354be8d
4
+ data.tar.gz: c792ec85c9a4b0cd57bf2e858b560e504ae0c10365c60a50038621151ebb6715
5
5
  SHA512:
6
- metadata.gz: 5597d2ddd0e6a518a078e6fa6d2b55e3c01a022ffadbb018fe76423f761f9c4381a4dc06bc647866b8bea5ea21cdb8230811c0e71cc60f9ef46e78ed2d4057c3
7
- data.tar.gz: d1659f8a75fe77dbd4e60f8b74884b3354458c520482531b49d7b10e014ca1ccbbc8958743686814a5bc075ecbf03b176bb321055df6bc12145651e6aa5dae40
6
+ metadata.gz: 54553c34d78e5277062e839656225363e8184f04b373303240e680e87f48eba7bc3217c1f4e8c23163377446ad2e1490aaf348e6571405a40019e44c376f29a1
7
+ data.tar.gz: 2a29da55b4608fc9df5697b5de1ec016ca4837a10a138ac6032c85e2ae65ff1f1fcea819664932da814583ddc253eda8fc88b1a48a6600c3529877307128064b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## [v0.0.4](https://github.com/anakinj/aikido-ruby-client/tree/v0.0.4) (2024-04-2)
4
+
5
+ ** Fixes: **
6
+ - Require the version for the client to work when released
7
+ - Match external repo id as strings
8
+
3
9
  ## [v0.0.3](https://github.com/anakinj/aikido-ruby-client/tree/v0.0.3) (2024-03-10)
4
10
 
5
11
  **Features:**
data/lib/aikido/client.rb CHANGED
@@ -2,6 +2,7 @@
2
2
 
3
3
  require 'httpx'
4
4
 
5
+ require_relative 'version'
5
6
  require_relative 'errors'
6
7
  require_relative 'paginated_response'
7
8
 
@@ -9,7 +9,7 @@ module Aikido
9
9
  end
10
10
 
11
11
  def issues_for_code_repository(external_repo_id:)
12
- repo = code_repositories.find { |r| r['external_repo_id'] == external_repo_id }
12
+ repo = code_repositories.find { |r| r['external_repo_id'].to_s == external_repo_id.to_s }
13
13
  return [] unless repo
14
14
 
15
15
  issues.select do |issue|
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Aikido
4
- VERSION = '0.0.3'
4
+ VERSION = '0.0.4'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aikido-ruby-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joakim Antman
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-03-10 00:00:00.000000000 Z
11
+ date: 2024-04-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httpx
@@ -50,8 +50,8 @@ licenses:
50
50
  - MIT
51
51
  metadata:
52
52
  homepage_uri: https://github.com/anakinj/aikido-ruby-client
53
- source_code_uri: https://github.com/anakinj
54
- changelog_uri: https://github.com/anakinj/jwk-loader/blob/0.0.3/CHANGELOG.md
53
+ source_code_uri: https://github.com/anakinj/aikido-ruby-client
54
+ changelog_uri: https://github.com/anakinj/aikido-ruby-client/blob/0.0.4/CHANGELOG.md
55
55
  rubygems_mfa_required: 'true'
56
56
  post_install_message:
57
57
  rdoc_options: []