deeprails 0.4.0 → 0.5.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b7192d4dabd071a76430b8c959bf2d81f4e8e669c3ff435b3e03137e571ccf6a
4
- data.tar.gz: de4f603949d3e0e379c7c0f4549d9d96f776f0ce4a591bceabdc54eb4b957a21
3
+ metadata.gz: 17f2a467a1c77c17f12b6364a779e6bcf81102c66ba668173a2a99ec4605df02
4
+ data.tar.gz: 28eca4b4b7fa3e5f1699c9befb2e9b5c5a66527d651ee10f86f22e586f0787ca
5
5
  SHA512:
6
- metadata.gz: ba34997d3b6e6c383ee5570dc9bdfb4b39a88ab9b18749d15bb52c053fcd7b8cc5104382b5ea48cc23be05dbf98ede56d60edf0dc9997264c3d9323db35e6a34
7
- data.tar.gz: d25c2b15590f995f3eb80ec2460c7888cc7f7359c6f5dc157cf582594b8ed813b0025fdc029c2128a2fa6b912e8338f139a8afba19a6067dd9fe15e43ed71b6c
6
+ metadata.gz: cbae3b08e491f8935fb5728659d987a1a47cd3a524f4a2e752093428ade6134fef3f2fcb54d5457035ac780c2ed0e1b110f563fb069e1ccd93958cb6bc4bef18
7
+ data.tar.gz: 4f36db907c90712f67725492240e22045172daeedc69a85e687193bc210bf2e058a6d3b4997040c4f0c4ec070f5b9c2d366ffa5c0e50108809f44aa0f0e16a55
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.5.0 (2025-10-20)
4
+
5
+ Full Changelog: [v0.4.0...v0.5.0](https://github.com/deeprails/deeprails-ruby-sdk/compare/v0.4.0...v0.5.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** readme example update ([4cdb59b](https://github.com/deeprails/deeprails-ruby-sdk/commit/4cdb59b5a0c9a5af34851fbd7885551a6253cf69))
10
+
3
11
  ## 0.4.0 (2025-10-16)
4
12
 
5
13
  Full Changelog: [v0.3.1...v0.4.0](https://github.com/deeprails/deeprails-ruby-sdk/compare/v0.3.1...v0.4.0)
data/README.md CHANGED
@@ -15,7 +15,7 @@ To use this gem, install via Bundler by adding the following to your application
15
15
  <!-- x-release-please-start-version -->
16
16
 
17
17
  ```ruby
18
- gem "deeprails", "~> 0.4.0"
18
+ gem "deeprails", "~> 0.5.0"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-end -->
@@ -32,7 +32,7 @@ deeprails = Deeprails::Client.new(
32
32
 
33
33
  defend_response = deeprails.defend.create_workflow(
34
34
  improvement_action: "fixit",
35
- metrics: {completeness: 0.8, instruction_adherence: 0.75},
35
+ metrics: {completeness: 0.7, instruction_adherence: 0.75},
36
36
  name: "Push Alert Workflow",
37
37
  type: "custom"
38
38
  )
@@ -48,7 +48,7 @@ When the library is unable to connect to the API, or if the API returns a non-su
48
48
  begin
49
49
  defend = deeprails.defend.create_workflow(
50
50
  improvement_action: "fixit",
51
- metrics: {completeness: 0.8, instruction_adherence: 0.75},
51
+ metrics: {completeness: 0.7, instruction_adherence: 0.75},
52
52
  name: "Push Alert Workflow",
53
53
  type: "custom"
54
54
  )
@@ -96,7 +96,7 @@ deeprails = Deeprails::Client.new(
96
96
  # Or, configure per-request:
97
97
  deeprails.defend.create_workflow(
98
98
  improvement_action: "fixit",
99
- metrics: {completeness: 0.8, instruction_adherence: 0.75},
99
+ metrics: {completeness: 0.7, instruction_adherence: 0.75},
100
100
  name: "Push Alert Workflow",
101
101
  type: "custom",
102
102
  request_options: {max_retries: 5}
@@ -116,7 +116,7 @@ deeprails = Deeprails::Client.new(
116
116
  # Or, configure per-request:
117
117
  deeprails.defend.create_workflow(
118
118
  improvement_action: "fixit",
119
- metrics: {completeness: 0.8, instruction_adherence: 0.75},
119
+ metrics: {completeness: 0.7, instruction_adherence: 0.75},
120
120
  name: "Push Alert Workflow",
121
121
  type: "custom",
122
122
  request_options: {timeout: 5}
@@ -153,7 +153,7 @@ Note: the `extra_` parameters of the same name overrides the documented paramete
153
153
  defend_response =
154
154
  deeprails.defend.create_workflow(
155
155
  improvement_action: "fixit",
156
- metrics: {completeness: 0.8, instruction_adherence: 0.75},
156
+ metrics: {completeness: 0.7, instruction_adherence: 0.75},
157
157
  name: "Push Alert Workflow",
158
158
  type: "custom",
159
159
  request_options: {
@@ -203,7 +203,7 @@ You can provide typesafe request parameters like so:
203
203
  ```ruby
204
204
  deeprails.defend.create_workflow(
205
205
  improvement_action: "fixit",
206
- metrics: {completeness: 0.8, instruction_adherence: 0.75},
206
+ metrics: {completeness: 0.7, instruction_adherence: 0.75},
207
207
  name: "Push Alert Workflow",
208
208
  type: "custom"
209
209
  )
@@ -215,7 +215,7 @@ Or, equivalently:
215
215
  # Hashes work, but are not typesafe:
216
216
  deeprails.defend.create_workflow(
217
217
  improvement_action: "fixit",
218
- metrics: {completeness: 0.8, instruction_adherence: 0.75},
218
+ metrics: {completeness: 0.7, instruction_adherence: 0.75},
219
219
  name: "Push Alert Workflow",
220
220
  type: "custom"
221
221
  )
@@ -223,7 +223,7 @@ deeprails.defend.create_workflow(
223
223
  # You can also splat a full Params class:
224
224
  params = Deeprails::DefendCreateWorkflowParams.new(
225
225
  improvement_action: "fixit",
226
- metrics: {completeness: 0.8, instruction_adherence: 0.75},
226
+ metrics: {completeness: 0.7, instruction_adherence: 0.75},
227
227
  name: "Push Alert Workflow",
228
228
  type: "custom"
229
229
  )
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Deeprails
4
- VERSION = "0.4.0"
4
+ VERSION = "0.5.0"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: deeprails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Deeprails
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-10-16 00:00:00.000000000 Z
11
+ date: 2025-10-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: connection_pool