tweepml 0.2 → 0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/lib/tweepml.rb +2 -8
  2. metadata +5 -3
data/lib/tweepml.rb CHANGED
@@ -64,16 +64,10 @@ class TweepML
64
64
  end
65
65
  end
66
66
 
67
- head.add_element("generator").text = "TweepML Ruby Generator v0.1"
67
+ head.add_element("generator").text = "TweepML Ruby Generator v0.2"
68
68
  head.add_element("generator_link").text = "http://github.com/dacort/tweepml"
69
69
 
70
- # Add the tweep_list element
71
- tweep_list = tml.add_element 'tweep_list'
72
-
73
- # Iterate through all tweeps/tweep_lists - should probably use nodes
74
- self.tweep_list.tweep_lists.each do|tl|
75
- tweep_list.add_element(tl.to_xml)
76
- end
70
+ tml.add_element self.tweep_list.to_xml
77
71
 
78
72
  doc
79
73
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tweepml
3
3
  version: !ruby/object:Gem::Version
4
- version: "0.2"
4
+ version: "0.3"
5
5
  platform: ruby
6
6
  authors:
7
7
  - Damon P. Cortesi
@@ -26,6 +26,8 @@ files:
26
26
  - lib/tweepml.rb
27
27
  has_rdoc: true
28
28
  homepage: http://github.com/dacort/tweepml
29
+ licenses: []
30
+
29
31
  post_install_message:
30
32
  rdoc_options:
31
33
  - --inline-source
@@ -47,9 +49,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
47
49
  requirements: []
48
50
 
49
51
  rubyforge_project:
50
- rubygems_version: 1.3.1
52
+ rubygems_version: 1.3.5
51
53
  signing_key:
52
- specification_version: 2
54
+ specification_version: 3
53
55
  summary: TweepML is an XML format used to represent a list of Tweeps (Twitter users).
54
56
  test_files: []
55
57