forked from railsadminteam/rails_admin
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Made tests work from inside the plugin
- Loading branch information
hurrycane
committed
Aug 25, 2010
1 parent
a9b778d
commit 1c237e4
Showing
126 changed files
with
38,138 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,12 @@ | ||
source 'http://rubygems.org' | ||
|
||
gem 'rails', '3.0.0.rc2' | ||
gem 'sqlite3-ruby', :require => 'sqlite3' | ||
gem 'builder' | ||
|
||
gem 'jeweler' | ||
gem 'devise' | ||
|
||
gem "launchy", ">= 0.3.0" | ||
gem "rspec-rails", ">= 2.0.0.beta.20" | ||
gem "webrat", :git => "git://github.com/kalv/webrat.git" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,119 @@ | ||
GIT | ||
remote: git://github.com/kalv/webrat.git | ||
revision: 66130e4 | ||
specs: | ||
webrat (0.7.2.pre) | ||
nokogiri (>= 1.2.0) | ||
rack (>= 1.0) | ||
rack-test (>= 0.5.3) | ||
|
||
GEM | ||
remote: http://rubygems.org/ | ||
specs: | ||
abstract (1.0.0) | ||
actionmailer (3.0.0.rc2) | ||
actionpack (= 3.0.0.rc2) | ||
mail (~> 2.2.5) | ||
actionpack (3.0.0.rc2) | ||
activemodel (= 3.0.0.rc2) | ||
activesupport (= 3.0.0.rc2) | ||
builder (~> 2.1.2) | ||
erubis (~> 2.6.6) | ||
i18n (~> 0.4.1) | ||
rack (~> 1.2.1) | ||
rack-mount (~> 0.6.12) | ||
rack-test (~> 0.5.4) | ||
tzinfo (~> 0.3.23) | ||
activemodel (3.0.0.rc2) | ||
activesupport (= 3.0.0.rc2) | ||
builder (~> 2.1.2) | ||
i18n (~> 0.4.1) | ||
activerecord (3.0.0.rc2) | ||
activemodel (= 3.0.0.rc2) | ||
activesupport (= 3.0.0.rc2) | ||
arel (~> 1.0.0.rc1) | ||
tzinfo (~> 0.3.23) | ||
activeresource (3.0.0.rc2) | ||
activemodel (= 3.0.0.rc2) | ||
activesupport (= 3.0.0.rc2) | ||
activesupport (3.0.0.rc2) | ||
arel (1.0.0.rc1) | ||
activesupport (>= 3.0.0.beta) | ||
bcrypt-ruby (2.1.2) | ||
devise (1.1.1) | ||
builder (2.1.2) | ||
configuration (1.1.0) | ||
devise (1.1.2) | ||
bcrypt-ruby (~> 2.1.2) | ||
warden (~> 0.10.7) | ||
diff-lcs (1.1.2) | ||
erubis (2.6.6) | ||
abstract (>= 1.0.0) | ||
gemcutter (0.6.1) | ||
git (1.2.5) | ||
i18n (0.4.1) | ||
jeweler (1.4.0) | ||
gemcutter (>= 0.1.0) | ||
git (>= 1.2.5) | ||
rubyforge (>= 2.0.0) | ||
json_pure (1.4.6) | ||
launchy (0.3.7) | ||
configuration (>= 0.0.5) | ||
rake (>= 0.8.1) | ||
mail (2.2.5) | ||
activesupport (>= 2.3.6) | ||
mime-types | ||
treetop (>= 1.4.5) | ||
mime-types (1.16) | ||
nokogiri (1.4.3.1) | ||
polyglot (0.3.1) | ||
rack (1.2.1) | ||
rack-mount (0.6.12) | ||
rack (>= 1.0.0) | ||
rack-test (0.5.4) | ||
rack (>= 1.0) | ||
rails (3.0.0.rc2) | ||
actionmailer (= 3.0.0.rc2) | ||
actionpack (= 3.0.0.rc2) | ||
activerecord (= 3.0.0.rc2) | ||
activeresource (= 3.0.0.rc2) | ||
activesupport (= 3.0.0.rc2) | ||
bundler (>= 1.0.0.rc.6) | ||
railties (= 3.0.0.rc2) | ||
railties (3.0.0.rc2) | ||
actionpack (= 3.0.0.rc2) | ||
activesupport (= 3.0.0.rc2) | ||
rake (>= 0.8.3) | ||
thor (~> 0.14.0) | ||
rake (0.8.7) | ||
rspec (2.0.0.beta.20) | ||
rspec-core (= 2.0.0.beta.20) | ||
rspec-expectations (= 2.0.0.beta.20) | ||
rspec-mocks (= 2.0.0.beta.20) | ||
rspec-core (2.0.0.beta.20) | ||
rspec-expectations (2.0.0.beta.20) | ||
diff-lcs (>= 1.1.2) | ||
rspec-mocks (2.0.0.beta.20) | ||
rspec-rails (2.0.0.beta.20) | ||
rspec (= 2.0.0.beta.20) | ||
rubyforge (2.0.4) | ||
json_pure (>= 1.1.7) | ||
sqlite3-ruby (1.3.1) | ||
thor (0.14.0) | ||
treetop (1.4.8) | ||
polyglot (>= 0.3.1) | ||
tzinfo (0.3.23) | ||
warden (0.10.7) | ||
rack (>= 1.0.0) | ||
|
||
PLATFORMS | ||
ruby | ||
|
||
DEPENDENCIES | ||
builder | ||
devise | ||
jeweler | ||
launchy (>= 0.3.0) | ||
rails (= 3.0.0.rc2) | ||
rspec-rails (>= 2.0.0.beta.20) | ||
sqlite3-ruby | ||
webrat! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,20 @@ | ||
begin | ||
require "jeweler" | ||
Jeweler::Tasks.new do |gem| | ||
gem.name = "rails_admin" | ||
gem.summary = "RailsAdmin for Rails 3" | ||
gem.files = Dir["{lib}/**/*", "{app}/**/*", "{config}/**/*"] | ||
# other fields that would normally go in your gemspec | ||
# like authors, email and has_rdoc can also be included here | ||
|
||
end | ||
rescue | ||
puts "Jeweler or one of its dependencies is not installed." | ||
end | ||
require 'rake' | ||
require 'rake/rdoctask' | ||
require 'rake/gempackagetask' | ||
|
||
require 'rspec/core' | ||
require 'rspec/core/rake_task' | ||
|
||
|
||
require "jeweler" | ||
Jeweler::Tasks.new do |gem| | ||
gem.name = "rails_admin" | ||
gem.summary = "RailsAdmin for Rails 3" | ||
gem.files = Dir["{lib}/**/*", "{app}/**/*", "{config}/**/*"] | ||
# other fields that would normally go in your gemspec | ||
# like authors, email and has_rdoc can also be included here | ||
end | ||
|
||
Rspec::Core::RakeTask.new(:spec) | ||
|
||
task :default => :spec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
source 'http://rubygems.org' | ||
|
||
gem 'rails', '3.0.0.rc2' | ||
gem 'sqlite3-ruby', :require => 'sqlite3' | ||
gem 'builder' | ||
|
||
# To use debugger | ||
# gem 'ruby-debug' | ||
|
||
gem 'devise' | ||
|
||
# Bundle gems for the local environment. Make sure to | ||
# put test-only gems in this group so their generators | ||
# and rake tasks are available in development mode: | ||
group :development, :test do | ||
gem "launchy", ">= 0.3.0" | ||
gem "rspec-rails", ">= 2.0.0.beta.20" | ||
gem "webrat", :git => "git://github.com/kalv/webrat.git" | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,109 @@ | ||
GIT | ||
remote: git://github.com/kalv/webrat.git | ||
revision: 66130e4 | ||
specs: | ||
webrat (0.7.2.pre) | ||
nokogiri (>= 1.2.0) | ||
rack (>= 1.0) | ||
rack-test (>= 0.5.3) | ||
|
||
GEM | ||
remote: http://rubygems.org/ | ||
specs: | ||
abstract (1.0.0) | ||
actionmailer (3.0.0.rc2) | ||
actionpack (= 3.0.0.rc2) | ||
mail (~> 2.2.5) | ||
actionpack (3.0.0.rc2) | ||
activemodel (= 3.0.0.rc2) | ||
activesupport (= 3.0.0.rc2) | ||
builder (~> 2.1.2) | ||
erubis (~> 2.6.6) | ||
i18n (~> 0.4.1) | ||
rack (~> 1.2.1) | ||
rack-mount (~> 0.6.12) | ||
rack-test (~> 0.5.4) | ||
tzinfo (~> 0.3.23) | ||
activemodel (3.0.0.rc2) | ||
activesupport (= 3.0.0.rc2) | ||
builder (~> 2.1.2) | ||
i18n (~> 0.4.1) | ||
activerecord (3.0.0.rc2) | ||
activemodel (= 3.0.0.rc2) | ||
activesupport (= 3.0.0.rc2) | ||
arel (~> 1.0.0.rc1) | ||
tzinfo (~> 0.3.23) | ||
activeresource (3.0.0.rc2) | ||
activemodel (= 3.0.0.rc2) | ||
activesupport (= 3.0.0.rc2) | ||
activesupport (3.0.0.rc2) | ||
arel (1.0.0.rc1) | ||
activesupport (>= 3.0.0.beta) | ||
bcrypt-ruby (2.1.2) | ||
builder (2.1.2) | ||
configuration (1.1.0) | ||
devise (1.1.2) | ||
bcrypt-ruby (~> 2.1.2) | ||
warden (~> 0.10.7) | ||
diff-lcs (1.1.2) | ||
erubis (2.6.6) | ||
abstract (>= 1.0.0) | ||
i18n (0.4.1) | ||
launchy (0.3.7) | ||
configuration (>= 0.0.5) | ||
rake (>= 0.8.1) | ||
mail (2.2.5) | ||
activesupport (>= 2.3.6) | ||
mime-types | ||
treetop (>= 1.4.5) | ||
mime-types (1.16) | ||
nokogiri (1.4.3.1) | ||
polyglot (0.3.1) | ||
rack (1.2.1) | ||
rack-mount (0.6.12) | ||
rack (>= 1.0.0) | ||
rack-test (0.5.4) | ||
rack (>= 1.0) | ||
rails (3.0.0.rc2) | ||
actionmailer (= 3.0.0.rc2) | ||
actionpack (= 3.0.0.rc2) | ||
activerecord (= 3.0.0.rc2) | ||
activeresource (= 3.0.0.rc2) | ||
activesupport (= 3.0.0.rc2) | ||
bundler (>= 1.0.0.rc.6) | ||
railties (= 3.0.0.rc2) | ||
railties (3.0.0.rc2) | ||
actionpack (= 3.0.0.rc2) | ||
activesupport (= 3.0.0.rc2) | ||
rake (>= 0.8.3) | ||
thor (~> 0.14.0) | ||
rake (0.8.7) | ||
rspec (2.0.0.beta.20) | ||
rspec-core (= 2.0.0.beta.20) | ||
rspec-expectations (= 2.0.0.beta.20) | ||
rspec-mocks (= 2.0.0.beta.20) | ||
rspec-core (2.0.0.beta.20) | ||
rspec-expectations (2.0.0.beta.20) | ||
diff-lcs (>= 1.1.2) | ||
rspec-mocks (2.0.0.beta.20) | ||
rspec-rails (2.0.0.beta.20) | ||
rspec (= 2.0.0.beta.20) | ||
sqlite3-ruby (1.3.1) | ||
thor (0.14.0) | ||
treetop (1.4.8) | ||
polyglot (>= 0.3.1) | ||
tzinfo (0.3.23) | ||
warden (0.10.7) | ||
rack (>= 1.0.0) | ||
|
||
PLATFORMS | ||
ruby | ||
|
||
DEPENDENCIES | ||
builder | ||
devise | ||
launchy (>= 0.3.0) | ||
rails (= 3.0.0.rc2) | ||
rspec-rails (>= 2.0.0.beta.20) | ||
sqlite3-ruby | ||
webrat! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Add your own tasks in files placed in lib/tasks ending in .rake, | ||
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake. | ||
|
||
require File.expand_path('../config/application', __FILE__) | ||
require 'rake' | ||
|
||
RailsAdmin::Application.load_tasks |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
class ApplicationController < ActionController::Base | ||
protect_from_forgery | ||
end |
Oops, something went wrong.