groupify 0.7.0 → 0.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -0
- data/CHANGELOG.md +21 -1
- data/Rakefile +7 -1
- data/groupify.gemspec +1 -1
- data/lib/generators/groupify/active_record/migration/templates/migration.rb +1 -1
- data/lib/groupify/adapter/active_record/group.rb +1 -0
- data/lib/groupify/version.rb +1 -1
- data/spec/db/schema.rb +2 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e5a7c94016dfb89d80fa168432ac5264715eeb99
|
4
|
+
data.tar.gz: 76fea4b6d592cdfaf49100193b626229015eb0a9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8f8c9ec44a6fc7d8dfaa51719fb44dabfca72e4b03f1c947bc731ff64674a4299f6f12be1347bb0f29f0b775af12094e9ee7c3de08ecbbab2c22b57ed4e52014
|
7
|
+
data.tar.gz: 6510cefc1fb9b8dd15d065a89e462ebc4f3cc3d25f8d4e868ea1eca1067ea6f7f61e7c2fbe3067fd9dd2fdb7c6a9e75e667516d61df4d440098dcebddbaca862
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,25 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## [0.7.1](https://github.com/dwbutler/groupify/tree/0.7.1) (2015-11-19)
|
4
|
+
[Full Changelog](https://github.com/dwbutler/groupify/compare/v0.7.0...0.7.1)
|
5
|
+
|
6
|
+
**Fixed bugs:**
|
7
|
+
|
8
|
+
- Save using member resource id [\#33](https://github.com/dwbutler/groupify/issues/33)
|
9
|
+
|
10
|
+
**Merged pull requests:**
|
11
|
+
|
12
|
+
- Fixes the `member\_ids=` auto generated method on groups [\#34](https://github.com/dwbutler/groupify/pull/34) ([dwbutler](https://github.com/dwbutler))
|
13
|
+
|
14
|
+
## [v0.7.0](https://github.com/dwbutler/groupify/tree/v0.7.0) (2015-09-09)
|
15
|
+
[Full Changelog](https://github.com/dwbutler/groupify/compare/v0.6.3...v0.7.0)
|
16
|
+
|
17
|
+
**Implemented enhancements:**
|
18
|
+
|
19
|
+
- Options for acts\_as\_group like class name for group\_membership [\#19](https://github.com/dwbutler/groupify/issues/19)
|
20
|
+
- Migration Generator [\#1](https://github.com/dwbutler/groupify/issues/1)
|
21
|
+
- Make group and group membership class names configurable [\#32](https://github.com/dwbutler/groupify/pull/32) ([dwbutler](https://github.com/dwbutler))
|
22
|
+
|
3
23
|
## [v0.6.3](https://github.com/dwbutler/groupify/tree/v0.6.3) (2015-08-24)
|
4
24
|
[Full Changelog](https://github.com/dwbutler/groupify/compare/v0.6.2...v0.6.3)
|
5
25
|
|
@@ -87,4 +107,4 @@
|
|
87
107
|
## [v0.4.0](https://github.com/dwbutler/groupify/tree/v0.4.0) (2013-07-01)
|
88
108
|
|
89
109
|
|
90
|
-
\* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
|
110
|
+
\* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
|
data/Rakefile
CHANGED
@@ -9,4 +9,10 @@ RSpec::Core::RakeTask.new do |t|
|
|
9
9
|
t.verbose = false
|
10
10
|
end
|
11
11
|
|
12
|
-
task
|
12
|
+
require 'github_changelog_generator/task'
|
13
|
+
desc "Regenerate changelog"
|
14
|
+
GitHubChangelogGenerator::RakeTask.new :changelog do |config|
|
15
|
+
config.future_release = '0.7.1'
|
16
|
+
end
|
17
|
+
|
18
|
+
task :default => :spec
|
data/groupify.gemspec
CHANGED
@@ -24,7 +24,7 @@ Gem::Specification.new do |gem|
|
|
24
24
|
gem.add_development_dependency "rspec", ">= 3"
|
25
25
|
|
26
26
|
gem.add_development_dependency "database_cleaner", "~> 1.3.0"
|
27
|
-
gem.add_development_dependency "combustion"
|
27
|
+
gem.add_development_dependency "combustion", ">= 0.5.0"
|
28
28
|
gem.add_development_dependency "appraisal"
|
29
29
|
|
30
30
|
gem.add_development_dependency "github_changelog_generator"
|
@@ -5,7 +5,7 @@ class GroupifyMigration < ActiveRecord::Migration
|
|
5
5
|
end
|
6
6
|
|
7
7
|
create_table :group_memberships do |t|
|
8
|
-
t.references :member, polymorphic: true, index: true
|
8
|
+
t.references :member, polymorphic: true, index: true, null: false
|
9
9
|
t.references :group, polymorphic: true, index: true
|
10
10
|
|
11
11
|
# The named group to which a member belongs (if using)
|
data/lib/groupify/version.rb
CHANGED
data/spec/db/schema.rb
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
ActiveRecord::Schema.define(version: 0) do
|
2
2
|
create_table :groups do |t|
|
3
|
-
t.string :name
|
4
3
|
t.string :type
|
4
|
+
t.string :name
|
5
5
|
end
|
6
6
|
|
7
7
|
create_table :group_memberships do |t|
|
8
|
-
t.references :member, polymorphic: true, index: true
|
8
|
+
t.references :member, polymorphic: true, index: true, null: false
|
9
9
|
t.references :group, polymorphic: true, index: true
|
10
10
|
t.string :group_name, index: true
|
11
11
|
t.string :membership_type
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: groupify
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- dwbutler
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-11-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mongoid
|
@@ -78,14 +78,14 @@ dependencies:
|
|
78
78
|
requirements:
|
79
79
|
- - ">="
|
80
80
|
- !ruby/object:Gem::Version
|
81
|
-
version:
|
81
|
+
version: 0.5.0
|
82
82
|
type: :development
|
83
83
|
prerelease: false
|
84
84
|
version_requirements: !ruby/object:Gem::Requirement
|
85
85
|
requirements:
|
86
86
|
- - ">="
|
87
87
|
- !ruby/object:Gem::Version
|
88
|
-
version:
|
88
|
+
version: 0.5.0
|
89
89
|
- !ruby/object:Gem::Dependency
|
90
90
|
name: appraisal
|
91
91
|
requirement: !ruby/object:Gem::Requirement
|