ar-octopus 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -1
- data/.travis.yml +7 -6
- data/README.mkdn +1 -1
- data/Rakefile +21 -1
- data/gemfiles/rails30.gemfile +8 -0
- data/gemfiles/rails31.gemfile +7 -0
- data/gemfiles/rails32.gemfile +7 -0
- data/lib/octopus.rb +4 -1
- data/lib/octopus/model.rb +15 -0
- data/lib/octopus/version.rb +1 -1
- data/sample_app/Gemfile +9 -10
- data/sample_app/README.rdoc +261 -0
- data/sample_app/Rakefile +2 -2
- data/sample_app/app/assets/images/rails.png +0 -0
- data/sample_app/app/assets/javascripts/application.js +15 -0
- data/sample_app/app/assets/stylesheets/application.css +13 -0
- data/sample_app/app/mailers/.gitkeep +0 -0
- data/sample_app/app/models/.gitkeep +0 -0
- data/sample_app/config/application.rb +30 -14
- data/sample_app/config/boot.rb +3 -10
- data/sample_app/config/database.yml +18 -15
- data/sample_app/config/environments/development.rb +22 -4
- data/sample_app/config/environments/production.rb +35 -14
- data/sample_app/config/environments/test.rb +13 -8
- data/sample_app/config/initializers/inflections.rb +5 -0
- data/sample_app/config/initializers/secret_token.rb +1 -1
- data/sample_app/config/initializers/session_store.rb +3 -3
- data/sample_app/config/initializers/wrap_parameters.rb +14 -0
- data/sample_app/config/locales/en.yml +1 -1
- data/sample_app/config/routes.rb +1 -1
- data/sample_app/db/schema.rb +7 -8
- data/sample_app/features/support/database.rb +13 -0
- data/sample_app/features/support/env.rb +43 -58
- data/sample_app/lib/assets/.gitkeep +0 -0
- data/sample_app/lib/tasks/cucumber.rake +15 -3
- data/sample_app/log/.gitkeep +0 -0
- data/sample_app/vendor/assets/javascripts/.gitkeep +0 -0
- data/sample_app/vendor/assets/stylesheets/.gitkeep +0 -0
- data/spec/octopus/association_spec.rb +1 -1
- data/spec/octopus/octopus_spec.rb +4 -4
- data/spec/octopus/proxy_spec.rb +40 -7
- data/spec/octopus/replication_spec.rb +1 -1
- data/spec/octopus/sharded_spec.rb +1 -1
- data/spec/spec_helper.rb +0 -2
- data/spec/support/database_models.rb +21 -0
- data/spec/support/octopus_helper.rb +7 -1
- metadata +175 -156
- data/sample_app/test/performance/browsing_test.rb +0 -9
- data/sample_app/test/test_helper.rb +0 -13
@@ -1,13 +0,0 @@
|
|
1
|
-
ENV["RAILS_ENV"] = "test"
|
2
|
-
require File.expand_path('../../config/environment', __FILE__)
|
3
|
-
require 'rails/test_help'
|
4
|
-
|
5
|
-
class ActiveSupport::TestCase
|
6
|
-
# Setup all fixtures in test/fixtures/*.(yml|csv) for all tests in alphabetical order.
|
7
|
-
#
|
8
|
-
# Note: You'll currently still have to declare fixtures explicitly in integration tests
|
9
|
-
# -- they do not yet inherit this setting
|
10
|
-
fixtures :all
|
11
|
-
|
12
|
-
# Add more helper methods to be used by all tests here...
|
13
|
-
end
|