cybele 1.6.0 → 1.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +2 -1
  3. data/.ruby-version +1 -0
  4. data/CHANGELOG.md +155 -121
  5. data/MIT-LICENSE +2 -2
  6. data/README.md +12 -6
  7. data/cybele.gemspec +17 -15
  8. data/lib/cybele/app_builder.rb +86 -28
  9. data/lib/cybele/generators/app_generator.rb +29 -3
  10. data/lib/cybele/version.rb +4 -3
  11. data/templates/app/controllers/hq/admin_profiles_controller.rb +10 -2
  12. data/templates/app/controllers/hq/sessions_controller.rb +13 -0
  13. data/templates/app/controllers/user_profiles_controller.rb +10 -2
  14. data/templates/app/views/devise/mailer/reset_password_instructions.html.haml +8 -5
  15. data/templates/app/views/devise/passwords/edit.html.haml +5 -5
  16. data/templates/app/views/devise/passwords/new.html.haml +4 -3
  17. data/templates/app/views/devise/registrations/edit.html.haml +5 -5
  18. data/templates/app/views/devise/registrations/new.html.haml +3 -2
  19. data/templates/app/views/devise/sessions/new.html.haml +7 -6
  20. data/templates/app/views/devise/shared/_links.haml +9 -8
  21. data/templates/app/views/hq/sessions/new.html.haml +4 -3
  22. data/templates/app/views/layouts/application.html.haml.erb +1 -0
  23. data/templates/config/database.yml.erb +9 -1
  24. data/templates/config/deploy.rb +56 -0
  25. data/templates/config/locales/en.yml +2 -0
  26. data/templates/config/locales/models.en.yml +54 -0
  27. data/templates/config/locales/models.tr.yml +56 -0
  28. data/templates/config/locales/responders.tr.yml +1 -0
  29. data/templates/config/locales/show_for.en.yml +7 -0
  30. data/templates/config/locales/show_for.tr.yml +8 -0
  31. data/templates/config/locales/simple_form.en.yml +30 -0
  32. data/templates/config/locales/simple_form.tr.yml +6 -1
  33. data/templates/config/locales/tr.yml +1 -31
  34. data/templates/config/locales/view.en.yml +51 -0
  35. data/templates/config/locales/view.tr.yml +52 -0
  36. data/templates/config/settings.yml +0 -0
  37. data/templates/cybele_Gemfile +47 -43
  38. data/templates/ruby-version +1 -1
  39. metadata +17 -7
  40. data/Gemfile.lock +0 -92
@@ -0,0 +1,52 @@
1
+ # encoding: utf-8
2
+ tr:
3
+ btn:
4
+ back: Geri
5
+ update: Güncelle
6
+ view:
7
+ select: Lütfen seçiniz!
8
+ navbar:
9
+ settings: Ayarlar
10
+ signout: Çıkış
11
+ signin: Giriş Yap
12
+ dock:
13
+ dashboard: Kontrol Paneli
14
+ number:
15
+ currency:
16
+ format:
17
+ format: "%u %n"
18
+ unit: "₺"
19
+ 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
+ not_found: "Üzgünüz. Bu sayfa bulunamadı. Taşınmış olabilir. Buraya gitmek istediğinizden emin olun."
21
+ devise:
22
+ session:
23
+ title: '%{model} Girişi'
24
+ button: Giriş Yap
25
+ remember_me: Beni Hatırla
26
+ registration:
27
+ title: '%{model} Giriş Bilgilerini Güncelle'
28
+ waiting_confirmation: 'E-posta addresi onayı için bekleniyor: %{email}'
29
+ hint_password: Değiştirmek istemiyorsanız boş bırakınız
30
+ hint_current_password: Değişiklikleri onaylamak için şuan ki şifrenizi girmelisiniz
31
+ new:
32
+ title: '%{model} Kayıt İşlemi'
33
+ character_hint: 'Minimum %{length} karakter'
34
+ button: Kayıt Ol
35
+ shared:
36
+ links:
37
+ signup: Kayıt Ol
38
+ signin: Giriş Yap
39
+ forgot_password: Şifrenizi mi unuttunuz?
40
+ confirmation_instructions: Onaylama yönergesini mi almadınız?
41
+ unlock_instructions: Kapatma yönergesini mi almadınız?
42
+ signin_with: '%{name} ile Giriş Yap'
43
+ signup_with: '%{name} ile Kayıt Ol'
44
+ password:
45
+ reset:
46
+ title: Şifrenizi mi unuttunuz?
47
+ instructions: Şifre sıfırlama talimatlarını gönder
48
+ edit:
49
+ title: Şifrenizi Değiştriniz
50
+ new_password: Yeni şifre
51
+ confirmation: Yeni şifre doğrulması
52
+ button: Şifremi Değiştir
File without changes
@@ -1,61 +1,65 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- gem 'rails', '~> 4.1.1'
4
- gem 'pg', '~> 0.16.0'
5
- gem 'sass-rails', '~> 4.0.0'
6
- gem 'uglifier', '>= 1.3.0'
7
- gem 'coffee-rails', '~> 4.0.0'
8
- gem 'jquery-rails', '~> 3.0.4'
9
- gem 'turbolinks', '~> 1.3.0'
10
- gem 'haml', '~> 4.0.2'
11
- gem 'haml-rails'
12
- gem 'bootstrap-sass', '~> 3.0.3.0'
13
- gem 'responders', '~> 1.0.0'
14
- gem 'exception_notification', '~> 4.0.1'
15
- gem 'simple_form', '~> 3.0.1'
16
- gem 'show_for', '~> 0.3.0.rc'
17
- gem 'rails_config', '~> 0.3.3'
18
- gem 'compass-rails', '~> 1.1.2'
19
- gem 'devise', '~> 3.2.4'
3
+ gem 'rails', '~> 4.2.3'
4
+ gem 'pg', '~> 0.18.2'
5
+ gem 'rails_config', '~> 0.4.2'
6
+ gem 'devise', '~> 3.4.1'
20
7
  gem 'devise-i18n', '~> 0.9.0'
21
- gem 'will_paginate', '~> 3.0.4'
22
- gem 'will_paginate-bootstrap', '~> 0.2.3'
23
- gem 'will-paginate-i18n', '~> 0.1.13'
24
- gem 'paperclip', '~> 3.5.1'
8
+ gem 'paperclip', '~> 4.3.0'
25
9
  gem 'kangal', '~> 1.2.3'
26
- gem 'rack-timeout', '~> 0.0.4'
27
- gem 'annotate', '>=2.5.0'
10
+ gem 'rack-timeout', '~> 0.2.4'
11
+ gem 'annotate', '~> 2.6.0'
28
12
  gem 'recipient_interceptor', '~> 0.1.2'
29
- gem 'rails-i18n', '~> 4.0.1'
30
- gem 'ransack', '~> 1.2.3'
31
- gem 'capistrano', '~> 2.15.5'
32
- gem 'capistrano-ext', '~> 1.2.1'
33
- gem 'unicorn', '~> 4.8.2'
34
- gem 'recipes_matic', '~> 1.0.0'
35
- gem 'aws-sdk', '~> 1.29.0'
36
- gem 'polyamorous', '~> 1.0.0'
37
-
38
- # gem 'rails-observers'
39
- gem 'rails_best_practices', '~> 1.15.1'
13
+ gem 'rails-i18n', '~> 4.0.4'
14
+ gem 'ransack', '~> 1.6.6'
15
+ gem 'polyamorous', '~> 1.2.0'
16
+ gem 'capistrano', '~> 3.4.0'
17
+ group :development do
18
+ gem 'capistrano-rails', '~> 1.1', require: false
19
+ gem 'capistrano-bundler', '~> 1.1', require: false
20
+ gem 'sshkit-sudo', require: false
21
+ gem 'capistrano-maintenance', '~> 1.0', require: false
22
+ gem 'recipes_matic', git: 'https://github.com/lab2023/recipes_matic.git', branch: 'feature/upgrade'
23
+ end
24
+ gem 'unicorn', '~> 4.9.0'
25
+ gem 'exception_notification', '~> 4.1.1'
26
+ gem 'responders', '~> 2.1.0'
40
27
 
41
- gem 'hierapolis-rails', '~> 1.1.0'
42
- gem 'breadcrumbs_on_rails', '~> 2.3.0'
28
+ gem 'will_paginate', '~> 3.0.4'
29
+ gem 'will_paginate-bootstrap', '~> 0.2.3'
30
+ gem 'will-paginate-i18n', '~> 0.1.13'
31
+ gem 'rails_best_practices', '~> 1.15.1'
32
+ gem 'simple_form', '~> 3.1.0'
33
+ gem 'show_for', '~> 0.4.0'
34
+ gem 'uglifier', '~> 2.7.1'
35
+ gem 'coffee-rails', '~> 4.1.0'
36
+ gem 'jquery-rails', '~> 4.0.4'
37
+ gem 'turbolinks', '~> 2.5.3'
38
+ gem 'haml', '~> 4.0.2'
39
+ gem 'haml-rails', '0.9.0'
40
+ gem 'hierapolis-rails', git: 'https://github.com/lab2023/hierapolis-rails.git', branch: 'feature/improvement'
41
+ gem 'breadcrumbs_on_rails', '~> 2.3.1'
43
42
  gem 'blankable', '~> 0.2.0'
44
43
 
44
+ gem 'sass-rails', '~> 5.0.3'
45
+ gem 'compass-rails', '~> 2.0.5'
46
+ gem 'bootstrap-sass', '~> 3.3.4'
47
+ # gem 'sass-rails', '~> 4.0.0'
48
+ # gem 'compass-rails', '~> 1.1'
49
+ # gem 'bootstrap-sass', '~> 3.3.4'
50
+ # gem 'chosen-rails', '1.4.1'
51
+ # gem 'chosen-sass-bootstrap-rails', '0.0.2'
52
+
45
53
  group :doc do
46
54
  gem 'sdoc', require: false
47
55
  end
48
56
 
49
57
  group :development, :test do
50
58
  gem 'better_errors'
51
- gem 'binding_of_caller'
52
59
  gem 'letter_opener'
60
+ gem 'rspec-rails'
61
+ gem 'binding_of_caller'
53
62
  gem 'katip'
54
- gem 'rspec-rails', '~> 2.14.0'
55
- gem 'capybara', '~> 2.1.0'
56
- gem 'minitest', '~> 5.3.3'
57
- gem 'shoulda-matchers', '~> 2.2.0'
58
- gem 'shoulda-context', '~> 1.1.5'
59
- gem 'factory_girl_rails', '~> 4.0'
63
+ gem 'capybara'
60
64
  gem 'bullet'
61
65
  end
@@ -1 +1 @@
1
- 2.1.1
1
+ 2.2.2
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cybele
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.0
4
+ version: 1.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - lab2023
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-14 00:00:00.000000000 Z
11
+ date: 2015-08-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '4.0'
33
+ version: 4.2.3
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '4.0'
40
+ version: 4.2.3
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rake
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -64,9 +64,9 @@ extra_rdoc_files:
64
64
  - MIT-LICENSE
65
65
  files:
66
66
  - ".gitignore"
67
+ - ".ruby-version"
67
68
  - CHANGELOG.md
68
69
  - Gemfile
69
- - Gemfile.lock
70
70
  - MIT-LICENSE
71
71
  - README.md
72
72
  - Rakefile
@@ -112,6 +112,7 @@ files:
112
112
  - templates/app/views/user_profiles/show.html.haml
113
113
  - templates/app/views/welcome/index.html.haml.erb
114
114
  - templates/config/database.yml.erb
115
+ - templates/config/deploy.rb
115
116
  - templates/config/initializers/disable_xml_params.rb
116
117
  - templates/config/initializers/mail.rb
117
118
  - templates/config/initializers/paperclip.rb
@@ -119,10 +120,19 @@ files:
119
120
  - templates/config/initializers/show_for.rb
120
121
  - templates/config/initializers/simple_form.rb
121
122
  - templates/config/initializers/simple_form_bootstrap.rb
123
+ - templates/config/locales/en.yml
124
+ - templates/config/locales/models.en.yml
125
+ - templates/config/locales/models.tr.yml
122
126
  - templates/config/locales/responders.en.yml
123
127
  - templates/config/locales/responders.tr.yml
128
+ - templates/config/locales/show_for.en.yml
129
+ - templates/config/locales/show_for.tr.yml
130
+ - templates/config/locales/simple_form.en.yml
124
131
  - templates/config/locales/simple_form.tr.yml
125
132
  - templates/config/locales/tr.yml
133
+ - templates/config/locales/view.en.yml
134
+ - templates/config/locales/view.tr.yml
135
+ - templates/config/settings.yml
126
136
  - templates/config/settings/production.yml
127
137
  - templates/config/settings/staging.yml
128
138
  - templates/cybele_Gemfile
@@ -145,7 +155,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
145
155
  requirements:
146
156
  - - ">="
147
157
  - !ruby/object:Gem::Version
148
- version: 2.0.0
158
+ version: 2.2.3
149
159
  required_rubygems_version: !ruby/object:Gem::Requirement
150
160
  requirements:
151
161
  - - ">="
@@ -153,7 +163,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
153
163
  version: '0'
154
164
  requirements: []
155
165
  rubyforge_project:
156
- rubygems_version: 2.2.2
166
+ rubygems_version: 2.4.5.1
157
167
  signing_key:
158
168
  specification_version: 4
159
169
  summary: Rails 4.x template with responder, simple form, haml, exception notification,
@@ -1,92 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- cybele (1.5.1)
5
- bundler (~> 1.5)
6
- rails (~> 4.0)
7
-
8
- GEM
9
- remote: https://rubygems.org/
10
- specs:
11
- actionmailer (4.1.1)
12
- actionpack (= 4.1.1)
13
- actionview (= 4.1.1)
14
- mail (~> 2.5.4)
15
- actionpack (4.1.1)
16
- actionview (= 4.1.1)
17
- activesupport (= 4.1.1)
18
- rack (~> 1.5.2)
19
- rack-test (~> 0.6.2)
20
- actionview (4.1.1)
21
- activesupport (= 4.1.1)
22
- builder (~> 3.1)
23
- erubis (~> 2.7.0)
24
- activemodel (4.1.1)
25
- activesupport (= 4.1.1)
26
- builder (~> 3.1)
27
- activerecord (4.1.1)
28
- activemodel (= 4.1.1)
29
- activesupport (= 4.1.1)
30
- arel (~> 5.0.0)
31
- activesupport (4.1.1)
32
- i18n (~> 0.6, >= 0.6.9)
33
- json (~> 1.7, >= 1.7.7)
34
- minitest (~> 5.1)
35
- thread_safe (~> 0.1)
36
- tzinfo (~> 1.1)
37
- arel (5.0.1.20140414130214)
38
- builder (3.2.2)
39
- erubis (2.7.0)
40
- hike (1.2.3)
41
- i18n (0.6.9)
42
- json (1.8.1)
43
- mail (2.5.4)
44
- mime-types (~> 1.16)
45
- treetop (~> 1.4.8)
46
- mime-types (1.25.1)
47
- minitest (5.3.3)
48
- multi_json (1.10.0)
49
- polyglot (0.3.4)
50
- rack (1.5.2)
51
- rack-test (0.6.2)
52
- rack (>= 1.0)
53
- rails (4.1.1)
54
- actionmailer (= 4.1.1)
55
- actionpack (= 4.1.1)
56
- actionview (= 4.1.1)
57
- activemodel (= 4.1.1)
58
- activerecord (= 4.1.1)
59
- activesupport (= 4.1.1)
60
- bundler (>= 1.3.0, < 2.0)
61
- railties (= 4.1.1)
62
- sprockets-rails (~> 2.0)
63
- railties (4.1.1)
64
- actionpack (= 4.1.1)
65
- activesupport (= 4.1.1)
66
- rake (>= 0.8.7)
67
- thor (>= 0.18.1, < 2.0)
68
- rake (10.0.4)
69
- sprockets (2.12.1)
70
- hike (~> 1.2)
71
- multi_json (~> 1.0)
72
- rack (~> 1.0)
73
- tilt (~> 1.1, != 1.3.0)
74
- sprockets-rails (2.1.3)
75
- actionpack (>= 3.0)
76
- activesupport (>= 3.0)
77
- sprockets (~> 2.8)
78
- thor (0.19.1)
79
- thread_safe (0.3.3)
80
- tilt (1.4.1)
81
- treetop (1.4.15)
82
- polyglot
83
- polyglot (>= 0.3.1)
84
- tzinfo (1.1.0)
85
- thread_safe (~> 0.1)
86
-
87
- PLATFORMS
88
- ruby
89
-
90
- DEPENDENCIES
91
- cybele!
92
- rake