[DRE-commits] [ruby-autoprefixer-rails] 01/02: fix js path

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Sun Apr 12 06:56:17 UTC 2015


This is an automated email from the git hooks/post-receive script.

praveen pushed a commit to branch master
in repository ruby-autoprefixer-rails.

commit fb66b28388e3a30793a46bf50ec784ec4db4f65b
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Sun Apr 12 12:21:48 2015 +0530

    fix js path
---
 debian/changelog                 |  7 +++++++
 debian/install                   |  1 +
 debian/patches/engine-root.patch | 13 +++++++++++++
 debian/patches/series            |  1 +
 4 files changed, 22 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 08e2d8e..6044a89 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+ruby-autoprefixer-rails (5.1.8-2) UNRELEASED; urgency=medium
+
+  * Team upload.
+  * Install sutoprefixer.js in usr/share and set path
+
+ -- Pirate Praveen <praveen at debian.org>  Sun, 12 Apr 2015 12:20:48 +0530
+
 ruby-autoprefixer-rails (5.1.8-1) unstable; urgency=medium
 
   * Initial release
diff --git a/debian/install b/debian/install
new file mode 100644
index 0000000..5a7e81c
--- /dev/null
+++ b/debian/install
@@ -0,0 +1 @@
+vendor usr/share/ruby-autoprefixer-rails
diff --git a/debian/patches/engine-root.patch b/debian/patches/engine-root.patch
new file mode 100644
index 0000000..bf668a1
--- /dev/null
+++ b/debian/patches/engine-root.patch
@@ -0,0 +1,13 @@
+Index: ruby-autoprefixer-rails/lib/autoprefixer-rails/processor.rb
+===================================================================
+--- ruby-autoprefixer-rails.orig/lib/autoprefixer-rails/processor.rb
++++ ruby-autoprefixer-rails/lib/autoprefixer-rails/processor.rb
+@@ -109,7 +109,7 @@ module AutoprefixerRails
+ 
+     # Cache autoprefixer.js content
+     def read_js
+-      @@js ||= Pathname(__FILE__).join("../../../vendor/autoprefixer.js").read
++      @@js ||= Pathname(__FILE__).join("/usr/share/ruby-autoprefixer-rails/vendor/autoprefixer.js").read
+     end
+ 
+     # Return processor JS with some extra methods
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..d77d941
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+engine-root.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-autoprefixer-rails.git



More information about the Pkg-ruby-extras-commits mailing list