File rubygem-activeresource-2_1.spec of Package rubygem-activeresource-2_1
#
# spec file for package rubygem-activeresource-2_1 (Version 2.1.1)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: rubygem-activeresource-2_1
Version: 2.1.1
Release: 2
%define mod_name activeresource
#
Group: Development/Languages/Ruby
License: X11/MIT
#
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: rubygems_with_buildroot_patch
Requires: rubygems > 0.9.4
Provides: rubygem-actionwebservice = %{version}-%{release}
# Obsoletes: rubygem-actionwebservice < %{version}
Provides: rubygem-%{mod_name} = %{version}-%{release}
# Obsoletes: rubygem-%{mod_name} < %{version}
BuildRequires: rubygem-activesupport-2_1 = 2.1.1
Requires: rubygem-activesupport-2_1 = 2.1.1
#
Url: http://rubyforge.org/projects/activeresource/
Source: http://rubyforge.org/frs/download.php/42612/activeresource-2.1.1.gem
#
Summary: Think Active Record for web resources
%description
Wraps web resources in model classes that can be manipulated through
XML over REST.
Authors:
--------
rails development team
%prep
%build
%install
gem install --local --build-root=%{buildroot} %{S:0}
%clean
%{__rm} -rf %{buildroot}
%files
%defattr(-,root,root,-)
%{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_name}-%{version}.gem
%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_name}-%{version}/
%{_libdir}/ruby/gems/%{rb_ver}/specifications/%{mod_name}-%{version}.gemspec
%doc %{_libdir}/ruby/gems/%{rb_ver}/doc/%{mod_name}-%{version}/
%changelog
* Fri Sep 12 2008 mrueckert@suse.de
- update to version 2.1.1
* Fixed Base#exists? to check status code as integer
[#299 state:resolved] (Wes Oldenbeuving)
* Wed Jun 04 2008 mrueckert@suse.de
- update to version 2.1.0
* Fixed response logging to use length instead of the entire
thing (seangeo)
* Fixed that to_param should be used and honored instead of
hardcoding the id
* Improve documentation.
* Use HEAD instead of GET in exists?
* Fix small documentation typo.
* find_or_create_resource_for handles module nesting.
* Allow setting ActiveResource::Base#format before #site.
* Support agnostic formats when calling custom methods.
* Document custom methods.
* Ruby 1.9 compatibility.
- branch of package from the 2.0 package
* Thu Feb 21 2008 mrueckert@suse.de
- do not obsolete the old name as it leads to trouble on upgrade.
this will handled by the wrapper package.
* Thu Jan 17 2008 mrueckert@suse.de
- initial package of version 2.0.2:
replaces actionwebservice in rails2