Commit d11c731
authored
[Gemspec] - Allow lower faraday versions (#173)
# Description
In reference to issue: #172 -
this CR exists to allow for applications requiring different, lower
Faraday versions to integrate with this Gem.
# Changes Made
1. Updated the gemspec for Faraday and its dependencies to allow use of
lower versions in case of a conflict.
2. Updated CICD.yml workflow to validate that lower Faraday versions
work.
3. Specs failed on lower Faraday versions so I updated
`lib/ruby_llm/streaming.rb` to allow for legacy Faraday versions to
stream responses as well. Could use feedback definitely in case this
breaks logic in a way you all are uncomfy with.
# Testing
I ran manually rspec with Faraday Version 2.13.1 and 1.10.3, here are
the results prior to CI/CD integration in this repo:
| Faraday Version | Validate Gem Install | Test Results |
|----------|:-------------:|------:|
| 1.10.3 | 
| 
|
| 2.13.1 | 
| 
|1 parent 8b16d38 commit d11c731
File tree
3 files changed
+55
-15
lines changed- .github/workflows
- lib/ruby_llm
3 files changed
+55
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
64 | 69 | | |
65 | 70 | | |
66 | 71 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
17 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
18 | 27 | | |
19 | 28 | | |
20 | 29 | | |
| |||
29 | 38 | | |
30 | 39 | | |
31 | 40 | | |
32 | | - | |
| 41 | + | |
33 | 42 | | |
34 | 43 | | |
35 | 44 | | |
36 | | - | |
37 | | - | |
| 45 | + | |
| 46 | + | |
38 | 47 | | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
43 | 78 | | |
44 | | - | |
| 79 | + | |
45 | 80 | | |
46 | 81 | | |
47 | 82 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
0 commit comments