isaca-rails 0.4.4 → 0.4.5
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/helpers/isaca/rails/application_helper.rb +3 -3
- data/lib/isaca/rails/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2c0df469ac74f8d8de5b0e54ac67bb1a0a3d016d217ecdf9a69fe3463288a3e6
|
|
4
|
+
data.tar.gz: 692491fbb5015668ceb4fd30a9057440edf6c818f4817e5615f5d2db6d241796
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7de9c2c084a52673aa10bf8ecfcb20354c10d19ebf0a8cb555a56592b5fe8517e23498e0093543c36cfa9cfe94f8a08db37ca16f3054971055944b4b9a60ce2b
|
|
7
|
+
data.tar.gz: e37713591086ca058191a1b4e70292f073f2d84d86780c99d785227b5c55989dc16e4071711bf2fa11bfc24c0fd78d5306c9b66ad3b15715b0b2eb5d9b12c1db
|
|
@@ -41,9 +41,9 @@ module Isaca::Rails::ApplicationHelper
|
|
|
41
41
|
end
|
|
42
42
|
|
|
43
43
|
# Provides a link to create an ISACA account
|
|
44
|
-
def link_to_create_isaca_account
|
|
44
|
+
def link_to_create_isaca_account(**options)
|
|
45
45
|
url = 'https://www.isaca.org/ecommerce/Pages/CreateAccountLite.aspx?pf=1'
|
|
46
|
-
url.concat("
|
|
47
|
-
link_to 'Create ISACA
|
|
46
|
+
url.concat("&ReturnURL=#{Isaca::Rails.configuration.redirect_after_account_creation}") if Isaca::Rails.configuration.redirect_after_account_creation
|
|
47
|
+
link_to 'Create ISACA Account', url, target: :blank, class: (options && options.has_key?(:class) ? options[:class] : '')
|
|
48
48
|
end
|
|
49
49
|
end
|
data/lib/isaca/rails/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: isaca-rails
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Matthew Orahood
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-04-
|
|
11
|
+
date: 2019-04-22 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|