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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4fe6060b974dd5aa23cceefe3f42b345ee1ffcc840b267750dd439f03388fa27
4
- data.tar.gz: 75850c732aff32b3b780dedba5a3e91670dbdd02590caac9a86fe8eb1c4095d9
3
+ metadata.gz: 2c0df469ac74f8d8de5b0e54ac67bb1a0a3d016d217ecdf9a69fe3463288a3e6
4
+ data.tar.gz: 692491fbb5015668ceb4fd30a9057440edf6c818f4817e5615f5d2db6d241796
5
5
  SHA512:
6
- metadata.gz: f63712ed6eb5a05093bb27721313e6d0ea572d9a6ea2bace47f70b7779a091bd87cdf3416cc9ef78946dbf2caa37def56e08a06a315c737ec01eebbc6f3079c4
7
- data.tar.gz: 78877a47d9c853d04d0e795d09b85fce6d781896639dc2ed71c12e60bc8a742553fd234b040f35a3960ed8f25fbe81e6e5693dde21cdfa3d1c96edf7a92130e2
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("?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
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
@@ -1,5 +1,5 @@
1
1
  module Isaca
2
2
  module Rails
3
- VERSION = '0.4.4'
3
+ VERSION = '0.4.5'
4
4
  end
5
5
  end
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
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-19 00:00:00.000000000 Z
11
+ date: 2019-04-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails