Skip to content

Commit

Permalink
default
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaudlevy committed Feb 23, 2022
1 parent 877c33c commit fd601e4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
kamifusen (1.11.0)
kamifusen (1.11.1)
image_processing
rails

Expand Down
2 changes: 1 addition & 1 deletion lib/kamifusen.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def self.config
yield self
end

def self.process(variant, active_storage_direct_url)
def self.process(variant, active_storage_direct_url = false)
Processor.new(variant, active_storage_direct_url).url
end

Expand Down
2 changes: 1 addition & 1 deletion lib/kamifusen/processor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module Kamifusen
class Processor
attr_reader :variant, :active_storage_direct_url

def initialize(variant, active_storage_direct_url)
def initialize(variant, active_storage_direct_url = false)
@variant = variant
@active_storage_direct_url = active_storage_direct_url
end
Expand Down
2 changes: 1 addition & 1 deletion lib/kamifusen/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module Kamifusen
VERSION = "1.11.0"
VERSION = "1.11.1"
end

0 comments on commit fd601e4

Please sign in to comment.