Skip to content
This repository has been archived by the owner on Jun 16, 2021. It is now read-only.

Commit

Permalink
Merge pull request #982 from omu/fix-ci-error
Browse files Browse the repository at this point in the history
CI'daki hataları düzelt
  • Loading branch information
roktas authored Aug 27, 2019
2 parents f8b17e3 + bf0ea29 commit 35320e9
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 10 deletions.
4 changes: 4 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,11 @@ gem 'net-ldap'
# assets: core asset dependencies
# TODO: Edge versions require coffee-rails https://github.com/rails/rails/issues/28965
gem 'coffee-rails', '~> 5.0'

# TODO: The following line should be removed when sassc-rails has the latest version of sassc.
gem 'sassc', '~> 2.2.0'
gem 'sassc-rails'

gem 'uglifier', '>= 1.3.0'
gem 'webpacker'

Expand Down
3 changes: 2 additions & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ GEM
ruby_dep (1.5.0)
rubyzip (1.2.3)
safe_yaml (1.0.5)
sassc (2.1.0)
sassc (2.2.0)
ffi (~> 1.9)
sassc-rails (2.1.2)
railties (>= 4.0.0)
Expand Down Expand Up @@ -462,6 +462,7 @@ DEPENDENCIES
rubocop-rails
ruby-progressbar
ruby-vips (~> 2.0.14)
sassc (~> 2.2.0)
sassc-rails
sidekiq
simple_form
Expand Down
3 changes: 0 additions & 3 deletions config/environments/test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,4 @@

# Raises error for missing translations
config.action_view.raise_on_missing_translations = true

# Prevent expensive template finalization at end of test suite runs.
config.action_view.finalize_compiled_template_methods = false
end
4 changes: 2 additions & 2 deletions lib/tasks/fetch/academic_staff.rake
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ namespace :fetch do
password_confirmation: password
)

next unless user.save

progress_bar&.increment

next unless user.save

title = Title.find_by(name: staff[:title].capitalize_turkish)
unit = Unit.find_by(yoksis_id: staff[:unit_id])

Expand Down
1 change: 0 additions & 1 deletion plugins/support/lib/nokul/support/codification/codes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ module Codification

codifications.each do |codification|
name = codification.to_s.demodulize.underscore

plural_method = name.pluralize
singular_method = name.singularize

Expand Down
4 changes: 2 additions & 2 deletions plugins/support/lib/nokul/support/collection.rb
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ def self.to_yaml_pretty(instance)

def self.write_to_yaml_file(file, instance, **options)
comment = options[:comment]
yaml = comment ? comment.gsub(/^/m, '# ') : ''
yaml += to_yaml_pretty(instance)
yaml = comment ? comment.gsub(/^/m, '# ') : ''
yaml += to_yaml_pretty(instance)
Support.with_status_and_notification(file, **options) { File.write file, yaml }
end

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ def validates_length_of(attribute, **option)
minimum: { value: -1, error_key: :too_short },
maximum: { value: 1, error_key: :too_long }
}

key = option.keys.first
value = option[key].to_i + controls.dig(key, :value).to_i
error_key = controls.dig(key, :error_key)
Expand Down
2 changes: 1 addition & 1 deletion plugins/tenant/omu/test/dummy/config/credentials.yml.enc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
F9GaVOZYaO29atDYJhVRd7uXR6E91a9OsvFZPVDZpEr0CDe113C6AyK5Q2r7ND/bKW7+2U7vXgA6/RT5Wx2OutuzCG+ag24x4yVmW5CNswY+IOccS13Wn21Rl3M5hctVDLkGTg4uqxCe9D16fMXjgzte8n03qv+I8YHItjHNkPVWQMZAsvdeYQ4GkzwwlJeUz2f2rdILzTYgiFAD3fOmhdkMN9YaVk1mygftFiKlii1hX8sixgOLmWp9jLrEZW11hzbbCt0YXrrH5krzW2f212jyX/7wUyAHKlCg3whjtcIJADh7NfoBKUFSBPk9oTOIUZqk6FDTPvEP/hpZjzinKbDuzLWrKLnTYscBAMpqYdxAmRWtnNZwJXCCBuowreo/bbjmzO5zJ8kEv0HBCjjcEsZVw4N9JUzHgc8MW+4RBzwzOpLz5UQRYVk/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