gera 0.3.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (164) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE +674 -0
  3. data/README.md +67 -0
  4. data/Rakefile +43 -0
  5. data/app/assets/config/gera_manifest.js +2 -0
  6. data/app/assets/javascripts/gera/application.js +14 -0
  7. data/app/assets/stylesheets/gera/application.css +15 -0
  8. data/app/authorizers/gera/application_authorizer.rb +6 -0
  9. data/app/authorizers/gera/currency_rate_authorizer.rb +9 -0
  10. data/app/authorizers/gera/currency_rate_mode_authorizer.rb +7 -0
  11. data/app/authorizers/gera/direction_rate_authorizer.rb +8 -0
  12. data/app/authorizers/gera/exchange_rate_authorizer.rb +8 -0
  13. data/app/authorizers/gera/payment_system_authorizer.rb +13 -0
  14. data/app/authorizers/gera/rate_source_authorizer.rb +7 -0
  15. data/app/controllers/gera/application_controller.rb +30 -0
  16. data/app/controllers/gera/currencies_controller.rb +8 -0
  17. data/app/controllers/gera/currency_rate_history_intervals_controller.rb +53 -0
  18. data/app/controllers/gera/currency_rate_mode_snapshots_controller.rb +83 -0
  19. data/app/controllers/gera/currency_rate_modes_controller.rb +60 -0
  20. data/app/controllers/gera/currency_rates_controller.rb +70 -0
  21. data/app/controllers/gera/direction_rate_history_intervals_controller.rb +62 -0
  22. data/app/controllers/gera/direction_rates_controller.rb +28 -0
  23. data/app/controllers/gera/exchange_rates_controller.rb +25 -0
  24. data/app/controllers/gera/external_rate_snapshots_controller.rb +35 -0
  25. data/app/controllers/gera/external_rates_controller.rb +28 -0
  26. data/app/controllers/gera/payment_systems_controller.rb +78 -0
  27. data/app/controllers/gera/rate_sources_controller.rb +8 -0
  28. data/app/decorators/gera/currency_rate_decorator.rb +148 -0
  29. data/app/decorators/gera/direction_rate_decorator.rb +47 -0
  30. data/app/decorators/gera/payment_system_decorator.rb +19 -0
  31. data/app/helpers/gera/application_helper.rb +110 -0
  32. data/app/helpers/gera/currency_rate_helper.rb +19 -0
  33. data/app/helpers/gera/currency_rate_modes_helper.rb +73 -0
  34. data/app/helpers/gera/direction_rate_helper.rb +36 -0
  35. data/app/helpers/gera/exchange_rates_helper.rb +21 -0
  36. data/app/jobs/gera/application_job.rb +6 -0
  37. data/app/models/concerns/gera/currency_pair_generator.rb +14 -0
  38. data/app/models/concerns/gera/currency_pair_support.rb +42 -0
  39. data/app/models/concerns/gera/currency_rate_mode_builder_support.rb +35 -0
  40. data/app/models/concerns/gera/direction_support.rb +14 -0
  41. data/app/models/concerns/gera/history_interval_concern.rb +46 -0
  42. data/app/models/gera/application_record.rb +8 -0
  43. data/app/models/gera/cbr_external_rate.rb +13 -0
  44. data/app/models/gera/cross_rate_mode.rb +13 -0
  45. data/app/models/gera/currency_rate.rb +78 -0
  46. data/app/models/gera/currency_rate_history_interval.rb +25 -0
  47. data/app/models/gera/currency_rate_history_interval_filter.rb +30 -0
  48. data/app/models/gera/currency_rate_mode.rb +20 -0
  49. data/app/models/gera/currency_rate_mode_snapshot.rb +26 -0
  50. data/app/models/gera/currency_rate_snapshot.rb +12 -0
  51. data/app/models/gera/direction.rb +44 -0
  52. data/app/models/gera/direction_rate.rb +136 -0
  53. data/app/models/gera/direction_rate_history_interval.rb +33 -0
  54. data/app/models/gera/direction_rate_history_interval_filter.rb +30 -0
  55. data/app/models/gera/direction_rate_snapshot.rb +7 -0
  56. data/app/models/gera/exchange_rate.rb +130 -0
  57. data/app/models/gera/external_rate.rb +38 -0
  58. data/app/models/gera/external_rate_snapshot.rb +20 -0
  59. data/app/models/gera/payment_system.rb +98 -0
  60. data/app/models/gera/rate_source.rb +77 -0
  61. data/app/models/gera/rate_source_auto.rb +25 -0
  62. data/app/models/gera/rate_source_bitfinex.rb +9 -0
  63. data/app/models/gera/rate_source_cbr.rb +13 -0
  64. data/app/models/gera/rate_source_cbr_avg.rb +6 -0
  65. data/app/models/gera/rate_source_exmo.rb +9 -0
  66. data/app/models/gera/rate_source_manual.rb +13 -0
  67. data/app/views/application/_exchange_rate_monitor.slim +1 -0
  68. data/app/views/gera/application/_attributes_table.slim +5 -0
  69. data/app/views/gera/application/_currencies_table.slim +18 -0
  70. data/app/views/gera/application/_currency_rate_mode_snapshots.slim +6 -0
  71. data/app/views/gera/application/_direction_rate.slim +6 -0
  72. data/app/views/gera/application/_directions_submenu.slim +11 -0
  73. data/app/views/gera/application/_directions_table.slim +15 -0
  74. data/app/views/gera/application/_exchange_rate.slim +6 -0
  75. data/app/views/gera/application/_external_rate.slim +6 -0
  76. data/app/views/gera/application/_header.slim +12 -0
  77. data/app/views/gera/application/_table.slim +28 -0
  78. data/app/views/gera/application/_topnav.slim +21 -0
  79. data/app/views/gera/application/direction_details.slim +75 -0
  80. data/app/views/gera/application/page.html.slim +1 -0
  81. data/app/views/gera/currencies/index.html.slim +20 -0
  82. data/app/views/gera/currency_rate_history_intervals/_filter.slim +11 -0
  83. data/app/views/gera/currency_rate_history_intervals/index.slim +39 -0
  84. data/app/views/gera/currency_rate_mode_snapshots/_snapshot.slim +20 -0
  85. data/app/views/gera/currency_rate_mode_snapshots/edit.html.slim +30 -0
  86. data/app/views/gera/currency_rate_modes/_cross_rate_mode_fields.slim +21 -0
  87. data/app/views/gera/currency_rate_modes/_currency_rate_mode.slim +7 -0
  88. data/app/views/gera/currency_rate_modes/_form.slim +29 -0
  89. data/app/views/gera/currency_rate_modes/edit.slim +11 -0
  90. data/app/views/gera/currency_rate_modes/index.html.slim +12 -0
  91. data/app/views/gera/currency_rates/_currency_rate.slim +22 -0
  92. data/app/views/gera/currency_rates/_currency_rate_humanized.slim +35 -0
  93. data/app/views/gera/currency_rates/diff.slim +12 -0
  94. data/app/views/gera/currency_rates/index.slim +27 -0
  95. data/app/views/gera/currency_rates/modes.slim +14 -0
  96. data/app/views/gera/currency_rates/show.slim +4 -0
  97. data/app/views/gera/direction_rate_history_intervals/_filter.slim +11 -0
  98. data/app/views/gera/direction_rate_history_intervals/index.slim +41 -0
  99. data/app/views/gera/direction_rates/_direction_rate_example_calculator.slim +28 -0
  100. data/app/views/gera/direction_rates/diff.slim +19 -0
  101. data/app/views/gera/direction_rates/index.slim +26 -0
  102. data/app/views/gera/direction_rates/legacy.html.slim +5 -0
  103. data/app/views/gera/direction_rates/minimals.slim +5 -0
  104. data/app/views/gera/direction_rates/show.slim +14 -0
  105. data/app/views/gera/external_rate_snapshots/index.slim +25 -0
  106. data/app/views/gera/external_rate_snapshots/show.slim +22 -0
  107. data/app/views/gera/external_rates/_flat_list.slim +22 -0
  108. data/app/views/gera/external_rates/index.html.slim +28 -0
  109. data/app/views/gera/external_rates/show.slim +1 -0
  110. data/app/views/gera/payment_systems/_fields.slim +4 -0
  111. data/app/views/gera/payment_systems/_fields_table.slim +18 -0
  112. data/app/views/gera/payment_systems/_form.slim +9 -0
  113. data/app/views/gera/payment_systems/edit.slim +7 -0
  114. data/app/views/gera/payment_systems/index.slim +3 -0
  115. data/app/views/gera/payment_systems/new.slim +9 -0
  116. data/app/views/gera/payment_systems/show.slim +1 -0
  117. data/app/views/gera/rate_sources/_list.slim +13 -0
  118. data/app/views/gera/rate_sources/_rate_source.slim +23 -0
  119. data/app/views/gera/rate_sources/index.html.slim +6 -0
  120. data/app/views/layouts/application.html.slim +15 -0
  121. data/app/views/layouts/gera/blank.html.slim +10 -0
  122. data/app/workers/concerns/gera/rates_worker.rb +87 -0
  123. data/app/workers/gera/bitfinex_rates_worker.rb +65 -0
  124. data/app/workers/gera/cbr_avg_rates_worker.rb +42 -0
  125. data/app/workers/gera/cbr_rates_worker.rb +192 -0
  126. data/app/workers/gera/create_history_intervals_worker.rb +38 -0
  127. data/app/workers/gera/currency_rates_worker.rb +64 -0
  128. data/app/workers/gera/directions_rates_worker.rb +51 -0
  129. data/app/workers/gera/exmo_rates_worker.rb +62 -0
  130. data/app/workers/gera/purge_currency_rates_worker.rb +21 -0
  131. data/app/workers/gera/purge_direction_rates_worker.rb +30 -0
  132. data/config/currencies.yml +559 -0
  133. data/config/routes.rb +30 -0
  134. data/db/migrate/20180912130000_setup.rb +228 -0
  135. data/db/migrate/20190314114844_add_is_available_to_payment_systems.rb +7 -0
  136. data/db/migrate/20190315113046_add_icon_url_to_payment_systems.rb +7 -0
  137. data/db/migrate/20190315132137_add_commission_to_payment_systems.rb +7 -0
  138. data/lib/banks/currency_exchange.rb +12 -0
  139. data/lib/builders/currency_rate_auto_builder.rb +38 -0
  140. data/lib/builders/currency_rate_builder.rb +60 -0
  141. data/lib/builders/currency_rate_cross_builder.rb +70 -0
  142. data/lib/builders/currency_rate_direct_builder.rb +26 -0
  143. data/lib/gera.rb +32 -0
  144. data/lib/gera/bitfinex_fetcher.rb +36 -0
  145. data/lib/gera/configuration.rb +47 -0
  146. data/lib/gera/currencies_purger.rb +28 -0
  147. data/lib/gera/currency_pair.rb +93 -0
  148. data/lib/gera/engine.rb +14 -0
  149. data/lib/gera/mathematic.rb +156 -0
  150. data/lib/gera/money_support.rb +89 -0
  151. data/lib/gera/numeric.rb +25 -0
  152. data/lib/gera/railtie.rb +8 -0
  153. data/lib/gera/rate.rb +22 -0
  154. data/lib/gera/rate_from_multiplicator.rb +54 -0
  155. data/lib/gera/repositories/currency_rate_modes_repository.rb +37 -0
  156. data/lib/gera/repositories/currency_rates_repository.rb +25 -0
  157. data/lib/gera/repositories/direction_rates_repository.rb +46 -0
  158. data/lib/gera/repositories/exchange_rates_repository.rb +23 -0
  159. data/lib/gera/repositories/payment_systems_repository.rb +21 -0
  160. data/lib/gera/repositories/universe.rb +47 -0
  161. data/lib/gera/version.rb +3 -0
  162. data/lib/tasks/auto_generate_diagram.rake +6 -0
  163. data/lib/tasks/gera_tasks.rake +4 -0
  164. metadata +765 -0
@@ -0,0 +1,25 @@
1
+ module Gera
2
+ module Numeric
3
+ def to_rate
4
+ RateFromMultiplicator.new(self)
5
+ end
6
+
7
+ def percents
8
+ self.to_percent
9
+ end
10
+
11
+ # 10.percent_of(100) # => (10/1)
12
+ def percent_of(value)
13
+ value * to_percent
14
+ end
15
+
16
+ # 5.as_percentage_of(10) # => 50.0%
17
+ def as_percentage_of(value)
18
+ (self.to_f * 100.0 / value).to_percent
19
+ end
20
+ end
21
+ end
22
+
23
+ class ::Numeric
24
+ include Gera::Numeric
25
+ end
@@ -0,0 +1,8 @@
1
+ require 'gera/money_support'
2
+ module Gera
3
+ class Railtie < ::Rails::Railtie
4
+ initializer 'gera.initialize' do
5
+ MoneySupport.init
6
+ end
7
+ end
8
+ end
data/lib/gera/rate.rb ADDED
@@ -0,0 +1,22 @@
1
+ require_relative 'rate_from_multiplicator'
2
+
3
+ module Gera
4
+ class Rate < RateFromMultiplicator
5
+ include Virtus.model strict: true
6
+
7
+ attribute :in_amount, Float
8
+ attribute :out_amount, Float
9
+
10
+ def to_d
11
+ out_amount.to_d / in_amount.to_d
12
+ end
13
+
14
+ def to_f
15
+ to_d.to_f
16
+ end
17
+
18
+ def reverse
19
+ self.class.new(in_amount: out_amount, out_amount: in_amount).freeze
20
+ end
21
+ end
22
+ end
@@ -0,0 +1,54 @@
1
+ module Gera
2
+ class RateFromMultiplicator
3
+ include Mathematic
4
+ attr_reader :value
5
+
6
+ delegate :+, :-, :/, :*, :==, :>, :<, :<=, :>=, to: :to_d
7
+
8
+ delegate :to_d, :to_f, to: :value
9
+
10
+ def initialize(value)
11
+ @value = value
12
+ end
13
+
14
+ def ==(other)
15
+ value == other.value
16
+ end
17
+
18
+ def in_amount
19
+ value > 1 ? 1.0 : 1.0 / value
20
+ end
21
+
22
+ def out_amount
23
+ value > 1 ? value : 1.0
24
+ end
25
+
26
+ def exchange(amount, currency)
27
+ money_exchange to_d, amount, currency
28
+ end
29
+
30
+ def reverse_exchange(amount, currency)
31
+ money_reverse_exchange to_d, amount, currency
32
+ end
33
+
34
+ def reverse
35
+ self.class.new(1.0 / value).freeze
36
+ end
37
+
38
+ FORMAT_ROUND = 3
39
+
40
+ def format(cur1='', cur2='')
41
+ cur1 = " #{cur1}" if cur1.present?
42
+ cur2 = " #{cur2}" if cur2.present?
43
+ "#{in_amount.round FORMAT_ROUND}#{cur1} → #{out_amount.round FORMAT_ROUND}#{cur2}"
44
+ end
45
+
46
+ def to_s
47
+ format
48
+ end
49
+
50
+ def to_rate
51
+ self
52
+ end
53
+ end
54
+ end
@@ -0,0 +1,37 @@
1
+ module Gera
2
+ class CurrencyRateModesRepository
3
+ def snapshot
4
+ @snapshot ||= find_or_create_active_snapshot
5
+ end
6
+
7
+ def find_currency_rate_mode_by_pair pair
8
+ modes_by_pair[pair.key]
9
+ end
10
+
11
+ def add_currency!(currency)
12
+ snapshot.currency_rate_modes.group(:cur_from).count.keys.each do |cur_from|
13
+ snapshot.currency_rate_modes.create! cur_from: cur_from, cur_to: currency
14
+ end
15
+
16
+ snapshot.currency_rate_modes.group(:cur_to).count.keys.each do |cur_to|
17
+ snapshot.currency_rate_modes.create! cur_from: currency, cur_to: cur_to
18
+ end
19
+
20
+ @modes_by_pair = build_modes_by_pair
21
+ end
22
+
23
+ private
24
+
25
+ def find_or_create_active_snapshot
26
+ CurrencyRateModeSnapshot.status_active.first || CurrencyRateModeSnapshot.create!(status: :active).create_modes!
27
+ end
28
+
29
+ def modes_by_pair
30
+ @modes_by_pair ||= build_modes_by_pair
31
+ end
32
+
33
+ def build_modes_by_pair
34
+ snapshot.currency_rate_modes.each_with_object({}) { |crm, modes| modes[crm.currency_pair.key] = crm }
35
+ end
36
+ end
37
+ end
@@ -0,0 +1,25 @@
1
+ module Gera
2
+ class CurrencyRatesRepository
3
+ UnknownPair = Class.new StandardError
4
+
5
+ def snapshot
6
+ @snapshot ||= CurrencyRateSnapshot.last || raise("No actual snapshot")
7
+ end
8
+
9
+ def find_currency_rate_by_pair pair
10
+ rates_by_pair[pair] || raise(UnknownPair, "Currency pair (#{pair}) is not found in currency rates")
11
+ end
12
+
13
+ def get_currency_rate_by_pair pair
14
+ find_currency_rate_by_pair(pair)
15
+ rescue UnknownPair
16
+ CurrencyRate.new(currency_pair: pair).freeze
17
+ end
18
+
19
+ private
20
+
21
+ def rates_by_pair
22
+ @rates_by_pair ||= snapshot.rates.each_with_object({}) { |r,h| h[r.currency_pair] = r }
23
+ end
24
+ end
25
+ end
@@ -0,0 +1,46 @@
1
+ module Gera
2
+ class DirectionRatesRepository
3
+ FinitRateNotFound = Class.new StandardError
4
+ NoActualSnapshot = Class.new StandardError
5
+
6
+ def snapshot
7
+ @snapshot ||= DirectionRateSnapshot.last || raise(NoActualSnapshot, "No actual DirectionRate snapshot")
8
+ end
9
+
10
+ def all
11
+ snapshot.direction_rates
12
+ end
13
+
14
+ def find_direction_rate_by_exchange_rate_id er_id
15
+ rates_by_exchange_rate_id[er_id] || raise(FinitRateNotFound, "No DirectionRate for exchange_rate_id=#{er_id} in direction_rate_snapshot_id=#{snapshot.id}")
16
+ end
17
+
18
+ def find_by_direction direction
19
+ get_by_direction direction
20
+ end
21
+
22
+ def get_by_direction direction
23
+ get_matrix.fetch(direction.ps_from_id, {}).fetch(direction.ps_to_id, nil)
24
+ end
25
+
26
+ def get_matrix
27
+ @matrix ||= build_matrix
28
+ end
29
+
30
+ private
31
+
32
+ def build_matrix
33
+ hash = {}
34
+ snapshot.direction_rates.each do |dr|
35
+ hash[dr.ps_from_id] ||= {}
36
+ hash[dr.ps_from_id][dr.ps_to_id] = dr
37
+ end
38
+
39
+ hash
40
+ end
41
+
42
+ def rates_by_exchange_rate_id
43
+ @rates_by_exchange_rate_id ||= snapshot.direction_rates.each_with_object({}) { |dr, h| h[dr.exchange_rate_id]=dr }
44
+ end
45
+ end
46
+ end
@@ -0,0 +1,23 @@
1
+ module Gera
2
+ class ExchangeRatesRepository
3
+ def find_by_direction direction
4
+ get_matrix[direction.ps_from_id][direction.ps_to_id]
5
+ end
6
+
7
+ def get_matrix
8
+ @matrix ||= build_matrix
9
+ end
10
+
11
+ private
12
+
13
+ def build_matrix
14
+ hash = {}
15
+ ExchangeRate.all.each do |er|
16
+ hash[er.ps_from_id] ||= {}
17
+ hash[er.ps_from_id][er.ps_to_id] = er
18
+ end
19
+
20
+ hash
21
+ end
22
+ end
23
+ end
@@ -0,0 +1,21 @@
1
+ module Gera
2
+ class PaymentSystemsRepository
3
+ def find_by_id id
4
+ cache_by_id[id]
5
+ end
6
+
7
+ def available
8
+ @available ||= PaymentSystem.available.ordered.load
9
+ end
10
+
11
+ def all
12
+ @all ||= PaymentSystem.ordered.load
13
+ end
14
+
15
+ private
16
+
17
+ def cache_by_id
18
+ @cache_by_id ||= PaymentSystem.ordered.load.each_with_object({}) { |ps, h| h[ps.id] = ps }
19
+ end
20
+ end
21
+ end
@@ -0,0 +1,47 @@
1
+ require 'request_store'
2
+
3
+ module Gera
4
+ class Universe
5
+ class << self
6
+ delegate :currency_rate_modes_repository, :currency_rates_repository, :direction_rates_repository, :exchange_rates_repository,
7
+ :payment_systems,
8
+ :clear!,
9
+ to: :instance
10
+
11
+ def instance
12
+ RequestStore[:universe_repository] ||= new
13
+ end
14
+ end
15
+
16
+ attr_reader :currency_rate_modes_repository, :currency_rates_repository, :direction_rates_repository
17
+
18
+ def clear!
19
+ @currency_rates_repository = nil
20
+ @currency_rate_modes_repository = nil
21
+ @direction_rates_repository = nil
22
+ @exchange_rates_repository = nil
23
+ @payment_systems = nil
24
+ @reserves = nil
25
+ end
26
+
27
+ def payment_systems
28
+ @payment_systems ||= PaymentSystemsRepository.new
29
+ end
30
+
31
+ def currency_rate_modes_repository
32
+ @currency_rate_modes_repository ||= CurrencyRateModesRepository.new
33
+ end
34
+
35
+ def currency_rates_repository
36
+ @currency_rates_repository ||= CurrencyRatesRepository.new
37
+ end
38
+
39
+ def direction_rates_repository
40
+ @direction_rates_repository ||= DirectionRatesRepository.new
41
+ end
42
+
43
+ def exchange_rates_repository
44
+ @exchange_rates_repository ||= ExchangeRatesRepository.new
45
+ end
46
+ end
47
+ end
@@ -0,0 +1,3 @@
1
+ module Gera
2
+ VERSION = '0.3.4'
3
+ end
@@ -0,0 +1,6 @@
1
+ # NOTE: only doing this in development as some production environments (Heroku)
2
+ # NOTE: are sensitive to local FS writes, and besides -- it's just not proper
3
+ # NOTE: to have a dev-mode tool do its thing in production.
4
+ if Rails.env.development?
5
+ RailsERD.load_tasks if defined? RailsERD
6
+ end
@@ -0,0 +1,4 @@
1
+ # desc "Explaining what the task does"
2
+ # task :gera do
3
+ # # Task goes here
4
+ # end
metadata ADDED
@@ -0,0 +1,765 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: gera
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.3.4
5
+ platform: ruby
6
+ authors:
7
+ - Danil Pismenny
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2021-03-29 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: simple_form
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rails
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: 5.2.1
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: 5.2.1
41
+ - !ruby/object:Gem::Dependency
42
+ name: best_in_place
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: virtus
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: kaminari
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: require_all
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: rest-client
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '2.0'
104
+ type: :runtime
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: '2.0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: sidekiq
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :runtime
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: auto_logger
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: 0.1.4
132
+ type: :runtime
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - "~>"
137
+ - !ruby/object:Gem::Version
138
+ version: 0.1.4
139
+ - !ruby/object:Gem::Dependency
140
+ name: request_store
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ">="
144
+ - !ruby/object:Gem::Version
145
+ version: '0'
146
+ type: :runtime
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ version: '0'
153
+ - !ruby/object:Gem::Dependency
154
+ name: business_time
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - ">="
158
+ - !ruby/object:Gem::Version
159
+ version: '0'
160
+ type: :runtime
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - ">="
165
+ - !ruby/object:Gem::Version
166
+ version: '0'
167
+ - !ruby/object:Gem::Dependency
168
+ name: dapi-archivable
169
+ requirement: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - ">="
172
+ - !ruby/object:Gem::Version
173
+ version: '0'
174
+ type: :runtime
175
+ prerelease: false
176
+ version_requirements: !ruby/object:Gem::Requirement
177
+ requirements:
178
+ - - ">="
179
+ - !ruby/object:Gem::Version
180
+ version: '0'
181
+ - !ruby/object:Gem::Dependency
182
+ name: authority
183
+ requirement: !ruby/object:Gem::Requirement
184
+ requirements:
185
+ - - ">="
186
+ - !ruby/object:Gem::Version
187
+ version: '0'
188
+ type: :runtime
189
+ prerelease: false
190
+ version_requirements: !ruby/object:Gem::Requirement
191
+ requirements:
192
+ - - ">="
193
+ - !ruby/object:Gem::Version
194
+ version: '0'
195
+ - !ruby/object:Gem::Dependency
196
+ name: psych
197
+ requirement: !ruby/object:Gem::Requirement
198
+ requirements:
199
+ - - ">="
200
+ - !ruby/object:Gem::Version
201
+ version: '0'
202
+ type: :runtime
203
+ prerelease: false
204
+ version_requirements: !ruby/object:Gem::Requirement
205
+ requirements:
206
+ - - ">="
207
+ - !ruby/object:Gem::Version
208
+ version: '0'
209
+ - !ruby/object:Gem::Dependency
210
+ name: money
211
+ requirement: !ruby/object:Gem::Requirement
212
+ requirements:
213
+ - - ">="
214
+ - !ruby/object:Gem::Version
215
+ version: '0'
216
+ type: :runtime
217
+ prerelease: false
218
+ version_requirements: !ruby/object:Gem::Requirement
219
+ requirements:
220
+ - - ">="
221
+ - !ruby/object:Gem::Version
222
+ version: '0'
223
+ - !ruby/object:Gem::Dependency
224
+ name: money-rails
225
+ requirement: !ruby/object:Gem::Requirement
226
+ requirements:
227
+ - - ">="
228
+ - !ruby/object:Gem::Version
229
+ version: '0'
230
+ type: :runtime
231
+ prerelease: false
232
+ version_requirements: !ruby/object:Gem::Requirement
233
+ requirements:
234
+ - - ">="
235
+ - !ruby/object:Gem::Version
236
+ version: '0'
237
+ - !ruby/object:Gem::Dependency
238
+ name: percentable
239
+ requirement: !ruby/object:Gem::Requirement
240
+ requirements:
241
+ - - ">="
242
+ - !ruby/object:Gem::Version
243
+ version: '0'
244
+ type: :runtime
245
+ prerelease: false
246
+ version_requirements: !ruby/object:Gem::Requirement
247
+ requirements:
248
+ - - ">="
249
+ - !ruby/object:Gem::Version
250
+ version: '0'
251
+ - !ruby/object:Gem::Dependency
252
+ name: draper
253
+ requirement: !ruby/object:Gem::Requirement
254
+ requirements:
255
+ - - "~>"
256
+ - !ruby/object:Gem::Version
257
+ version: 3.0.1
258
+ type: :runtime
259
+ prerelease: false
260
+ version_requirements: !ruby/object:Gem::Requirement
261
+ requirements:
262
+ - - "~>"
263
+ - !ruby/object:Gem::Version
264
+ version: 3.0.1
265
+ - !ruby/object:Gem::Dependency
266
+ name: active_link_to
267
+ requirement: !ruby/object:Gem::Requirement
268
+ requirements:
269
+ - - ">="
270
+ - !ruby/object:Gem::Version
271
+ version: '0'
272
+ type: :runtime
273
+ prerelease: false
274
+ version_requirements: !ruby/object:Gem::Requirement
275
+ requirements:
276
+ - - ">="
277
+ - !ruby/object:Gem::Version
278
+ version: '0'
279
+ - !ruby/object:Gem::Dependency
280
+ name: breadcrumbs_on_rails
281
+ requirement: !ruby/object:Gem::Requirement
282
+ requirements:
283
+ - - ">="
284
+ - !ruby/object:Gem::Version
285
+ version: '0'
286
+ type: :runtime
287
+ prerelease: false
288
+ version_requirements: !ruby/object:Gem::Requirement
289
+ requirements:
290
+ - - ">="
291
+ - !ruby/object:Gem::Version
292
+ version: '0'
293
+ - !ruby/object:Gem::Dependency
294
+ name: noty_flash
295
+ requirement: !ruby/object:Gem::Requirement
296
+ requirements:
297
+ - - ">="
298
+ - !ruby/object:Gem::Version
299
+ version: '0'
300
+ type: :runtime
301
+ prerelease: false
302
+ version_requirements: !ruby/object:Gem::Requirement
303
+ requirements:
304
+ - - ">="
305
+ - !ruby/object:Gem::Version
306
+ version: '0'
307
+ - !ruby/object:Gem::Dependency
308
+ name: rubocop
309
+ requirement: !ruby/object:Gem::Requirement
310
+ requirements:
311
+ - - ">="
312
+ - !ruby/object:Gem::Version
313
+ version: '0'
314
+ type: :development
315
+ prerelease: false
316
+ version_requirements: !ruby/object:Gem::Requirement
317
+ requirements:
318
+ - - ">="
319
+ - !ruby/object:Gem::Version
320
+ version: '0'
321
+ - !ruby/object:Gem::Dependency
322
+ name: rubocop-rspec
323
+ requirement: !ruby/object:Gem::Requirement
324
+ requirements:
325
+ - - ">="
326
+ - !ruby/object:Gem::Version
327
+ version: '0'
328
+ type: :development
329
+ prerelease: false
330
+ version_requirements: !ruby/object:Gem::Requirement
331
+ requirements:
332
+ - - ">="
333
+ - !ruby/object:Gem::Version
334
+ version: '0'
335
+ - !ruby/object:Gem::Dependency
336
+ name: guard-bundler
337
+ requirement: !ruby/object:Gem::Requirement
338
+ requirements:
339
+ - - ">="
340
+ - !ruby/object:Gem::Version
341
+ version: '0'
342
+ type: :development
343
+ prerelease: false
344
+ version_requirements: !ruby/object:Gem::Requirement
345
+ requirements:
346
+ - - ">="
347
+ - !ruby/object:Gem::Version
348
+ version: '0'
349
+ - !ruby/object:Gem::Dependency
350
+ name: guard-rspec
351
+ requirement: !ruby/object:Gem::Requirement
352
+ requirements:
353
+ - - ">="
354
+ - !ruby/object:Gem::Version
355
+ version: '0'
356
+ type: :development
357
+ prerelease: false
358
+ version_requirements: !ruby/object:Gem::Requirement
359
+ requirements:
360
+ - - ">="
361
+ - !ruby/object:Gem::Version
362
+ version: '0'
363
+ - !ruby/object:Gem::Dependency
364
+ name: guard-rubocop
365
+ requirement: !ruby/object:Gem::Requirement
366
+ requirements:
367
+ - - ">="
368
+ - !ruby/object:Gem::Version
369
+ version: '0'
370
+ type: :development
371
+ prerelease: false
372
+ version_requirements: !ruby/object:Gem::Requirement
373
+ requirements:
374
+ - - ">="
375
+ - !ruby/object:Gem::Version
376
+ version: '0'
377
+ - !ruby/object:Gem::Dependency
378
+ name: pry
379
+ requirement: !ruby/object:Gem::Requirement
380
+ requirements:
381
+ - - ">="
382
+ - !ruby/object:Gem::Version
383
+ version: '0'
384
+ type: :development
385
+ prerelease: false
386
+ version_requirements: !ruby/object:Gem::Requirement
387
+ requirements:
388
+ - - ">="
389
+ - !ruby/object:Gem::Version
390
+ version: '0'
391
+ - !ruby/object:Gem::Dependency
392
+ name: pry-doc
393
+ requirement: !ruby/object:Gem::Requirement
394
+ requirements:
395
+ - - ">="
396
+ - !ruby/object:Gem::Version
397
+ version: '0'
398
+ type: :development
399
+ prerelease: false
400
+ version_requirements: !ruby/object:Gem::Requirement
401
+ requirements:
402
+ - - ">="
403
+ - !ruby/object:Gem::Version
404
+ version: '0'
405
+ - !ruby/object:Gem::Dependency
406
+ name: pry-rails
407
+ requirement: !ruby/object:Gem::Requirement
408
+ requirements:
409
+ - - ">="
410
+ - !ruby/object:Gem::Version
411
+ version: '0'
412
+ type: :development
413
+ prerelease: false
414
+ version_requirements: !ruby/object:Gem::Requirement
415
+ requirements:
416
+ - - ">="
417
+ - !ruby/object:Gem::Version
418
+ version: '0'
419
+ - !ruby/object:Gem::Dependency
420
+ name: pry-byebug
421
+ requirement: !ruby/object:Gem::Requirement
422
+ requirements:
423
+ - - ">="
424
+ - !ruby/object:Gem::Version
425
+ version: '0'
426
+ type: :development
427
+ prerelease: false
428
+ version_requirements: !ruby/object:Gem::Requirement
429
+ requirements:
430
+ - - ">="
431
+ - !ruby/object:Gem::Version
432
+ version: '0'
433
+ - !ruby/object:Gem::Dependency
434
+ name: factory_bot
435
+ requirement: !ruby/object:Gem::Requirement
436
+ requirements:
437
+ - - ">="
438
+ - !ruby/object:Gem::Version
439
+ version: '0'
440
+ type: :development
441
+ prerelease: false
442
+ version_requirements: !ruby/object:Gem::Requirement
443
+ requirements:
444
+ - - ">="
445
+ - !ruby/object:Gem::Version
446
+ version: '0'
447
+ - !ruby/object:Gem::Dependency
448
+ name: rspec-rails
449
+ requirement: !ruby/object:Gem::Requirement
450
+ requirements:
451
+ - - "~>"
452
+ - !ruby/object:Gem::Version
453
+ version: '3.7'
454
+ type: :development
455
+ prerelease: false
456
+ version_requirements: !ruby/object:Gem::Requirement
457
+ requirements:
458
+ - - "~>"
459
+ - !ruby/object:Gem::Version
460
+ version: '3.7'
461
+ - !ruby/object:Gem::Dependency
462
+ name: database_rewinder
463
+ requirement: !ruby/object:Gem::Requirement
464
+ requirements:
465
+ - - ">="
466
+ - !ruby/object:Gem::Version
467
+ version: '0'
468
+ type: :development
469
+ prerelease: false
470
+ version_requirements: !ruby/object:Gem::Requirement
471
+ requirements:
472
+ - - ">="
473
+ - !ruby/object:Gem::Version
474
+ version: '0'
475
+ - !ruby/object:Gem::Dependency
476
+ name: mysql2
477
+ requirement: !ruby/object:Gem::Requirement
478
+ requirements:
479
+ - - ">="
480
+ - !ruby/object:Gem::Version
481
+ version: '0'
482
+ type: :development
483
+ prerelease: false
484
+ version_requirements: !ruby/object:Gem::Requirement
485
+ requirements:
486
+ - - ">="
487
+ - !ruby/object:Gem::Version
488
+ version: '0'
489
+ - !ruby/object:Gem::Dependency
490
+ name: pg
491
+ requirement: !ruby/object:Gem::Requirement
492
+ requirements:
493
+ - - ">="
494
+ - !ruby/object:Gem::Version
495
+ version: '0'
496
+ type: :development
497
+ prerelease: false
498
+ version_requirements: !ruby/object:Gem::Requirement
499
+ requirements:
500
+ - - ">="
501
+ - !ruby/object:Gem::Version
502
+ version: '0'
503
+ - !ruby/object:Gem::Dependency
504
+ name: vcr
505
+ requirement: !ruby/object:Gem::Requirement
506
+ requirements:
507
+ - - ">="
508
+ - !ruby/object:Gem::Version
509
+ version: '0'
510
+ type: :development
511
+ prerelease: false
512
+ version_requirements: !ruby/object:Gem::Requirement
513
+ requirements:
514
+ - - ">="
515
+ - !ruby/object:Gem::Version
516
+ version: '0'
517
+ - !ruby/object:Gem::Dependency
518
+ name: webmock
519
+ requirement: !ruby/object:Gem::Requirement
520
+ requirements:
521
+ - - ">="
522
+ - !ruby/object:Gem::Version
523
+ version: '0'
524
+ type: :development
525
+ prerelease: false
526
+ version_requirements: !ruby/object:Gem::Requirement
527
+ requirements:
528
+ - - ">="
529
+ - !ruby/object:Gem::Version
530
+ version: '0'
531
+ - !ruby/object:Gem::Dependency
532
+ name: timecop
533
+ requirement: !ruby/object:Gem::Requirement
534
+ requirements:
535
+ - - ">="
536
+ - !ruby/object:Gem::Version
537
+ version: '0'
538
+ type: :development
539
+ prerelease: false
540
+ version_requirements: !ruby/object:Gem::Requirement
541
+ requirements:
542
+ - - ">="
543
+ - !ruby/object:Gem::Version
544
+ version: '0'
545
+ - !ruby/object:Gem::Dependency
546
+ name: yard
547
+ requirement: !ruby/object:Gem::Requirement
548
+ requirements:
549
+ - - ">="
550
+ - !ruby/object:Gem::Version
551
+ version: '0'
552
+ type: :development
553
+ prerelease: false
554
+ version_requirements: !ruby/object:Gem::Requirement
555
+ requirements:
556
+ - - ">="
557
+ - !ruby/object:Gem::Version
558
+ version: '0'
559
+ - !ruby/object:Gem::Dependency
560
+ name: yard-rspec
561
+ requirement: !ruby/object:Gem::Requirement
562
+ requirements:
563
+ - - ">="
564
+ - !ruby/object:Gem::Version
565
+ version: '0'
566
+ type: :development
567
+ prerelease: false
568
+ version_requirements: !ruby/object:Gem::Requirement
569
+ requirements:
570
+ - - ">="
571
+ - !ruby/object:Gem::Version
572
+ version: '0'
573
+ description: Rails On Rails engine to import and generate currency rates
574
+ email:
575
+ - danil@brandymint.ru
576
+ executables: []
577
+ extensions: []
578
+ extra_rdoc_files: []
579
+ files:
580
+ - LICENSE
581
+ - README.md
582
+ - Rakefile
583
+ - app/assets/config/gera_manifest.js
584
+ - app/assets/javascripts/gera/application.js
585
+ - app/assets/stylesheets/gera/application.css
586
+ - app/authorizers/gera/application_authorizer.rb
587
+ - app/authorizers/gera/currency_rate_authorizer.rb
588
+ - app/authorizers/gera/currency_rate_mode_authorizer.rb
589
+ - app/authorizers/gera/direction_rate_authorizer.rb
590
+ - app/authorizers/gera/exchange_rate_authorizer.rb
591
+ - app/authorizers/gera/payment_system_authorizer.rb
592
+ - app/authorizers/gera/rate_source_authorizer.rb
593
+ - app/controllers/gera/application_controller.rb
594
+ - app/controllers/gera/currencies_controller.rb
595
+ - app/controllers/gera/currency_rate_history_intervals_controller.rb
596
+ - app/controllers/gera/currency_rate_mode_snapshots_controller.rb
597
+ - app/controllers/gera/currency_rate_modes_controller.rb
598
+ - app/controllers/gera/currency_rates_controller.rb
599
+ - app/controllers/gera/direction_rate_history_intervals_controller.rb
600
+ - app/controllers/gera/direction_rates_controller.rb
601
+ - app/controllers/gera/exchange_rates_controller.rb
602
+ - app/controllers/gera/external_rate_snapshots_controller.rb
603
+ - app/controllers/gera/external_rates_controller.rb
604
+ - app/controllers/gera/payment_systems_controller.rb
605
+ - app/controllers/gera/rate_sources_controller.rb
606
+ - app/decorators/gera/currency_rate_decorator.rb
607
+ - app/decorators/gera/direction_rate_decorator.rb
608
+ - app/decorators/gera/payment_system_decorator.rb
609
+ - app/helpers/gera/application_helper.rb
610
+ - app/helpers/gera/currency_rate_helper.rb
611
+ - app/helpers/gera/currency_rate_modes_helper.rb
612
+ - app/helpers/gera/direction_rate_helper.rb
613
+ - app/helpers/gera/exchange_rates_helper.rb
614
+ - app/jobs/gera/application_job.rb
615
+ - app/models/concerns/gera/currency_pair_generator.rb
616
+ - app/models/concerns/gera/currency_pair_support.rb
617
+ - app/models/concerns/gera/currency_rate_mode_builder_support.rb
618
+ - app/models/concerns/gera/direction_support.rb
619
+ - app/models/concerns/gera/history_interval_concern.rb
620
+ - app/models/gera/application_record.rb
621
+ - app/models/gera/cbr_external_rate.rb
622
+ - app/models/gera/cross_rate_mode.rb
623
+ - app/models/gera/currency_rate.rb
624
+ - app/models/gera/currency_rate_history_interval.rb
625
+ - app/models/gera/currency_rate_history_interval_filter.rb
626
+ - app/models/gera/currency_rate_mode.rb
627
+ - app/models/gera/currency_rate_mode_snapshot.rb
628
+ - app/models/gera/currency_rate_snapshot.rb
629
+ - app/models/gera/direction.rb
630
+ - app/models/gera/direction_rate.rb
631
+ - app/models/gera/direction_rate_history_interval.rb
632
+ - app/models/gera/direction_rate_history_interval_filter.rb
633
+ - app/models/gera/direction_rate_snapshot.rb
634
+ - app/models/gera/exchange_rate.rb
635
+ - app/models/gera/external_rate.rb
636
+ - app/models/gera/external_rate_snapshot.rb
637
+ - app/models/gera/payment_system.rb
638
+ - app/models/gera/rate_source.rb
639
+ - app/models/gera/rate_source_auto.rb
640
+ - app/models/gera/rate_source_bitfinex.rb
641
+ - app/models/gera/rate_source_cbr.rb
642
+ - app/models/gera/rate_source_cbr_avg.rb
643
+ - app/models/gera/rate_source_exmo.rb
644
+ - app/models/gera/rate_source_manual.rb
645
+ - app/views/application/_exchange_rate_monitor.slim
646
+ - app/views/gera/application/_attributes_table.slim
647
+ - app/views/gera/application/_currencies_table.slim
648
+ - app/views/gera/application/_currency_rate_mode_snapshots.slim
649
+ - app/views/gera/application/_direction_rate.slim
650
+ - app/views/gera/application/_directions_submenu.slim
651
+ - app/views/gera/application/_directions_table.slim
652
+ - app/views/gera/application/_exchange_rate.slim
653
+ - app/views/gera/application/_external_rate.slim
654
+ - app/views/gera/application/_header.slim
655
+ - app/views/gera/application/_table.slim
656
+ - app/views/gera/application/_topnav.slim
657
+ - app/views/gera/application/direction_details.slim
658
+ - app/views/gera/application/page.html.slim
659
+ - app/views/gera/currencies/index.html.slim
660
+ - app/views/gera/currency_rate_history_intervals/_filter.slim
661
+ - app/views/gera/currency_rate_history_intervals/index.slim
662
+ - app/views/gera/currency_rate_mode_snapshots/_snapshot.slim
663
+ - app/views/gera/currency_rate_mode_snapshots/edit.html.slim
664
+ - app/views/gera/currency_rate_modes/_cross_rate_mode_fields.slim
665
+ - app/views/gera/currency_rate_modes/_currency_rate_mode.slim
666
+ - app/views/gera/currency_rate_modes/_form.slim
667
+ - app/views/gera/currency_rate_modes/edit.slim
668
+ - app/views/gera/currency_rate_modes/index.html.slim
669
+ - app/views/gera/currency_rates/_currency_rate.slim
670
+ - app/views/gera/currency_rates/_currency_rate_humanized.slim
671
+ - app/views/gera/currency_rates/diff.slim
672
+ - app/views/gera/currency_rates/index.slim
673
+ - app/views/gera/currency_rates/modes.slim
674
+ - app/views/gera/currency_rates/show.slim
675
+ - app/views/gera/direction_rate_history_intervals/_filter.slim
676
+ - app/views/gera/direction_rate_history_intervals/index.slim
677
+ - app/views/gera/direction_rates/_direction_rate_example_calculator.slim
678
+ - app/views/gera/direction_rates/diff.slim
679
+ - app/views/gera/direction_rates/index.slim
680
+ - app/views/gera/direction_rates/legacy.html.slim
681
+ - app/views/gera/direction_rates/minimals.slim
682
+ - app/views/gera/direction_rates/show.slim
683
+ - app/views/gera/external_rate_snapshots/index.slim
684
+ - app/views/gera/external_rate_snapshots/show.slim
685
+ - app/views/gera/external_rates/_flat_list.slim
686
+ - app/views/gera/external_rates/index.html.slim
687
+ - app/views/gera/external_rates/show.slim
688
+ - app/views/gera/payment_systems/_fields.slim
689
+ - app/views/gera/payment_systems/_fields_table.slim
690
+ - app/views/gera/payment_systems/_form.slim
691
+ - app/views/gera/payment_systems/edit.slim
692
+ - app/views/gera/payment_systems/index.slim
693
+ - app/views/gera/payment_systems/new.slim
694
+ - app/views/gera/payment_systems/show.slim
695
+ - app/views/gera/rate_sources/_list.slim
696
+ - app/views/gera/rate_sources/_rate_source.slim
697
+ - app/views/gera/rate_sources/index.html.slim
698
+ - app/views/layouts/application.html.slim
699
+ - app/views/layouts/gera/blank.html.slim
700
+ - app/workers/concerns/gera/rates_worker.rb
701
+ - app/workers/gera/bitfinex_rates_worker.rb
702
+ - app/workers/gera/cbr_avg_rates_worker.rb
703
+ - app/workers/gera/cbr_rates_worker.rb
704
+ - app/workers/gera/create_history_intervals_worker.rb
705
+ - app/workers/gera/currency_rates_worker.rb
706
+ - app/workers/gera/directions_rates_worker.rb
707
+ - app/workers/gera/exmo_rates_worker.rb
708
+ - app/workers/gera/purge_currency_rates_worker.rb
709
+ - app/workers/gera/purge_direction_rates_worker.rb
710
+ - config/currencies.yml
711
+ - config/routes.rb
712
+ - db/migrate/20180912130000_setup.rb
713
+ - db/migrate/20190314114844_add_is_available_to_payment_systems.rb
714
+ - db/migrate/20190315113046_add_icon_url_to_payment_systems.rb
715
+ - db/migrate/20190315132137_add_commission_to_payment_systems.rb
716
+ - lib/banks/currency_exchange.rb
717
+ - lib/builders/currency_rate_auto_builder.rb
718
+ - lib/builders/currency_rate_builder.rb
719
+ - lib/builders/currency_rate_cross_builder.rb
720
+ - lib/builders/currency_rate_direct_builder.rb
721
+ - lib/gera.rb
722
+ - lib/gera/bitfinex_fetcher.rb
723
+ - lib/gera/configuration.rb
724
+ - lib/gera/currencies_purger.rb
725
+ - lib/gera/currency_pair.rb
726
+ - lib/gera/engine.rb
727
+ - lib/gera/mathematic.rb
728
+ - lib/gera/money_support.rb
729
+ - lib/gera/numeric.rb
730
+ - lib/gera/railtie.rb
731
+ - lib/gera/rate.rb
732
+ - lib/gera/rate_from_multiplicator.rb
733
+ - lib/gera/repositories/currency_rate_modes_repository.rb
734
+ - lib/gera/repositories/currency_rates_repository.rb
735
+ - lib/gera/repositories/direction_rates_repository.rb
736
+ - lib/gera/repositories/exchange_rates_repository.rb
737
+ - lib/gera/repositories/payment_systems_repository.rb
738
+ - lib/gera/repositories/universe.rb
739
+ - lib/gera/version.rb
740
+ - lib/tasks/auto_generate_diagram.rake
741
+ - lib/tasks/gera_tasks.rake
742
+ homepage: https://github.com/brandymint/gera
743
+ licenses:
744
+ - GPLv3
745
+ metadata: {}
746
+ post_install_message:
747
+ rdoc_options: []
748
+ require_paths:
749
+ - lib
750
+ required_ruby_version: !ruby/object:Gem::Requirement
751
+ requirements:
752
+ - - ">="
753
+ - !ruby/object:Gem::Version
754
+ version: '0'
755
+ required_rubygems_version: !ruby/object:Gem::Requirement
756
+ requirements:
757
+ - - ">="
758
+ - !ruby/object:Gem::Version
759
+ version: '0'
760
+ requirements: []
761
+ rubygems_version: 3.2.15
762
+ signing_key:
763
+ specification_version: 4
764
+ summary: Currency Rates Generator
765
+ test_files: []