Procházet zdrojové kódy

L'application est renommée Chronobriq

Lou před 3 roky
rodič
revize
e2c60fe4eb

+ 1
- 1
README.md Zobrazit soubor

@@ -1,4 +1,4 @@
1
-# Registra
1
+# Chronobriq
2 2
 ## Rails API
3 3
 
4 4
 Ruby 3.0.1 // Rails 6.1.3.1

+ 3
- 2
config/application.rb Zobrazit soubor

@@ -19,7 +19,7 @@ require "rails/test_unit/railtie"
19 19
 # you've limited to :test, :development, or :production.
20 20
 Bundler.require(*Rails.groups)
21 21
 
22
-module RegistraApi
22
+module ChronobriqApi
23 23
   class Application < Rails::Application
24 24
     # Initialize configuration defaults for originally generated Rails version.
25 25
     config.load_defaults 6.1
@@ -37,7 +37,8 @@ module RegistraApi
37 37
     # Skip views, helpers and assets when generating a new resource.
38 38
     config.api_only = true
39 39
 
40
-    # Adds the content of 'lib' folder to Ruby on Rails _autoload_s
40
+    # Adds the content of 'lib' folder to Ruby on Rails _autoload_s,
41
+    # used to handle tokens.
41 42
     config.eager_load_paths << Rails.root.join('lib')
42 43
   end
43 44
 end

+ 1
- 1
config/cable.yml Zobrazit soubor

@@ -7,4 +7,4 @@ test:
7 7
 production:
8 8
   adapter: redis
9 9
   url: <%= ENV.fetch("REDIS_URL") { "redis://localhost:6379/1" } %>
10
-  channel_prefix: registra_api_production
10
+  channel_prefix: chronobriq_api_production

+ 3
- 3
config/database.yml Zobrazit soubor

@@ -15,7 +15,7 @@ default: &default
15 15
 development:
16 16
   <<: *default
17 17
   # database: db/development.sqlite3
18
-  database: registra_development
18
+  database: chronobriq_development
19 19
 
20 20
 # Warning: The database defined as "test" will be erased and
21 21
 # re-generated from your development database when you run "rake".
@@ -23,9 +23,9 @@ development:
23 23
 test:
24 24
   <<: *default
25 25
   # database: db/test.sqlite3
26
-  database: registra_test
26
+  database: chronobriq_test
27 27
 
28 28
 production:
29 29
   <<: *default
30 30
   # database: db/production.sqlite3
31
-  database: registra_production
31
+  database: chronobriq_production

+ 1
- 1
config/environments/production.rb Zobrazit soubor

@@ -53,7 +53,7 @@ Rails.application.configure do
53 53
 
54 54
   # Use a real queuing backend for Active Job (and separate queues per environment).
55 55
   # config.active_job.queue_adapter     = :resque
56
-  # config.active_job.queue_name_prefix = "registra_api_production"
56
+  # config.active_job.queue_name_prefix = "chronobriq_api_production"
57 57
 
58 58
   config.action_mailer.perform_caching = false
59 59
 

Loading…
Zrušit
Uložit