~ubuntu-branches/ubuntu/saucy/ruby-validatable/saucy

« back to all changes in this revision

Viewing changes to debian/patches/move_some_rb_files_to_lib_validatable.patch

  • Committer: Package Import Robot
  • Author(s): Cédric Boutillier
  • Date: 2012-06-13 23:47:54 UTC
  • Revision ID: package-import@ubuntu.com-20120613234754-9rxi0taw1e5wke0w
Tags: 1.6.7-8
* Move secondary Ruby files into /usr/lib/ruby/vendor_ruby/validatable/ to
  avoid name clash (Closes: #673738).
  + override dh_install in rules to move the files
  + add debian/patches/move_some_rb_files_to_lib_validatable.patch to adapt
    require statements
* Set urgency to high, as this version solves an RC bug
* Adapt versions in Breaks: and Replaces: fields to match the last version
  of the package not following the new Ruby policy.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Description: secondary Ruby files moved to validatable/ subdir
 
2
 in order to avoid name clash, e.g. with ruby-dust
 
3
 Require statement are updated accordingly with this patch
 
4
Bug-Debian: http://bugs.debian.org/673738
 
5
Forwarded: not-needed
 
6
Author: Cédric Boutillier <cedric.boutillier@gmail.com>
 
7
Last-Update: 2012-06-13
 
8
 
 
9
--- a/lib/validatable.rb
 
10
+++ b/lib/validatable.rb
 
11
@@ -1,19 +1,19 @@
 
12
 require 'forwardable'
 
13
-require File.expand_path(File.dirname(__FILE__) + '/object_extension')
 
14
-require File.expand_path(File.dirname(__FILE__) + '/errors')
 
15
-require File.expand_path(File.dirname(__FILE__) + '/validatable_class_methods')
 
16
-require File.expand_path(File.dirname(__FILE__) + '/macros')
 
17
-require File.expand_path(File.dirname(__FILE__) + '/validatable_instance_methods')
 
18
-require File.expand_path(File.dirname(__FILE__) + '/included_validation')
 
19
-require File.expand_path(File.dirname(__FILE__) + '/child_validation')
 
20
-require File.expand_path(File.dirname(__FILE__) + '/understandable')
 
21
-require File.expand_path(File.dirname(__FILE__) + '/requireable')
 
22
-require File.expand_path(File.dirname(__FILE__) + '/validations/validation_base')
 
23
-require File.expand_path(File.dirname(__FILE__) + '/validations/validates_format_of')
 
24
-require File.expand_path(File.dirname(__FILE__) + '/validations/validates_presence_of')
 
25
-require File.expand_path(File.dirname(__FILE__) + '/validations/validates_acceptance_of')
 
26
-require File.expand_path(File.dirname(__FILE__) + '/validations/validates_confirmation_of')
 
27
-require File.expand_path(File.dirname(__FILE__) + '/validations/validates_length_of')
 
28
-require File.expand_path(File.dirname(__FILE__) + '/validations/validates_true_for')
 
29
-require File.expand_path(File.dirname(__FILE__) + '/validations/validates_numericality_of')
 
30
-require File.expand_path(File.dirname(__FILE__) + '/validations/validates_each')
 
31
\ No newline at end of file
 
32
+require File.expand_path(File.dirname(__FILE__) + '/validatable/object_extension')
 
33
+require File.expand_path(File.dirname(__FILE__) + '/validatable/errors')
 
34
+require File.expand_path(File.dirname(__FILE__) + '/validatable/validatable_class_methods')
 
35
+require File.expand_path(File.dirname(__FILE__) + '/validatable/macros')
 
36
+require File.expand_path(File.dirname(__FILE__) + '/validatable/validatable_instance_methods')
 
37
+require File.expand_path(File.dirname(__FILE__) + '/validatable/included_validation')
 
38
+require File.expand_path(File.dirname(__FILE__) + '/validatable/child_validation')
 
39
+require File.expand_path(File.dirname(__FILE__) + '/validatable/understandable')
 
40
+require File.expand_path(File.dirname(__FILE__) + '/validatable/requireable')
 
41
+require File.expand_path(File.dirname(__FILE__) + '/validatable/validations/validation_base')
 
42
+require File.expand_path(File.dirname(__FILE__) + '/validatable/validations/validates_format_of')
 
43
+require File.expand_path(File.dirname(__FILE__) + '/validatable/validations/validates_presence_of')
 
44
+require File.expand_path(File.dirname(__FILE__) + '/validatable/validations/validates_acceptance_of')
 
45
+require File.expand_path(File.dirname(__FILE__) + '/validatable/validations/validates_confirmation_of')
 
46
+require File.expand_path(File.dirname(__FILE__) + '/validatable/validations/validates_length_of')
 
47
+require File.expand_path(File.dirname(__FILE__) + '/validatable/validations/validates_true_for')
 
48
+require File.expand_path(File.dirname(__FILE__) + '/validatable/validations/validates_numericality_of')
 
49
+require File.expand_path(File.dirname(__FILE__) + '/validatable/validations/validates_each')