Skip to content

Commit

Permalink
Removing development dependencies (not worth the trouble), upgrading …
Browse files Browse the repository at this point in the history
…rack-test, spec Rakefile uses active_wrapper-solo
  • Loading branch information
winton committed Jan 10, 2011
1 parent 459a667 commit 2a4a77a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 30 deletions.
23 changes: 1 addition & 22 deletions README.md
Expand Up @@ -116,25 +116,4 @@ This copies all records with non-null <code>deleted_at</code> values to the arch
Running specs
-------------

Contributions are always welcome.

<pre>
gem install acts_as_archive --development
spec/run
</pre>

<code>spec/run</code> essentially runs the following:

<pre>
ACTIVERECORD=3 spec spec
ACTIVERECORD=2 spec spec/acts_as_archive_spec.rb
RAILS=2 spec spec/acts_as_archive_spec.rb
RAILS=3 spec spec/acts_as_archive_spec.rb
SINATRA=1 spec spec/acts_as_archive_spec.rb
</pre>

If you want to hack on the supporting gems ([mover](http://github.com/winton/mover) and [also_migrate](http://github.com/winton/also_migrate)), vendor them with the following command:

<pre>
externals un
</pre>
There is a [wiki entry](https://github.com/winton/acts_as_archive/wiki/Running-Specs) that describes the development setup in-depth.
2 changes: 1 addition & 1 deletion config/gemsets.yml
Expand Up @@ -7,4 +7,4 @@ acts_as_archive:
externals: =1.0.2
framework_fixture: =0.1.3
mover: =0.3.6
rack-test: =0.5.6
rack-test: =0.5.7
7 changes: 1 addition & 6 deletions config/gemspec.yml
Expand Up @@ -9,9 +9,4 @@ description: Don't delete your records, move them to a different table. Like act
dependencies:
- also_migrate
- mover
development_dependencies:
- active_wrapper-solo
- externals
- framework_fixture
- rake
- rspec
development_dependencies: nil
2 changes: 1 addition & 1 deletion spec/Rakefile
@@ -1,5 +1,5 @@
require File.expand_path(File.dirname(__FILE__) + '/../lib/acts_as_archive/gems')
ActsAsArchive::Gems.activate :active_wrapper
ActsAsArchive::Gems.activate 'active_wrapper-solo'

require 'active_wrapper/tasks'

Expand Down

0 comments on commit 2a4a77a

Please sign in to comment.