osbc 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (310) hide show
  1. checksums.yaml +7 -0
  2. data/.env +5 -0
  3. data/.rspec +1 -0
  4. data/.rubocop.yml +273 -0
  5. data/.ruby-version +1 -0
  6. data/CHANGELOG.md +5 -0
  7. data/CODE_OF_CONDUCT.md +84 -0
  8. data/Dockerfile +17 -0
  9. data/Gemfile +109 -0
  10. data/Gemfile.lock +343 -0
  11. data/LICENSE.md +21 -0
  12. data/LICENSE.txt +21 -0
  13. data/Procfile +3 -0
  14. data/Procfile.dev +2 -0
  15. data/README.md +185 -0
  16. data/Rakefile +6 -0
  17. data/app/assets/builds/.keep +0 -0
  18. data/app/assets/config/manifest.js +5 -0
  19. data/app/assets/images/.keep +0 -0
  20. data/app/assets/images/bg.png +0 -0
  21. data/app/assets/images/gimage.png +0 -0
  22. data/app/assets/images/image.png +0 -0
  23. data/app/assets/images/logo.png +0 -0
  24. data/app/assets/images/outerspc.jpg +0 -0
  25. data/app/assets/images/proxy.jpg +0 -0
  26. data/app/assets/images/space.jpg +0 -0
  27. data/app/assets/images/space_four.jpg +0 -0
  28. data/app/assets/images/space_t.jpg +0 -0
  29. data/app/assets/images/space_th.jpg +0 -0
  30. data/app/assets/images/space_two.jpg +0 -0
  31. data/app/assets/images/th.jpg +0 -0
  32. data/app/assets/stylesheets/application.css +344 -0
  33. data/app/assets/stylesheets/application.tailwind.css +13 -0
  34. data/app/assets/stylesheets/home.css +0 -0
  35. data/app/channels/application_cable/channel.rb +6 -0
  36. data/app/channels/application_cable/connection.rb +6 -0
  37. data/app/controllers/api/v1/block_confirmations_controller.rb +65 -0
  38. data/app/controllers/application_controller.rb +72 -0
  39. data/app/controllers/blocks_controller.rb +20 -0
  40. data/app/controllers/chains_controller.rb +72 -0
  41. data/app/controllers/concerns/.keep +0 -0
  42. data/app/controllers/contracts_controller.rb +25 -0
  43. data/app/controllers/pools_controller.rb +73 -0
  44. data/app/controllers/signatures_controller.rb +25 -0
  45. data/app/controllers/tickets_controller.rb +76 -0
  46. data/app/controllers/transactions_controller.rb +48 -0
  47. data/app/controllers/users/confirmations_controller.rb +30 -0
  48. data/app/controllers/users/omniauth_callbacks_controller.rb +30 -0
  49. data/app/controllers/users/passwords_controller.rb +34 -0
  50. data/app/controllers/users/registrations_controller.rb +61 -0
  51. data/app/controllers/users/sessions_controller.rb +27 -0
  52. data/app/controllers/users/unlocks_controller.rb +30 -0
  53. data/app/controllers/wallets_controller.rb +18 -0
  54. data/app/helpers/application_helper.rb +4 -0
  55. data/app/helpers/blocks_helper.rb +4 -0
  56. data/app/helpers/chains_helper.rb +4 -0
  57. data/app/helpers/contracts_helper.rb +4 -0
  58. data/app/helpers/pools_helper.rb +4 -0
  59. data/app/helpers/signatures_helper.rb +4 -0
  60. data/app/helpers/tickets_helper.rb +4 -0
  61. data/app/helpers/transactions_helper.rb +4 -0
  62. data/app/helpers/wallets_helper.rb +4 -0
  63. data/app/javascript/application.js +3 -0
  64. data/app/javascript/controllers/application.js +9 -0
  65. data/app/javascript/controllers/hello_controller.js +7 -0
  66. data/app/javascript/controllers/index.js +11 -0
  67. data/app/jobs/application_job.rb +9 -0
  68. data/app/mailers/application_mailer.rb +6 -0
  69. data/app/models/acceptable_number_sequence.rb +4 -0
  70. data/app/models/acceptable_symbol_sequence.rb +4 -0
  71. data/app/models/acceptable_word.rb +4 -0
  72. data/app/models/application_record.rb +5 -0
  73. data/app/models/block.rb +17 -0
  74. data/app/models/chain.rb +10 -0
  75. data/app/models/concerns/.keep +0 -0
  76. data/app/models/concerns/sequences_validator.rb +30 -0
  77. data/app/models/concerns/wallet_exists_validator.rb +13 -0
  78. data/app/models/contract.rb +7 -0
  79. data/app/models/pool.rb +5 -0
  80. data/app/models/signature.rb +12 -0
  81. data/app/models/ticket.rb +11 -0
  82. data/app/models/transaction.rb +25 -0
  83. data/app/models/user.rb +44 -0
  84. data/app/models/wallet.rb +33 -0
  85. data/app/services/application_service.rb +23 -0
  86. data/app/services/assign_contracts_service.rb +162 -0
  87. data/app/services/create_ticket_service.rb +87 -0
  88. data/app/services/create_wallet_service.rb +20 -0
  89. data/app/services/transaction_to_block_service.rb +62 -0
  90. data/app/views/application/_featured_board.html.erb +77 -0
  91. data/app/views/application/home.html.slim +1 -0
  92. data/app/views/application/mining_profile.html.slim +59 -0
  93. data/app/views/application/privacy_policy.html.erb +0 -0
  94. data/app/views/application/terms.html.erb +0 -0
  95. data/app/views/blocks/_block.html.slim +13 -0
  96. data/app/views/blocks/_block.json.jbuilder +4 -0
  97. data/app/views/blocks/_form.html.slim +26 -0
  98. data/app/views/blocks/edit.html.slim +10 -0
  99. data/app/views/blocks/index.html.slim +12 -0
  100. data/app/views/blocks/index.json.jbuilder +3 -0
  101. data/app/views/blocks/new.html.slim +8 -0
  102. data/app/views/blocks/show.html.slim +8 -0
  103. data/app/views/blocks/show.json.jbuilder +3 -0
  104. data/app/views/chains/_chain.html.slim +16 -0
  105. data/app/views/chains/_chain.json.jbuilder +4 -0
  106. data/app/views/chains/_form.html.slim +30 -0
  107. data/app/views/chains/edit.html.slim +10 -0
  108. data/app/views/chains/index.html.slim +11 -0
  109. data/app/views/chains/index.json.jbuilder +3 -0
  110. data/app/views/chains/new.html.slim +8 -0
  111. data/app/views/chains/show.html.slim +10 -0
  112. data/app/views/chains/show.json.jbuilder +3 -0
  113. data/app/views/contracts/_contract.html.slim +8 -0
  114. data/app/views/contracts/_contract.json.jbuilder +4 -0
  115. data/app/views/contracts/_form.html.slim +34 -0
  116. data/app/views/contracts/edit.html.slim +10 -0
  117. data/app/views/contracts/index.html.slim +12 -0
  118. data/app/views/contracts/index.json.jbuilder +3 -0
  119. data/app/views/contracts/new.html.slim +8 -0
  120. data/app/views/contracts/show.html.slim +8 -0
  121. data/app/views/contracts/show.json.jbuilder +3 -0
  122. data/app/views/layouts/_alert.html.slim +6 -0
  123. data/app/views/layouts/_navbar.html.slim +27 -0
  124. data/app/views/layouts/_notice.html.slim +6 -0
  125. data/app/views/layouts/application.html.erb +32 -0
  126. data/app/views/layouts/mailer.html.erb +13 -0
  127. data/app/views/layouts/mailer.text.erb +1 -0
  128. data/app/views/pools/_form.html.slim +30 -0
  129. data/app/views/pools/_pool.html.slim +16 -0
  130. data/app/views/pools/_pool.json.jbuilder +4 -0
  131. data/app/views/pools/edit.html.slim +10 -0
  132. data/app/views/pools/index.html.slim +12 -0
  133. data/app/views/pools/index.json.jbuilder +3 -0
  134. data/app/views/pools/new.html.slim +8 -0
  135. data/app/views/pools/show.html.slim +8 -0
  136. data/app/views/pools/show.json.jbuilder +3 -0
  137. data/app/views/signatures/_form.html.slim +46 -0
  138. data/app/views/signatures/_signature.html.slim +28 -0
  139. data/app/views/signatures/_signature.json.jbuilder +4 -0
  140. data/app/views/signatures/edit.html.slim +10 -0
  141. data/app/views/signatures/index.html.slim +10 -0
  142. data/app/views/signatures/index.json.jbuilder +3 -0
  143. data/app/views/signatures/new.html.slim +8 -0
  144. data/app/views/signatures/show.html.slim +10 -0
  145. data/app/views/signatures/show.json.jbuilder +3 -0
  146. data/app/views/tickets/_form.html.slim +26 -0
  147. data/app/views/tickets/_ticket.html.slim +10 -0
  148. data/app/views/tickets/_ticket.json.jbuilder +4 -0
  149. data/app/views/tickets/edit.html.slim +10 -0
  150. data/app/views/tickets/index.html.slim +16 -0
  151. data/app/views/tickets/index.json.jbuilder +3 -0
  152. data/app/views/tickets/new.html.slim +10 -0
  153. data/app/views/tickets/show.html.slim +8 -0
  154. data/app/views/tickets/show.json.jbuilder +3 -0
  155. data/app/views/transactions/_form.html.slim +16 -0
  156. data/app/views/transactions/_transaction.html.slim +24 -0
  157. data/app/views/transactions/_transaction.json.jbuilder +4 -0
  158. data/app/views/transactions/edit.html.slim +10 -0
  159. data/app/views/transactions/index.html.slim +19 -0
  160. data/app/views/transactions/index.json.jbuilder +3 -0
  161. data/app/views/transactions/new.html.slim +9 -0
  162. data/app/views/transactions/show.html.slim +8 -0
  163. data/app/views/transactions/show.json.jbuilder +3 -0
  164. data/app/views/users/confirmations/new.html.erb +16 -0
  165. data/app/views/users/mailer/confirmation_instructions.html.erb +5 -0
  166. data/app/views/users/mailer/email_changed.html.erb +7 -0
  167. data/app/views/users/mailer/password_change.html.erb +3 -0
  168. data/app/views/users/mailer/reset_password_instructions.html.erb +8 -0
  169. data/app/views/users/mailer/unlock_instructions.html.erb +7 -0
  170. data/app/views/users/passwords/edit.html.erb +25 -0
  171. data/app/views/users/passwords/new.html.erb +16 -0
  172. data/app/views/users/registrations/edit.html.erb +43 -0
  173. data/app/views/users/registrations/new.html.erb +37 -0
  174. data/app/views/users/sessions/new.html.erb +30 -0
  175. data/app/views/users/shared/_error_messages.html.erb +15 -0
  176. data/app/views/users/shared/_links.html.erb +25 -0
  177. data/app/views/users/unlocks/new.html.erb +16 -0
  178. data/app/views/wallets/_form.html.slim +30 -0
  179. data/app/views/wallets/_wallet.html.slim +13 -0
  180. data/app/views/wallets/_wallet.json.jbuilder +4 -0
  181. data/app/views/wallets/edit.html.slim +10 -0
  182. data/app/views/wallets/index.html.slim +18 -0
  183. data/app/views/wallets/index.json.jbuilder +3 -0
  184. data/app/views/wallets/new.html.slim +8 -0
  185. data/app/views/wallets/show.html.slim +11 -0
  186. data/app/views/wallets/show.json.jbuilder +3 -0
  187. data/app/workers/application_worker.rb +82 -0
  188. data/app/workers/assign_contract_worker.rb +27 -0
  189. data/app/workers/create_ticket_worker.rb +23 -0
  190. data/app/workers/create_wallet_worker.rb +21 -0
  191. data/app/workers/transaction_to_block_worker.rb +48 -0
  192. data/bin/bundle +114 -0
  193. data/bin/console +15 -0
  194. data/bin/dev +9 -0
  195. data/bin/importmap +5 -0
  196. data/bin/osbc +77 -0
  197. data/bin/rails +6 -0
  198. data/bin/rake +6 -0
  199. data/bin/setup +35 -0
  200. data/config/application.rb +25 -0
  201. data/config/boot.rb +6 -0
  202. data/config/cable.yml +10 -0
  203. data/config/credentials.yml.enc +1 -0
  204. data/config/database.yml +21 -0
  205. data/config/environment.rb +7 -0
  206. data/config/environments/development.rb +73 -0
  207. data/config/environments/production.rb +95 -0
  208. data/config/environments/test.rb +62 -0
  209. data/config/importmap.rb +9 -0
  210. data/config/initializers/assets.rb +14 -0
  211. data/config/initializers/content_security_policy.rb +26 -0
  212. data/config/initializers/devise.rb +311 -0
  213. data/config/initializers/filter_parameter_logging.rb +10 -0
  214. data/config/initializers/inflections.rb +17 -0
  215. data/config/initializers/permissions_policy.rb +12 -0
  216. data/config/locales/devise.en.yml +65 -0
  217. data/config/locales/en.yml +33 -0
  218. data/config/puma.rb +45 -0
  219. data/config/routes/api.rb +9 -0
  220. data/config/routes.rb +30 -0
  221. data/config/sidekiq.yml +10 -0
  222. data/config/storage.yml +34 -0
  223. data/config/tailwind.config.js +23 -0
  224. data/config.ru +8 -0
  225. data/coverage/.last_run.json +5 -0
  226. data/coverage/.resultset.json +1853 -0
  227. data/coverage/.resultset.json.lock +0 -0
  228. data/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_asc.png +0 -0
  229. data/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_asc_disabled.png +0 -0
  230. data/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_both.png +0 -0
  231. data/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_desc.png +0 -0
  232. data/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_desc_disabled.png +0 -0
  233. data/coverage/assets/0.12.3/application.css +1 -0
  234. data/coverage/assets/0.12.3/application.js +7 -0
  235. data/coverage/assets/0.12.3/colorbox/border.png +0 -0
  236. data/coverage/assets/0.12.3/colorbox/controls.png +0 -0
  237. data/coverage/assets/0.12.3/colorbox/loading.gif +0 -0
  238. data/coverage/assets/0.12.3/colorbox/loading_background.png +0 -0
  239. data/coverage/assets/0.12.3/favicon_green.png +0 -0
  240. data/coverage/assets/0.12.3/favicon_red.png +0 -0
  241. data/coverage/assets/0.12.3/favicon_yellow.png +0 -0
  242. data/coverage/assets/0.12.3/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  243. data/coverage/assets/0.12.3/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  244. data/coverage/assets/0.12.3/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  245. data/coverage/assets/0.12.3/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  246. data/coverage/assets/0.12.3/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  247. data/coverage/assets/0.12.3/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  248. data/coverage/assets/0.12.3/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  249. data/coverage/assets/0.12.3/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  250. data/coverage/assets/0.12.3/images/ui-icons_222222_256x240.png +0 -0
  251. data/coverage/assets/0.12.3/images/ui-icons_2e83ff_256x240.png +0 -0
  252. data/coverage/assets/0.12.3/images/ui-icons_454545_256x240.png +0 -0
  253. data/coverage/assets/0.12.3/images/ui-icons_888888_256x240.png +0 -0
  254. data/coverage/assets/0.12.3/images/ui-icons_cd0a0a_256x240.png +0 -0
  255. data/coverage/assets/0.12.3/loading.gif +0 -0
  256. data/coverage/assets/0.12.3/magnify.png +0 -0
  257. data/coverage/index.html +20731 -0
  258. data/db/migrate/20221018053949_devise_create_users.rb +45 -0
  259. data/db/migrate/20221019002956_create_chains.rb +13 -0
  260. data/db/migrate/20221020112137_create_blocks.rb +12 -0
  261. data/db/migrate/20221020123102_add_chain_to_blocks.rb +5 -0
  262. data/db/migrate/20221020150504_create_wallets.rb +13 -0
  263. data/db/migrate/20221022221059_create_transactions.rb +20 -0
  264. data/db/migrate/20221023011005_add_block_to_transactions.rb +5 -0
  265. data/db/migrate/20221023014707_create_contracts.rb +11 -0
  266. data/db/migrate/20221023040749_create_pools.rb +13 -0
  267. data/db/migrate/20221023041015_create_tickets.rb +11 -0
  268. data/db/migrate/20221023103509_add_contracts_count_to_block.rb +6 -0
  269. data/db/migrate/20221023110613_add_acceptable_word_list_to_users.rb +7 -0
  270. data/db/migrate/20221023113539_create_signatures.rb +19 -0
  271. data/db/migrate/20221023113750_create_acceptable_words.rb +9 -0
  272. data/db/migrate/20221023114152_create_acceptable_number_sequences.rb +9 -0
  273. data/db/migrate/20221023114203_create_acceptable_symbol_sequences.rb +9 -0
  274. data/db/migrate/20221023114324_add_user_acceptable_hash_to_tickets.rb +7 -0
  275. data/db/migrate/20221023114408_add_time_ref_to_tickets.rb +5 -0
  276. data/db/migrate/20221024125047_add_master_hash_to_blocks.rb +5 -0
  277. data/db/migrate/20221109161845_add_transactions_count_to_blocks.rb +5 -0
  278. data/db/migrate/20221117135003_add_balance_to_chains.rb +5 -0
  279. data/db/migrate/20221117203417_add_transaction_id_list_to_tickets.rb +5 -0
  280. data/db/migrate/20221118080357_add_api_keys_to_users.rb +6 -0
  281. data/db/schema.rb +179 -0
  282. data/db/seeds.rb +134 -0
  283. data/docker-compose.yml +53 -0
  284. data/entrypoint.sh +8 -0
  285. data/lib/assets/.keep +0 -0
  286. data/lib/osbc/osbc.rb +9 -0
  287. data/lib/outerspace/blockchain/version.rb +7 -0
  288. data/lib/outerspace/blockchain.rb +10 -0
  289. data/lib/tasks/.keep +0 -0
  290. data/lib/tasks/compose.rake +92 -0
  291. data/lib/tasks/compose_db.rake +71 -0
  292. data/lib/tasks/compose_logs.rake +95 -0
  293. data/lib/tasks/compose_test.rake +62 -0
  294. data/log/.keep +0 -0
  295. data/mining_concept.ipynb +284 -0
  296. data/outerspace-blockchain.gemspec +50 -0
  297. data/public/404.html +67 -0
  298. data/public/422.html +67 -0
  299. data/public/500.html +66 -0
  300. data/public/apple-touch-icon-precomposed.png +0 -0
  301. data/public/apple-touch-icon.png +0 -0
  302. data/public/favicon.ico +0 -0
  303. data/public/robots.txt +1 -0
  304. data/storage/.keep +0 -0
  305. data/tmp/.keep +0 -0
  306. data/tmp/pids/.keep +0 -0
  307. data/tmp/storage/.keep +0 -0
  308. data/vendor/.keep +0 -0
  309. data/vendor/javascript/.keep +0 -0
  310. metadata +643 -0
metadata ADDED
@@ -0,0 +1,643 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: osbc
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.5
5
+ platform: ruby
6
+ authors:
7
+ - jesus_gautamah
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2022-11-21 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '2.2'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '2.2'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rails
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: 7.0.4
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: 7.0.4
41
+ - !ruby/object:Gem::Dependency
42
+ name: pg
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '1.4'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '1.4'
55
+ - !ruby/object:Gem::Dependency
56
+ name: puma
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '5.0'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '5.0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: importmap-rails
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '1.1'
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '1.1'
83
+ - !ruby/object:Gem::Dependency
84
+ name: tailwindcss-rails
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '2.0'
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '2.0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: rubocop-rails
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '2.16'
104
+ type: :runtime
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: '2.16'
111
+ - !ruby/object:Gem::Dependency
112
+ name: rubocop-rspec
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: '2.13'
118
+ type: :runtime
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: '2.13'
125
+ - !ruby/object:Gem::Dependency
126
+ name: sidekiq
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: '6.5'
132
+ type: :runtime
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - "~>"
137
+ - !ruby/object:Gem::Version
138
+ version: '6.5'
139
+ - !ruby/object:Gem::Dependency
140
+ name: devise
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - "~>"
144
+ - !ruby/object:Gem::Version
145
+ version: '4.8'
146
+ type: :runtime
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - "~>"
151
+ - !ruby/object:Gem::Version
152
+ version: '4.8'
153
+ - !ruby/object:Gem::Dependency
154
+ name: rspec-rails
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - "~>"
158
+ - !ruby/object:Gem::Version
159
+ version: '6.0'
160
+ type: :runtime
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - "~>"
165
+ - !ruby/object:Gem::Version
166
+ version: '6.0'
167
+ - !ruby/object:Gem::Dependency
168
+ name: factory_bot_rails
169
+ requirement: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - "~>"
172
+ - !ruby/object:Gem::Version
173
+ version: '6.2'
174
+ type: :runtime
175
+ prerelease: false
176
+ version_requirements: !ruby/object:Gem::Requirement
177
+ requirements:
178
+ - - "~>"
179
+ - !ruby/object:Gem::Version
180
+ version: '6.2'
181
+ - !ruby/object:Gem::Dependency
182
+ name: faker
183
+ requirement: !ruby/object:Gem::Requirement
184
+ requirements:
185
+ - - "~>"
186
+ - !ruby/object:Gem::Version
187
+ version: '2.23'
188
+ type: :runtime
189
+ prerelease: false
190
+ version_requirements: !ruby/object:Gem::Requirement
191
+ requirements:
192
+ - - "~>"
193
+ - !ruby/object:Gem::Version
194
+ version: '2.23'
195
+ - !ruby/object:Gem::Dependency
196
+ name: simplecov
197
+ requirement: !ruby/object:Gem::Requirement
198
+ requirements:
199
+ - - "~>"
200
+ - !ruby/object:Gem::Version
201
+ version: '0.21'
202
+ type: :runtime
203
+ prerelease: false
204
+ version_requirements: !ruby/object:Gem::Requirement
205
+ requirements:
206
+ - - "~>"
207
+ - !ruby/object:Gem::Version
208
+ version: '0.21'
209
+ - !ruby/object:Gem::Dependency
210
+ name: selenium-webdriver
211
+ requirement: !ruby/object:Gem::Requirement
212
+ requirements:
213
+ - - "~>"
214
+ - !ruby/object:Gem::Version
215
+ version: '4.5'
216
+ type: :runtime
217
+ prerelease: false
218
+ version_requirements: !ruby/object:Gem::Requirement
219
+ requirements:
220
+ - - "~>"
221
+ - !ruby/object:Gem::Version
222
+ version: '4.5'
223
+ - !ruby/object:Gem::Dependency
224
+ name: sprockets-rails
225
+ requirement: !ruby/object:Gem::Requirement
226
+ requirements:
227
+ - - "~>"
228
+ - !ruby/object:Gem::Version
229
+ version: '3.4'
230
+ type: :runtime
231
+ prerelease: false
232
+ version_requirements: !ruby/object:Gem::Requirement
233
+ requirements:
234
+ - - "~>"
235
+ - !ruby/object:Gem::Version
236
+ version: '3.4'
237
+ - !ruby/object:Gem::Dependency
238
+ name: webdrivers
239
+ requirement: !ruby/object:Gem::Requirement
240
+ requirements:
241
+ - - "~>"
242
+ - !ruby/object:Gem::Version
243
+ version: '5.2'
244
+ type: :runtime
245
+ prerelease: false
246
+ version_requirements: !ruby/object:Gem::Requirement
247
+ requirements:
248
+ - - "~>"
249
+ - !ruby/object:Gem::Version
250
+ version: '5.2'
251
+ - !ruby/object:Gem::Dependency
252
+ name: turbo-rails
253
+ requirement: !ruby/object:Gem::Requirement
254
+ requirements:
255
+ - - "~>"
256
+ - !ruby/object:Gem::Version
257
+ version: '1.3'
258
+ type: :runtime
259
+ prerelease: false
260
+ version_requirements: !ruby/object:Gem::Requirement
261
+ requirements:
262
+ - - "~>"
263
+ - !ruby/object:Gem::Version
264
+ version: '1.3'
265
+ - !ruby/object:Gem::Dependency
266
+ name: stimulus-rails
267
+ requirement: !ruby/object:Gem::Requirement
268
+ requirements:
269
+ - - "~>"
270
+ - !ruby/object:Gem::Version
271
+ version: '1.1'
272
+ type: :runtime
273
+ prerelease: false
274
+ version_requirements: !ruby/object:Gem::Requirement
275
+ requirements:
276
+ - - "~>"
277
+ - !ruby/object:Gem::Version
278
+ version: '1.1'
279
+ - !ruby/object:Gem::Dependency
280
+ name: jbuilder
281
+ requirement: !ruby/object:Gem::Requirement
282
+ requirements:
283
+ - - "~>"
284
+ - !ruby/object:Gem::Version
285
+ version: '2.11'
286
+ type: :runtime
287
+ prerelease: false
288
+ version_requirements: !ruby/object:Gem::Requirement
289
+ requirements:
290
+ - - "~>"
291
+ - !ruby/object:Gem::Version
292
+ version: '2.11'
293
+ description: Blockchain implementation in Ruby using Rails and Docker
294
+ email:
295
+ - lima.jesuscc@gmail.com
296
+ executables:
297
+ - bundle
298
+ - console
299
+ - dev
300
+ - importmap
301
+ - osbc
302
+ - rails
303
+ - rake
304
+ - setup
305
+ extensions: []
306
+ extra_rdoc_files: []
307
+ files:
308
+ - ".env"
309
+ - ".rspec"
310
+ - ".rubocop.yml"
311
+ - ".ruby-version"
312
+ - CHANGELOG.md
313
+ - CODE_OF_CONDUCT.md
314
+ - Dockerfile
315
+ - Gemfile
316
+ - Gemfile.lock
317
+ - LICENSE.md
318
+ - LICENSE.txt
319
+ - Procfile
320
+ - Procfile.dev
321
+ - README.md
322
+ - Rakefile
323
+ - app/assets/builds/.keep
324
+ - app/assets/config/manifest.js
325
+ - app/assets/images/.keep
326
+ - app/assets/images/bg.png
327
+ - app/assets/images/gimage.png
328
+ - app/assets/images/image.png
329
+ - app/assets/images/logo.png
330
+ - app/assets/images/outerspc.jpg
331
+ - app/assets/images/proxy.jpg
332
+ - app/assets/images/space.jpg
333
+ - app/assets/images/space_four.jpg
334
+ - app/assets/images/space_t.jpg
335
+ - app/assets/images/space_th.jpg
336
+ - app/assets/images/space_two.jpg
337
+ - app/assets/images/th.jpg
338
+ - app/assets/stylesheets/application.css
339
+ - app/assets/stylesheets/application.tailwind.css
340
+ - app/assets/stylesheets/home.css
341
+ - app/channels/application_cable/channel.rb
342
+ - app/channels/application_cable/connection.rb
343
+ - app/controllers/api/v1/block_confirmations_controller.rb
344
+ - app/controllers/application_controller.rb
345
+ - app/controllers/blocks_controller.rb
346
+ - app/controllers/chains_controller.rb
347
+ - app/controllers/concerns/.keep
348
+ - app/controllers/contracts_controller.rb
349
+ - app/controllers/pools_controller.rb
350
+ - app/controllers/signatures_controller.rb
351
+ - app/controllers/tickets_controller.rb
352
+ - app/controllers/transactions_controller.rb
353
+ - app/controllers/users/confirmations_controller.rb
354
+ - app/controllers/users/omniauth_callbacks_controller.rb
355
+ - app/controllers/users/passwords_controller.rb
356
+ - app/controllers/users/registrations_controller.rb
357
+ - app/controllers/users/sessions_controller.rb
358
+ - app/controllers/users/unlocks_controller.rb
359
+ - app/controllers/wallets_controller.rb
360
+ - app/helpers/application_helper.rb
361
+ - app/helpers/blocks_helper.rb
362
+ - app/helpers/chains_helper.rb
363
+ - app/helpers/contracts_helper.rb
364
+ - app/helpers/pools_helper.rb
365
+ - app/helpers/signatures_helper.rb
366
+ - app/helpers/tickets_helper.rb
367
+ - app/helpers/transactions_helper.rb
368
+ - app/helpers/wallets_helper.rb
369
+ - app/javascript/application.js
370
+ - app/javascript/controllers/application.js
371
+ - app/javascript/controllers/hello_controller.js
372
+ - app/javascript/controllers/index.js
373
+ - app/jobs/application_job.rb
374
+ - app/mailers/application_mailer.rb
375
+ - app/models/acceptable_number_sequence.rb
376
+ - app/models/acceptable_symbol_sequence.rb
377
+ - app/models/acceptable_word.rb
378
+ - app/models/application_record.rb
379
+ - app/models/block.rb
380
+ - app/models/chain.rb
381
+ - app/models/concerns/.keep
382
+ - app/models/concerns/sequences_validator.rb
383
+ - app/models/concerns/wallet_exists_validator.rb
384
+ - app/models/contract.rb
385
+ - app/models/pool.rb
386
+ - app/models/signature.rb
387
+ - app/models/ticket.rb
388
+ - app/models/transaction.rb
389
+ - app/models/user.rb
390
+ - app/models/wallet.rb
391
+ - app/services/application_service.rb
392
+ - app/services/assign_contracts_service.rb
393
+ - app/services/create_ticket_service.rb
394
+ - app/services/create_wallet_service.rb
395
+ - app/services/transaction_to_block_service.rb
396
+ - app/views/application/_featured_board.html.erb
397
+ - app/views/application/home.html.slim
398
+ - app/views/application/mining_profile.html.slim
399
+ - app/views/application/privacy_policy.html.erb
400
+ - app/views/application/terms.html.erb
401
+ - app/views/blocks/_block.html.slim
402
+ - app/views/blocks/_block.json.jbuilder
403
+ - app/views/blocks/_form.html.slim
404
+ - app/views/blocks/edit.html.slim
405
+ - app/views/blocks/index.html.slim
406
+ - app/views/blocks/index.json.jbuilder
407
+ - app/views/blocks/new.html.slim
408
+ - app/views/blocks/show.html.slim
409
+ - app/views/blocks/show.json.jbuilder
410
+ - app/views/chains/_chain.html.slim
411
+ - app/views/chains/_chain.json.jbuilder
412
+ - app/views/chains/_form.html.slim
413
+ - app/views/chains/edit.html.slim
414
+ - app/views/chains/index.html.slim
415
+ - app/views/chains/index.json.jbuilder
416
+ - app/views/chains/new.html.slim
417
+ - app/views/chains/show.html.slim
418
+ - app/views/chains/show.json.jbuilder
419
+ - app/views/contracts/_contract.html.slim
420
+ - app/views/contracts/_contract.json.jbuilder
421
+ - app/views/contracts/_form.html.slim
422
+ - app/views/contracts/edit.html.slim
423
+ - app/views/contracts/index.html.slim
424
+ - app/views/contracts/index.json.jbuilder
425
+ - app/views/contracts/new.html.slim
426
+ - app/views/contracts/show.html.slim
427
+ - app/views/contracts/show.json.jbuilder
428
+ - app/views/layouts/_alert.html.slim
429
+ - app/views/layouts/_navbar.html.slim
430
+ - app/views/layouts/_notice.html.slim
431
+ - app/views/layouts/application.html.erb
432
+ - app/views/layouts/mailer.html.erb
433
+ - app/views/layouts/mailer.text.erb
434
+ - app/views/pools/_form.html.slim
435
+ - app/views/pools/_pool.html.slim
436
+ - app/views/pools/_pool.json.jbuilder
437
+ - app/views/pools/edit.html.slim
438
+ - app/views/pools/index.html.slim
439
+ - app/views/pools/index.json.jbuilder
440
+ - app/views/pools/new.html.slim
441
+ - app/views/pools/show.html.slim
442
+ - app/views/pools/show.json.jbuilder
443
+ - app/views/signatures/_form.html.slim
444
+ - app/views/signatures/_signature.html.slim
445
+ - app/views/signatures/_signature.json.jbuilder
446
+ - app/views/signatures/edit.html.slim
447
+ - app/views/signatures/index.html.slim
448
+ - app/views/signatures/index.json.jbuilder
449
+ - app/views/signatures/new.html.slim
450
+ - app/views/signatures/show.html.slim
451
+ - app/views/signatures/show.json.jbuilder
452
+ - app/views/tickets/_form.html.slim
453
+ - app/views/tickets/_ticket.html.slim
454
+ - app/views/tickets/_ticket.json.jbuilder
455
+ - app/views/tickets/edit.html.slim
456
+ - app/views/tickets/index.html.slim
457
+ - app/views/tickets/index.json.jbuilder
458
+ - app/views/tickets/new.html.slim
459
+ - app/views/tickets/show.html.slim
460
+ - app/views/tickets/show.json.jbuilder
461
+ - app/views/transactions/_form.html.slim
462
+ - app/views/transactions/_transaction.html.slim
463
+ - app/views/transactions/_transaction.json.jbuilder
464
+ - app/views/transactions/edit.html.slim
465
+ - app/views/transactions/index.html.slim
466
+ - app/views/transactions/index.json.jbuilder
467
+ - app/views/transactions/new.html.slim
468
+ - app/views/transactions/show.html.slim
469
+ - app/views/transactions/show.json.jbuilder
470
+ - app/views/users/confirmations/new.html.erb
471
+ - app/views/users/mailer/confirmation_instructions.html.erb
472
+ - app/views/users/mailer/email_changed.html.erb
473
+ - app/views/users/mailer/password_change.html.erb
474
+ - app/views/users/mailer/reset_password_instructions.html.erb
475
+ - app/views/users/mailer/unlock_instructions.html.erb
476
+ - app/views/users/passwords/edit.html.erb
477
+ - app/views/users/passwords/new.html.erb
478
+ - app/views/users/registrations/edit.html.erb
479
+ - app/views/users/registrations/new.html.erb
480
+ - app/views/users/sessions/new.html.erb
481
+ - app/views/users/shared/_error_messages.html.erb
482
+ - app/views/users/shared/_links.html.erb
483
+ - app/views/users/unlocks/new.html.erb
484
+ - app/views/wallets/_form.html.slim
485
+ - app/views/wallets/_wallet.html.slim
486
+ - app/views/wallets/_wallet.json.jbuilder
487
+ - app/views/wallets/edit.html.slim
488
+ - app/views/wallets/index.html.slim
489
+ - app/views/wallets/index.json.jbuilder
490
+ - app/views/wallets/new.html.slim
491
+ - app/views/wallets/show.html.slim
492
+ - app/views/wallets/show.json.jbuilder
493
+ - app/workers/application_worker.rb
494
+ - app/workers/assign_contract_worker.rb
495
+ - app/workers/create_ticket_worker.rb
496
+ - app/workers/create_wallet_worker.rb
497
+ - app/workers/transaction_to_block_worker.rb
498
+ - bin/bundle
499
+ - bin/console
500
+ - bin/dev
501
+ - bin/importmap
502
+ - bin/osbc
503
+ - bin/rails
504
+ - bin/rake
505
+ - bin/setup
506
+ - config.ru
507
+ - config/application.rb
508
+ - config/boot.rb
509
+ - config/cable.yml
510
+ - config/credentials.yml.enc
511
+ - config/database.yml
512
+ - config/environment.rb
513
+ - config/environments/development.rb
514
+ - config/environments/production.rb
515
+ - config/environments/test.rb
516
+ - config/importmap.rb
517
+ - config/initializers/assets.rb
518
+ - config/initializers/content_security_policy.rb
519
+ - config/initializers/devise.rb
520
+ - config/initializers/filter_parameter_logging.rb
521
+ - config/initializers/inflections.rb
522
+ - config/initializers/permissions_policy.rb
523
+ - config/locales/devise.en.yml
524
+ - config/locales/en.yml
525
+ - config/puma.rb
526
+ - config/routes.rb
527
+ - config/routes/api.rb
528
+ - config/sidekiq.yml
529
+ - config/storage.yml
530
+ - config/tailwind.config.js
531
+ - coverage/.last_run.json
532
+ - coverage/.resultset.json
533
+ - coverage/.resultset.json.lock
534
+ - coverage/assets/0.12.3/DataTables-1.10.20/images/sort_asc.png
535
+ - coverage/assets/0.12.3/DataTables-1.10.20/images/sort_asc_disabled.png
536
+ - coverage/assets/0.12.3/DataTables-1.10.20/images/sort_both.png
537
+ - coverage/assets/0.12.3/DataTables-1.10.20/images/sort_desc.png
538
+ - coverage/assets/0.12.3/DataTables-1.10.20/images/sort_desc_disabled.png
539
+ - coverage/assets/0.12.3/application.css
540
+ - coverage/assets/0.12.3/application.js
541
+ - coverage/assets/0.12.3/colorbox/border.png
542
+ - coverage/assets/0.12.3/colorbox/controls.png
543
+ - coverage/assets/0.12.3/colorbox/loading.gif
544
+ - coverage/assets/0.12.3/colorbox/loading_background.png
545
+ - coverage/assets/0.12.3/favicon_green.png
546
+ - coverage/assets/0.12.3/favicon_red.png
547
+ - coverage/assets/0.12.3/favicon_yellow.png
548
+ - coverage/assets/0.12.3/images/ui-bg_flat_0_aaaaaa_40x100.png
549
+ - coverage/assets/0.12.3/images/ui-bg_flat_75_ffffff_40x100.png
550
+ - coverage/assets/0.12.3/images/ui-bg_glass_55_fbf9ee_1x400.png
551
+ - coverage/assets/0.12.3/images/ui-bg_glass_65_ffffff_1x400.png
552
+ - coverage/assets/0.12.3/images/ui-bg_glass_75_dadada_1x400.png
553
+ - coverage/assets/0.12.3/images/ui-bg_glass_75_e6e6e6_1x400.png
554
+ - coverage/assets/0.12.3/images/ui-bg_glass_95_fef1ec_1x400.png
555
+ - coverage/assets/0.12.3/images/ui-bg_highlight-soft_75_cccccc_1x100.png
556
+ - coverage/assets/0.12.3/images/ui-icons_222222_256x240.png
557
+ - coverage/assets/0.12.3/images/ui-icons_2e83ff_256x240.png
558
+ - coverage/assets/0.12.3/images/ui-icons_454545_256x240.png
559
+ - coverage/assets/0.12.3/images/ui-icons_888888_256x240.png
560
+ - coverage/assets/0.12.3/images/ui-icons_cd0a0a_256x240.png
561
+ - coverage/assets/0.12.3/loading.gif
562
+ - coverage/assets/0.12.3/magnify.png
563
+ - coverage/index.html
564
+ - db/migrate/20221018053949_devise_create_users.rb
565
+ - db/migrate/20221019002956_create_chains.rb
566
+ - db/migrate/20221020112137_create_blocks.rb
567
+ - db/migrate/20221020123102_add_chain_to_blocks.rb
568
+ - db/migrate/20221020150504_create_wallets.rb
569
+ - db/migrate/20221022221059_create_transactions.rb
570
+ - db/migrate/20221023011005_add_block_to_transactions.rb
571
+ - db/migrate/20221023014707_create_contracts.rb
572
+ - db/migrate/20221023040749_create_pools.rb
573
+ - db/migrate/20221023041015_create_tickets.rb
574
+ - db/migrate/20221023103509_add_contracts_count_to_block.rb
575
+ - db/migrate/20221023110613_add_acceptable_word_list_to_users.rb
576
+ - db/migrate/20221023113539_create_signatures.rb
577
+ - db/migrate/20221023113750_create_acceptable_words.rb
578
+ - db/migrate/20221023114152_create_acceptable_number_sequences.rb
579
+ - db/migrate/20221023114203_create_acceptable_symbol_sequences.rb
580
+ - db/migrate/20221023114324_add_user_acceptable_hash_to_tickets.rb
581
+ - db/migrate/20221023114408_add_time_ref_to_tickets.rb
582
+ - db/migrate/20221024125047_add_master_hash_to_blocks.rb
583
+ - db/migrate/20221109161845_add_transactions_count_to_blocks.rb
584
+ - db/migrate/20221117135003_add_balance_to_chains.rb
585
+ - db/migrate/20221117203417_add_transaction_id_list_to_tickets.rb
586
+ - db/migrate/20221118080357_add_api_keys_to_users.rb
587
+ - db/schema.rb
588
+ - db/seeds.rb
589
+ - docker-compose.yml
590
+ - entrypoint.sh
591
+ - lib/assets/.keep
592
+ - lib/osbc/osbc.rb
593
+ - lib/outerspace/blockchain.rb
594
+ - lib/outerspace/blockchain/version.rb
595
+ - lib/tasks/.keep
596
+ - lib/tasks/compose.rake
597
+ - lib/tasks/compose_db.rake
598
+ - lib/tasks/compose_logs.rake
599
+ - lib/tasks/compose_test.rake
600
+ - log/.keep
601
+ - mining_concept.ipynb
602
+ - outerspace-blockchain.gemspec
603
+ - public/404.html
604
+ - public/422.html
605
+ - public/500.html
606
+ - public/apple-touch-icon-precomposed.png
607
+ - public/apple-touch-icon.png
608
+ - public/favicon.ico
609
+ - public/robots.txt
610
+ - storage/.keep
611
+ - tmp/.keep
612
+ - tmp/pids/.keep
613
+ - tmp/storage/.keep
614
+ - vendor/.keep
615
+ - vendor/javascript/.keep
616
+ homepage: https://outerspace-blockchain.herokuapp.com/
617
+ licenses:
618
+ - MIT
619
+ metadata:
620
+ allowed_push_host: https://rubygems.org
621
+ homepage_uri: https://outerspace-blockchain.herokuapp.com/
622
+ source_code_uri: https://github.com/outerspace-coding/outerspace-blockchain
623
+ changelog_uri: https://github.com/outerspace-coding/outerspace-blockchain/blob/main/CHANGELOG.md
624
+ post_install_message:
625
+ rdoc_options: []
626
+ require_paths:
627
+ - lib
628
+ required_ruby_version: !ruby/object:Gem::Requirement
629
+ requirements:
630
+ - - ">="
631
+ - !ruby/object:Gem::Version
632
+ version: 3.0.3
633
+ required_rubygems_version: !ruby/object:Gem::Requirement
634
+ requirements:
635
+ - - ">="
636
+ - !ruby/object:Gem::Version
637
+ version: '0'
638
+ requirements: []
639
+ rubygems_version: 3.2.32
640
+ signing_key:
641
+ specification_version: 4
642
+ summary: Blockchain implementation in Ruby
643
+ test_files: []