[#29] remove encode strings

This commit is contained in:
Alexander Machehin 2014-01-10 08:59:33 +06:00
parent 0cb585ef71
commit b0da168621
33 changed files with 2 additions and 35 deletions

View File

@ -1,4 +1,3 @@
# -*- encoding : utf-8 -*-
class Api::V1::IssuesController < Api::V1::BaseController
respond_to :json

View File

@ -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)

View File

@ -1,4 +1,3 @@
# -*- encoding : utf-8 -*-
class Api::V1::PullRequestsController < Api::V1::BaseController
respond_to :json

View File

@ -1,4 +1,3 @@
# -*- encoding : utf-8 -*-
class HomeController < ApplicationController
before_filter :authenticate_user!, :only => [:activity, :issues, :pull_requests]

View File

@ -1,4 +1,3 @@
# -*- encoding : utf-8 -*-
class Projects::HooksController < Projects::BaseController
before_filter :authenticate_user!
load_and_authorize_resource :project

View File

@ -1,4 +1,3 @@
# -*- encoding : utf-8 -*-
module ContentsHelper
def build_content_paths(platform, path)

View File

@ -1,4 +1,3 @@
# -*- encoding : utf-8 -*-
module FileStoreHelper
def file_store_results_url(sha1, file_name)

View File

@ -1,4 +1,3 @@
# -*- encoding : utf-8 -*-
module PaginateHelper
def paginate_params

View File

@ -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

View File

@ -1,4 +1,3 @@
# -*- encoding : utf-8 -*-
class Token < ActiveRecord::Base
belongs_to :subject, :polymorphic => true, :touch => true
belongs_to :creator, :class_name => 'User'

View File

@ -1,4 +1,3 @@
# -*- encoding : utf-8 -*-
Rosa::Application.configure do
# Settings specified here will take precedence over those in config/application.rb

View File

@ -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')

View File

@ -1,4 +1,3 @@
# -*- encoding : utf-8 -*-
module Modules
module Models
module RegenerationStatus

View File

@ -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]

View File

@ -1,4 +1,3 @@
# -*- encoding : utf-8 -*-
module Modules::Models::WebHooks
class << self

View File

@ -1,4 +1,3 @@
# -*- encoding : utf-8 -*-
module Modules::Observers::ActivityFeed::BuildList
extend ActiveSupport::Concern

View File

@ -1,4 +1,3 @@
# -*- encoding : utf-8 -*-
module Modules::Observers::ActivityFeed::Comment
extend ActiveSupport::Concern

View File

@ -1,4 +1,3 @@
# -*- encoding : utf-8 -*-
module Modules::Observers::ActivityFeed::Git
def self.create_notifications(record)

View File

@ -1,4 +1,3 @@
# -*- encoding : utf-8 -*-
module Modules::Observers::ActivityFeed::Issue
extend ActiveSupport::Concern

View File

@ -1,4 +1,3 @@
# -*- encoding : utf-8 -*-
module Modules::Observers::ActivityFeed::User
extend ActiveSupport::Concern

View File

@ -1,4 +1,3 @@
# -*- encoding : utf-8 -*-
require 'spec_helper'
describe AdvisoriesController do

View File

@ -1,4 +1,3 @@
# -*- encoding : utf-8 -*-
require 'spec_helper'
describe Api::V1::IssuesController do

View File

@ -1,4 +1,3 @@
# -*- encoding : utf-8 -*-
require 'spec_helper'
def create_pull to_ref, from_ref, owner, project = @project

View File

@ -1,4 +1,3 @@
# -*- encoding : utf-8 -*-
require 'spec_helper'
shared_examples_for 'content platform user without show rights for hidden platform' do

View File

@ -1,4 +1,3 @@
# -*- encoding : utf-8 -*-
require 'spec_helper'
shared_examples_for 'hooks user with project admin rights' do

View File

@ -1,4 +1,3 @@
# -*- encoding : utf-8 -*-
FactoryGirl.define do
factory :hook do
name 'web'

View File

@ -1,4 +1,3 @@
# -*- encoding : utf-8 -*-
FactoryGirl.define do
factory :label do
name { FactoryGirl.generate(:string) }

View File

@ -1,4 +1,3 @@
# -*- encoding : utf-8 -*-
FactoryGirl.define do
factory :labeling do
association :project, :factory => :project

View File

@ -1,4 +1,3 @@
# -*- encoding : utf-8 -*-
FactoryGirl.define do
factory :project_statistic do
association :project, :factory => :project

View File

@ -1,4 +1,3 @@
# -*- encoding : utf-8 -*-
FactoryGirl.define do
factory :token do
association :creator, :factory => :user

View File

@ -1,4 +1,3 @@
# -*- encoding : utf-8 -*-
require 'spec_helper'
describe BuildList::Package do

View File

@ -1,4 +1,3 @@
# -*- encoding : utf-8 -*-
require 'spec_helper'
describe PlatformContent do

View File

@ -1,4 +1,3 @@
# -*- encoding : utf-8 -*-
require 'spec_helper'
describe Token do