hub_kernel-mcp 0.12.0 → 0.12.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: 9d02ce2d6bae9e8126d364c6dbf460f9ef630c9c9d9b2b4a2812be0886c83977
4
- data.tar.gz: c35e0c6775fbcbb414d58e726392cb50297df1562ca5eb205a57501f26baf162
3
+ metadata.gz: b49ba5d3e9849ce349092686be69725ea551060da20f0971a4a30ec25977f6a2
4
+ data.tar.gz: 824bf46d02819d4af8efec5a3b9463ba1347bfcf83cba0227afed71dd8b7c305
5
5
  SHA512:
6
- metadata.gz: a1953f5a5d5519297d6ce9afb04385660152cf6623f9cebc9352a9e8b89b66241720066343ee0ef82e84bff16703dc5924d0a96577ef0cf2afbdc0c353f60474
7
- data.tar.gz: 0c7a6a96f3ce5e956e8e81f278f267177fe887a0009e655f6057514e677f4c8a5c982f06b87e34c60c0af098f73f1d62205a325da53f343778f97a0db2226467
6
+ metadata.gz: f0418a0af457b08fea90602774294e753b6156db4f4d85866ada3b1ee6c1ad18bf1c6d3d2326602c19aa0d85ea7c2ed17bd38d393e04cec112ab9aed2742ec5e
7
+ data.tar.gz: b961fb6f35b9ccd544899eeb88170a3398e9efaf46183a8819eb77a1c0d289142f5ffca20478c3aa2313a49f1fe419defc385f4ac16f2c3c165e6c109e7df99c
@@ -14,7 +14,5 @@ class AddPublicCodeToHubKernelMcpConnections < ActiveRecord::Migration[8.1]
14
14
  end
15
15
  end
16
16
  end
17
-
18
- add_index :hub_kernel_mcp_connections, :public_code, unique: true
19
17
  end
20
18
  end
@@ -0,0 +1,13 @@
1
+ class AddUniqueIndexOnPublicCodeToHubKernelMcpConnections < ActiveRecord::Migration[8.1]
2
+ disable_ddl_transaction!
3
+
4
+ def change
5
+ add_index :hub_kernel_mcp_connections, :public_code, unique: true, if_not_exists: true, **concurrently
6
+ end
7
+
8
+ private
9
+
10
+ def concurrently
11
+ connection.index_algorithms.key?(:concurrently) ? { algorithm: :concurrently } : {}
12
+ end
13
+ end
@@ -1,5 +1,5 @@
1
1
  module HubKernel
2
2
  module Mcp
3
- VERSION = "0.12.0"
3
+ VERSION = "0.12.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hub_kernel-mcp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.12.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - tylercschneider
@@ -88,6 +88,7 @@ files:
88
88
  - db/migrate/20261123175537_add_account_gid_to_hub_kernel_mcp_connections.rb
89
89
  - db/migrate/20261123175631_add_account_gid_to_hub_kernel_mcp_authorization_codes.rb
90
90
  - db/migrate/20261124155922_add_public_code_to_hub_kernel_mcp_connections.rb
91
+ - db/migrate/20261124172809_add_unique_index_on_public_code_to_hub_kernel_mcp_connections.rb
91
92
  - lib/hub_kernel-mcp.rb
92
93
  - lib/hub_kernel/mcp.rb
93
94
  - lib/hub_kernel/mcp/challenge.rb