[DRE-commits] [ruby-d3-rails] 01/01: Patching asset location
Balasankar C
balasankarc-guest at moszumanska.debian.org
Fri Nov 14 16:30:57 UTC 2014
This is an automated email from the git hooks/post-receive script.
balasankarc-guest pushed a commit to branch master
in repository ruby-d3-rails.
commit 8cb8278aa7c891d2e14b8408eb37aba73e455b34
Author: Balasankar C <balasankarc at autistici.org>
Date: Fri Nov 14 21:59:50 2014 +0530
Patching asset location
---
.pc/.quilt_patches | 1 +
.pc/.quilt_series | 1 +
.pc/.version | 1 +
.pc/applied-patches | 1 +
.../change-path-for-assets/lib}/d3_rails/engine.rb | 0
debian/patches/change-path-for-assets | 21 +++++++++++++++++++++
debian/patches/series | 1 +
lib/d3_rails/engine.rb | 3 ++-
8 files changed, 28 insertions(+), 1 deletion(-)
diff --git a/.pc/.quilt_patches b/.pc/.quilt_patches
new file mode 100644
index 0000000..6857a8d
--- /dev/null
+++ b/.pc/.quilt_patches
@@ -0,0 +1 @@
+debian/patches
diff --git a/.pc/.quilt_series b/.pc/.quilt_series
new file mode 100644
index 0000000..c206706
--- /dev/null
+++ b/.pc/.quilt_series
@@ -0,0 +1 @@
+series
diff --git a/.pc/.version b/.pc/.version
new file mode 100644
index 0000000..0cfbf08
--- /dev/null
+++ b/.pc/.version
@@ -0,0 +1 @@
+2
diff --git a/.pc/applied-patches b/.pc/applied-patches
new file mode 100644
index 0000000..21881c5
--- /dev/null
+++ b/.pc/applied-patches
@@ -0,0 +1 @@
+change-path-for-assets
diff --git a/lib/d3_rails/engine.rb b/.pc/change-path-for-assets/lib/d3_rails/engine.rb
similarity index 100%
copy from lib/d3_rails/engine.rb
copy to .pc/change-path-for-assets/lib/d3_rails/engine.rb
diff --git a/debian/patches/change-path-for-assets b/debian/patches/change-path-for-assets
new file mode 100644
index 0000000..95ec63f
--- /dev/null
+++ b/debian/patches/change-path-for-assets
@@ -0,0 +1,21 @@
+Description: change path for assets
+ This patch is debian specific
+ .
+ ruby-d3-rails (3.4.13+dfsg-1) unstable; urgency=medium
+ .
+ * Initial release (Closes: #767503)
+Author: Balasankar C <balasankarc at autistici.org>
+Bug-Debian: https://bugs.debian.org/767503
+
+--- ruby-d3-rails-3.4.13+dfsg.orig/lib/d3_rails/engine.rb
++++ ruby-d3-rails-3.4.13+dfsg/lib/d3_rails/engine.rb
+@@ -1,6 +1,7 @@
+ module D3Rails
+ module Rails
+ class Engine < ::Rails::Engine
++ config.root = '/usr/share/ruby-d3-rails'
+ end
+ end
+-end
+\ No newline at end of file
++end
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..21881c5
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+change-path-for-assets
diff --git a/lib/d3_rails/engine.rb b/lib/d3_rails/engine.rb
index 237c63e..2fd58ec 100644
--- a/lib/d3_rails/engine.rb
+++ b/lib/d3_rails/engine.rb
@@ -1,6 +1,7 @@
module D3Rails
module Rails
class Engine < ::Rails::Engine
+ config.root = '/usr/share/ruby-d3-rails'
end
end
-end
\ No newline at end of file
+end
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-d3-rails.git
More information about the Pkg-ruby-extras-commits
mailing list