You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@deltacloud.apache.org by mf...@apache.org on 2012/08/22 12:51:31 UTC
git commit: Remove 'rake' require from gemspec
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 <mf...@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 <mf...@redhat.com>
Authored: Wed Aug 22 10:04:39 2012 +0200
Committer: Michal fojtik <mf...@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'