fragment-dev 1.4.5 → 1.4.6

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: 8f87d341447e5a88cb3739e80248fca036368b34511d928798c2257b96885130
4
- data.tar.gz: 0f0b5cea80a260cbedbadcef90b0990bfcc52d56c9a23eefeb4bbe38dbe3cf81
3
+ metadata.gz: fa4063ded2bc067415529ed2f8607500a6ca972008477c8e776a3658f63b69c8
4
+ data.tar.gz: f01afef45ece38ec453c0b1bddd6117c52da5004fbf5d9d23403d3b0ebd3a44d
5
5
  SHA512:
6
- metadata.gz: 4939fe9a1560ae92d2c9738359582600f5d339ae29343ef564a815191215fbd8e957cf1c1fafcd4832b46aff82db2987b45d22f23e3468c712b12e38a3bebad3
7
- data.tar.gz: 83e1bd43dbcd5bf342785231c0b0e1789e5f8fe4388c883d140c19a91eec009719af2caf4beb3cf64ea20b0d05d6b7488bbe01db66fbbc3376eed9cc5c1790fd
6
+ metadata.gz: 8c2c28281919dc7e0a5b1c2d8080cc06d15f7294b35f3d5491642d90fe0f39fbdfe0a070fcd7d43ded2ea98b94d17486695dc8d18f71a6ca2e683a5c39844a5e
7
+ data.tar.gz: 26edf09b51ca74d912a74dbb507987a47cd6bde8d5749289f739b5d7b1d11b05e166bf992cc531b7460fadaedc953fadb12b11823a485ef5444897e3b49d18e8
@@ -13800,6 +13800,16 @@
13800
13800
  "ofType": null
13801
13801
  },
13802
13802
  "defaultValue": null
13803
+ },
13804
+ {
13805
+ "name": "repeated",
13806
+ "description": "Repeated expansion configuration. When set, this condition is expanded at runtime for each element\nin the array parameter named by the key.",
13807
+ "type": {
13808
+ "kind": "INPUT_OBJECT",
13809
+ "name": "SchemaRepeatedConfigInput",
13810
+ "ofType": null
13811
+ },
13812
+ "defaultValue": null
13803
13813
  }
13804
13814
  ],
13805
13815
  "interfaces": null,
@@ -14114,6 +14124,16 @@
14114
14124
  },
14115
14125
  "defaultValue": null
14116
14126
  },
14127
+ {
14128
+ "name": "repeated",
14129
+ "description": "Repeated expansion configuration. When set, this line is expanded at runtime for each element\nin the array parameter named by the key.",
14130
+ "type": {
14131
+ "kind": "INPUT_OBJECT",
14132
+ "name": "SchemaRepeatedConfigInput",
14133
+ "ofType": null
14134
+ },
14135
+ "defaultValue": null
14136
+ },
14117
14137
  {
14118
14138
  "name": "tx",
14119
14139
  "description": "The external transaction to reconcile.\nThis field is required if the Ledger Account being posted to is a Linked Ledger Account. Otherwise, this field is disallowed.\nIt supports parameters in its attributes via handlebars syntax.\n\nSee the docs on [reconciling payments](https://fragment.dev/docs/reconcile-payments).",
@@ -14164,6 +14184,31 @@
14164
14184
  "enumValues": null,
14165
14185
  "possibleTypes": null
14166
14186
  },
14187
+ {
14188
+ "kind": "INPUT_OBJECT",
14189
+ "name": "SchemaRepeatedConfigInput",
14190
+ "description": "Configuration for repeated expansion of a line or condition. The key names a client-supplied\narray parameter whose elements each generate one copy of the line or condition at runtime.",
14191
+ "fields": null,
14192
+ "inputFields": [
14193
+ {
14194
+ "name": "key",
14195
+ "description": "The key of the array parameter whose elements expand this line or condition.",
14196
+ "type": {
14197
+ "kind": "NON_NULL",
14198
+ "name": null,
14199
+ "ofType": {
14200
+ "kind": "SCALAR",
14201
+ "name": "SafeString",
14202
+ "ofType": null
14203
+ }
14204
+ },
14205
+ "defaultValue": null
14206
+ }
14207
+ ],
14208
+ "interfaces": null,
14209
+ "enumValues": null,
14210
+ "possibleTypes": null
14211
+ },
14167
14212
  {
14168
14213
  "kind": "INPUT_OBJECT",
14169
14214
  "name": "SchemaTxMatchInput",
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module FragmentSDK
4
- VERSION = '1.4.5'
4
+ VERSION = '1.4.6'
5
5
  end
@@ -166,8 +166,12 @@ class FragmentClient
166
166
  uri = URI.parse(@oauth_url.to_s)
167
167
  post = Net::HTTP::Post.new(uri.request_uri)
168
168
  post.basic_auth(@client_id, @client_secret)
169
- post.body = format('grant_type=client_credentials&scope=%<scope>s&client_id=%<id>s', scope: @oauth_scope,
170
- id: @client_id)
169
+ post.content_type = "application/x-www-form-urlencoded"
170
+ post.body = URI.encode_www_form(
171
+ grant_type: 'client_credentials',
172
+ scope: @oauth_scope,
173
+ client_id: @client_id
174
+ )
171
175
 
172
176
  begin
173
177
  http = Net::HTTP.new(uri.host, uri.port)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fragment-dev
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.5
4
+ version: 1.4.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - fragment
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-02-25 00:00:00.000000000 Z
11
+ date: 2026-03-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: graphql