Actions
Backport #2406
closedRegression in RSS 2.0 creation
Status:
Closed
Assignee:
Description
=begin
I used to be able to use Strings for dates in ruby 1.8.6 but it doesn't work any more:
i.date = (d >> 1).strftime('%a, %d %b %Y %H:%M:%S %z')
Results
/per/usr/lib64/ruby/1.8/rss/dublincore.rb:143:in `content=': value of tag is not available. (RSS::NotAvailableValueError) from /usr/lib64/ruby/1.8/rss/dublincore.rb:114:in `initialize' from /usr/lib64/ruby/1.8/rss/utils.rb:31:in `new' from /usr/lib64/ruby/1.8/rss/utils.rb:31:in `new_with_value_if_need' from /usr/lib64/ruby/1.8/rss/dublincore.rb:30:in `dc_date=' from /usr/lib64/ruby/1.8/rss/dublincore.rb:41:in `date=' from /usr/lib64/ruby/1.8/rss/maker/base.rb:226:in `__send__' from /usr/lib64/ruby/1.8/rss/maker/base.rb:226:in `setup_values' from /usr/lib64/ruby/1.8/rss/maker/base.rb:221:in `each' from /usr/lib64/ruby/1.8/rss/maker/base.rb:221:in `setup_values' from /usr/lib64/ruby/1.8/rss/maker/0.9.rb:260:in `to_feed' from /usr/lib64/ruby/1.8/rss/maker/0.9.rb:251:in `to_feed' from /usr/lib64/ruby/1.8/rss/maker/0.9.rb:250:in `each' from /usr/lib64/ruby/1.8/rss/maker/0.9.rb:250:in `to_feed' from /usr/lib64/ruby/1.8/rss/maker/0.9.rb:44:in `setup_items' from /usr/lib64/ruby/1.8/rss/maker/0.9.rb:32:in `to_feed' from /usr/lib64/ruby/1.8/rss/maker/base.rb:370:in `setup_channel' from /usr/lib64/ruby/1.8/rss/maker/0.9.rb:21:in `setup_elements' from /usr/lib64/ruby/1.8/rss/maker/base.rb:406:in `to_feed' from /usr/lib64/ruby/1.8/rss/maker/base.rb:397:in `make' from /usr/lib64/ruby/1.8/rss/maker/base.rb:361:in `make' from /usr/lib64/ruby/1.8/rss/maker.rb:11:in `make' from /home/betelgeuse/bin/rss-changelog:153
The full script is here http://github.com/betelgeuse/scripts/blob/324ec2a18d473c39dfd9e3e12edc4fc0ecaa5990/rss-changelog
=end
Updated by yugui (Yuki Sonoda) over 14 years ago
- Category set to lib
- Assignee set to kou (Kouhei Sutou)
=begin
=end
Updated by kou (Kouhei Sutou) over 14 years ago
=begin
I've fixed this in r26307 at ruby_1_8. knu may merge it into ruby_1_8_7.
=end
Updated by shyouhei (Shyouhei Urabe) over 14 years ago
- Status changed from Open to Assigned
- Assignee changed from kou (Kouhei Sutou) to shyouhei (Shyouhei Urabe)
=begin
=end
Updated by shyouhei (Shyouhei Urabe) almost 14 years ago
- Status changed from Assigned to Closed
- % Done changed from 0 to 100
=begin
This issue was solved with changeset r27915.
Petteri, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
Actions
Like0
Like0Like0Like0Like0