Skip to content

Commit

Permalink
Merge 4774c0d into 00a98af
Browse files Browse the repository at this point in the history
  • Loading branch information
vstabile committed Jun 12, 2018
2 parents 00a98af + 4774c0d commit 1e43649
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
9 changes: 9 additions & 0 deletions lib/plutus.rb
Original file line number Diff line number Diff line change
@@ -1,9 +1,18 @@
# Plutus
require "rails"
require "jquery-rails"
require "jquery-ui-rails"
require "kaminari"

module Plutus
class Engine < Rails::Engine
isolate_namespace Plutus

config.to_prepare do
Dir.glob(Rails.root + "app/decorators/**/*_decorator*.rb").each do |c|
require_dependency(c)
end
end
end


Expand Down
7 changes: 3 additions & 4 deletions plutus.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ Gem::Specification.new do |s|
"README.markdown"
]
s.add_dependency("rails", "> 4.0")
s.add_dependency("jquery-rails", ">= 3.0")
s.add_dependency("jquery-ui-rails", ">= 4.2.2")
s.add_dependency("kaminari", "~> 1.0")
s.add_dependency("jquery-rails", "~> 4.0")
s.add_dependency("jquery-ui-rails", "~> 5.0")
s.add_dependency("kaminari", "~> 1.1")
s.add_development_dependency("yard")
s.files = Dir["{app,config,db,lib}/**/*"] + ["LICENSE", "Rakefile", "README.markdown"]
s.homepage = %q{http://github.com/mbulat/plutus}
Expand All @@ -40,4 +40,3 @@ Gem::Specification.new do |s|
else
end
end

0 comments on commit 1e43649

Please sign in to comment.