cybele 1.8.0 → 1.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/README.md +16 -2
- data/dump.rdb +1 -0
- data/lib/cybele/app_builder.rb +213 -220
- data/lib/cybele/generators/app_generator.rb +31 -20
- data/lib/cybele/version.rb +2 -2
- data/templates/.env.local.erb +11 -0
- data/templates/.env.production.erb +11 -0
- data/templates/.env.staging.erb +11 -0
- data/templates/README.md.erb +22 -0
- data/templates/app/assets/javascripts/application.js.coffee +63 -1
- data/templates/app/assets/javascripts/hq/application.js.coffee +93 -0
- data/templates/app/assets/stylesheets/application.css.sass +15 -4
- data/templates/app/assets/stylesheets/hq/application.css.sass +92 -0
- data/templates/app/controllers/application_controller.rb.erb +48 -0
- data/templates/app/controllers/concerns/basic_authentication.rb +18 -0
- data/templates/app/controllers/hq/admins_controller.rb +64 -0
- data/templates/app/controllers/hq/application_controller.rb +11 -0
- data/templates/app/controllers/hq/audits_controller.rb +16 -0
- data/templates/app/controllers/hq/cities_controller.rb +54 -0
- data/templates/app/controllers/hq/countries_controller.rb +54 -0
- data/templates/app/controllers/hq/dashboard_controller.rb +4 -1
- data/templates/app/controllers/hq/passwords_controller.rb +10 -0
- data/templates/app/controllers/hq/registrations_controller.rb +21 -0
- data/templates/app/controllers/hq/sessions_controller.rb +1 -1
- data/templates/app/controllers/hq/users_controller.rb +64 -0
- data/templates/app/controllers/user/dashboard_controller.rb +8 -0
- data/templates/app/controllers/user/passwords_controller.rb +10 -0
- data/templates/app/controllers/user/profiles_controller.rb +34 -0
- data/templates/app/controllers/user/registrations_controller.rb +20 -0
- data/templates/app/controllers/user/sessions_controller.rb +16 -0
- data/templates/app/controllers/user/user_application_controller.rb +20 -0
- data/templates/app/helpers/application_helper.rb.erb +27 -0
- data/templates/app/mailers/admin_mailer.rb +10 -0
- data/templates/app/mailers/base_mailer.rb +4 -0
- data/templates/app/mailers/user_mailer.rb +10 -0
- data/templates/app/models/admin.rb +51 -0
- data/templates/app/models/audit.rb +3 -0
- data/templates/app/models/city.rb +12 -0
- data/templates/app/models/country.rb +12 -0
- data/templates/app/models/user.rb +54 -0
- data/templates/app/views/admin_mailer/login_info.html.haml +13 -0
- data/templates/app/views/devise/confirmations/new.html.haml +6 -5
- data/templates/app/views/devise/mailer/confirmation_instructions.html.haml +5 -3
- data/templates/app/views/devise/mailer/reset_password_instructions.html.haml +2 -2
- data/templates/app/views/devise/passwords/edit.html.haml +3 -3
- data/templates/app/views/devise/passwords/new.html.haml +3 -3
- data/templates/app/views/devise/registrations/edit.html.haml +5 -11
- data/templates/app/views/devise/registrations/new.html.haml +18 -6
- data/templates/app/views/devise/sessions/new.html.haml +1 -1
- data/templates/app/views/devise/shared/_links.haml +3 -1
- data/templates/app/views/devise/unlocks/new.html.haml +4 -4
- data/templates/app/views/hq/admins/_admin.html.haml +21 -0
- data/templates/app/views/hq/admins/_blank.html.haml +9 -0
- data/templates/app/views/hq/admins/_filters.html.haml +20 -0
- data/templates/app/views/hq/admins/_form.html.haml +17 -0
- data/templates/app/views/hq/admins/_list.html.haml +15 -0
- data/templates/app/views/hq/admins/edit.html.haml +3 -0
- data/templates/app/views/hq/admins/index.html.haml +18 -0
- data/templates/app/views/hq/admins/new.html.haml +5 -0
- data/templates/app/views/hq/admins/show.html.haml +19 -0
- data/templates/app/views/hq/audits/_filters.html.haml +32 -0
- data/templates/app/views/hq/audits/_list.html.haml +37 -0
- data/templates/app/views/hq/audits/index.html.haml +5 -0
- data/templates/app/views/hq/audits/show.html.haml +5 -0
- data/templates/app/views/hq/cities/_blank.html.haml +9 -0
- data/templates/app/views/hq/cities/_city.html.haml +12 -0
- data/templates/app/views/hq/cities/_filters.html.haml +15 -0
- data/templates/app/views/hq/cities/_form.html.haml +15 -0
- data/templates/app/views/hq/cities/_list.html.haml +13 -0
- data/templates/app/views/hq/cities/edit.html.haml +3 -0
- data/templates/app/views/hq/cities/index.html.haml +18 -0
- data/templates/app/views/hq/cities/new.html.haml +3 -0
- data/templates/app/views/hq/cities/show.html.haml +13 -0
- data/templates/app/views/hq/countries/_blank.html.haml +9 -0
- data/templates/app/views/hq/countries/_country.html.haml +11 -0
- data/templates/app/views/hq/countries/_filters.html.haml +14 -0
- data/templates/app/views/hq/countries/_form.html.haml +14 -0
- data/templates/app/views/hq/countries/_list.html.haml +12 -0
- data/templates/app/views/hq/countries/edit.html.haml +3 -0
- data/templates/app/views/hq/countries/index.html.haml +18 -0
- data/templates/app/views/hq/countries/new.html.haml +3 -0
- data/templates/app/views/hq/countries/show.html.haml +14 -0
- data/templates/app/views/hq/dashboard/index.html.haml +8 -0
- data/templates/app/views/hq/passwords/edit.html.haml +12 -0
- data/templates/app/views/hq/passwords/new.html.haml +9 -0
- data/templates/app/views/hq/registrations/edit.html.haml +19 -0
- data/templates/app/views/hq/sessions/new.html.haml +7 -5
- data/templates/app/views/hq/users/_blank.html.haml +9 -0
- data/templates/app/views/hq/users/_filters.html.haml +20 -0
- data/templates/app/views/hq/users/_form.html.haml +18 -0
- data/templates/app/views/hq/users/_list.html.haml +15 -0
- data/templates/app/views/hq/users/_user.html.haml +20 -0
- data/templates/app/views/hq/users/edit.html.haml +3 -0
- data/templates/app/views/hq/users/index.html.haml +18 -0
- data/templates/app/views/hq/users/new.html.haml +5 -0
- data/templates/app/views/hq/users/show.html.haml +20 -0
- data/templates/app/views/layouts/application.html.haml.erb +16 -8
- data/templates/app/views/layouts/hq/application.html.haml.erb +55 -0
- data/templates/app/views/layouts/hq/login.html.haml.erb +35 -0
- data/templates/app/views/layouts/hq/partials/_dock.html.haml.erb +36 -0
- data/templates/app/views/layouts/hq/partials/_footer.html.haml.erb +0 -0
- data/templates/app/views/layouts/hq/partials/_navbar.html.haml.erb +22 -0
- data/templates/app/views/layouts/hq/partials/_trackers.html.haml.erb +0 -0
- data/templates/app/views/layouts/mailer.html.haml.erb +321 -0
- data/templates/app/views/layouts/mailer.text.haml +1 -0
- data/templates/app/views/layouts/partials/_footer.html.haml.erb +0 -0
- data/templates/app/views/layouts/partials/_trackers.html.haml.erb +0 -0
- data/templates/app/views/layouts/partials/_warnings.html.haml.erb +3 -0
- data/templates/app/views/user/dashboard/index.html.haml +8 -0
- data/templates/app/views/user/passwords/edit.html.haml +12 -0
- data/templates/app/views/user/passwords/new.html.haml +10 -0
- data/templates/app/views/{user_profiles → user/profiles}/_form.html.haml +4 -5
- data/templates/app/views/user/profiles/edit.html.haml +3 -0
- data/templates/app/views/user/profiles/show.html.haml +15 -0
- data/templates/app/views/user/registrations/edit.html.haml +19 -0
- data/templates/app/views/user/sessions/new.html.haml +11 -0
- data/templates/app/views/user_mailer/login_info.html.haml +13 -0
- data/templates/app/views/welcome/index.html.haml.erb +4 -4
- data/templates/config/initializers/devise_async.rb +6 -0
- data/templates/config/initializers/sidekiq.rb +13 -0
- data/templates/config/locales/email.tr.yml +28 -0
- data/templates/config/locales/models.tr.yml +72 -41
- data/templates/config/locales/responders.tr.yml +4 -1
- data/templates/config/locales/show_for.tr.yml +1 -3
- data/templates/config/locales/simple_form.tr.yml +8 -22
- data/templates/config/locales/tr.yml +33 -2
- data/templates/config/locales/view.tr.yml +64 -18
- data/templates/config/routes.erb +51 -0
- data/templates/config/schedule.yml +16 -0
- data/templates/config/settings/production.yml +0 -17
- data/templates/config/settings/staging.yml +0 -17
- data/templates/config/sidekiq.yml +13 -0
- data/templates/cybele_Gemfile +42 -5
- data/templates/cybele_gitignore +3 -1
- data/templates/cybele_version.txt +1 -0
- data/templates/env.sample.erb +11 -0
- data/templates/lib/data/cities.yml +163 -0
- data/templates/lib/tasks/dev.rake +29 -5
- data/templates/lib/tasks/sidekiq.rake +26 -0
- data/templates/lib/templates/rails/responders_controller/controller.rb +27 -22
- data/templates/public/images/favicon.png +0 -0
- data/templates/public/images/mail-logo.png +0 -0
- data/templates/public/images/missing_cover.png +0 -0
- data/templates/public/images/missing_cover@2x.png +0 -0
- data/templates/public/images/missing_logo.png +0 -0
- data/templates/public/images/missing_logo@2x.png +0 -0
- data/templates/public/images/sprite.png +0 -0
- data/templates/ruby-version +1 -1
- data/templates/vendor/assets/javascripts/jquery.datetimepicker.js +1871 -0
- data/templates/vendor/assets/javascripts/jquery.maskedinput.min.js +7 -0
- data/templates/vendor/assets/javascripts/nprogress.js +491 -0
- data/templates/vendor/assets/javascripts/trix.js +25 -0
- data/templates/vendor/assets/stylesheets/jquery.datetimepicker.css +418 -0
- data/templates/vendor/assets/stylesheets/nprogress.css +74 -0
- data/templates/vendor/assets/stylesheets/trix.css +209 -0
- metadata +125 -24
- data/templates/app/controllers/application_controller.rb +0 -19
- data/templates/app/controllers/hq/admin_profiles_controller.rb +0 -56
- data/templates/app/controllers/user_profiles_controller.rb +0 -56
- data/templates/app/views/hq/admin_profiles/_form.html.haml +0 -15
- data/templates/app/views/hq/admin_profiles/edit.html.haml +0 -3
- data/templates/app/views/hq/admin_profiles/new.html.haml +0 -3
- data/templates/app/views/hq/admin_profiles/show.html.haml +0 -13
- data/templates/app/views/hq/dashboard/index.html.haml.erb +0 -3
- data/templates/app/views/user_profiles/edit.html.haml +0 -3
- data/templates/app/views/user_profiles/new.html.haml +0 -3
- data/templates/app/views/user_profiles/show.html.haml +0 -13
- data/templates/config/locales/en.yml +0 -2
- data/templates/config/locales/models.en.yml +0 -54
- data/templates/config/locales/responders.en.yml +0 -10
- data/templates/config/locales/show_for.en.yml +0 -7
- data/templates/config/locales/simple_form.en.yml +0 -30
- data/templates/config/locales/view.en.yml +0 -51
@@ -1,21 +1,58 @@
|
|
1
|
-
|
2
|
-
tr:
|
1
|
+
---
|
2
|
+
tr:
|
3
|
+
actions:
|
4
|
+
update: Güncelleme
|
5
|
+
create: Oluşturma
|
6
|
+
destroy: Silme
|
7
|
+
delete: Silme
|
3
8
|
btn:
|
4
9
|
back: Geri
|
5
10
|
update: Güncelle
|
6
11
|
view:
|
7
|
-
|
12
|
+
excel_export: Excel Olarak Çıkart
|
13
|
+
make_passive: Pasif et
|
14
|
+
make_active: Aktif et
|
15
|
+
actions: İşlemler
|
16
|
+
select: Seçiniz
|
17
|
+
active: Aktif
|
18
|
+
passive: Pasif
|
19
|
+
start: Başlangıç
|
20
|
+
end: Bitiş
|
21
|
+
used: Kullanılan
|
22
|
+
not_used: Kullanılmayan
|
23
|
+
cancel: İptal et
|
24
|
+
all: Hepsi
|
25
|
+
reset: Temizle
|
26
|
+
quick_search: Arama yap..
|
27
|
+
reload: Yeniden yükle
|
28
|
+
hello: Merhaba %{user}
|
29
|
+
there_is_no_data: Hiç %{resource} eklenmemiş.
|
30
|
+
create_resource_mail_info: "Yeni bir %{resource} eklediğinizde e-posta adresine giriş bilgileri gönderilecektir."
|
8
31
|
navbar:
|
9
32
|
settings: Ayarlar
|
10
|
-
|
33
|
+
signup: Kayıt ol
|
11
34
|
signin: Giriş Yap
|
35
|
+
sign_out: Çıkış yap
|
36
|
+
edit_login_info: Giriş bilgilerini güncelle
|
37
|
+
home_page: Anasayfa
|
38
|
+
admin_portal: Yönetici Portalı
|
39
|
+
tooltips:
|
40
|
+
delete: Sil
|
41
|
+
are_you_sure: Devam etmek istedğinize emin misiniz?
|
42
|
+
choose: Seç
|
43
|
+
btn:
|
44
|
+
add: Ekle
|
45
|
+
update: Güncelle
|
46
|
+
back: Geri
|
47
|
+
detail: Detaylar
|
48
|
+
delete: Sil
|
12
49
|
dock:
|
13
|
-
dashboard: Kontrol Paneli
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
50
|
+
dashboard: Kontrol Paneli
|
51
|
+
dashboard: Kontrol paneli
|
52
|
+
profile: Profil
|
53
|
+
system_users: Sistem kullanıcıları
|
54
|
+
system_datas: Sistem verileri
|
55
|
+
staging_warning: "<strong> Dikkat! </strong> Lütfen yapacağınız işlemlerde dikkatli olunuz. Şuan da <strong> test </strong> sunucusu üzerinde işlem yapıyorsunuz."
|
19
56
|
internal_server_error: "Üzgünüz. Şu anda bir hata var. Mühendislerimiz bu hata üzerinde çalışma yapıyorlar. En kısa sürede çözeceğiz."
|
20
57
|
not_found: "Üzgünüz. Bu sayfa bulunamadı. Taşınmış olabilir. Buraya gitmek istediğinizden emin olun."
|
21
58
|
devise:
|
@@ -23,30 +60,39 @@ tr:
|
|
23
60
|
title: '%{model} Girişi'
|
24
61
|
button: Giriş Yap
|
25
62
|
remember_me: Beni Hatırla
|
63
|
+
deactivated: Üzgünüz, bu hesap pasif hale getirilmiştir.
|
26
64
|
registration:
|
27
65
|
title: '%{model} Giriş Bilgilerini Güncelle'
|
28
66
|
waiting_confirmation: 'E-posta addresi onayı için bekleniyor: %{email}'
|
29
67
|
hint_password: Değiştirmek istemiyorsanız boş bırakınız
|
30
|
-
hint_current_password: Değişiklikleri onaylamak için şuan ki
|
68
|
+
hint_current_password: Değişiklikleri onaylamak için şuan ki parolanız girmelisiniz
|
31
69
|
new:
|
32
70
|
title: '%{model} Kayıt İşlemi'
|
33
71
|
character_hint: 'Minimum %{length} karakter'
|
34
72
|
button: Kayıt Ol
|
73
|
+
edit:
|
74
|
+
title: '%{model} Giriş Bilgilerini Güncelle'
|
35
75
|
shared:
|
36
76
|
links:
|
37
77
|
signup: Kayıt Ol
|
38
78
|
signin: Giriş Yap
|
39
|
-
forgot_password:
|
79
|
+
forgot_password: Parolanızı mı unuttunuz?
|
40
80
|
confirmation_instructions: Onaylama yönergesini mi almadınız?
|
41
81
|
unlock_instructions: Kapatma yönergesini mi almadınız?
|
42
82
|
signin_with: '%{name} ile Giriş Yap'
|
43
83
|
signup_with: '%{name} ile Kayıt Ol'
|
84
|
+
confirmation:
|
85
|
+
new:
|
86
|
+
title: Onaylama Talimatlarını Yeniden Gönder
|
87
|
+
btn:
|
88
|
+
resend: Gönder
|
44
89
|
password:
|
90
|
+
new:
|
91
|
+
title: Parolanızı mı unuttunuz?
|
45
92
|
reset:
|
46
|
-
|
47
|
-
instructions: Şifre sıfırlama talimatlarını gönder
|
93
|
+
instructions: Parola sıfırlama talimatlarını gönder
|
48
94
|
edit:
|
49
|
-
title:
|
50
|
-
new_password: Yeni
|
51
|
-
confirmation: Yeni
|
52
|
-
button:
|
95
|
+
title: Parolanızı Değiştiriniz
|
96
|
+
new_password: Yeni parolanız
|
97
|
+
confirmation: Yeni parola doğrulması
|
98
|
+
button: Parolamı Değiştir
|
@@ -0,0 +1,51 @@
|
|
1
|
+
require 'sidekiq/web'
|
2
|
+
require 'sidekiq/cron/web'
|
3
|
+
|
4
|
+
Rails.application.routes.draw do
|
5
|
+
|
6
|
+
Sidekiq::Web.use Rack::Auth::Basic do |username, password|
|
7
|
+
username == Settings.sidekiq.username && password == Settings.sidekiq.password
|
8
|
+
end if Rails.env.production?
|
9
|
+
mount Sidekiq::Web, at: '/sidekiq'
|
10
|
+
|
11
|
+
concern :activeable do
|
12
|
+
post :toggle_is_active, on: :member
|
13
|
+
end
|
14
|
+
|
15
|
+
# Admins
|
16
|
+
devise_for :admins, controllers: { sessions: 'hq/sessions', registrations: 'hq/registrations', passwords: 'hq/passwords' }, path: 'hq',
|
17
|
+
path_names: { sign_in: 'login', sign_out: 'logout', password: 'secret', confirmation: 'verification' }
|
18
|
+
as :admin do
|
19
|
+
get 'hq/edit' => 'hq/registrations#edit', as: 'edit_admin_registration'
|
20
|
+
put 'hq' => 'hq/registrations#update', as: 'admin_registration'
|
21
|
+
end
|
22
|
+
namespace :hq do
|
23
|
+
root to: 'dashboard#index'
|
24
|
+
resources :dashboard, only: [:index]
|
25
|
+
resources :admins, concerns: [:activeable]
|
26
|
+
resources :users, concerns: [:activeable]
|
27
|
+
resources :countries
|
28
|
+
resources :cities
|
29
|
+
resources :audits, only: [:index, :show]
|
30
|
+
end
|
31
|
+
# Users
|
32
|
+
devise_for :users, controllers: { sessions: 'user/sessions', registrations: 'user/registrations', passwords: 'user/passwords' }, path: 'user',
|
33
|
+
path_names: { sign_in: 'login', sign_out: 'logout', password: 'secret', confirmation: 'verification' }
|
34
|
+
as :user do
|
35
|
+
get 'user/edit' => 'user/registrations#edit', as: 'edit_user_profile_registration'
|
36
|
+
put 'user' => 'user/registrations#update', as: 'user_profile_registration'
|
37
|
+
end
|
38
|
+
namespace :user do
|
39
|
+
root to: 'dashboard#index'
|
40
|
+
resources :dashboard, only: [:index]
|
41
|
+
resources :profile, only: [:index, :edit, :update]
|
42
|
+
end
|
43
|
+
|
44
|
+
# Common pages
|
45
|
+
root to: 'welcome#index'
|
46
|
+
|
47
|
+
if Rails.env.production? or Rails.env.staging?
|
48
|
+
match '*unmatched_route', to: 'application#page_not_found', via: :all
|
49
|
+
end
|
50
|
+
|
51
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# 00 * * * * -> Daily at midnight
|
2
|
+
# */5 * * * * -> Every 5 minutes
|
3
|
+
# */20 * * * * -> Every 20 minutes
|
4
|
+
# 0 0 * * * -> Every day at midnight
|
5
|
+
# 1 0 * * * -> Every day at 00:01
|
6
|
+
# 20 0 * * * -> Every day at 00:20
|
7
|
+
# 30 0 * * * -> Every day at 00:30
|
8
|
+
# 40 0 * * * -> Every day at 00:40
|
9
|
+
|
10
|
+
# Look config/initializers/sidekiq.rb
|
11
|
+
|
12
|
+
# Every day at 00:01
|
13
|
+
#check_course_hosting_date_job:
|
14
|
+
# cron: 1 0 * * * Europe/Istanbul
|
15
|
+
# class: JobName
|
16
|
+
# queue: high_priority
|
@@ -1,17 +0,0 @@
|
|
1
|
-
smtp:
|
2
|
-
mandrill:
|
3
|
-
address: 'smtp.mandrillapp.com'
|
4
|
-
port: 587
|
5
|
-
enable_starttls_auto: true
|
6
|
-
user_name: 'email@email.com'
|
7
|
-
password: 'password'
|
8
|
-
authentication: 'plain'
|
9
|
-
|
10
|
-
AWS:
|
11
|
-
S3:
|
12
|
-
bucket: projectname-production
|
13
|
-
access_key_id: XXXXXXXXXXXXXXXX
|
14
|
-
secret_access_key: YYYYYYYYYYYYYYYYYY
|
15
|
-
aws_url: http://projectname-production.s3.amazonaws.com/
|
16
|
-
aws_raw_url: projectname-production.s3.amazonaws.com
|
17
|
-
end_point: s3-eu-west-1.amazonaws.com
|
@@ -1,17 +0,0 @@
|
|
1
|
-
smtp:
|
2
|
-
mandrill:
|
3
|
-
address: 'smtp.mandrillapp.com'
|
4
|
-
port: 587
|
5
|
-
enable_starttls_auto: true
|
6
|
-
user_name: 'email@email.com'
|
7
|
-
password: 'password'
|
8
|
-
authentication: 'plain'
|
9
|
-
|
10
|
-
AWS:
|
11
|
-
S3:
|
12
|
-
bucket: projectname-production
|
13
|
-
access_key_id: XXXXXXXXXXXXXXXX
|
14
|
-
secret_access_key: YYYYYYYYYYYYYYYYYY
|
15
|
-
aws_url: http://projectname-production.s3.amazonaws.com/
|
16
|
-
aws_raw_url: projectname-production.s3.amazonaws.com
|
17
|
-
end_point: s3-eu-west-1.amazonaws.com
|
data/templates/cybele_Gemfile
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
source 'https://rubygems.org'
|
2
2
|
|
3
3
|
gem 'dotenv-rails', require: 'dotenv/rails-now'
|
4
|
-
gem 'rails', '~> 4.2.
|
5
|
-
gem 'pg', '~> 0.18.
|
4
|
+
gem 'rails', '~> 4.2.6'
|
5
|
+
gem 'pg', '~> 0.18.4'
|
6
6
|
gem 'rails_config', '~> 0.4.2'
|
7
7
|
gem 'devise', '~> 3.4.1'
|
8
8
|
gem 'devise-i18n', '~> 0.9.0'
|
@@ -16,7 +16,6 @@ gem 'polyamorous', '~> 1.2.0'
|
|
16
16
|
|
17
17
|
# Deployment gems
|
18
18
|
gem 'capistrano', '~> 3.4.0'
|
19
|
-
gem 'unicorn', '~> 4.9.0'
|
20
19
|
group :development do
|
21
20
|
gem 'capistrano-rails', '~> 1.1', require: false
|
22
21
|
gem 'capistrano-bundler', '~> 1.1', require: false
|
@@ -47,11 +46,12 @@ gem 'hierapolis-rails', '~> 1.1.3'
|
|
47
46
|
gem 'sass-rails', '~> 5.0.3'
|
48
47
|
gem 'compass-rails', '~> 2.0.5'
|
49
48
|
gem 'bootstrap-sass', '~> 3.3.4'
|
50
|
-
gem 'audited-activerecord', '~> 4.0'
|
51
49
|
gem 'enum_help', '~> 0.0.14'
|
52
|
-
|
53
50
|
gem 'chosen-rails', '1.4.1'
|
54
51
|
gem 'bootstrap-chosen-rails', '0.0.4'
|
52
|
+
gem 'model_to_locale'
|
53
|
+
gem 'link_to_active_state'
|
54
|
+
gem 'jbuilder', '~> 2.4'
|
55
55
|
|
56
56
|
group :doc do
|
57
57
|
gem 'sdoc', require: false
|
@@ -65,5 +65,42 @@ group :development, :test do
|
|
65
65
|
gem 'katip'
|
66
66
|
gem 'capybara'
|
67
67
|
gem 'bullet'
|
68
|
+
gem 'sinatra', require: nil
|
68
69
|
gem 'quiet_assets'
|
69
70
|
end
|
71
|
+
|
72
|
+
# For heroku
|
73
|
+
group :production, :staging do
|
74
|
+
gem 'rails_12factor'
|
75
|
+
end
|
76
|
+
|
77
|
+
# Notifications
|
78
|
+
gem 'rollbar', '~> 2.7.1'
|
79
|
+
|
80
|
+
# App server
|
81
|
+
# gem 'unicorn', '~> 4.9.0'
|
82
|
+
gem 'puma', '~> 3.4.0'
|
83
|
+
|
84
|
+
# Backgorund jobs
|
85
|
+
# Sidekiq
|
86
|
+
gem 'sidekiq', '~> 4.1'
|
87
|
+
gem 'devise-async', '~> 0.10.1'
|
88
|
+
gem 'sidekiq-cron', '~> 0.4.2'
|
89
|
+
|
90
|
+
# Comand line execution
|
91
|
+
gem 'cocaine', '~> 0.5.8'
|
92
|
+
|
93
|
+
# AWS
|
94
|
+
gem 'aws-sdk', '~> 1.6'
|
95
|
+
|
96
|
+
# Phony Rails
|
97
|
+
gem 'phony_rails', '~> 0.12.11'
|
98
|
+
|
99
|
+
# Excell export
|
100
|
+
gem 'to_xls', '~> 1.5', '>= 1.5.3'
|
101
|
+
|
102
|
+
# Keep user activities
|
103
|
+
gem 'audited-activerecord', '~> 4.2'
|
104
|
+
|
105
|
+
# GSM service
|
106
|
+
# gem 'bulutfon_sdk', '~> 1.1', '>= 1.1.3'
|
data/templates/cybele_gitignore
CHANGED
@@ -0,0 +1 @@
|
|
1
|
+
v1.0.0
|
@@ -0,0 +1,11 @@
|
|
1
|
+
ROOT_PATH=http://localhost:3000
|
2
|
+
|
3
|
+
SMTP_PASSWORD=
|
4
|
+
SMTP_USER_NAME=admin@<%= app_name %>.com
|
5
|
+
SMTP_ADDRESS=smtp.sendgrid.net
|
6
|
+
|
7
|
+
BASIC_AUTH_IS_ACTIVE=no
|
8
|
+
S3_BUCKET_NAME=<%= app_name %>-v3-staging
|
9
|
+
AWS_RAW_URL=<%= app_name %>-v3-staging.s3.amazonaws.com
|
10
|
+
AWS_ACCESS_KEY_ID=
|
11
|
+
AWS_SECRET_ACCESS_KEY=
|
@@ -0,0 +1,163 @@
|
|
1
|
+
---
|
2
|
+
-
|
3
|
+
name: "Adana"
|
4
|
+
-
|
5
|
+
name: "Adıyaman"
|
6
|
+
-
|
7
|
+
name: "Afyonkarahisar"
|
8
|
+
-
|
9
|
+
name: "Ağrı"
|
10
|
+
-
|
11
|
+
name: "Amasya"
|
12
|
+
-
|
13
|
+
name: "Ankara"
|
14
|
+
-
|
15
|
+
name: "Antalya"
|
16
|
+
-
|
17
|
+
name: "Artvin"
|
18
|
+
-
|
19
|
+
name: "Aydın"
|
20
|
+
-
|
21
|
+
name: "Balıkesir"
|
22
|
+
-
|
23
|
+
name: "Bilecik"
|
24
|
+
-
|
25
|
+
name: "Bingöl"
|
26
|
+
-
|
27
|
+
name: "Bitlis"
|
28
|
+
-
|
29
|
+
name: "Bolu"
|
30
|
+
-
|
31
|
+
name: "Burdur"
|
32
|
+
-
|
33
|
+
name: "Bursa"
|
34
|
+
-
|
35
|
+
name: "Çanakkale"
|
36
|
+
-
|
37
|
+
name: "Çankırı"
|
38
|
+
-
|
39
|
+
name: "Çorum"
|
40
|
+
-
|
41
|
+
name: "Denizli"
|
42
|
+
-
|
43
|
+
name: "Diyarbakır"
|
44
|
+
-
|
45
|
+
name: "Edirne"
|
46
|
+
-
|
47
|
+
name: "Elazığ"
|
48
|
+
-
|
49
|
+
name: "Erzincan"
|
50
|
+
-
|
51
|
+
name: "Erzurum"
|
52
|
+
-
|
53
|
+
name: "Eskişehir"
|
54
|
+
-
|
55
|
+
name: "Gaziantep"
|
56
|
+
-
|
57
|
+
name: "Giresun"
|
58
|
+
-
|
59
|
+
name: "Gümüşhane"
|
60
|
+
-
|
61
|
+
name: "Hakkari"
|
62
|
+
-
|
63
|
+
name: "Hatay"
|
64
|
+
-
|
65
|
+
name: "Isparta"
|
66
|
+
-
|
67
|
+
name: "Mersin"
|
68
|
+
-
|
69
|
+
name: "İstanbul"
|
70
|
+
-
|
71
|
+
name: "İzmir"
|
72
|
+
-
|
73
|
+
name: "Kars"
|
74
|
+
-
|
75
|
+
name: "Kastamonu"
|
76
|
+
-
|
77
|
+
name: "Kayseri"
|
78
|
+
-
|
79
|
+
name: "Kırklareli"
|
80
|
+
-
|
81
|
+
name: "Kırşehir"
|
82
|
+
-
|
83
|
+
name: "Kocaeli"
|
84
|
+
-
|
85
|
+
name: "Konya"
|
86
|
+
-
|
87
|
+
name: "Kütahya"
|
88
|
+
-
|
89
|
+
name: "Malatya"
|
90
|
+
-
|
91
|
+
name: "Manisa"
|
92
|
+
-
|
93
|
+
name: "Kahramanmaraş"
|
94
|
+
-
|
95
|
+
name: "Mardin"
|
96
|
+
-
|
97
|
+
name: "Muğla"
|
98
|
+
-
|
99
|
+
name: "Muş"
|
100
|
+
-
|
101
|
+
name: "Nevşehir"
|
102
|
+
-
|
103
|
+
name: "Niğde"
|
104
|
+
-
|
105
|
+
name: "Ordu"
|
106
|
+
-
|
107
|
+
name: "Rize"
|
108
|
+
-
|
109
|
+
name: "Sakarya"
|
110
|
+
-
|
111
|
+
name: "Samsun"
|
112
|
+
-
|
113
|
+
name: "Siirt"
|
114
|
+
-
|
115
|
+
name: "Sinop"
|
116
|
+
-
|
117
|
+
name: "Sivas"
|
118
|
+
-
|
119
|
+
name: "Tekirdağ"
|
120
|
+
-
|
121
|
+
name: "Tokat"
|
122
|
+
-
|
123
|
+
name: "Trabzon"
|
124
|
+
-
|
125
|
+
name: "Tunceli"
|
126
|
+
-
|
127
|
+
name: "Şanlıurfa"
|
128
|
+
-
|
129
|
+
name: "Uşak"
|
130
|
+
-
|
131
|
+
name: "Van"
|
132
|
+
-
|
133
|
+
name: "Yozgat"
|
134
|
+
-
|
135
|
+
name: "Zonguldak"
|
136
|
+
-
|
137
|
+
name: "Aksaray"
|
138
|
+
-
|
139
|
+
name: "Bayburt"
|
140
|
+
-
|
141
|
+
name: "Karaman"
|
142
|
+
-
|
143
|
+
name: "Kırıkkale"
|
144
|
+
-
|
145
|
+
name: "Batman"
|
146
|
+
-
|
147
|
+
name: "Şırnak"
|
148
|
+
-
|
149
|
+
name: "Bartın"
|
150
|
+
-
|
151
|
+
name: "Ardahan"
|
152
|
+
-
|
153
|
+
name: "Iğdır"
|
154
|
+
-
|
155
|
+
name: "Yalova"
|
156
|
+
-
|
157
|
+
name: "Karabük"
|
158
|
+
-
|
159
|
+
name: "Kilis"
|
160
|
+
-
|
161
|
+
name: "Osmaniye"
|
162
|
+
-
|
163
|
+
name: "Düzce"
|