acts_as_favourites 1.2.0 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +3 -3
- data/lib/acts_as_favorite/version.rb +1 -1
- data/spec/spec_helper.rb +2 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b962041cadc43e173ecd80957f6e7dd5a88c3abc
|
|
4
|
+
data.tar.gz: c511ac26f57a53a59295c238738ae5ede9173b75
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ddfbaf9ab68a59f94d6076ac4a97c7105eeaa249525ab829bb79136a2d7f15c6c5503fe1e80722b7c145e08ab8bc57807e4848c16e67d8025d7fa1d97bcfc9a8
|
|
7
|
+
data.tar.gz: c4952d0b386a7767f354684939a41db05c92db0016c8473f3ea98e0ce00395df840cf461c8e873ee9ee58fc9e0d47f2d3d06c81bb828ecc4a60bef9cf848cb01
|
data/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
#ActsAsFavourites [](https://travis-ci.org/rajcybage/acts_as_favourites) [](https://coveralls.io/r/rajcybage/acts_as_favourites
|
|
2
|
+
#ActsAsFavourites [](https://travis-ci.org/rajcybage/acts_as_favourites) [](https://coveralls.io/r/rajcybage/acts_as_favourites?branch=master%0A)
|
|
3
3
|
|
|
4
4
|
Add favorite fuctionalities to any Active Record models through polymorphic association.
|
|
5
5
|
|
|
@@ -9,7 +9,7 @@ Add favorite fuctionalities to any Active Record models through polymorphic asso
|
|
|
9
9
|
Add this line to your application's Gemfile:
|
|
10
10
|
|
|
11
11
|
```ruby
|
|
12
|
-
gem '
|
|
12
|
+
gem 'acts_as_favourites'
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
And then execute:
|
|
@@ -83,4 +83,4 @@ It is not necessary to use both `acts_as_favorable` and `acts_as_favoriter` . Yo
|
|
|
83
83
|
|
|
84
84
|
## Contributing
|
|
85
85
|
|
|
86
|
-
Issues and pull reqeusts are welcomed.
|
|
86
|
+
Issues and pull reqeusts are welcomed.
|
data/spec/spec_helper.rb
CHANGED
|
@@ -2,10 +2,11 @@ require 'acts_as_favorite'
|
|
|
2
2
|
require 'active_record'
|
|
3
3
|
require 'support/models.rb'
|
|
4
4
|
require 'coveralls'
|
|
5
|
-
|
|
5
|
+
|
|
6
6
|
require 'support/favorite_factory'
|
|
7
7
|
ActiveRecord::Base.establish_connection adapter: 'sqlite3', database: ":memory"
|
|
8
8
|
load 'support/schema.rb'
|
|
9
|
+
Coveralls.wear!
|
|
9
10
|
#load 'support/models.rb'
|
|
10
11
|
# This file was generated by the `rspec --init` command. Conventionally, all
|
|
11
12
|
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: acts_as_favourites
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.2.
|
|
4
|
+
version: 1.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Rajarshi Das
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-06-
|
|
11
|
+
date: 2015-06-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|