runapi-luma 0.2.10 → 0.3.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: c0960b8ec599db854ee3ee432a1efa5c672b47ba39795f5b282a6364cfcd07c9
4
- data.tar.gz: f9d74e2050787c6ca3a5f6d47e47040c14f214558d4b12b12e8444b97bd5e49e
3
+ metadata.gz: 18a1d3947125e565554f3cb2b40a29f82ca99196d64fcadfb2a73765c8b49499
4
+ data.tar.gz: e4d312f8388897436146cb0ae8f724660a6766ef5f66c887b5899d512015816c
5
5
  SHA512:
6
- metadata.gz: fda7675d6e47885a79130e1c696849277657962ca246023324d7ce5b3240bf25cb1e0a575af6a62fcab6e27fdd8ec94817a781ea87e9607b03103f7d15717635
7
- data.tar.gz: 1e5172614b4003cedbb08e17db20274ca94ad62e6355962314682628855fb4eb9f0160d31e76489cdda010dc663267f6816c4a822b9d4f6bb6b17861f3a91177
6
+ metadata.gz: 769bf4445054b6e15e5e476b52cb58b23a8b7859926ea497b4c56ca0277df7fc2b51d1c4921fe7a9d0e8f888fbd22a713ca037ad8a3a192e1b29cb43fa4394cc
7
+ data.tar.gz: 74e7eea3f1ab29a5593033b6f2e194b1e5fd6a49d2fde2022827b273f6239ea2df7c5968b7902ea291a9c56f9dcd47ceea7f46d974fcd885891380b5ada65844
@@ -31,7 +31,6 @@ module RunApi
31
31
  # @return [RunApi::Luma::Types::ModifyVideoResponse] task creation result with id
32
32
  def create(options: nil, **params)
33
33
  params = compact_params(params)
34
- validate_contract!(CONTRACT["modify-video"], params)
35
34
  request(:post, ENDPOINT, body: params, options: options)
36
35
  end
37
36
 
data/lib/runapi/luma.rb CHANGED
@@ -2,7 +2,6 @@
2
2
 
3
3
  require "runapi/core"
4
4
  require_relative "luma/types"
5
- require_relative "luma/contract_gen"
6
5
  require_relative "luma/resources/modify_video"
7
6
  require_relative "luma/client"
8
7
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: runapi-luma
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.10
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - RunAPI
@@ -15,14 +15,14 @@ dependencies:
15
15
  requirements:
16
16
  - - "~>"
17
17
  - !ruby/object:Gem::Version
18
- version: 0.5.0
18
+ version: 0.6.0
19
19
  type: :runtime
20
20
  prerelease: false
21
21
  version_requirements: !ruby/object:Gem::Requirement
22
22
  requirements:
23
23
  - - "~>"
24
24
  - !ruby/object:Gem::Version
25
- version: 0.5.0
25
+ version: 0.6.0
26
26
  description: The Luma Ruby SDK is the language-specific package for Luma on RunAPI.
27
27
  Use this package for video generation, animation, and video editing workflows when
28
28
  your application needs request bodies, task status lookup, and consistent RunAPI
@@ -39,7 +39,6 @@ files:
39
39
  - lib/runapi-luma.rb
40
40
  - lib/runapi/luma.rb
41
41
  - lib/runapi/luma/client.rb
42
- - lib/runapi/luma/contract_gen.rb
43
42
  - lib/runapi/luma/resources/modify_video.rb
44
43
  - lib/runapi/luma/types.rb
45
44
  homepage: https://runapi.ai/models/luma
@@ -66,7 +65,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
66
65
  - !ruby/object:Gem::Version
67
66
  version: '0'
68
67
  requirements: []
69
- rubygems_version: 4.0.17
68
+ rubygems_version: 3.6.9
70
69
  specification_version: 4
71
70
  summary: Luma API Ruby SDK for RunAPI
72
71
  test_files: []
@@ -1,21 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module RunApi
4
- module Luma
5
- CONTRACT = {
6
- "modify-video" => {
7
- "models" => ["luma-modify-video"],
8
- "fields_by_model" => {
9
- "luma-modify-video" => {
10
- "prompt" => {
11
- "required" => true
12
- },
13
- "source_video_url" => {
14
- "required" => true
15
- }
16
- }
17
- }
18
- }
19
- }.freeze
20
- end
21
- end