rhino_project_organizations 0.20.0.beta.43 → 0.20.0.beta.45
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5170f869a0f7cf74f6a72a71909dc2d696e619d61c76367f60f226845a7dcb3e
|
4
|
+
data.tar.gz: 784386932ca183f3a53d53ed55ff1aad607f9c00be6feb7f0919d127931ae67f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5c00d411d8cfa46d0d98555866b328f432f060a72c5ff19a8328670c8640ad2dcd34e217156a28e231997649fa8448f006b4b1dd037845745365510625165fd4
|
7
|
+
data.tar.gz: 4ee9fc5f8b84072fe8a9ef236eeb7c27eee2adf0c086d2d021ea612a6807f576b2785e417538ca850b81396da80328c8878d8c1991a280f63fae0ec2255937e1
|
@@ -42,6 +42,12 @@ module RhinoOrganizations
|
|
42
42
|
inject_into_file 'config/initializers/rhino.rb', optimize_indentation(data, 2), after: /^\s*config\.resources.+\n/
|
43
43
|
end
|
44
44
|
|
45
|
+
def install_seeds
|
46
|
+
say 'Copying seed files'
|
47
|
+
copy_file "#{__dir__}/templates/seeds/organizations.rb", 'db/seeds/development/organizations.rb'
|
48
|
+
copy_file "#{__dir__}/templates/seeds/organizations.rb", 'db/seeds/test/organizations.rb'
|
49
|
+
end
|
50
|
+
|
45
51
|
def install_active_admin # rubocop:disable Metrics/MethodLength
|
46
52
|
say 'Copying rhino_organization ActiveAdmin files and configurations'
|
47
53
|
copy_file "#{__dir__}/templates/admin/users_roles.rb", 'app/admin/users_roles.rb'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rhino_project_organizations
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.20.0.beta.
|
4
|
+
version: 0.20.0.beta.45
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- JP Rosevear
|
@@ -36,14 +36,14 @@ dependencies:
|
|
36
36
|
requirements:
|
37
37
|
- - '='
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version: 0.20.0.beta.
|
39
|
+
version: 0.20.0.beta.45
|
40
40
|
type: :runtime
|
41
41
|
prerelease: false
|
42
42
|
version_requirements: !ruby/object:Gem::Requirement
|
43
43
|
requirements:
|
44
44
|
- - '='
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: 0.20.0.beta.
|
46
|
+
version: 0.20.0.beta.45
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: devise_invitable
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|
@@ -91,6 +91,7 @@ files:
|
|
91
91
|
- lib/generators/rhino_organizations/install/templates/models/role.rb
|
92
92
|
- lib/generators/rhino_organizations/install/templates/models/users_role.rb
|
93
93
|
- lib/generators/rhino_organizations/install/templates/models/users_role_invite.rb
|
94
|
+
- lib/generators/rhino_organizations/install/templates/seeds/organizations.rb
|
94
95
|
- lib/rhino_organizations/engine.rb
|
95
96
|
- lib/rhino_organizations/test_case.rb
|
96
97
|
- lib/rhino_organizations/test_case/organization_controller.rb
|