On 22/08/12 15:48 +0200, jstransk(a)redhat.com wrote:
From: Jiri Stransky <jstransk(a)redhat.com>
This commit makes aeolus-image ready for development when using Bundler.
Gemfile is added, just references the gemspec.
Gitignore file is added with Bundler-related things (ignores also
Gemfile.lock, which is common practice for gems).
Development dependencies, which are required to run specs but were
previously missing from the gemspec, are added.
---
For now, this gemspec is actually duplicated in the Rakefile, due to
some messy stuff we have with an rpm-building rake task. That can be
cleaned up, I just forget it is there until a patch like this comes
through. Basically the Rakefile should just read in the gemspec. I
am not sure if it is worth the effort, given the closeness to eol of
this gem, but if you want to fix that as part of this patch rather
than duplicate the gemspec additions, feel free. We'll need one or
the other to push this though.
-j
.gitignore | 3 +++
Gemfile | 3 +++
aeolus-image.gemspec | 4 ++++
3 files changed, 10 insertions(+)
create mode 100644 .gitignore
create mode 100644 Gemfile
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..b15f11d
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+/.bundle
+/Gemfile.lock
+/bundle
diff --git a/Gemfile b/Gemfile
new file mode 100644
index 0000000..a1b93f3
--- /dev/null
+++ b/Gemfile
@@ -0,0 +1,3 @@
+source :rubygems
+
+gemspec
diff --git a/aeolus-image.gemspec b/aeolus-image.gemspec
index f35dcab..044b41e 100644
--- a/aeolus-image.gemspec
+++ b/aeolus-image.gemspec
@@ -18,4 +18,8 @@ Gem::Specification.new do |s|
s.add_dependency "rest-client"
s.add_development_dependency('rspec', '>=1.3.0')
+ s.add_development_dependency('rake')
+ s.add_development_dependency('vcr', '~> 1.11')
+ s.add_development_dependency('webmock')
+ s.add_development_dependency('timecop')
end
--
1.7.11.2