[rubygem-activeresource] Update to ActiveResource 4.0.0
Josef Stribny
jstribny at fedoraproject.org
Thu Aug 8 11:45:52 UTC 2013
commit da0142cc6ded9bed0bbc18d9914807a7a01034d1
Author: Josef Stribny <jstribny at redhat.com>
Date: Thu Aug 8 13:45:36 2013 +0200
Update to ActiveResource 4.0.0
.gitignore | 2 ++
MIT-LICENSE | 20 ++++++++++++++++++++
rubygem-activeresource.spec | 29 ++++++++++++++++++-----------
sources | 4 ++--
4 files changed, 42 insertions(+), 13 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index ef39f3e..5ba07db 100644
--- a/.gitignore
+++ b/.gitignore
@@ -26,3 +26,5 @@ activeresource-2.3.5.gem
/activeresource-3.2.12.gem
/activeresource-3.2.13-tests.tgz
/activeresource-3.2.13.gem
+/activeresource-4.0.0-tests.tgz
+/activeresource-4.0.0.gem
diff --git a/MIT-LICENSE b/MIT-LICENSE
new file mode 100644
index 0000000..9a686a9
--- /dev/null
+++ b/MIT-LICENSE
@@ -0,0 +1,20 @@
+Copyright (c) 2006-2013 David Heinemeier Hansson
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/rubygem-activeresource.spec b/rubygem-activeresource.spec
index 6dd55ef..5e494d0 100644
--- a/rubygem-activeresource.spec
+++ b/rubygem-activeresource.spec
@@ -5,30 +5,36 @@
Summary: Active Record for web resources
Name: rubygem-%{gem_name}
Epoch: 1
-Version: 3.2.13
-Release: 2%{?dist}
+Version: 4.0.0
+Release: 1%{?dist}
Group: Development/Languages
License: MIT
URL: http://www.rubyonrails.org
-
Source0: http://rubygems.org/downloads/activeresource-%{version}.gem
# Also the activeresource gem doesn't ship with the test suite.
# You may check it out like so
-# git clone http://github.com/rails/rails.git
-# cd rails/activeresource/
-# git checkout v3.2.13
-# tar czvf activeresource-3.2.13-tests.tgz test/
+# git clone https://github.com/rails/activeresource.git
+# cd activeresource/
+# git checkout v4.0.0
+# tar czvf activeresource-4.0.0-tests.tgz test/
Source1: activeresource-%{version}-tests.tgz
+# License file from the git repo
+Source2: MIT-LICENSE
+
# Let's keep Requires and BuildRequires sorted alphabeticaly
Requires: ruby(release)
Requires: ruby(rubygems)
Requires: rubygem(activemodel) = %{version}
Requires: rubygem(activesupport) = %{version}
+Requires: rubygem(rails-observers) >= 0.1.1
+Requires: rubygem(rails-observers) < 0.2.0
BuildRequires: rubygems-devel
BuildRequires: rubygem(activemodel) = %{version}
BuildRequires: rubygem(activesupport) = %{version}
+BuildRequires: rubygem(rails-observers) >= 0.1.1
+BuildRequires: rubygem(rails-observers) < 0.2.0
BuildRequires: rubygem(minitest)
BuildRequires: rubygem(mocha)
BuildArch: noarch
@@ -50,6 +56,9 @@ Documentation for %{name}
%setup -q -c -T
%gem_install -n %{SOURCE0}
+# Move license into place
+cp %{SOURCE2} .%{gem_instdir}/MIT-LICENSE
+
%build
%install
@@ -91,13 +100,11 @@ popd
%files doc
%doc %{gem_docdir}
-%doc %{gem_instdir}/CHANGELOG.md
-%doc %{gem_instdir}/examples
%doc %{gem_instdir}/README.rdoc
%changelog
-* Sun Aug 04 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1:3.2.13-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
+* Tue Jul 30 2013 Josef Stribny <jstribny at redhat.com> - 1:4.0.0-1
+- Update to ActiveResource 4.0.0.
* Tue Mar 19 2013 Vít Ondruch <vondruch at redhat.com> - 1:3.2.13-1
- Update to ActiveResource 3.2.13.
diff --git a/sources b/sources
index 01b91d8..8c38500 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-65220fd0f78f394e6c80709085a743d2 activeresource-3.2.13-tests.tgz
-6c6375bee50bf4ebe94956fca8ff09b7 activeresource-3.2.13.gem
+f99d30eaa5dc9493f7b04e6d140ad4cb activeresource-4.0.0-tests.tgz
+bade136345b4dec8ffd3589cfd5dbae8 activeresource-4.0.0.gem
More information about the scm-commits
mailing list