ruby_certisign_login 0.1.14 → 0.1.16
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/README.md +11 -3
- data/init.rb +11 -0
- data/lib/ruby_certisign_login.rb +3 -3
- data/lib/ruby_certisign_login/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5dcc7d172c9ece63e70094b3a3053be203a4c3762bc0dfa4d66f7fbc79cee5b3
|
4
|
+
data.tar.gz: 0d4189ab21d102fde298874a3141bbcd3b132e959e0b431f7c9424bf8143dae6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cd67ee655bd1c5c2e15107c443e7481ddcd807c3828c93eb134a9526ad6d42c547f6c41240bbf9003caeb57c75487dac36ba48b1e7ec6a7744df228fffd7d0f6
|
7
|
+
data.tar.gz: 06e08dce6c664e6bd3f8d804ba463c392eb6c1e39426580c591d8dddb489d9261a9f9850cf0d65e0c2cf92b836469b5df94c4364aee17f1df6afab304d84d5d9
|
data/README.md
CHANGED
@@ -22,7 +22,15 @@ Or install it yourself as:
|
|
22
22
|
|
23
23
|
## Usage
|
24
24
|
|
25
|
-
|
25
|
+
Adicionar chave da aplicação no path:
|
26
|
+
<rails_root>/config/keys/certisign.pk
|
27
|
+
|
28
|
+
Helper para criação do botão
|
29
|
+
= certisign_form(id, name, url)
|
30
|
+
|
31
|
+
Decrypt do params['cb']
|
32
|
+
RubyCertisignLogin::Decrypt.new( params['cb'] )
|
33
|
+
|
26
34
|
|
27
35
|
## Development
|
28
36
|
|
@@ -32,7 +40,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
32
40
|
|
33
41
|
## Contributing
|
34
42
|
|
35
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
43
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/djosino/ruby_certisign_login. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
36
44
|
|
37
45
|
## License
|
38
46
|
|
@@ -40,4 +48,4 @@ The gem is available as open source under the terms of the [MIT License](https:/
|
|
40
48
|
|
41
49
|
## Code of Conduct
|
42
50
|
|
43
|
-
Everyone interacting in the RubyCertisignLogin project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/
|
51
|
+
Everyone interacting in the RubyCertisignLogin project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/djosino/ruby_certisign_login/blob/master/CODE_OF_CONDUCT.md).
|
data/init.rb
ADDED
@@ -0,0 +1,11 @@
|
|
1
|
+
require 'ruby_certisign_login'
|
2
|
+
|
3
|
+
# This is all duplication of what Railtie does, but is necessary because
|
4
|
+
# the initializer defined by the Railtie won't ever run when loaded as plugin.
|
5
|
+
|
6
|
+
|
7
|
+
if defined? ActionView::Base
|
8
|
+
require 'ruby_certisign_login/view_helpers/action_view'
|
9
|
+
end
|
10
|
+
|
11
|
+
RubyCertisignLogin::Railtie.add_locale_path config
|
data/lib/ruby_certisign_login.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby_certisign_login
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.16
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Danilo Josino
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-06-
|
11
|
+
date: 2019-06-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -56,6 +56,7 @@ files:
|
|
56
56
|
- app/assets/images/ico-certisign_30x30.png
|
57
57
|
- bin/console
|
58
58
|
- bin/setup
|
59
|
+
- init.rb
|
59
60
|
- lib/ruby_certisign_login.rb
|
60
61
|
- lib/ruby_certisign_login/engine.rb
|
61
62
|
- lib/ruby_certisign_login/helpers/certisign_form_helper.rb
|