[#29] remove encode strings
This commit is contained in:
parent
0cb585ef71
commit
b0da168621
|
@ -1,4 +1,3 @@
|
|||
# -*- encoding : utf-8 -*-
|
||||
class Api::V1::IssuesController < Api::V1::BaseController
|
||||
respond_to :json
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# -*- encoding : utf-8 -*-
|
||||
class Api::V1::JobsController < Api::V1::BaseController
|
||||
# QUEUES = %w(iso_worker_observer publish_observer rpm_worker_observer)
|
||||
# QUEUE_CLASSES = %w(AbfWorker::IsoWorkerObserver AbfWorker::PublishObserver AbfWorker::RpmWorkerObserver)
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# -*- encoding : utf-8 -*-
|
||||
class Api::V1::PullRequestsController < Api::V1::BaseController
|
||||
respond_to :json
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# -*- encoding : utf-8 -*-
|
||||
class HomeController < ApplicationController
|
||||
before_filter :authenticate_user!, :only => [:activity, :issues, :pull_requests]
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# -*- encoding : utf-8 -*-
|
||||
class Projects::HooksController < Projects::BaseController
|
||||
before_filter :authenticate_user!
|
||||
load_and_authorize_resource :project
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# -*- encoding : utf-8 -*-
|
||||
module ContentsHelper
|
||||
|
||||
def build_content_paths(platform, path)
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# -*- encoding : utf-8 -*-
|
||||
module FileStoreHelper
|
||||
|
||||
def file_store_results_url(sha1, file_name)
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# -*- encoding : utf-8 -*-
|
||||
module PaginateHelper
|
||||
|
||||
def paginate_params
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# -*- encoding : utf-8 -*-
|
||||
class PlatformArchSetting < ActiveRecord::Base
|
||||
DEFAULT_TIME_LIVING = 43200 # seconds, 12 hours
|
||||
MIN_TIME_LIVING = 600 # seconds, 10 minutes
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# -*- encoding : utf-8 -*-
|
||||
class Token < ActiveRecord::Base
|
||||
belongs_to :subject, :polymorphic => true, :touch => true
|
||||
belongs_to :creator, :class_name => 'User'
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# -*- encoding : utf-8 -*-
|
||||
Rosa::Application.configure do
|
||||
# Settings specified here will take precedence over those in config/application.rb
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# -*- encoding : utf-8 -*-
|
||||
base_path = "/srv/rosa_build"
|
||||
pidfile File.join(base_path, 'shared', 'pids', 'unicorn.pid')
|
||||
state_path File.join(base_path, 'shared', 'pids', 'puma.state')
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# -*- encoding : utf-8 -*-
|
||||
module Modules
|
||||
module Models
|
||||
module RegenerationStatus
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# -*- encoding : utf-8 -*-
|
||||
module Modules::Models::UrlHelper
|
||||
def default_url_options
|
||||
host ||= EventLog.current_controller.request.host_with_port rescue ::Rosa::Application.config.action_mailer.default_url_options[:host]
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# -*- encoding : utf-8 -*-
|
||||
module Modules::Models::WebHooks
|
||||
|
||||
class << self
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# -*- encoding : utf-8 -*-
|
||||
module Modules::Observers::ActivityFeed::BuildList
|
||||
extend ActiveSupport::Concern
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# -*- encoding : utf-8 -*-
|
||||
module Modules::Observers::ActivityFeed::Comment
|
||||
extend ActiveSupport::Concern
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# -*- encoding : utf-8 -*-
|
||||
module Modules::Observers::ActivityFeed::Git
|
||||
|
||||
def self.create_notifications(record)
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# -*- encoding : utf-8 -*-
|
||||
module Modules::Observers::ActivityFeed::Issue
|
||||
extend ActiveSupport::Concern
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# -*- encoding : utf-8 -*-
|
||||
module Modules::Observers::ActivityFeed::User
|
||||
extend ActiveSupport::Concern
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# -*- encoding : utf-8 -*-
|
||||
require 'spec_helper'
|
||||
|
||||
describe AdvisoriesController do
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# -*- encoding : utf-8 -*-
|
||||
require 'spec_helper'
|
||||
|
||||
describe Api::V1::IssuesController do
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# -*- encoding : utf-8 -*-
|
||||
require 'spec_helper'
|
||||
|
||||
def create_pull to_ref, from_ref, owner, project = @project
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# -*- encoding : utf-8 -*-
|
||||
require 'spec_helper'
|
||||
|
||||
shared_examples_for 'content platform user without show rights for hidden platform' do
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# -*- encoding : utf-8 -*-
|
||||
require 'spec_helper'
|
||||
|
||||
shared_examples_for 'hooks user with project admin rights' do
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# -*- encoding : utf-8 -*-
|
||||
FactoryGirl.define do
|
||||
factory :hook do
|
||||
name 'web'
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# -*- encoding : utf-8 -*-
|
||||
FactoryGirl.define do
|
||||
factory :label do
|
||||
name { FactoryGirl.generate(:string) }
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# -*- encoding : utf-8 -*-
|
||||
FactoryGirl.define do
|
||||
factory :labeling do
|
||||
association :project, :factory => :project
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# -*- encoding : utf-8 -*-
|
||||
FactoryGirl.define do
|
||||
factory :project_statistic do
|
||||
association :project, :factory => :project
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# -*- encoding : utf-8 -*-
|
||||
FactoryGirl.define do
|
||||
factory :token do
|
||||
association :creator, :factory => :user
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# -*- encoding : utf-8 -*-
|
||||
require 'spec_helper'
|
||||
|
||||
describe BuildList::Package do
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# -*- encoding : utf-8 -*-
|
||||
require 'spec_helper'
|
||||
|
||||
describe PlatformContent do
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# -*- encoding : utf-8 -*-
|
||||
require 'spec_helper'
|
||||
|
||||
describe Token do
|
||||
|
|
Loading…
Reference in New Issue