acts_as_favoritor 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/LICENSE +1 -1
- data/README.md +1 -3
- data/lib/acts_as_favoritor.rb +2 -11
- data/lib/acts_as_favoritor/configuration.rb +10 -0
- data/lib/acts_as_favoritor/favoritable.rb +1 -1
- data/lib/acts_as_favoritor/favorite_scopes.rb +1 -1
- data/lib/acts_as_favoritor/favoritor.rb +425 -425
- data/lib/acts_as_favoritor/railtie.rb +1 -1
- data/lib/acts_as_favoritor/version.rb +1 -1
- data/lib/generators/templates/model.rb +1 -2
- metadata +3 -44
- data/.github/issue_template.md +0 -14
- data/.github/pull_request_template.md +0 -21
- data/.gitignore +0 -8
- data/.travis.yml +0 -3
- data/CODE_OF_CONDUCT.md +0 -46
- data/CONTRIBUTING.md +0 -1
- data/DEPRECATIONS.md +0 -5
- data/Gemfile +0 -9
- data/INSTALL.md +0 -3
- data/Rakefile +0 -16
- data/acts_as_favoritor.gemspec +0 -30
- data/init.rb +0 -1
- data/test/acts_as_favoritable_test.rb +0 -283
- data/test/acts_as_favoritor_test.rb +0 -224
- data/test/dummy30/Gemfile +0 -1
- data/test/dummy30/Rakefile +0 -4
- data/test/dummy30/app/models/application_record.rb +0 -3
- data/test/dummy30/app/models/band.rb +0 -4
- data/test/dummy30/app/models/band/punk.rb +0 -4
- data/test/dummy30/app/models/band/punk/pop_punk.rb +0 -4
- data/test/dummy30/app/models/custom_record.rb +0 -3
- data/test/dummy30/app/models/some.rb +0 -5
- data/test/dummy30/app/models/user.rb +0 -5
- data/test/dummy30/config.ru +0 -2
- data/test/dummy30/config/application.rb +0 -14
- data/test/dummy30/config/boot.rb +0 -10
- data/test/dummy30/config/database.yml +0 -6
- data/test/dummy30/config/environment.rb +0 -5
- data/test/dummy30/config/environments/development.rb +0 -7
- data/test/dummy30/config/environments/test.rb +0 -6
- data/test/dummy30/config/initializers/acts_as_favoritor.rb +0 -9
- data/test/dummy30/config/initializers/secret_token.rb +0 -1
- data/test/dummy30/config/initializers/session_store.rb +0 -1
- data/test/dummy30/config/locales/en.yml +0 -2
- data/test/dummy30/config/routes.rb +0 -2
- data/test/factories/bands.rb +0 -17
- data/test/factories/somes.rb +0 -9
- data/test/factories/users.rb +0 -13
- data/test/favorite_test.rb +0 -10
- data/test/schema.rb +0 -26
- data/test/test_helper.rb +0 -22
data/test/test_helper.rb
DELETED
@@ -1,22 +0,0 @@
|
|
1
|
-
# Configure Rails Envinronment
|
2
|
-
ENV['RAILS_ENV'] = 'test'
|
3
|
-
|
4
|
-
# # Test Coverage
|
5
|
-
# require 'simplecov'
|
6
|
-
# SimpleCov.start
|
7
|
-
|
8
|
-
require File.expand_path '../dummy30/config/environment.rb', __FILE__
|
9
|
-
require 'rails/test_help'
|
10
|
-
|
11
|
-
ActiveRecord::Base.logger = Logger.new File.dirname(__FILE__) + '/debug.log'
|
12
|
-
ActiveRecord::Migration.verbose = false
|
13
|
-
|
14
|
-
load File.dirname(__FILE__) + '/schema.rb'
|
15
|
-
|
16
|
-
require File.dirname(__FILE__) + '/../lib/generators/templates/model.rb'
|
17
|
-
|
18
|
-
require 'shoulda'
|
19
|
-
require 'shoulda_create'
|
20
|
-
require 'factory_girl'
|
21
|
-
ActiveSupport::TestCase.extend ShouldaCreate
|
22
|
-
FactoryGirl.find_definitions
|