[DRE-commits] [ruby-autoprefixer-rails] 04/04: remove git in gemspec

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Sat Mar 5 17:26:45 UTC 2016


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 fd245e7f9105b262c43ae5d1015cbfaec3f28756
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Sat Mar 5 22:50:15 2016 +0530

    remove git in gemspec
---
 debian/patches/engine-root.patch           |  2 +-
 debian/patches/remove-git-in-gemspec.patch | 15 +++++++++++++++
 debian/patches/series                      |  1 +
 3 files changed, 17 insertions(+), 1 deletion(-)

diff --git a/debian/patches/engine-root.patch b/debian/patches/engine-root.patch
index bf668a1..af0b2a6 100644
--- a/debian/patches/engine-root.patch
+++ b/debian/patches/engine-root.patch
@@ -2,7 +2,7 @@ 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
+@@ -115,7 +115,7 @@ module AutoprefixerRails
  
      # Cache autoprefixer.js content
      def read_js
diff --git a/debian/patches/remove-git-in-gemspec.patch b/debian/patches/remove-git-in-gemspec.patch
new file mode 100644
index 0000000..4599beb
--- /dev/null
+++ b/debian/patches/remove-git-in-gemspec.patch
@@ -0,0 +1,15 @@
+Index: ruby-autoprefixer-rails/autoprefixer-rails.gemspec
+===================================================================
+--- ruby-autoprefixer-rails.orig/autoprefixer-rails.gemspec
++++ ruby-autoprefixer-rails/autoprefixer-rails.gemspec
+@@ -8,8 +8,8 @@ Gem::Specification.new do |s|
+   s.summary     = 'Parse CSS and add vendor prefixes to CSS rules using ' +
+                   'values from the Can I Use website.'
+ 
+-  s.files            = `git ls-files`.split("\n")
+-  s.test_files       = `git ls-files -- {spec}/*`.split("\n")
++  s.files            = ''
++  s.test_files       = ''
+   s.extra_rdoc_files = ['README.md', 'LICENSE', 'CHANGELOG.md']
+   s.require_path     = 'lib'
+   s.required_ruby_version = '>= 2.0'
diff --git a/debian/patches/series b/debian/patches/series
index d77d941..8eaddfe 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 engine-root.patch
+remove-git-in-gemspec.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