Skip to content

Commit

Permalink
Removes utf-8 encoding directives
Browse files Browse the repository at this point in the history
  • Loading branch information
ctreptow committed Jun 7, 2016
1 parent 8e6b57d commit a105782
Show file tree
Hide file tree
Showing 51 changed files with 0 additions and 57 deletions.
1 change: 0 additions & 1 deletion Gemfile
@@ -1,4 +1,3 @@
# encoding: utf-8
source 'https://rubygems.org'

gemspec
1 change: 0 additions & 1 deletion Rakefile
@@ -1,4 +1,3 @@
# encoding: utf-8
require 'rubygems'
require 'bundler'
require 'bundler/gem_tasks'
Expand Down
@@ -1,4 +1,3 @@
# encoding: utf-8
module WiceGrid #:nodoc:
module Generators #:nodoc:
class AddMigrationForSerializedQueriesGenerator < Rails::Generators::Base #:nodoc:
Expand Down
1 change: 0 additions & 1 deletion lib/generators/wice_grid/install_generator.rb
@@ -1,4 +1,3 @@
# encoding: utf-8
module WiceGrid #:nodoc:
module Generators #:nodoc:
class InstallGenerator < Rails::Generators::Base #:nodoc:
Expand Down
@@ -1,4 +1,3 @@
# encoding: utf-8
class CreateWiceGridSerializedQueries < ::ActiveRecord::Migration #:nodoc:
def change #:nodoc:
create_table :wice_grid_serialized_queries do |t|
Expand Down
1 change: 0 additions & 1 deletion lib/generators/wice_grid/templates/wice_grid_config.rb
@@ -1,4 +1,3 @@
# encoding: utf-8
if defined?(Wice::Defaults)

# Default number of rows to show per page.
Expand Down
1 change: 0 additions & 1 deletion lib/wice/active_record_column_wrapper.rb
@@ -1,4 +1,3 @@
# encoding: utf-8
module Wice
# to be mixed in into ActiveRecord::ConnectionAdapters::Column
module WiceGridExtentionToActiveRecordColumn #:nodoc:
Expand Down
1 change: 0 additions & 1 deletion lib/wice/columns.rb
@@ -1,4 +1,3 @@
# encoding: utf-8
module Wice #:nodoc:
module Columns #:nodoc:
mattr_reader :handled_type_view, :handled_type_conditions_generator
Expand Down
1 change: 0 additions & 1 deletion lib/wice/columns/column_action.rb
@@ -1,4 +1,3 @@
# encoding: utf-8
module Wice
module Columns #:nodoc:
class ViewColumnAction < ViewColumn #:nodoc:
Expand Down
1 change: 0 additions & 1 deletion lib/wice/columns/column_boolean.rb
@@ -1,4 +1,3 @@
# encoding: utf-8
module Wice
module Columns #:nodoc:
class ViewColumnBoolean < ViewColumnCustomDropdown #:nodoc:
Expand Down
1 change: 0 additions & 1 deletion lib/wice/columns/column_bootstrap_datepicker.rb
@@ -1,4 +1,3 @@
# encoding: utf-8
module Wice
module Columns #:nodoc:
class ViewColumnBootstrapDatepicker < ViewColumn #:nodoc:
Expand Down
1 change: 0 additions & 1 deletion lib/wice/columns/column_custom_dropdown.rb
@@ -1,4 +1,3 @@
# encoding: utf-8
module Wice
module Columns #:nodoc:
class ViewColumnCustomDropdown < ViewColumn #:nodoc:
Expand Down
1 change: 0 additions & 1 deletion lib/wice/columns/column_float.rb
@@ -1,4 +1,3 @@
# encoding: utf-8
module Wice #:nodoc:
module Columns #:nodoc:
class ViewColumnFloat < ViewColumnInteger #:nodoc:
Expand Down
1 change: 0 additions & 1 deletion lib/wice/columns/column_html5_datepicker.rb
@@ -1,4 +1,3 @@
# encoding: utf-8
module Wice
module Columns #:nodoc:
class ViewColumnHtml5Datepicker < ViewColumn #:nodoc:
Expand Down
1 change: 0 additions & 1 deletion lib/wice/columns/column_integer.rb
@@ -1,4 +1,3 @@
# encoding: utf-8
module Wice
module Columns #:nodoc:
class ViewColumnInteger < ViewColumn #:nodoc:
Expand Down
1 change: 0 additions & 1 deletion lib/wice/columns/column_jquery_datepicker.rb
@@ -1,4 +1,3 @@
# encoding: utf-8
module Wice
module Columns #:nodoc:
class ViewColumnJqueryDatepicker < ViewColumn #:nodoc:
Expand Down
1 change: 0 additions & 1 deletion lib/wice/columns/column_processor_index.rb
@@ -1,4 +1,3 @@
# encoding: utf-8
module Wice #:nodoc:
module Columns #:nodoc:
require 'active_support'
Expand Down
1 change: 0 additions & 1 deletion lib/wice/columns/column_rails_date_helper.rb
@@ -1,4 +1,3 @@
# encoding: utf-8
module Wice
module Columns #:nodoc:
class ViewColumnRailsDateHelper < ViewColumn #:nodoc:
Expand Down
1 change: 0 additions & 1 deletion lib/wice/columns/column_rails_datetime_helper.rb
@@ -1,4 +1,3 @@
# encoding: utf-8
module Wice
module Columns #:nodoc:
class ViewColumnRailsDatetimeHelper < ViewColumn #:nodoc:
Expand Down
1 change: 0 additions & 1 deletion lib/wice/columns/column_range.rb
@@ -1,4 +1,3 @@
# encoding: utf-8
module Wice
module Columns #:nodoc:
class ViewColumnRange < ViewColumn #:nodoc:
Expand Down
1 change: 0 additions & 1 deletion lib/wice/columns/column_string.rb
@@ -1,4 +1,3 @@
# encoding: utf-8
module Wice
module Columns #:nodoc:
class ViewColumnString < ViewColumn #:nodoc:
Expand Down
1 change: 0 additions & 1 deletion lib/wice/columns/common_date_datetime_mixin.rb
@@ -1,4 +1,3 @@
# encoding: utf-8
module Wice
module Columns #:nodoc:
module CommonDateDatetimeMixin #:nodoc:
Expand Down
@@ -1,4 +1,3 @@
# encoding: utf-8
module Wice
module Columns #:nodoc:
module CommonJsDateDatetimeConditionsGeneratorMixin #:nodoc:
Expand Down
1 change: 0 additions & 1 deletion lib/wice/columns/common_js_date_datetime_mixin.rb
@@ -1,4 +1,3 @@
# encoding: utf-8
module Wice
module Columns #:nodoc:
module CommonJsDateDatetimeMixin #:nodoc:
Expand Down
@@ -1,4 +1,3 @@
# encoding: utf-8
module Wice
module Columns #:nodoc:
module CommonRailsDateDatetimeConditionsGeneratorMixin #:nodoc:
Expand Down
@@ -1,4 +1,3 @@
# encoding: utf-8
module Wice
module Columns #:nodoc:
module CommonStandardDateDatetimeMixin #:nodoc:
Expand Down
1 change: 0 additions & 1 deletion lib/wice/grid_output_buffer.rb
@@ -1,4 +1,3 @@
# encoding: utf-8
module Wice
class GridOutputBuffer < String #:nodoc:

Expand Down
1 change: 0 additions & 1 deletion lib/wice/grid_renderer.rb
@@ -1,4 +1,3 @@
# encoding: utf-8
module Wice

# Instance of `GridRenderer` is injected into the top level block of the `grid` helper.
Expand Down
1 change: 0 additions & 1 deletion lib/wice/helpers/bs_calendar_helpers.rb
@@ -1,4 +1,3 @@
# encoding: utf-8
module Wice #:nodoc:
module BsCalendarHelpers #:nodoc:

Expand Down
1 change: 0 additions & 1 deletion lib/wice/helpers/js_calendar_helpers.rb
@@ -1,4 +1,3 @@
# encoding: utf-8
module Wice #:nodoc:
module JsCalendarHelpers #:nodoc:

Expand Down
1 change: 0 additions & 1 deletion lib/wice/helpers/wice_grid_misc_view_helpers.rb
@@ -1,4 +1,3 @@
# encoding: utf-8
module Wice

# Various grid related helpers
Expand Down
@@ -1,4 +1,3 @@
# encoding: utf-8
module Wice
module GridViewHelper
# View helper to render the list of saved queries and the form to create a new query.
Expand Down
1 change: 0 additions & 1 deletion lib/wice/helpers/wice_grid_view_helpers.rb
@@ -1,4 +1,3 @@
# encoding: utf-8
module Wice
module GridViewHelper
# View helper for rendering the grid.
Expand Down
2 changes: 0 additions & 2 deletions lib/wice/kaminari_monkey_patching.rb
@@ -1,5 +1,3 @@
# encoding: utf-8

# Ugly monkey-patching Kaminari (https://github.com/amatsuda/kaminari/pull/267)
module Kaminari #:nodoc:
module Helpers #:nodoc:
Expand Down
1 change: 0 additions & 1 deletion lib/wice/table_column_matrix.rb
@@ -1,4 +1,3 @@
# encoding: utf-8
module Wice

# a matrix for all declared columns
Expand Down
1 change: 0 additions & 1 deletion lib/wice/wice_grid_controller.rb
@@ -1,4 +1,3 @@
# encoding: utf-8
module Wice
module Controller #:nodoc:
def self.included(base) #:nodoc:
Expand Down
1 change: 0 additions & 1 deletion lib/wice/wice_grid_core_ext.rb
@@ -1,4 +1,3 @@
# encoding: utf-8
module Wice
module WgHash #:nodoc:
class << self #:nodoc:
Expand Down
1 change: 0 additions & 1 deletion lib/wice/wice_grid_misc.rb
@@ -1,4 +1,3 @@
# encoding: utf-8
module Wice
class << self

Expand Down
1 change: 0 additions & 1 deletion lib/wice/wice_grid_serialized_queries_controller.rb
@@ -1,4 +1,3 @@
# encoding: utf-8
module Wice
class <<self
# Used in routes.rb to define routes to the query processing controller.
Expand Down
1 change: 0 additions & 1 deletion lib/wice/wice_grid_serialized_query.rb
@@ -1,4 +1,3 @@
# encoding: utf-8
class WiceGridSerializedQuery < ActiveRecord::Base #:nodoc:
serialize :query

Expand Down
1 change: 0 additions & 1 deletion lib/wice/wice_grid_spreadsheet.rb
@@ -1,4 +1,3 @@
# encoding: utf-8
require 'csv'

module Wice
Expand Down
1 change: 0 additions & 1 deletion lib/wice_grid.rb
@@ -1,4 +1,3 @@
# encoding: utf-8
require 'wice/wice_grid_misc.rb'
require 'wice/wice_grid_core_ext.rb'
require 'wice/grid_renderer.rb'
Expand Down
1 change: 0 additions & 1 deletion spec/schema.rb
@@ -1,4 +1,3 @@
# encoding: utf-8
ActiveRecord::Schema.define(version: 20150713103513) do
create_table 'dummies', force: :cascade do |t|
t.string 'name'
Expand Down
1 change: 0 additions & 1 deletion spec/spec_helper.rb
@@ -1,4 +1,3 @@
# encoding: utf-8
# This file was generated by the `rspec --init` command. Conventionally, all
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
# The generated `.rspec` file contains `--require spec_helper` which will cause
Expand Down
1 change: 0 additions & 1 deletion spec/support/active_record.rb
@@ -1,4 +1,3 @@
# encoding: utf-8
require 'active_record'

ActiveRecord::Base.establish_connection adapter: 'sqlite3', database: ':memory:'
Expand Down
2 changes: 0 additions & 2 deletions spec/support/wice_grid_test_config.rb
@@ -1,5 +1,3 @@
# encoding: utf-8

# Default number of rows to show per page.
Wice::Defaults::PER_PAGE = 20

Expand Down
2 changes: 0 additions & 2 deletions spec/wice/grid_output_buffer_spec.rb
@@ -1,5 +1,3 @@
# encoding: utf-8

describe Wice::GridOutputBuffer do
FILTER_COMMON_CODE = 'here filter code'

Expand Down
2 changes: 0 additions & 2 deletions spec/wice/table_column_matrix_spec.rb
@@ -1,5 +1,3 @@
# encoding: utf-8

describe Wice::TableColumnMatrix do
let(:general_conditions){ 'conditions' }

Expand Down
2 changes: 0 additions & 2 deletions spec/wice/wice_grid_misc_spec.rb
@@ -1,5 +1,3 @@
# encoding: utf-8

context 'assoc_list_to_hash' do
it 'many elements in assocs' do
assocs = [:foo1, :foo2, :foo3, :foo4, :foo5]
Expand Down
2 changes: 0 additions & 2 deletions spec/wice/wice_grid_spreadsheet_spec.rb
@@ -1,5 +1,3 @@
# encoding: utf-8

describe Wice::Spreadsheet do
let(:spreadsheet){Wice::Spreadsheet.new('hello', ';')}

Expand Down
1 change: 0 additions & 1 deletion wice_grid.gemspec
@@ -1,4 +1,3 @@
# encoding: utf-8
Gem::Specification.new do |s|
s.name = 'wice_grid'
s.version = '3.6.0'
Expand Down

0 comments on commit a105782

Please sign in to comment.