Skip to content

Commit

Permalink
work with hanami-asset 2 and hanami-cli 2
Browse files Browse the repository at this point in the history
  • Loading branch information
FLemon committed Dec 24, 2024
1 parent 6cc4b5d commit fc83abc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 0 additions & 2 deletions hanami.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ Gem::Specification.new do |spec|
spec.add_dependency 'hanami-validations', '>= 1.3', '< 3'
spec.add_dependency 'hanami-view', '~> 1.3'
spec.add_dependency 'hanami-helpers', '~> 1.3'
spec.add_dependency 'hanami-assets', '~> 1.3'
spec.add_dependency 'dry-cli', '~> 0.5'
spec.add_dependency 'concurrent-ruby', '~> 1.0'
spec.add_dependency 'bundler', '>= 1.6', '< 3'

Expand Down
4 changes: 4 additions & 0 deletions lib/hanami.rb
Original file line number Diff line number Diff line change
Expand Up @@ -279,4 +279,8 @@ def self.code_reloading?
def self.logger
Components['logger']
end

def self.app_path(dir=Dir.pwd)
'config/environment.rb'
end
end

0 comments on commit fc83abc

Please sign in to comment.