You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltacloud.apache.org by Mark McLoughlin <ma...@redhat.com> on 2011/08/18 10:51:50 UTC
[PATCH 2/3] Client: remove the init.rb
AFAICT, this is completely unused. Rails plugins have an init.rb file,
but not standard gems.
---
client/deltacloud-client.gemspec | 2 +-
client/init.rb | 20 --------------------
2 files changed, 1 insertions(+), 21 deletions(-)
delete mode 100644 client/init.rb
diff --git a/client/deltacloud-client.gemspec b/client/deltacloud-client.gemspec
index 52cbb1a..d81d26f 100644
--- a/client/deltacloud-client.gemspec
+++ b/client/deltacloud-client.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |s|
s.description = %q{Deltacloud REST Client for API}
s.version = '0.4.0'
s.summary = %q{Deltacloud REST Client}
- s.files = Dir['Rakefile', 'lib/**/*.rb', 'init.rb', 'bin/deltacloudc']
+ s.files = Dir['Rakefile', 'lib/**/*.rb', 'bin/deltacloudc']
s.bindir = 'bin'
s.executables = 'deltacloudc'
s.test_files= Dir.glob("specs/**/**")
diff --git a/client/init.rb b/client/init.rb
deleted file mode 100644
index 2d73e78..0000000
--- a/client/init.rb
+++ /dev/null
@@ -1,20 +0,0 @@
-#
-# Copyright (C) 2009 Red Hat, Inc.
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership. The
-# ASF licenses this file to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance with the
-# License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
-# License for the specific language governing permissions and limitations
-# under the License.
-
-
-require 'deltacloud'
\ No newline at end of file
--
1.7.4.4
Re: [PATCH 2/3] Client: remove the init.rb
Posted by Michal Fojtik <mf...@redhat.com>.
On Aug 18, 2011, at 10:51 AM, Mark McLoughlin wrote:
ACK.
-- Michal
> AFAICT, this is completely unused. Rails plugins have an init.rb file,
> but not standard gems.
> ---
> client/deltacloud-client.gemspec | 2 +-
> client/init.rb | 20 --------------------
> 2 files changed, 1 insertions(+), 21 deletions(-)
> delete mode 100644 client/init.rb
>
> diff --git a/client/deltacloud-client.gemspec b/client/deltacloud-client.gemspec
> index 52cbb1a..d81d26f 100644
> --- a/client/deltacloud-client.gemspec
> +++ b/client/deltacloud-client.gemspec
> @@ -25,7 +25,7 @@ Gem::Specification.new do |s|
> s.description = %q{Deltacloud REST Client for API}
> s.version = '0.4.0'
> s.summary = %q{Deltacloud REST Client}
> - s.files = Dir['Rakefile', 'lib/**/*.rb', 'init.rb', 'bin/deltacloudc']
> + s.files = Dir['Rakefile', 'lib/**/*.rb', 'bin/deltacloudc']
> s.bindir = 'bin'
> s.executables = 'deltacloudc'
> s.test_files= Dir.glob("specs/**/**")
> diff --git a/client/init.rb b/client/init.rb
> deleted file mode 100644
> index 2d73e78..0000000
> --- a/client/init.rb
> +++ /dev/null
> @@ -1,20 +0,0 @@
> -#
> -# Copyright (C) 2009 Red Hat, Inc.
> -#
> -# Licensed to the Apache Software Foundation (ASF) under one or more
> -# contributor license agreements. See the NOTICE file distributed with
> -# this work for additional information regarding copyright ownership. The
> -# ASF licenses this file to you under the Apache License, Version 2.0 (the
> -# "License"); you may not use this file except in compliance with the
> -# License. You may obtain a copy of the License at
> -#
> -# http://www.apache.org/licenses/LICENSE-2.0
> -#
> -# Unless required by applicable law or agreed to in writing, software
> -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
> -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
> -# License for the specific language governing permissions and limitations
> -# under the License.
> -
> -
> -require 'deltacloud'
> \ No newline at end of file
> --
> 1.7.4.4
>
------------------------------------------------------
Michal Fojtik, mfojtik@redhat.com
Deltacloud API: http://deltacloud.org