We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7e5ae4 commit fc7e539Copy full SHA for fc7e539
gems/smithy/lib/smithy/views/client/gemspec.rb
@@ -15,15 +15,14 @@ def gem_name
15
end
16
17
def dependencies
18
- dependencies = @plan.welds.map(&:add_dependencies).reduce({}, :merge)
19
- dependencies = dependencies.except(@plan.welds.map(&:remove_dependencies).reduce([], :+))
20
- dependencies.merge!(
+ dependencies =
21
if @plan.type == :schema
22
{ 'smithy-schema' => '1.0.0.pre1' }
23
else
24
{ 'smithy-client' => '1.0.0.pre1' }
25
26
- )
+ dependencies = dependencies.merge(@plan.welds.map(&:add_dependencies).reduce({}, :merge))
+ dependencies = dependencies.except(*@plan.welds.map(&:remove_dependencies).reduce([], :+))
27
dependencies.sort
28
29
0 commit comments