deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfoj...@apache.org
Subject git commit: Remove 'rake' require from gemspec
Date Wed, 22 Aug 2012 10:51:31 GMT
Updated Branches:
  refs/heads/master 286eb19da -> a563ba6b7


Remove 'rake' require from gemspec

* This require cause errors in bundler when Ruby distribution
  does not bundle 'rake'.

Signed-off-by: Michal fojtik <mfojtik@redhat.com>


Project: http://git-wip-us.apache.org/repos/asf/deltacloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltacloud/commit/a563ba6b
Tree: http://git-wip-us.apache.org/repos/asf/deltacloud/tree/a563ba6b
Diff: http://git-wip-us.apache.org/repos/asf/deltacloud/diff/a563ba6b

Branch: refs/heads/master
Commit: a563ba6b77e5d758fd35f1be337acf38f3bf7a35
Parents: 286eb19
Author: Michal Fojtik <mfojtik@redhat.com>
Authored: Wed Aug 22 10:04:39 2012 +0200
Committer: Michal fojtik <mfojtik@redhat.com>
Committed: Wed Aug 22 12:48:09 2012 +0200

----------------------------------------------------------------------
 server/deltacloud-core.gemspec |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltacloud/blob/a563ba6b/server/deltacloud-core.gemspec
----------------------------------------------------------------------
diff --git a/server/deltacloud-core.gemspec b/server/deltacloud-core.gemspec
index 779d703..ddc709d 100644
--- a/server/deltacloud-core.gemspec
+++ b/server/deltacloud-core.gemspec
@@ -14,8 +14,6 @@
 # License for the specific language governing permissions and limitations
 # under the License.
 
-require 'rake'
-
 Gem::Specification.new do |s|
   s.author = 'The Apache Software Foundation'
   s.homepage = "http://www.deltacloud.org"
@@ -32,7 +30,7 @@ Gem::Specification.new do |s|
   s.version = '1.0.2'
   s.date = Time.now
   s.summary = %q{Deltacloud REST API}
-  s.files = FileList[
+  s.files = [
     'Rakefile',
     '*.gemspec',
     'config.ru',
@@ -58,7 +56,7 @@ Gem::Specification.new do |s|
     'public/stylesheets/images/*.png',
     'public/stylesheets/compiled/*.css',
     'bin/deltacloudd'
-  ].to_a
+  ].map { |f| Dir[f] }.flatten
 
   s.bindir = 'bin'
   s.executables = 'deltacloudd'


Mime
View raw message