~ubuntu-branches/ubuntu/intrepid/ruby1.9/intrepid-updates

« back to all changes in this revision

Viewing changes to lib/rss/maker/1.0.rb

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2007-09-04 16:01:17 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20070904160117-i15zckg2nhxe9fyw
Tags: 1.9.0+20070830-2ubuntu1
* Sync from Debian; remaining changes:
  - Add -g to CFLAGS.
* Fixes build failure on ia64.
* Fixes build failure with gcc-4.2 on lpia.
* Robustify check for target_os, fixing build failure on lpia.
* Set Ubuntu maintainer address.

Show diffs side-by-side

added added

removed removed

Lines of Context:
83
83
 
84
84
        def not_set_required_variables
85
85
          vars = super
86
 
          vars << "description" unless description.have_required_values?
87
 
          vars << "title" unless title.have_required_values?
 
86
          vars << "description" unless description {|d| d.have_required_values?}
 
87
          vars << "title" unless title {|t| t.have_required_values?}
88
88
          vars
89
89
        end
90
90
 
256
256
          def not_set_required_variables
257
257
            set_default_values do
258
258
              vars = super
259
 
              vars << "title" unless title.have_required_values?
 
259
              vars << "title" unless title {|t| t.have_required_values?}
260
260
              vars
261
261
            end
262
262
          end