rhino_project_organizations 0.25.0.beta.8 → 0.30.0.alpha.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/app/views/devise/mailer/invitation_instructions.html.erb +2 -2
- data/app/views/devise/mailer/invitation_instructions.text.erb +2 -2
- data/lib/generators/rhino_organizations/install/install_generator.rb +0 -2
- data/lib/generators/rhino_organizations/install/templates/admin/users_roles.rb +0 -2
- data/lib/rhino_organizations/version.rb +2 -2
- metadata +12 -10
- data/lib/generators/rhino_organizations/install/templates/admin/organizations.rb +0 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4586681aff2ea6944ab59ca8668ebac01c10c34cf42fbd03fa99a0c036cfb05a
|
4
|
+
data.tar.gz: c3e2ca32e9e54ee11d7ec04d6ba3ca04ebe019c9e59abb75de2674b977889996
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 92ded4dde7c2cd7817fb91f0e147e1d5db4244d47a2eb05a4a12ed90c9c06e83907f18f4e4a799f0e005d8e863e44738e187c2e23512fc33baa92b03975c293a
|
7
|
+
data.tar.gz: bde781986f3d9128ee3e0d74aecf544f2e4ebb13a9d085bff1efaad052d684fed5fbe0261f7a45ade35d266563988a65cd7847d67ceb3d98ef925b62f312f724
|
@@ -1,8 +1,8 @@
|
|
1
1
|
<p><%= t("devise.mailer.invitation_instructions.hello", email: @resource.email) %></p>
|
2
2
|
|
3
|
-
<p><%= t("devise.mailer.invitation_instructions.someone_invited_you", url: ENV['
|
3
|
+
<p><%= t("devise.mailer.invitation_instructions.someone_invited_you", url: ENV['FRONT_END_URL']) %></p>
|
4
4
|
|
5
|
-
<p><%= link_to("Accept invitation", "#{ENV['
|
5
|
+
<p><%= link_to("Accept invitation", "#{ENV['FRONT_END_URL']}/auth/accept-invitation?invitation_token=#{@token}") %></p>
|
6
6
|
|
7
7
|
<% if @resource.invitation_due_at %>
|
8
8
|
<p><%= t("devise.mailer.invitation_instructions.accept_until", due_date: l(@resource.invitation_due_at, format: :'devise.mailer.invitation_instructions.accept_until_format')) %></p>
|
@@ -1,8 +1,8 @@
|
|
1
1
|
<%= t("devise.mailer.invitation_instructions.hello", email: @resource.email) %>
|
2
2
|
|
3
|
-
<%= t("devise.mailer.invitation_instructions.someone_invited_you", url: ENV['
|
3
|
+
<%= t("devise.mailer.invitation_instructions.someone_invited_you", url: ENV['FRONT_END_URL']) %>
|
4
4
|
|
5
|
-
<%= "#{ENV['
|
5
|
+
<%= "#{ENV['FRONT_END_URL']}/auth/accept-invitation?invitation_token=#{@token}" %>
|
6
6
|
|
7
7
|
<% if @resource.invitation_due_at %>
|
8
8
|
<%= t("devise.mailer.invitation_instructions.accept_until", due_date: l(@resource.invitation_due_at, format: :'devise.mailer.invitation_instructions.accept_until_format')) %>
|
@@ -51,8 +51,6 @@ module RhinoOrganizations
|
|
51
51
|
def install_active_admin
|
52
52
|
say 'Copying rhino_organization ActiveAdmin files and configurations'
|
53
53
|
copy_file "#{__dir__}/templates/admin/users_roles.rb", 'app/admin/users_roles.rb'
|
54
|
-
copy_file "#{__dir__}/templates/admin/organizations.rb", 'app/admin/organizations.rb'
|
55
|
-
|
56
54
|
data = <<-'RUBY'
|
57
55
|
br
|
58
56
|
br
|
metadata
CHANGED
@@ -1,13 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rhino_project_organizations
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.30.0.alpha.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- JP Rosevear
|
8
|
+
autorequire:
|
8
9
|
bindir: bin
|
9
10
|
cert_chain: []
|
10
|
-
date:
|
11
|
+
date: 2024-12-08 00:00:00.000000000 Z
|
11
12
|
dependencies:
|
12
13
|
- !ruby/object:Gem::Dependency
|
13
14
|
name: rails
|
@@ -15,34 +16,34 @@ dependencies:
|
|
15
16
|
requirements:
|
16
17
|
- - "~>"
|
17
18
|
- !ruby/object:Gem::Version
|
18
|
-
version:
|
19
|
+
version: 7.2.0
|
19
20
|
- - ">="
|
20
21
|
- !ruby/object:Gem::Version
|
21
|
-
version:
|
22
|
+
version: 7.2.0
|
22
23
|
type: :runtime
|
23
24
|
prerelease: false
|
24
25
|
version_requirements: !ruby/object:Gem::Requirement
|
25
26
|
requirements:
|
26
27
|
- - "~>"
|
27
28
|
- !ruby/object:Gem::Version
|
28
|
-
version:
|
29
|
+
version: 7.2.0
|
29
30
|
- - ">="
|
30
31
|
- !ruby/object:Gem::Version
|
31
|
-
version:
|
32
|
+
version: 7.2.0
|
32
33
|
- !ruby/object:Gem::Dependency
|
33
34
|
name: rhino_project_core
|
34
35
|
requirement: !ruby/object:Gem::Requirement
|
35
36
|
requirements:
|
36
37
|
- - '='
|
37
38
|
- !ruby/object:Gem::Version
|
38
|
-
version: 0.
|
39
|
+
version: 0.30.0.alpha.1
|
39
40
|
type: :runtime
|
40
41
|
prerelease: false
|
41
42
|
version_requirements: !ruby/object:Gem::Requirement
|
42
43
|
requirements:
|
43
44
|
- - '='
|
44
45
|
- !ruby/object:Gem::Version
|
45
|
-
version: 0.
|
46
|
+
version: 0.30.0.alpha.1
|
46
47
|
- !ruby/object:Gem::Dependency
|
47
48
|
name: devise_invitable
|
48
49
|
requirement: !ruby/object:Gem::Requirement
|
@@ -85,7 +86,6 @@ files:
|
|
85
86
|
- db/migrate/20211202195016_add_devise_invitable_to_users.rb
|
86
87
|
- db/migrate/20211207212517_create_users_role_invite.rb
|
87
88
|
- lib/generators/rhino_organizations/install/install_generator.rb
|
88
|
-
- lib/generators/rhino_organizations/install/templates/admin/organizations.rb
|
89
89
|
- lib/generators/rhino_organizations/install/templates/admin/users_roles.rb
|
90
90
|
- lib/generators/rhino_organizations/install/templates/models/organization.rb
|
91
91
|
- lib/generators/rhino_organizations/install/templates/models/role.rb
|
@@ -103,6 +103,7 @@ homepage: ''
|
|
103
103
|
licenses:
|
104
104
|
- MIT
|
105
105
|
metadata: {}
|
106
|
+
post_install_message:
|
106
107
|
rdoc_options: []
|
107
108
|
require_paths:
|
108
109
|
- lib
|
@@ -117,7 +118,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
117
118
|
- !ruby/object:Gem::Version
|
118
119
|
version: '0'
|
119
120
|
requirements: []
|
120
|
-
rubygems_version: 3.
|
121
|
+
rubygems_version: 3.5.22
|
122
|
+
signing_key:
|
121
123
|
specification_version: 4
|
122
124
|
summary: ''
|
123
125
|
test_files: []
|