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

« back to all changes in this revision

Viewing changes to lib/rss/maker/2.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:
15
15
 
16
16
        private
17
17
        def required_variable_names
18
 
          %w(title link description)
 
18
          %w(link)
19
19
        end
20
20
        
21
21
        class SkipDays < RSS09::Channel::SkipDays
90
90
      end
91
91
      
92
92
      class Items < RSS09::Items
93
 
        
94
93
        class Item < RSS09::Items::Item
95
 
 
96
 
          def have_required_values?
97
 
            @title or @description
98
 
          end
99
 
 
100
94
          private
101
95
          def required_variable_names
102
96
            %w(title description)