cybele 1.9.0 → 1.9.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5d20082fbfddfd73323a2fe7744834c8c5fb7463
4
- data.tar.gz: 79f5f17d6a28b742fc333b15d35ae4f0304ae0cf
3
+ metadata.gz: cdcd06663bdb0df45eb3e29884129fd320c3efaf
4
+ data.tar.gz: b029a782bdf9ba6083d91d264de8c377ea99df8b
5
5
  SHA512:
6
- metadata.gz: 7dd8e0f4af300b4fe2ed0429d29fe3fc8a4cf7bbdd5bfbde6c659182c1d1c63c3375112a5b57a0c087a357cdaae75fd4555076287f0c6335924f7aa99d326752
7
- data.tar.gz: 24ac8854aa5317c48c21c7b7ff89acfe2b8c6f4e6fb38c3c838a63df46182ab428b0eb1e2f14c9bae511eafcf37787e2583a40d1542200b5427c6d745b8a71f1
6
+ metadata.gz: e26bf635d99f1a6639301b31d45068bba474ac08e5a1d312abaf41b55f5b5e7f846b5a9295b02cb2a5bb8c456a5a4ba6301cfd303acfdae4162ec0afed28b217
7
+ data.tar.gz: 1d18bb27704b38a0409fecf4d417fde08f842d2fded66616ea88e0d306ce4c5389a9219d7b1f80cee384b210583c82840cdee08d88922f5dcb6e5426419a68ef
@@ -106,12 +106,12 @@ module Cybele
106
106
  copy_file 'config/settings/staging.yml', 'config/settings/staging.yml'
107
107
 
108
108
  config = <<-RUBY
109
- Mail.register_interceptor RecipientInterceptor.new(Settings.email.sandbox, subject_prefix: '[STAGING]')
109
+ Mail.register_interceptor RecipientInterceptor.new(Settings.email.sandbox, subject_prefix: '[STAGING]')
110
110
  RUBY
111
111
  configure_environment 'staging', config
112
112
 
113
113
  config = <<-RUBY
114
- config.action_mailer.delivery_method = :smtp
114
+ config.action_mailer.delivery_method = :smtp
115
115
  config.action_mailer.raise_delivery_errors = false
116
116
  config.action_mailer.smtp_settings = {
117
117
  address: Settings.smtp.address,
@@ -128,7 +128,7 @@ config.action_mailer.delivery_method = :smtp
128
128
 
129
129
  def configure_bullet
130
130
  config = <<-RUBY
131
- config.after_initialize do
131
+ config.after_initialize do
132
132
  Bullet.enable = true
133
133
  Bullet.alert = true
134
134
  Bullet.bullet_logger = true
@@ -186,7 +186,9 @@ AWS:
186
186
  end
187
187
 
188
188
  def setup_letter_opener
189
- config = 'config.action_mailer.delivery_method = :letter_opener'
189
+ config = <<-RUBY
190
+ config.action_mailer.delivery_method = :letter_opener
191
+ RUBY
190
192
  configure_environment 'development', config
191
193
  end
192
194
 
@@ -227,7 +229,7 @@ require 'capybara/rspec'
227
229
 
228
230
  def add_exception_notification_to_environments
229
231
  config = <<-CODE
230
- config.middleware.use ExceptionNotification::Rack,
232
+ config.middleware.use ExceptionNotification::Rack,
231
233
  email: {
232
234
  email_prefix: "[#{app_name}]",
233
235
  sender_address: %{"Notifier" <notifier@#{app_name}.com>},
@@ -488,14 +490,14 @@ end
488
490
 
489
491
  def action_mailer_host(rails_env)
490
492
  config = <<-RUBY
491
- # Mail Setting
493
+ # Mail Setting
492
494
  config.action_mailer.default_url_options = { host: ENV['ROOT_PATH'] }
493
495
  RUBY
494
496
  configure_environment(rails_env, config)
495
497
  end
496
498
 
497
499
  def configure_environment(rails_env, config)
498
- inject_into_file("config/environments/#{rails_env}.rb", "\n #{config}", before: "\nend")
500
+ inject_into_file("config/environments/#{rails_env}.rb", "\n#{config}", before: "\nend")
499
501
  end
500
502
 
501
503
  def generate_devise_strong_parameters(model_name)
@@ -1,5 +1,5 @@
1
1
  module Cybele
2
2
  RAILS_VERSION = '~> 4.2.6'
3
3
  RUBY_VERSION = IO.read("#{File.dirname(__FILE__)}/../../.ruby-version").strip
4
- VERSION = '1.9.0'
4
+ VERSION = '1.9.1'
5
5
  end
@@ -1,4 +1,4 @@
1
- # <%= app_name %>
1
+ # <%= app_name.capitalize %>
2
2
 
3
3
  # TODOs
4
4
 
@@ -1,11 +1,11 @@
1
1
  !!!
2
2
  %html{lang: I18n.locale}
3
3
  %head
4
- %title= content_for?(:title) ? "#{yield(:title)} - <%= app_name %>" : '<%= app_name %>'
4
+ %title= content_for?(:title) ? "#{yield(:title)} - <%= app_name.capitalize %>" : '<%= app_name.capitalize %>'
5
5
  %meta(http-equiv="content-type" content="text/html" charset="utf-8")
6
6
  %meta(http-equiv="x-ua-compatible" content="ie=edge,chrome=1")
7
- %meta(name="description" content="<%= app_name %>")
8
- %meta(name="author" content="<%= app_name %>")
7
+ %meta(name="description" content="<%= app_name.capitalize %>")
8
+ %meta(name="author" content="<%= app_name.capitalize %>")
9
9
  %link(rel="shortcut icon" href="/images/favicon.png")
10
10
 
11
11
  = stylesheet_link_tag 'application', '//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css',
@@ -21,10 +21,10 @@
21
21
  %li.active
22
22
  %a{href: "/"}
23
23
  = t('navbar.home_page')
24
- %h3.muted= link_to "<%= app_name %>", root_path
24
+ %h3.muted= link_to "<%= app_name.capitalize %>", root_path
25
25
  %hr/
26
26
  = render partial: 'layouts/partials/messages'
27
27
  = yield
28
28
  %hr/
29
29
  .footer
30
- %p <%= app_name %> Copyright &copy; #{Time.zone.now.year} Tüm Hakları Saklıdır.
30
+ %p <%= app_name.capitalize %> Copyright &copy; #{Time.zone.now.year} Tüm Hakları Saklıdır.
@@ -4,11 +4,11 @@
4
4
  /[if lt IE 10] <html class="no-js lt-ie10" lang="en-us">
5
5
  %html{lang: I18n.locale, class: 'no-js'}
6
6
  %head
7
- %title= content_for?(:title) ? "#{yield(:title)} - <%= app_name %>" : '<%= app_name %>'
7
+ %title= content_for?(:title) ? "#{yield(:title)} - <%= app_name.capitalize %>" : '<%= app_name.capitalize %>'
8
8
  %meta(http-equiv="content-type" content="text/html" charset="utf-8")
9
9
  %meta(http-equiv="x-ua-compatible" content="ie=edge,chrome=1")
10
- %meta(name="description" content="<%= app_name %>")
11
- %meta(name="author" content="<%= app_name %>")
10
+ %meta(name="description" content="<%= app_name.capitalize %>")
11
+ %meta(name="author" content="<%= app_name.capitalize %>")
12
12
  %meta{content: 'initial-scale=1.0,user-scalable=no,maximum-scale=1,width=device-width', name: 'viewport'}
13
13
  %meta(name="viewport" content="initial-scale=1.0,user-scalable=no,maximum-scale=1" media="(device-height: 568px)")
14
14
  %meta(name='apple-mobile-web-app-capable' content='yes')
@@ -4,11 +4,11 @@
4
4
  /[if lt IE 10] <html class="no-js lt-ie10" lang="en-us">
5
5
  %html{lang: I18n.locale, class: 'no-js'}
6
6
  %head
7
- %title= content_for?(:title) ? "#{yield(:title)} - <%= app_name %>" : '<%= app_name %>'
7
+ %title= content_for?(:title) ? "#{yield(:title)} - <%= app_name.capitalize %>" : '<%= app_name.capitalize %>'
8
8
  %meta(http-equiv="content-type" content="text/html" charset="utf-8")
9
9
  %meta(http-equiv="x-ua-compatible" content="ie=edge,chrome=1")
10
- %meta(name="description" content="<%= app_name %>")
11
- %meta(name="author" content="<%= app_name %>")
10
+ %meta(name="description" content="<%= app_name.capitalize %>")
11
+ %meta(name="author" content="<%= app_name.capitalize %>")
12
12
  %meta{content: 'initial-scale=1.0,user-scalable=no,maximum-scale=1,width=device-width', name: 'viewport'}
13
13
  %meta(name="viewport" content="initial-scale=1.0,user-scalable=no,maximum-scale=1" media="(device-height: 568px)")
14
14
  %meta(name='apple-mobile-web-app-capable' content='yes')
@@ -1,7 +1,7 @@
1
1
  #navbar.navbar.navbar-default
2
2
  %a.navbar-brand{href: hq_dashboard_index_path}
3
3
  %i.icon-beer
4
- <%= app_name %>
4
+ <%= app_name.capitalize %>
5
5
  = t('navbar.admin_portal')
6
6
  %ul.nav.navbar-nav.pull-right
7
7
  %li
@@ -318,4 +318,4 @@
318
318
  \:
319
319
  #{I18n.localize(Time.zone.now)}
320
320
  %br/
321
- <%= app_name %> Copyright &copy; #{Time.zone.now.year} Tüm Hakları Saklıdır.
321
+ <%= app_name.capitalize %> Copyright &copy; #{Time.zone.now.year} Tüm Hakları Saklıdır.
@@ -1,5 +1,5 @@
1
1
  .jumbotron
2
- %h1 Welcome to <%= app_name %>
2
+ %h1 Welcome to <%= app_name.capitalize %>
3
3
  - if current_user
4
4
  = link_to t('navbar.sign_out'), destroy_user_session_path, class: 'btn btn-large', method: :delete
5
5
  .row-fluid.marketing
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cybele
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.0
4
+ version: 1.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - lab2023