roxml 2.4.2 → 2.4.3

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt CHANGED
@@ -1,3 +1,10 @@
1
+ == 2.4.3 (February 1, 2009)
2
+
3
+ * 1 bug fix
4
+
5
+ * Fix roxml to work in ruby 1.8.6, which has been broken since the removal of
6
+ extensions in version 2.4.1. Thanks Pat! [Pat Nakajima]
7
+
1
8
  == 2.4.2 (January 31, 2009)
2
9
 
3
10
  * 1 major enhancement
data/Rakefile CHANGED
@@ -1,3 +1,7 @@
1
+ module Enumerable
2
+ undef_method(:one?)
3
+ end if [].respond_to?(:one?)
4
+
1
5
  ENV['RUBY_FLAGS'] = '-W1'
2
6
 
3
7
  %w[rubygems rake rake/clean fileutils newgem rubigen].each { |f| require f }
data/lib/roxml.rb CHANGED
@@ -6,7 +6,7 @@ $LOAD_PATH.unshift(File.dirname(__FILE__)) unless
6
6
  end
7
7
 
8
8
  module ROXML # :nodoc:
9
- VERSION = '2.4.2'
9
+ VERSION = '2.4.3'
10
10
 
11
11
  def self.included(base) # :nodoc:
12
12
  base.extend ClassMethods::Accessors,
@@ -1,3 +1,11 @@
1
+ module Enumerable #:nodoc:all
2
+ unless method_defined?(:one?)
3
+ def one?
4
+ size == 1
5
+ end
6
+ end
7
+ end
8
+
1
9
  require File.join(File.dirname(__FILE__), 'array/conversions')
2
10
 
3
11
  class Array #:nodoc:
data/roxml.gemspec CHANGED
@@ -2,11 +2,11 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{roxml}
5
- s.version = "2.4.2"
5
+ s.version = "2.4.3"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Ben Woosley", "Zak Mandhro", "Anders Engstrom", "Russ Olsen"]
9
- s.date = %q{2009-01-31}
9
+ s.date = %q{2009-02-01}
10
10
  s.description = %q{ROXML is a Ruby library designed to make it easier for Ruby developers to work with XML. Using simple annotations, it enables Ruby classes to be mapped to XML. ROXML takes care of the marshalling and unmarshalling of mapped attributes so that developers can focus on building first-class Ruby classes. As a result, ROXML simplifies the development of RESTful applications, Web Services, and XML-RPC.}
11
11
  s.email = %q{ben.woosley@gmail.com}
12
12
  s.extra_rdoc_files = ["History.txt", "Manifest.txt", "README.rdoc"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: roxml
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.2
4
+ version: 2.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Woosley
@@ -12,7 +12,7 @@ autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
14
 
15
- date: 2009-01-31 00:00:00 -05:00
15
+ date: 2009-02-01 00:00:00 -05:00
16
16
  default_executable:
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency