jstribny pushed to rubygem-activesupport (master). "Add patch"

notifications at fedoraproject.org notifications at fedoraproject.org
Thu Apr 2 15:49:58 UTC 2015


>From 27430240c8eb9ac5e0d19bd9c3f9696c15f1b669 Mon Sep 17 00:00:00 2001
From: Josef Stribny <jstribny at redhat.com>
Date: Thu, 2 Apr 2015 17:30:36 +0200
Subject: Add patch


diff --git a/activesupport-4.2.1-run-out-of-rails-git.patch b/activesupport-4.2.1-run-out-of-rails-git.patch
new file mode 100644
index 0000000..ff4d3e3
--- /dev/null
+++ b/activesupport-4.2.1-run-out-of-rails-git.patch
@@ -0,0 +1,34 @@
+From c0bd31bca02b7e0cd984683c2826fadd2fb55d29 Mon Sep 17 00:00:00 2001
+From: Josef Stribny <jstribny at redhat.com>
+Date: Thu, 2 Apr 2015 15:41:46 +0200
+Subject: [PATCH] Do not depend on Rails git repo layout
+
+---
+ activesupport/test/dependencies_test.rb | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/activesupport/test/dependencies_test.rb b/activesupport/test/dependencies_test.rb
+index 96e9bd1..8e59d10 100644
+--- a/activesupport/test/dependencies_test.rb
++++ b/activesupport/test/dependencies_test.rb
+@@ -162,7 +162,7 @@ class DependenciesTest < ActiveSupport::TestCase
+   def test_ensures_the_expected_constant_is_defined
+     with_autoloading_fixtures do
+       e = assert_raise(LoadError) { Typo }
+-      assert_match %r{Unable to autoload constant Typo, expected .*activesupport/test/autoloading_fixtures/typo.rb to define it}, e.message
++      assert_match %r{Unable to autoload constant Typo, expected .*/test/autoloading_fixtures/typo.rb to define it}, e.message
+     end
+   end
+ 
+@@ -180,7 +180,7 @@ class DependenciesTest < ActiveSupport::TestCase
+       assert_equal 1, TypO
+ 
+       e = assert_raise(LoadError) { Typo }
+-      assert_match %r{Unable to autoload constant Typo, expected .*activesupport/test/autoloading_fixtures/typo.rb to define it}, e.message
++      assert_match %r{Unable to autoload constant Typo, expected .*/test/autoloading_fixtures/typo.rb to define it}, e.message
+     end
+   end
+ 
+-- 
+2.1.0
+
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/rubygem-activesupport.git/commit/?h=master&id=27430240c8eb9ac5e0d19bd9c3f9696c15f1b669


More information about the scm-commits mailing list