[DRE-commits] [ruby-roadie-rails] 09/10: don't use git when running tests

Antonio Terceiro terceiro at moszumanska.debian.org
Sun Feb 14 16:18:53 UTC 2016


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

terceiro pushed a commit to branch master
in repository ruby-roadie-rails.

commit b65955fbf04d2cb136101e947533e1ec43bd68bc
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Sun Feb 14 14:12:01 2016 -0200

    don't use git when running tests
---
 ...ration-against-just-the-rails-version-in-D.patch |  9 +++++++--
 debian/patches/0002-gemspec-don-t-use-git.patch     | 21 +++++++++++++++++++++
 debian/patches/series                               |  1 +
 3 files changed, 29 insertions(+), 2 deletions(-)

diff --git a/debian/patches/0001-Test-integration-against-just-the-rails-version-in-D.patch b/debian/patches/0001-Test-integration-against-just-the-rails-version-in-D.patch
index 9b6c9e5..72cb314 100644
--- a/debian/patches/0001-Test-integration-against-just-the-rails-version-in-D.patch
+++ b/debian/patches/0001-Test-integration-against-just-the-rails-version-in-D.patch
@@ -3,9 +3,12 @@ Date: Fri, 22 Jan 2016 15:09:56 -0200
 Subject: Test integration against just the rails version in Debian
 
 ---
- spec/integration_spec.rb | 9 ---------
- 1 file changed, 9 deletions(-)
+ spec/integration_spec.rb        | 9 ---------
+ spec/railsapps/rails_42/Gemfile | 2 +-
+ 2 files changed, 1 insertion(+), 10 deletions(-)
 
+diff --git a/spec/integration_spec.rb b/spec/integration_spec.rb
+index 07e780f..2cfb1ae 100644
 --- a/spec/integration_spec.rb
 +++ b/spec/integration_spec.rb
 @@ -8,16 +8,7 @@ describe "Integrations" do
@@ -25,6 +28,8 @@ Subject: Test integration against just the rails version in Debian
    ].each do |app|
      describe "with #{app}" do
        before { app.reset }
+diff --git a/spec/railsapps/rails_42/Gemfile b/spec/railsapps/rails_42/Gemfile
+index e2f9bf0..94c5cce 100644
 --- a/spec/railsapps/rails_42/Gemfile
 +++ b/spec/railsapps/rails_42/Gemfile
 @@ -1,5 +1,5 @@
diff --git a/debian/patches/0002-gemspec-don-t-use-git.patch b/debian/patches/0002-gemspec-don-t-use-git.patch
new file mode 100644
index 0000000..8aa0ec8
--- /dev/null
+++ b/debian/patches/0002-gemspec-don-t-use-git.patch
@@ -0,0 +1,21 @@
+From: Antonio Terceiro <terceiro at debian.org>
+Date: Sun, 14 Feb 2016 14:11:21 -0200
+Subject: gemspec: don't use git
+
+---
+ roadie-rails.gemspec | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/roadie-rails.gemspec b/roadie-rails.gemspec
+index 7ff1ac2..71bae7f 100644
+--- a/roadie-rails.gemspec
++++ b/roadie-rails.gemspec
+@@ -13,7 +13,7 @@ Gem::Specification.new do |spec|
+   spec.description   = %q{Hooks Roadie into your Rails application to help with email generation.}
+   spec.license       = "MIT"
+ 
+-  spec.files         = `git ls-files`.split($/)
++  spec.files         = Dir.glob('**/*').reject { |f| f =~ /^debian/ }
+   spec.executables   = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
+   spec.test_files    = spec.files.grep(%r{^(test|spec|features)/})
+   spec.extra_rdoc_files = %w[README.md Changelog.md LICENSE.txt]
diff --git a/debian/patches/series b/debian/patches/series
index 9fb1da2..3091e2b 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 0001-Test-integration-against-just-the-rails-version-in-D.patch
+0002-gemspec-don-t-use-git.patch

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



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