silkey-sdk 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.yardopts +14 -0
- data/CHANGELOG.md +11 -1
- data/DEVELOPMENT.md +1 -1
- data/Gemfile.lock +3 -1
- data/README.md +16 -10
- data/lib/silkey/sdk.rb +51 -44
- data/lib/silkey/version.rb +1 -1
- data/silkey-sdk.gemspec +14 -1
- metadata +18 -63
- data/doc/CHANGELOG_md.html +0 -112
- data/doc/LICENSE_txt.html +0 -99
- data/doc/Object.html +0 -117
- data/doc/README_md.html +0 -144
- data/doc/Silkey.html +0 -269
- data/doc/Silkey/ClientFactory.html +0 -106
- data/doc/Silkey/Configuration.html +0 -217
- data/doc/Silkey/Contract.html +0 -106
- data/doc/Silkey/Contract/FrozenArray.html +0 -106
- data/doc/Silkey/ContractFactory.html +0 -106
- data/doc/Silkey/LoggerService.html +0 -106
- data/doc/Silkey/Models.html +0 -99
- data/doc/Silkey/Models/JwtPayload.html +0 -622
- data/doc/Silkey/RegistryContract.html +0 -106
- data/doc/Silkey/SDK.html +0 -356
- data/doc/Silkey/Utils.html +0 -709
- data/doc/created.rid +0 -23
- data/doc/css/fonts.css +0 -167
- data/doc/css/rdoc.css +0 -619
- data/doc/fonts/Lato-Light.ttf +0 -0
- data/doc/fonts/Lato-LightItalic.ttf +0 -0
- data/doc/fonts/Lato-Regular.ttf +0 -0
- data/doc/fonts/Lato-RegularItalic.ttf +0 -0
- data/doc/fonts/SourceCodePro-Bold.ttf +0 -0
- data/doc/fonts/SourceCodePro-Regular.ttf +0 -0
- data/doc/images/add.png +0 -0
- data/doc/images/arrow_up.png +0 -0
- data/doc/images/brick.png +0 -0
- data/doc/images/brick_link.png +0 -0
- data/doc/images/bug.png +0 -0
- data/doc/images/bullet_black.png +0 -0
- data/doc/images/bullet_toggle_minus.png +0 -0
- data/doc/images/bullet_toggle_plus.png +0 -0
- data/doc/images/date.png +0 -0
- data/doc/images/delete.png +0 -0
- data/doc/images/find.png +0 -0
- data/doc/images/loadingAnimation.gif +0 -0
- data/doc/images/macFFBgHack.png +0 -0
- data/doc/images/package.png +0 -0
- data/doc/images/page_green.png +0 -0
- data/doc/images/page_white_text.png +0 -0
- data/doc/images/page_white_width.png +0 -0
- data/doc/images/plugin.png +0 -0
- data/doc/images/ruby.png +0 -0
- data/doc/images/tag_blue.png +0 -0
- data/doc/images/tag_green.png +0 -0
- data/doc/images/transparent.png +0 -0
- data/doc/images/wrench.png +0 -0
- data/doc/images/wrench_orange.png +0 -0
- data/doc/images/zoom.png +0 -0
- data/doc/index.html +0 -112
- data/doc/js/darkfish.js +0 -84
- data/doc/js/navigation.js +0 -105
- data/doc/js/navigation.js.gz +0 -0
- data/doc/js/search.js +0 -110
- data/doc/js/search_index.js +0 -1
- data/doc/js/search_index.js.gz +0 -0
- data/doc/js/searcher.js +0 -229
- data/doc/js/searcher.js.gz +0 -0
- data/doc/table_of_contents.html +0 -318
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e6905b7c46f40f54b67f37962aee0984faa1bc00d33220540f4909a00c937189
|
4
|
+
data.tar.gz: a143d094709149a251762ed15b6f815cb45695d62da680480283996ec8c51f5d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b5452fc0da4eb1c489dc27e39539181f994203ccb1e90099abb668d50284c753093863bfc8e19bb2132c12a2e04daa1b61b5c53953beb40924aa10696d8c5816
|
7
|
+
data.tar.gz: bb5305fcb440828ffcd8547af8d10776579d933a10056f98504d7ba69bf7ae3ddb3a3752c5727436ec0308f3a0d1aa10477f506be2f3b7971e8eb5552fc6cda0
|
data/.yardopts
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
--no-private
|
2
|
+
--title "Silkey SDK for Ruby"
|
3
|
+
--exclude Gemfile
|
4
|
+
--exclude Gemfile.lock
|
5
|
+
--exclude registry_contract_abi.json
|
6
|
+
--exclude setup
|
7
|
+
--exclude Rakefile
|
8
|
+
--exclude DEVELOPMENT.md
|
9
|
+
--exclude lib/silkey/factories/*
|
10
|
+
--exclude lib/silkey/registry_contract/*
|
11
|
+
--exclude lib/silkey/services/*
|
12
|
+
--exclude lib/silkey/contract.rb
|
13
|
+
--exclude lib/silkey/utils.rb
|
14
|
+
--exclude lib/silkey/version.rb
|
data/CHANGELOG.md
CHANGED
@@ -4,6 +4,16 @@ All notable changes to this project will be documented in this file.
|
|
4
4
|
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
|
5
5
|
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
|
6
6
|
|
7
|
-
## [
|
7
|
+
## [0.0.2] 2020-11-23
|
8
|
+
### Added
|
9
|
+
- add support for `redirectMethod`
|
10
|
+
|
11
|
+
### Changed
|
12
|
+
- `generate_sso_request_params` raises error when missing required params
|
13
|
+
|
14
|
+
### Removed
|
15
|
+
- html doc files from repo
|
16
|
+
|
17
|
+
## [0.0.1] 2020-11-20
|
8
18
|
### Added:
|
9
19
|
- initial version
|
data/DEVELOPMENT.md
CHANGED
@@ -13,7 +13,7 @@ You can also run `bin/console` for an interactive prompt that will allow you to
|
|
13
13
|
|
14
14
|
```
|
15
15
|
rm -rf doc/
|
16
|
-
bundle exec
|
16
|
+
bundle exec yardoc
|
17
17
|
|
18
18
|
bundle exec gem build
|
19
19
|
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
silkey-sdk (0.0.
|
4
|
+
silkey-sdk (0.0.2)
|
5
5
|
activesupport (~> 6.0)
|
6
6
|
eth (~> 0.4.12)
|
7
7
|
ethereum.rb (~> 2.5)
|
@@ -108,6 +108,7 @@ GEM
|
|
108
108
|
descendants_tracker (~> 0.0, >= 0.0.3)
|
109
109
|
equalizer (~> 0.0, >= 0.0.9)
|
110
110
|
virtus_convert (0.1.0)
|
111
|
+
yard (0.9.25)
|
111
112
|
zeitwerk (2.4.1)
|
112
113
|
|
113
114
|
PLATFORMS
|
@@ -123,6 +124,7 @@ DEPENDENCIES
|
|
123
124
|
rubocop (~> 1.3)
|
124
125
|
rubocop-performance (~> 1.8)
|
125
126
|
silkey-sdk!
|
127
|
+
yard (~> 0.9.25)
|
126
128
|
|
127
129
|
BUNDLED WITH
|
128
130
|
2.1.4
|
data/README.md
CHANGED
@@ -4,37 +4,43 @@
|
|
4
4
|
|
5
5
|
[slogan]
|
6
6
|
|
7
|
-
|
8
7
|
## Integration
|
9
8
|
|
10
9
|
### Configuration
|
11
10
|
|
12
11
|
```rb
|
13
12
|
Silkey::Configuration.setup do |config|
|
14
|
-
config.client_url = 'http://localhost:8545'
|
15
|
-
config.client_url = 'https://
|
16
|
-
config.registry_contract_address = '--silky-registry-
|
13
|
+
config.client_url = 'http://localhost:8545' # for local development
|
14
|
+
config.client_url = 'https://rinkeby.infura.io/v3/:id' # for real
|
15
|
+
config.registry_contract_address = '--silky-registry-contract-address--'
|
17
16
|
config.enable_logs = false
|
18
17
|
end
|
19
18
|
```
|
20
19
|
|
21
|
-
[List of Silkey contract
|
20
|
+
[List of Silkey smart contract addresses.](https://github.com/Silkey-Team/silkey-sdk#smart-contracts)
|
22
21
|
|
23
22
|
### Sign In with Silkey
|
24
23
|
|
25
24
|
#### Making request
|
26
25
|
|
27
|
-
|
28
|
-
|
26
|
+
| Parameter | Required | Type | Desc
|
27
|
+
| ---------------- |:---------:| -------- | -----
|
28
|
+
| signature | yes | string | Domain owner signature
|
29
|
+
| ssoTimestamp | yes | number | Time of signing SSO request
|
30
|
+
| redirectUrl | yes | string | Where to redirect user with token after sign in
|
31
|
+
| redirectMethod | no | GET/POST | How to redirect user after sign in, default is POST
|
32
|
+
| cancelUrl | yes | string | Where to redirect user on error
|
33
|
+
| refId | no | string | It will be return with user token, you may use it to identify request
|
34
|
+
| scope | no | string | Scope of data to return in a token payload: `id` (default) returns only user address, `email` returns address + email
|
29
35
|
|
30
36
|
```rb
|
31
|
-
-
|
32
|
-
|
37
|
+
params = { :redirectUrl => 'https://your-website', :refId => '12ab' }
|
38
|
+
sso_params = Silkey::SDK.generate_sso_request_params(private_key, params)
|
33
39
|
```
|
34
40
|
|
35
41
|
#### On request callback page
|
36
42
|
|
37
|
-
`token` - get if from request params (it can be send
|
43
|
+
`token` - get if from request params (it can be send via POST or GET, based on `redirectMethod`)
|
38
44
|
|
39
45
|
```rb
|
40
46
|
silkey_public_key = Silkey::SDK.fetch_silkey_public_key
|
data/lib/silkey/sdk.rb
CHANGED
@@ -3,29 +3,28 @@
|
|
3
3
|
module Silkey
|
4
4
|
class SDK
|
5
5
|
class << self
|
6
|
-
|
7
6
|
##
|
8
7
|
# Generates message to sign based on plain object data (keys => values)
|
9
8
|
#
|
10
|
-
# @param [Hash]
|
9
|
+
# @param to_sign [Hash] hash object
|
11
10
|
#
|
12
|
-
# @return [string]
|
11
|
+
# @return [string] message to sign
|
13
12
|
#
|
14
13
|
# @example:
|
15
14
|
#
|
16
|
-
# Silkey::SDK.message_to_sign({ redirectUrl
|
15
|
+
# Silkey::SDK.message_to_sign({ :redirectUrl => 'http://silkey.io', :refId => 1 });
|
17
16
|
#
|
18
17
|
# returns
|
19
18
|
#
|
20
19
|
# 'redirectUrl=http://silkey.io::refId=1'
|
21
20
|
#
|
22
|
-
def message_to_sign(
|
21
|
+
def message_to_sign(to_sign = {})
|
23
22
|
msg = []
|
24
|
-
|
25
|
-
if Silkey::Utils.empty?(
|
23
|
+
to_sign.keys.sort.each do |k|
|
24
|
+
if Silkey::Utils.empty?(to_sign[k])
|
26
25
|
msg.push("#{k}=")
|
27
26
|
else
|
28
|
-
msg.push("#{k}=#{
|
27
|
+
msg.push("#{k}=#{to_sign[k]}")
|
29
28
|
end
|
30
29
|
end
|
31
30
|
|
@@ -35,40 +34,53 @@ module Silkey
|
|
35
34
|
##
|
36
35
|
# Generates all needed parameters (including signature) for requesting Silkey SSO
|
37
36
|
#
|
38
|
-
# @param [string] private key of domain owner
|
37
|
+
# @param private_key [string] secret private key of domain owner
|
39
38
|
#
|
40
|
-
# @param [Hash] Hash with
|
41
|
-
#
|
39
|
+
# @param params [Hash] Hash object with parameters:
|
40
|
+
# - redirectUrl*,
|
41
|
+
# - redirectMethod*,
|
42
|
+
# - cancelUrl*,
|
43
|
+
# - refId,
|
44
|
+
# - scope,
|
45
|
+
# - ssoTimestamp*
|
46
|
+
# marked with * are required by Silkey
|
42
47
|
#
|
43
|
-
# @return [Hash]
|
48
|
+
# @return [Hash] parameters for SSO as key -> value, they all need to be set in URL
|
44
49
|
#
|
45
50
|
# @example
|
46
51
|
#
|
52
|
+
# data = { :redirectUrl => 'https://your-website', :refId => '12ab' }
|
47
53
|
# Silkey::SDK.generate_sso_request_params(private_key, data)
|
48
54
|
#
|
49
|
-
def generate_sso_request_params(private_key,
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
55
|
+
def generate_sso_request_params(private_key, params)
|
56
|
+
raise "params[:redirectUrl] is empty" if Silkey::Utils.empty?(params[:redirectUrl])
|
57
|
+
|
58
|
+
raise "params[:cancelUrl] is empty" if Silkey::Utils.empty?(params[:cancelUrl])
|
59
|
+
|
60
|
+
keys = %w(redirectUrl redirectMethod cancelUrl ssoTimestamp refId scope)
|
61
|
+
|
62
|
+
data_to_sign = keys.reduce({}) do |acc, k|
|
63
|
+
if Silkey::Utils.empty?(params[k.to_sym])
|
64
|
+
case k
|
65
|
+
when 'ssoTimestamp'
|
66
|
+
acc[k.to_sym] = Silkey::Utils.current_timestamp
|
67
|
+
when 'scope'
|
68
|
+
acc[k.to_sym] = 'id'
|
69
|
+
else
|
70
|
+
# type code here
|
71
|
+
end
|
72
|
+
else
|
73
|
+
acc[k.to_sym] = params[k.to_sym]
|
74
|
+
end
|
75
|
+
|
76
|
+
acc
|
77
|
+
end
|
78
|
+
|
79
|
+
puts data_to_sign
|
80
|
+
message = message_to_sign(data_to_sign)
|
81
|
+
data_to_sign['signature'] = Silkey::Utils.sign_message(private_key, message)
|
82
|
+
|
83
|
+
data_to_sign
|
72
84
|
end
|
73
85
|
|
74
86
|
##
|
@@ -76,9 +88,9 @@ module Silkey
|
|
76
88
|
#
|
77
89
|
# @see https://jwt.io/ for details about token payload data
|
78
90
|
#
|
79
|
-
# @param [string] JWT token returned by Silkey
|
91
|
+
# @param token [string] JWT token returned by Silkey
|
80
92
|
#
|
81
|
-
# @param [string]
|
93
|
+
# @param silkey_public_key [string] public ethereum address of Silkey
|
82
94
|
#
|
83
95
|
# @return [JwtPayload|null] null when signature(s) are invalid, otherwise token payload
|
84
96
|
#
|
@@ -87,7 +99,8 @@ module Silkey
|
|
87
99
|
# @example
|
88
100
|
#
|
89
101
|
# Silkey::SDK.token_payload_verifier(
|
90
|
-
# 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.
|
102
|
+
# 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG'\
|
103
|
+
# '9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c',
|
91
104
|
# Silkey::SDK.fetch_silkey_public_key
|
92
105
|
# )
|
93
106
|
#
|
@@ -108,12 +121,6 @@ module Silkey
|
|
108
121
|
# Fetches public ethereum Silkey address (directly from blockchain).
|
109
122
|
# This address can be used for token verification
|
110
123
|
#
|
111
|
-
# @param [string] providerUri ie: 'https://infura.io/v3/:infuraId' register to infura.io to get infuraId
|
112
|
-
#
|
113
|
-
# @param [string] address of silkey smart contract registry
|
114
|
-
#
|
115
|
-
# @return [string] public ethereum address of silkey signer
|
116
|
-
#
|
117
124
|
# @see List of Silkey contracts addresses: https://github.com/Silkey-Team/silkey-sdk#silkey-sdk
|
118
125
|
#
|
119
126
|
def fetch_silkey_public_key
|
data/lib/silkey/version.rb
CHANGED
data/silkey-sdk.gemspec
CHANGED
@@ -12,8 +12,20 @@ Gem::Specification.new do |spec|
|
|
12
12
|
spec.email = ['dariusz@silkey.io']
|
13
13
|
|
14
14
|
spec.summary = 'Silkey SDK for Ruby.'
|
15
|
+
spec.description = 'Silkey SDK for Ruby.'
|
15
16
|
spec.homepage = 'https://github.com/Silkey-Team/ruby-sdk'
|
16
|
-
spec.
|
17
|
+
spec.licenses = ['MIT']
|
18
|
+
|
19
|
+
# spec.files = ["lib/sdk.rb"]
|
20
|
+
|
21
|
+
# spec.metadata = {
|
22
|
+
# "bug_tracker_uri" => "https://github.com/Silkey-Team/ruby-sdk/issues",
|
23
|
+
# "changelog_uri" => "https://github.com/Silkey-Team/ruby-sdk/issues/CHANGELOG.md",
|
24
|
+
# "documentation_uri" => "https://www.example.info/gems/bestgemever/0.0.1",
|
25
|
+
# "homepage_uri" => "https://silkey.io",
|
26
|
+
# "source_code_uri" => "https://github.com/Silkey-Team/ruby-sdk",
|
27
|
+
# "wiki_uri" => "https://example.com/user/bestgemever/wiki"
|
28
|
+
# }
|
17
29
|
|
18
30
|
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
|
19
31
|
# to allow pushing to a single host or delete this section to allow pushing to any host.
|
@@ -38,6 +50,7 @@ Gem::Specification.new do |spec|
|
|
38
50
|
spec.add_dependency 'virtus', '~> 1.0'
|
39
51
|
spec.add_dependency 'virtus_convert', '~> 0.1'
|
40
52
|
spec.add_development_dependency 'rdoc', '~> 6.2', '>= 6.2.1'
|
53
|
+
spec.add_development_dependency 'yard', '~> 0.9.25'
|
41
54
|
spec.add_development_dependency 'bundler', '~> 2.0'
|
42
55
|
spec.add_development_dependency 'factory_bot', '~> 6.1'
|
43
56
|
spec.add_development_dependency 'pry', '~> 0.13'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: silkey-sdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- silkey.io
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-11-
|
11
|
+
date: 2020-11-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -114,6 +114,20 @@ dependencies:
|
|
114
114
|
- - ">="
|
115
115
|
- !ruby/object:Gem::Version
|
116
116
|
version: 6.2.1
|
117
|
+
- !ruby/object:Gem::Dependency
|
118
|
+
name: yard
|
119
|
+
requirement: !ruby/object:Gem::Requirement
|
120
|
+
requirements:
|
121
|
+
- - "~>"
|
122
|
+
- !ruby/object:Gem::Version
|
123
|
+
version: 0.9.25
|
124
|
+
type: :development
|
125
|
+
prerelease: false
|
126
|
+
version_requirements: !ruby/object:Gem::Requirement
|
127
|
+
requirements:
|
128
|
+
- - "~>"
|
129
|
+
- !ruby/object:Gem::Version
|
130
|
+
version: 0.9.25
|
117
131
|
- !ruby/object:Gem::Dependency
|
118
132
|
name: bundler
|
119
133
|
requirement: !ruby/object:Gem::Requirement
|
@@ -212,7 +226,7 @@ dependencies:
|
|
212
226
|
- - "~>"
|
213
227
|
- !ruby/object:Gem::Version
|
214
228
|
version: '1.8'
|
215
|
-
description:
|
229
|
+
description: Silkey SDK for Ruby.
|
216
230
|
email:
|
217
231
|
- dariusz@silkey.io
|
218
232
|
executables: []
|
@@ -222,6 +236,7 @@ files:
|
|
222
236
|
- ".gitignore"
|
223
237
|
- ".rubocop.yml"
|
224
238
|
- ".ruby-version"
|
239
|
+
- ".yardopts"
|
225
240
|
- CHANGELOG.md
|
226
241
|
- DEVELOPMENT.md
|
227
242
|
- Gemfile
|
@@ -231,66 +246,6 @@ files:
|
|
231
246
|
- Rakefile
|
232
247
|
- bin/console
|
233
248
|
- bin/setup
|
234
|
-
- doc/CHANGELOG_md.html
|
235
|
-
- doc/LICENSE_txt.html
|
236
|
-
- doc/Object.html
|
237
|
-
- doc/README_md.html
|
238
|
-
- doc/Silkey.html
|
239
|
-
- doc/Silkey/ClientFactory.html
|
240
|
-
- doc/Silkey/Configuration.html
|
241
|
-
- doc/Silkey/Contract.html
|
242
|
-
- doc/Silkey/Contract/FrozenArray.html
|
243
|
-
- doc/Silkey/ContractFactory.html
|
244
|
-
- doc/Silkey/LoggerService.html
|
245
|
-
- doc/Silkey/Models.html
|
246
|
-
- doc/Silkey/Models/JwtPayload.html
|
247
|
-
- doc/Silkey/RegistryContract.html
|
248
|
-
- doc/Silkey/SDK.html
|
249
|
-
- doc/Silkey/Utils.html
|
250
|
-
- doc/created.rid
|
251
|
-
- doc/css/fonts.css
|
252
|
-
- doc/css/rdoc.css
|
253
|
-
- doc/fonts/Lato-Light.ttf
|
254
|
-
- doc/fonts/Lato-LightItalic.ttf
|
255
|
-
- doc/fonts/Lato-Regular.ttf
|
256
|
-
- doc/fonts/Lato-RegularItalic.ttf
|
257
|
-
- doc/fonts/SourceCodePro-Bold.ttf
|
258
|
-
- doc/fonts/SourceCodePro-Regular.ttf
|
259
|
-
- doc/images/add.png
|
260
|
-
- doc/images/arrow_up.png
|
261
|
-
- doc/images/brick.png
|
262
|
-
- doc/images/brick_link.png
|
263
|
-
- doc/images/bug.png
|
264
|
-
- doc/images/bullet_black.png
|
265
|
-
- doc/images/bullet_toggle_minus.png
|
266
|
-
- doc/images/bullet_toggle_plus.png
|
267
|
-
- doc/images/date.png
|
268
|
-
- doc/images/delete.png
|
269
|
-
- doc/images/find.png
|
270
|
-
- doc/images/loadingAnimation.gif
|
271
|
-
- doc/images/macFFBgHack.png
|
272
|
-
- doc/images/package.png
|
273
|
-
- doc/images/page_green.png
|
274
|
-
- doc/images/page_white_text.png
|
275
|
-
- doc/images/page_white_width.png
|
276
|
-
- doc/images/plugin.png
|
277
|
-
- doc/images/ruby.png
|
278
|
-
- doc/images/tag_blue.png
|
279
|
-
- doc/images/tag_green.png
|
280
|
-
- doc/images/transparent.png
|
281
|
-
- doc/images/wrench.png
|
282
|
-
- doc/images/wrench_orange.png
|
283
|
-
- doc/images/zoom.png
|
284
|
-
- doc/index.html
|
285
|
-
- doc/js/darkfish.js
|
286
|
-
- doc/js/navigation.js
|
287
|
-
- doc/js/navigation.js.gz
|
288
|
-
- doc/js/search.js
|
289
|
-
- doc/js/search_index.js
|
290
|
-
- doc/js/search_index.js.gz
|
291
|
-
- doc/js/searcher.js
|
292
|
-
- doc/js/searcher.js.gz
|
293
|
-
- doc/table_of_contents.html
|
294
249
|
- lib/silkey-sdk.rb
|
295
250
|
- lib/silkey.rb
|
296
251
|
- lib/silkey/abi/registry_contract_abi.json
|
data/doc/CHANGELOG_md.html
DELETED
@@ -1,112 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
|
3
|
-
<html>
|
4
|
-
<head>
|
5
|
-
<meta charset="UTF-8">
|
6
|
-
|
7
|
-
<title>CHANGELOG - RDoc Documentation</title>
|
8
|
-
|
9
|
-
<script type="text/javascript">
|
10
|
-
var rdoc_rel_prefix = "./";
|
11
|
-
var index_rel_prefix = "./";
|
12
|
-
</script>
|
13
|
-
|
14
|
-
<script src="./js/navigation.js" defer></script>
|
15
|
-
<script src="./js/search.js" defer></script>
|
16
|
-
<script src="./js/search_index.js" defer></script>
|
17
|
-
<script src="./js/searcher.js" defer></script>
|
18
|
-
<script src="./js/darkfish.js" defer></script>
|
19
|
-
|
20
|
-
<link href="./css/fonts.css" rel="stylesheet">
|
21
|
-
<link href="./css/rdoc.css" rel="stylesheet">
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
<body id="top" role="document" class="file">
|
27
|
-
<nav role="navigation">
|
28
|
-
<div id="project-navigation">
|
29
|
-
<div id="home-section" role="region" title="Quick navigation" class="nav-section">
|
30
|
-
<h2>
|
31
|
-
<a href="./index.html" rel="home">Home</a>
|
32
|
-
</h2>
|
33
|
-
|
34
|
-
<div id="table-of-contents-navigation">
|
35
|
-
<a href="./table_of_contents.html#pages">Pages</a>
|
36
|
-
<a href="./table_of_contents.html#classes">Classes</a>
|
37
|
-
<a href="./table_of_contents.html#methods">Methods</a>
|
38
|
-
</div>
|
39
|
-
</div>
|
40
|
-
|
41
|
-
<div id="search-section" role="search" class="project-section initially-hidden">
|
42
|
-
<form action="#" method="get" accept-charset="utf-8">
|
43
|
-
<div id="search-field-wrapper">
|
44
|
-
<input id="search-field" role="combobox" aria-label="Search"
|
45
|
-
aria-autocomplete="list" aria-controls="search-results"
|
46
|
-
type="text" name="search" placeholder="Search" spellcheck="false"
|
47
|
-
title="Type to search, Up and Down to navigate, Enter to load">
|
48
|
-
</div>
|
49
|
-
|
50
|
-
<ul id="search-results" aria-label="Search Results"
|
51
|
-
aria-busy="false" aria-expanded="false"
|
52
|
-
aria-atomic="false" class="initially-hidden"></ul>
|
53
|
-
</form>
|
54
|
-
</div>
|
55
|
-
|
56
|
-
</div>
|
57
|
-
|
58
|
-
|
59
|
-
<div class="nav-section">
|
60
|
-
<h3>Table of Contents</h3>
|
61
|
-
|
62
|
-
<ul class="link-list" role="directory">
|
63
|
-
<li><a href="#label-Changelog">Changelog</a>
|
64
|
-
<li><a href="#label-5BUnreleased-5D">[Unreleased]</a>
|
65
|
-
<li><a href="#label-Added-3A">Added:</a>
|
66
|
-
</ul>
|
67
|
-
</div>
|
68
|
-
|
69
|
-
|
70
|
-
<div id="project-metadata">
|
71
|
-
<div id="fileindex-section" class="nav-section">
|
72
|
-
<h3>Pages</h3>
|
73
|
-
|
74
|
-
<ul class="link-list">
|
75
|
-
|
76
|
-
<li><a href="./CHANGELOG_md.html">CHANGELOG</a>
|
77
|
-
|
78
|
-
<li><a href="./LICENSE_txt.html">LICENSE</a>
|
79
|
-
|
80
|
-
<li><a href="./README_md.html">README</a>
|
81
|
-
|
82
|
-
</ul>
|
83
|
-
</div>
|
84
|
-
|
85
|
-
</div>
|
86
|
-
</nav>
|
87
|
-
|
88
|
-
<main role="main" aria-label="Page CHANGELOG.md">
|
89
|
-
|
90
|
-
<h1 id="label-Changelog">Changelog<span><a href="#label-Changelog">¶</a> <a href="#top">↑</a></span></h1>
|
91
|
-
|
92
|
-
<p>All notable changes to this project will be documented in this file.</p>
|
93
|
-
|
94
|
-
<p>The format is based on <a href="http://keepachangelog.com/en/1.0.0/">Keep a Changelog</a> and this project adheres to <a href="http://semver.org/spec/v2.0.0.html">Semantic Versioning</a>.</p>
|
95
|
-
|
96
|
-
<h2 id="label-5BUnreleased-5D">[Unreleased]<span><a href="#label-5BUnreleased-5D">¶</a> <a href="#top">↑</a></span></h2>
|
97
|
-
|
98
|
-
<h3 id="label-Added-3A">Added:<span><a href="#label-Added-3A">¶</a> <a href="#top">↑</a></span></h3>
|
99
|
-
<ul><li>
|
100
|
-
<p>initial version</p>
|
101
|
-
</li></ul>
|
102
|
-
|
103
|
-
</main>
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
<footer id="validator-badges" role="contentinfo">
|
108
|
-
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
109
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.1.
|
110
|
-
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
111
|
-
</footer>
|
112
|
-
|