[DRE-commits] [ruby-actionpack-page-caching] 02/04: Updating files

Balasankar C balasankarc-guest at moszumanska.debian.org
Sat Jan 17 05:56:46 UTC 2015


This is an automated email from the git hooks/post-receive script.

balasankarc-guest pushed a commit to branch master
in repository ruby-actionpack-page-caching.

commit a86b094ea5981ca5cdeda2b2a5aa4ec204b86433
Author: Balasankar C <balasankarc at autistici.org>
Date:   Fri Nov 21 18:57:15 2014 +0530

    Updating files
---
 debian/changelog                         |  6 ++---
 debian/control                           | 19 ++++++++++----
 debian/copyright                         | 44 +++++++++++++++-----------------
 debian/patches/Bundler-Dependency        | 17 ++++++++++++
 debian/patches/series                    |  1 +
 debian/ruby-actionpack-page-caching.docs |  3 +--
 debian/ruby-tests.rake                   |  6 +++++
 debian/rules                             |  3 +++
 test/abstract_unit.rb                    |  2 +-
 9 files changed, 66 insertions(+), 35 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index a653761..9b30502 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,5 @@
-ruby-actionpack-page-caching (1.0.2-1) UNRELEASED; urgency=medium
+ruby-actionpack-page-caching (1.0.2-1) unstable; urgency=medium
 
-  * Initial release (Closes: #nnnn)
+  * Initial release (Closes: #123456)
 
- -- Balasankar C <balasankarc at autistici.org>  Fri, 21 Nov 2014 18:55:21 +0530
+ -- Balasankar C <balasankarc at autistici.org>  Thu, 20 Nov 2014 18:26:29 +0530
diff --git a/debian/control b/debian/control
index 3e61052..31b5877 100644
--- a/debian/control
+++ b/debian/control
@@ -3,12 +3,12 @@ Section: ruby
 Priority: optional
 Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
 Uploaders: Balasankar C <balasankarc at autistici.org>
-Build-Depends: debhelper (>= 7.0.50~), gem2deb
-Standards-Version: 3.9.5
+Build-Depends: debhelper (>= 7.0.50~), gem2deb, ruby-actionpack, ruby-minitest
+Standards-Version: 3.9.6
 Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-actionpack-page-caching.git
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/ruby-actionpack-page-caching.git;a=summary
 Homepage: https://github.com/rails/actionpack-page_caching
-Testsuite: autopkgtest
+Testsuite: autopkgtest-pkg-ruby
 XS-Ruby-Versions: all
 
 Package: ruby-actionpack-page-caching
@@ -16,5 +16,14 @@ Architecture: all
 XB-Ruby-Versions: ${ruby:Versions}
 Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter
 # actionpack (< 5, >= 4.0.0), mocha (>= 0, development)
-Description: Static page caching for Action Pack (removed from core in Rails 4.0)
- Static page caching for Action Pack (removed from core in Rails 4.0)
+Description: static page caching for Action Pack (removed from core in Rails 4.0)
+ Static page caching for Action Pack (removed from core in Rails 4.0). Page 
+ caching is an approach to caching where the entire action output of is stored 
+ as a HTML file that the web server can serve without going through Action Pack.
+  This is the fastest way to cache your content as opposed to going dynamically 
+ through the process of generating the content. Unfortunately, this incredible 
+ speed-up is only available to stateless pages where all visitors are treated 
+ the same. Content management systems -- including weblogs and wikis -- have 
+ many pages that are a great fit for this approach, but account-based systems 
+ where people log in and manipulate their own data are often less likely 
+ candidates.
diff --git a/debian/copyright b/debian/copyright
index 5841e07..31c16d4 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,35 +1,31 @@
 Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: actionpack-page_caching
-Source: FIXME <http://example.com/>
+Source: https://github.com/rails/actionpack-page_caching
 
 Files: *
-Copyright: <years> <put author's name and email here>
-           <years> <likewise for another author>
-License: GPL-2+ (FIXME)
+Copyright: 2012 David Heinemeier Hansson <david at basecamp.com>
+License: Expat
 
 Files: debian/*
 Copyright: 2014 Balasankar C <balasankarc at autistici.org>
-License: GPL-2+ (FIXME)
+License: Expat
 Comment: the Debian packaging is licensed under the same terms as the original package.
 
-License: GPL-2+ (FIXME)
- This program is free software; you can redistribute it
- and/or modify it under the terms of the GNU General Public
- License as published by the Free Software Foundation; either
- version 2 of the License, or (at your option) any later
- version.
+License: Expat
+ 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:
  .
- This program is distributed in the hope that it will be
- useful, but WITHOUT ANY WARRANTY; without even the implied
- warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.  See the GNU General Public License for more
- details.
+ The above copyright notice and this permission notice shall be included in
+ all copies or substantial portions of the Software.
  .
- You should have received a copy of the GNU General Public
- License along with this package; if not, write to the Free
- Software Foundation, Inc., 51 Franklin St, Fifth Floor,
- Boston, MA  02110-1301 USA
- .
- On Debian systems, the full text of the GNU General Public
- License version 2 can be found in the file
- `/usr/share/common-licenses/GPL-2'.
+ 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/debian/patches/Bundler-Dependency b/debian/patches/Bundler-Dependency
new file mode 100644
index 0000000..0758c4a
--- /dev/null
+++ b/debian/patches/Bundler-Dependency
@@ -0,0 +1,17 @@
+Description: Bundler Dependency
+ Removing bundler dependecy from test file.
+ .
+ ruby-actionpack-page-caching (1.0.2-1) UNRELEASED; urgency=medium
+ .
+   * Initial release (Closes: #nnnn)
+Author: Balasankar C <balasankarc at autistici.org>
+
+
+--- ruby-actionpack-page-caching-1.0.2.orig/test/abstract_unit.rb
++++ ruby-actionpack-page-caching-1.0.2/test/abstract_unit.rb
+@@ -1,4 +1,4 @@
+-require 'bundler/setup'
++#require 'bundler/setup'
+ require 'minitest/autorun'
+ require 'action_controller'
+ require 'action_controller/page_caching'
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..1d5f1b8
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+Bundler-Dependency
diff --git a/debian/ruby-actionpack-page-caching.docs b/debian/ruby-actionpack-page-caching.docs
index 07b3c9e..b43bf86 100644
--- a/debian/ruby-actionpack-page-caching.docs
+++ b/debian/ruby-actionpack-page-caching.docs
@@ -1,2 +1 @@
-# FIXME: READMEs found
-# README.md
+README.md
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
new file mode 100644
index 0000000..b0a678a
--- /dev/null
+++ b/debian/ruby-tests.rake
@@ -0,0 +1,6 @@
+require 'gem2deb/rake/testtask'
+
+Gem2Deb::Rake::TestTask.new do |t|
+    t.libs << 'test' << '.'
+  t.test_files =  FileList['test/*_test.rb']
+end
diff --git a/debian/rules b/debian/rules
index d81794d..2cf4254 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,3 +13,6 @@
 
 %:
 	dh $@ --buildsystem=ruby --with ruby
+
+override_dh_installchangelogs:
+	dh_installchangelogs CHANGELOG.md
diff --git a/test/abstract_unit.rb b/test/abstract_unit.rb
index c87f799..4054233 100644
--- a/test/abstract_unit.rb
+++ b/test/abstract_unit.rb
@@ -1,4 +1,4 @@
-require 'bundler/setup'
+#require 'bundler/setup'
 require 'minitest/autorun'
 require 'action_controller'
 require 'action_controller/page_caching'

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-actionpack-page-caching.git



More information about the Pkg-ruby-extras-commits mailing list