Skip to content

Commit

Permalink
Gemified
Browse files Browse the repository at this point in the history
  • Loading branch information
bragi committed Jul 29, 2009
1 parent 8a59d5c commit ac8de60
Show file tree
Hide file tree
Showing 10 changed files with 49 additions and 63 deletions.
4 changes: 0 additions & 4 deletions README

This file was deleted.

14 changes: 14 additions & 0 deletions README.textile
@@ -0,0 +1,14 @@
ValidatesXml
============

Provides validates_xml method allowing to validate xml correctness of ActiveRecord attributes.

Acknowledgment
--------------

It's just a repacking as gem of plugin published on http://code.google.com/p/validates-xml/ by johnwulff

License
-------

MIT License
22 changes: 0 additions & 22 deletions Rakefile

This file was deleted.

2 changes: 1 addition & 1 deletion lib/validates_xml.rb
Expand Up @@ -17,4 +17,4 @@ def validates_xml(*attr_names)
end end
end end
end end
end end
File renamed without changes.
4 changes: 0 additions & 4 deletions test/README

This file was deleted.

22 changes: 0 additions & 22 deletions test/Rakefile

This file was deleted.

2 changes: 0 additions & 2 deletions test/init.rb

This file was deleted.

8 changes: 0 additions & 8 deletions test/validates_xml_test.rb

This file was deleted.

34 changes: 34 additions & 0 deletions validates_xml.gemspec
@@ -0,0 +1,34 @@
# -*- encoding: utf-8 -*-

Gem::Specification.new do |s|
s.name = %q{validates_xml}
s.version = "1.0.0"

s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Lukasz Piestrzeniewicz"]
s.date = %q{2009-08-29}
s.description = %q{Provides validates_xml method allowing to validate xml correctness of ActiveRecord attributes.}
s.email = ["bragi@ragnarson.com"]
s.extra_rdoc_files = ["README.textile"]
s.files = ["lib/validates_xml.rb", "rails/init.rb", "README.textile"]
s.has_rdoc = true
s.homepage = %q{http://github.com/bragi/validates_xml}
s.rdoc_options = ["--main", "README.textile"]
s.require_paths = ["lib"]
s.rubyforge_project = %q{validates_xml}
s.rubygems_version = %q{1.3.1}
s.summary = %q{Rails helper for validating xml attributes.}

if s.respond_to? :specification_version then
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
s.specification_version = 2

if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
s.add_runtime_dependency(%q<activerecord>, [">= 2.0.0"])
else
s.add_dependency(%q<activerecord>, [">= 2.0.0"])
end
else
s.add_dependency(%q<activerecord>, [">= 2.0.0"])
end
end

0 comments on commit ac8de60

Please sign in to comment.