[DRE-commits] [ruby-entypo-rails] 03/06: Refreshed patch
Sruthi Chandran
srud-guest at moszumanska.debian.org
Fri Aug 26 18:05:59 UTC 2016
This is an automated email from the git hooks/post-receive script.
srud-guest pushed a commit to branch master
in repository ruby-entypo-rails.
commit 1dc62405b4bfabca388346ba98bd9b12d9671cd0
Author: Sruthi Chandran <srud at disroot.org>
Date: Fri Aug 26 23:12:05 2016 +0530
Refreshed patch
---
debian/patches/engine-root.patch | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/debian/patches/engine-root.patch b/debian/patches/engine-root.patch
index a384568..742dc1e 100644
--- a/debian/patches/engine-root.patch
+++ b/debian/patches/engine-root.patch
@@ -4,20 +4,21 @@ Author: Pirate Praveen <praveen at debian.org>
--- a/lib/entypo-rails.rb
+++ b/lib/entypo-rails.rb
-@@ -23,5 +23,6 @@
+@@ -23,6 +23,7 @@
# Dummy engine so that lib/assets/stylesheets and vendor/assets/fonts
# are picked up by Rails asset pipeline.
class Engine < ::Rails::Engine
-+ config.root = '/usr/share/ruby-entypo-rails'
- end
- end
++ config.root = '/usr/share/ruby-entypo-rails'
+ initializer :assets do |config|
+ Rails.application.config.assets.precompile += %w{ entypo.css } if Entypo.charmap?
+ end
--- a/lib/entypo/charmap.rb
+++ b/lib/entypo/charmap.rb
@@ -16,7 +16,7 @@
#
# Returns Charmap instance.
def self.instance
-- @@instance ||= self.new File.expand_path('../../../app/assets/stylesheets/entypo.css.scss.erb', __FILE__)
+- @@instance ||= self.new File.expand_path('../../../app/assets/stylesheets/entypo.scss.erb', __FILE__)
+ @@instance ||= self.new File.expand_path('/usr/share/ruby-entypo-rails/app/assets/stylesheets/entypo.css.scss.erb', __FILE__)
end
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-entypo-rails.git
More information about the Pkg-ruby-extras-commits
mailing list