acts_as_friendable 0.5.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.travis.yml +6 -0
- data/README.md +2 -2
- data/lib/acts_as_friendable/version.rb +1 -1
- data/lib/generators/acts_as_friendable/install/install_generator.rb +1 -1
- data/lib/generators/acts_as_friendable/install/templates/{migration.rb → friendships.rb} +1 -1
- data/spec/config/database.yml.sample +0 -4
- data/spec/generators/install_generator_spec.rb +1 -1
- metadata +3 -2
data/.travis.yml
ADDED
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# ActsAsFriendable
|
1
|
+
# ActsAsFriendable [![Build Status](https://travis-ci.org/jrmyward/acts_as_friendable.png?branch=master)](https://travis-ci.org/jrmyward/acts_as_friendable)
|
2
2
|
|
3
3
|
ActsAsFriendable provides a Friendship model, relevent scopes, and many instance methods to quickly and easily add Social Networking functionality to your Rails application.
|
4
4
|
|
@@ -24,7 +24,7 @@ Install and run the migrations:
|
|
24
24
|
|
25
25
|
```shell
|
26
26
|
rails g acts_as_friendable:install
|
27
|
-
|
27
|
+
rake db:migrate
|
28
28
|
```
|
29
29
|
|
30
30
|
## Usage
|
@@ -4,16 +4,12 @@ sqlite3:
|
|
4
4
|
|
5
5
|
mysql:
|
6
6
|
adapter: mysql2
|
7
|
-
hostname: localhost
|
8
7
|
username: root
|
9
|
-
password:
|
10
8
|
database: acts_as_friendable
|
11
9
|
charset: utf8
|
12
10
|
|
13
11
|
postgresql:
|
14
12
|
adapter: postgresql
|
15
|
-
hostname: localhost
|
16
13
|
username: postgres
|
17
|
-
password:
|
18
14
|
database: acts_as_friendable
|
19
15
|
encoding: utf8
|
@@ -16,7 +16,7 @@ describe ActsAsFriendable::Generators::InstallGenerator do
|
|
16
16
|
before { run_generator }
|
17
17
|
|
18
18
|
describe 'db/migrate/acts_as_friendable.rb' do
|
19
|
-
subject { file('db/migrate/
|
19
|
+
subject { file('db/migrate/create_acts_as_friendable_friendships.rb') }
|
20
20
|
it { should be_a_migration }
|
21
21
|
end
|
22
22
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: acts_as_friendable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -102,6 +102,7 @@ extra_rdoc_files: []
|
|
102
102
|
files:
|
103
103
|
- .gitignore
|
104
104
|
- .rspec
|
105
|
+
- .travis.yml
|
105
106
|
- Gemfile
|
106
107
|
- LICENSE.txt
|
107
108
|
- README.md
|
@@ -112,7 +113,7 @@ files:
|
|
112
113
|
- lib/acts_as_friendable/model_additions.rb
|
113
114
|
- lib/acts_as_friendable/version.rb
|
114
115
|
- lib/generators/acts_as_friendable/install/install_generator.rb
|
115
|
-
- lib/generators/acts_as_friendable/install/templates/
|
116
|
+
- lib/generators/acts_as_friendable/install/templates/friendships.rb
|
116
117
|
- rails/init.rb
|
117
118
|
- spec/acts_as_friendable/friendships_spec.rb
|
118
119
|
- spec/acts_as_friendable/model_additions_spec.rb
|