public
Description: Keeps specified attributes of a model out of to_xml. Do so by aliasing to_xml, and automatically sending in the correct :excludes to the original to_xml method, e.g. :excludes => [:attr1, :attr2, ...]
Homepage:
Clone URL: git://github.com/thrivesmart/xml_protected.git
moorage (author)
Wed Oct 01 15:33:29 -0700 2008
commit  34dc2eb79de28ae4a2aba0d3b58341e43e7eafe4
tree    fb052c33abe0b2a97caccb841280a843d0bc0622
parent  a415d6e0d61c8d6bbbdd7822d491650b0a9a47da
xml_protected / xml_protected.gemspec
100644 29 lines (25 sloc) 1.277 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Gem::Specification.new do |s|
  s.name = %q{xml_protected}
  s.version = "0.0.5"
 
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
  s.authors = ["ThriveSmart, LLC"]
  s.date = %q{2008-10-01}
  s.description = %q{Keeps specified attributes of a model out of to_xml. Do so by aliasing to_xml, and automatically sending in the correct :excludes to the original to_xml method, e.g. :excludes => [:attr1, :attr2, ...]}
  s.email = %q{developers@thrivesmart.com}
  s.extra_rdoc_files = ["README.textile", "LICENSE"]
  s.files = ["LICENSE", "README.textile", "Rakefile", "lib/xml_protected.rb"]
  s.has_rdoc = true
  s.homepage = %q{http://www.github.com/thrivesmart/xml_protected}
  s.require_paths = ["lib"]
  s.rubyforge_project = %q{xml_protected}
  s.rubygems_version = %q{1.2.0}
  s.summary = %q{Keeps specified attributes of a model out of to_xml. Do so by aliasing to_xml, and automatically sending in the correct :excludes to the original to_xml method, e.g. :excludes => [:attr1, :attr2, ...]}
 
  if s.respond_to? :specification_version then
    current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
    s.specification_version = 2
 
    if current_version >= 3 then
    else
    end
  else
  end
end