silkey-sdk 0.0.1 → 0.0.2

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.
Files changed (70) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +14 -0
  3. data/CHANGELOG.md +11 -1
  4. data/DEVELOPMENT.md +1 -1
  5. data/Gemfile.lock +3 -1
  6. data/README.md +16 -10
  7. data/lib/silkey/sdk.rb +51 -44
  8. data/lib/silkey/version.rb +1 -1
  9. data/silkey-sdk.gemspec +14 -1
  10. metadata +18 -63
  11. data/doc/CHANGELOG_md.html +0 -112
  12. data/doc/LICENSE_txt.html +0 -99
  13. data/doc/Object.html +0 -117
  14. data/doc/README_md.html +0 -144
  15. data/doc/Silkey.html +0 -269
  16. data/doc/Silkey/ClientFactory.html +0 -106
  17. data/doc/Silkey/Configuration.html +0 -217
  18. data/doc/Silkey/Contract.html +0 -106
  19. data/doc/Silkey/Contract/FrozenArray.html +0 -106
  20. data/doc/Silkey/ContractFactory.html +0 -106
  21. data/doc/Silkey/LoggerService.html +0 -106
  22. data/doc/Silkey/Models.html +0 -99
  23. data/doc/Silkey/Models/JwtPayload.html +0 -622
  24. data/doc/Silkey/RegistryContract.html +0 -106
  25. data/doc/Silkey/SDK.html +0 -356
  26. data/doc/Silkey/Utils.html +0 -709
  27. data/doc/created.rid +0 -23
  28. data/doc/css/fonts.css +0 -167
  29. data/doc/css/rdoc.css +0 -619
  30. data/doc/fonts/Lato-Light.ttf +0 -0
  31. data/doc/fonts/Lato-LightItalic.ttf +0 -0
  32. data/doc/fonts/Lato-Regular.ttf +0 -0
  33. data/doc/fonts/Lato-RegularItalic.ttf +0 -0
  34. data/doc/fonts/SourceCodePro-Bold.ttf +0 -0
  35. data/doc/fonts/SourceCodePro-Regular.ttf +0 -0
  36. data/doc/images/add.png +0 -0
  37. data/doc/images/arrow_up.png +0 -0
  38. data/doc/images/brick.png +0 -0
  39. data/doc/images/brick_link.png +0 -0
  40. data/doc/images/bug.png +0 -0
  41. data/doc/images/bullet_black.png +0 -0
  42. data/doc/images/bullet_toggle_minus.png +0 -0
  43. data/doc/images/bullet_toggle_plus.png +0 -0
  44. data/doc/images/date.png +0 -0
  45. data/doc/images/delete.png +0 -0
  46. data/doc/images/find.png +0 -0
  47. data/doc/images/loadingAnimation.gif +0 -0
  48. data/doc/images/macFFBgHack.png +0 -0
  49. data/doc/images/package.png +0 -0
  50. data/doc/images/page_green.png +0 -0
  51. data/doc/images/page_white_text.png +0 -0
  52. data/doc/images/page_white_width.png +0 -0
  53. data/doc/images/plugin.png +0 -0
  54. data/doc/images/ruby.png +0 -0
  55. data/doc/images/tag_blue.png +0 -0
  56. data/doc/images/tag_green.png +0 -0
  57. data/doc/images/transparent.png +0 -0
  58. data/doc/images/wrench.png +0 -0
  59. data/doc/images/wrench_orange.png +0 -0
  60. data/doc/images/zoom.png +0 -0
  61. data/doc/index.html +0 -112
  62. data/doc/js/darkfish.js +0 -84
  63. data/doc/js/navigation.js +0 -105
  64. data/doc/js/navigation.js.gz +0 -0
  65. data/doc/js/search.js +0 -110
  66. data/doc/js/search_index.js +0 -1
  67. data/doc/js/search_index.js.gz +0 -0
  68. data/doc/js/searcher.js +0 -229
  69. data/doc/js/searcher.js.gz +0 -0
  70. data/doc/table_of_contents.html +0 -318
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 151c068dbbeccc6d242140bbf755dbc2d7ac783de3c0fa9f8bed08828c875011
4
- data.tar.gz: '09c21b562b50c1a66c9d72d2fd0042e6a30549941017e1e7fff4e4644bbdcfef'
3
+ metadata.gz: e6905b7c46f40f54b67f37962aee0984faa1bc00d33220540f4909a00c937189
4
+ data.tar.gz: a143d094709149a251762ed15b6f815cb45695d62da680480283996ec8c51f5d
5
5
  SHA512:
6
- metadata.gz: f7505da37a916d4e26d7ebd896a432ff901ae3ee805707e924e34a832643d52fe6ddb7a52f3a0676d7170976a6cdfeb469327b8c99fd8292136313324cbfba08
7
- data.tar.gz: 1f346357fc4623f9cfb54c93cbd68e000a2a4597374a3f5c39f037907da4aa1d4003611e09a6b52386816a27d481bd200b644472416e6db9adb48fcc96e01c92
6
+ metadata.gz: b5452fc0da4eb1c489dc27e39539181f994203ccb1e90099abb668d50284c753093863bfc8e19bb2132c12a2e04daa1b61b5c53953beb40924aa10696d8c5816
7
+ data.tar.gz: bb5305fcb440828ffcd8547af8d10776579d933a10056f98504d7ba69bf7ae3ddb3a3752c5727436ec0308f3a0d1aa10477f506be2f3b7971e8eb5552fc6cda0
@@ -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
@@ -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
- ## [Unreleased]
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
@@ -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 rdoc --main README.rdoc -x Gemfile -x Gemfile.lock -x registry_contract_abi.json -x setup -x Rakefile -x DEVELOPMENT.md
16
+ bundle exec yardoc
17
17
 
18
18
  bundle exec gem build
19
19
 
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- silkey-sdk (0.0.1)
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' # for local development
15
- config.client_url = 'https://kovan.infura.io/v3/:id' # for real
16
- config.registry_contract_address = '--silky-registry-contrract-address--'
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 address.](https://github.com/Silkey-Team/silkey-sdk#silkey-sdk)
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
- [List of request parameters.](https://github.com/Silkey-Team/silkey-sdk#silkey-sdk)
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
- - Silkey::SDK.message_to_sign({params})
32
- - Silkey::SDK.generate_sso_request_params(private_key, hash)
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 either via POST or GET)
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
@@ -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: 'http://silkey.io', refId: 1 });
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(hash = {})
21
+ def message_to_sign(to_sign = {})
23
22
  msg = []
24
- hash.keys.sort.each do |k|
25
- if Silkey::Utils.empty?(hash[k])
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}=#{hash[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 data: {redirectUrl*, cancelUrl*, refId, scope, ssoTimestamp*}
41
- # marked with * are required by Silkey SSO
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] {{signature, ssoTimestamp, redirectUrl, refId, scope}}
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, hash)
50
- redirect_url = hash[:redirectUrl] || ''
51
- cancel_url = hash[:cancelUrl] || ''
52
- sso_timestamp = hash[:ssoTimestamp] || Silkey::Utils.current_timestamp
53
- ref_id = hash[:refId] || ''
54
- scope = hash[:scope] || ''
55
-
56
- message = message_to_sign({
57
- redirectUrl: redirect_url,
58
- cancelUrl: cancel_url,
59
- ssoTimestamp: sso_timestamp,
60
- refId: ref_id,
61
- scope: scope
62
- })
63
-
64
- {
65
- signature: Silkey::Utils.sign_message(private_key, message),
66
- ssoTimestamp: sso_timestamp,
67
- redirectUrl: redirect_url,
68
- cancelUrl: cancel_url,
69
- refId: ref_id,
70
- scope: scope
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] silkeyPublicKey public ethereum address of Silkey
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.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c',
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Silkey
4
- VERSION = '0.0.1'
4
+ VERSION = '0.0.2'
5
5
  end
@@ -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.license = 'MIT'
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.1
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-20 00:00:00.000000000 Z
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
@@ -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">&para;</a> <a href="#top">&uarr;</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">&para;</a> <a href="#top">&uarr;</a></span></h2>
97
-
98
- <h3 id="label-Added-3A">Added:<span><a href="#label-Added-3A">&para;</a> <a href="#top">&uarr;</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
-