rhino_project_organizations 0.20.0.beta.43 → 0.20.0.beta.44
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: b926eb6e81a651dc487422f1ef33eda7ed3527cb699ded0c86c30ba695f682ad
|
4
|
+
data.tar.gz: 442e32a8e6a342703c9e27443e8ef85f107bd6b0b7874f21c54447d50caad2e9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 69c45b8ca5497ce3d9c6804e0404a4afe038b7f7fd590affd058b444abffb999ab3c3ff013e96830f58e8c0a707f4e6bdc4090561cd990b84cad59a311a836b0
|
7
|
+
data.tar.gz: 4716aea22a1c106108fa8b775a12665dc8f0d469f9dabe0e191bfacbb949750dd101b7bd4a9c51bbe2da3c9531414a36aac120ee50eb0fc643d4c37f509f0baa
|
@@ -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.44
|
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.44
|
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.44
|
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
|