Skip to content
Browse files

Always use # encoding: utf-8 declaration

  • Loading branch information...
1 parent 433dae2 commit 0a59e0c04912d2450eae64b14142898776ec3210 @yabawock yabawock committed Sep 27, 2010
View
2 Rakefile
@@ -1,4 +1,4 @@
-# coding: utf-8
+# encoding: utf-8
require 'rubygems'
require 'rake'
require 'rake/rdoctask'
View
3 generators/form/form_generator.rb
@@ -1,4 +1,5 @@
-# coding: utf-8
+# encoding: utf-8
+
# Get current OS - needed for clipboard functionality
case RUBY_PLATFORM
when /darwin/ then
View
2 init.rb
@@ -1,4 +1,4 @@
-# coding: utf-8
+# encoding: utf-8
require 'formtastic'
require 'formtastic/layout_helper'
ActionView::Base.send :include, Formtastic::SemanticFormHelper
View
2 lib/formtastic.rb
@@ -1,4 +1,4 @@
-# coding: utf-8
+# encoding: utf-8
require File.join(File.dirname(__FILE__), *%w[formtastic i18n])
require File.join(File.dirname(__FILE__), *%w[formtastic util])
require File.join(File.dirname(__FILE__), *%w[formtastic railtie]) if defined?(::Rails::Railtie)
View
2 lib/generators/formtastic/form/form_generator.rb
@@ -1,4 +1,4 @@
-# coding: utf-8
+# encoding: utf-8
module Formtastic
class FormGenerator < Rails::Generators::NamedBase
desc "Generates formtastic form code based on an existing model. By default the " <<
View
2 lib/generators/formtastic/install/install_generator.rb
@@ -1,4 +1,4 @@
-# coding: utf-8
+# encoding: utf-8
module Formtastic
class InstallGenerator < Rails::Generators::Base
desc "Copies formtastic.css and formtastic_changes.css to public/stylesheets/ and a config initializer to config/initializers/formtastic_config.rb"
View
2 rails/init.rb
@@ -1,2 +1,2 @@
-# coding: utf-8
+# encoding: utf-8
require File.expand_path(File.join(File.dirname(__FILE__), "..", "init"))
View
2 spec/buttons_spec.rb
@@ -1,4 +1,4 @@
-# coding: utf-8
+# encoding: utf-8
require 'spec_helper'
describe 'SemanticFormBuilder#buttons' do
View
2 spec/commit_button_spec.rb
@@ -1,4 +1,4 @@
-# coding: utf-8
+# encoding: utf-8
require 'spec_helper'
describe 'SemanticFormBuilder#commit_button' do
View
2 spec/custom_builder_spec.rb
@@ -1,4 +1,4 @@
-# coding: utf-8
+# encoding: utf-8
require 'spec_helper'
describe 'Formtastic::SemanticFormHelper.builder' do
View
2 spec/defaults_spec.rb
@@ -1,4 +1,4 @@
-# coding: utf-8
+# encoding: utf-8
require 'spec_helper'
describe 'Formtastic::SemanticFormBuilder-defaults' do
View
2 spec/error_proc_spec.rb
@@ -1,4 +1,4 @@
-# coding: utf-8
+# encoding: utf-8
require 'spec_helper'
describe 'Rails field_error_proc' do
View
2 spec/errors_spec.rb
@@ -1,4 +1,4 @@
-# coding: utf-8
+# encoding: utf-8
require 'spec_helper'
describe 'SemanticFormBuilder#errors_on' do
View
2 spec/form_helper_spec.rb
@@ -1,4 +1,4 @@
-# coding: utf-8
+# encoding: utf-8
require 'spec_helper'
describe 'SemanticFormHelper' do
View
2 spec/helpers/layout_helper_spec.rb
@@ -1,4 +1,4 @@
-# coding: utf-8
+# encoding: utf-8
require 'spec_helper'
describe Formtastic::LayoutHelper do
View
2 spec/i18n_spec.rb
@@ -1,4 +1,4 @@
-# coding: utf-8
+# encoding: utf-8
require 'spec_helper'
describe 'Formtastic::I18n' do
View
2 spec/include_blank_spec.rb
@@ -1,4 +1,4 @@
-# coding: utf-8
+# encoding: utf-8
require 'spec_helper'
describe "*select: options[:include_blank]" do
View
2 spec/input_spec.rb
@@ -1,4 +1,4 @@
-# coding: utf-8
+# encoding: utf-8
require 'spec_helper'
describe 'SemanticFormBuilder#input' do
View
2 spec/inputs/boolean_input_spec.rb
@@ -1,4 +1,4 @@
-# coding: utf-8
+# encoding: utf-8
require 'spec_helper'
describe 'boolean input' do
View
2 spec/inputs/check_boxes_input_spec.rb
@@ -1,4 +1,4 @@
-# coding: utf-8
+# encoding: utf-8
require 'spec_helper'
describe 'check_boxes input' do
View
2 spec/inputs/country_input_spec.rb
@@ -1,4 +1,4 @@
-# coding: utf-8
+# encoding: utf-8
require 'spec_helper'
describe 'country input' do
View
2 spec/inputs/date_input_spec.rb
@@ -1,4 +1,4 @@
-# coding: utf-8
+# encoding: utf-8
require 'spec_helper'
describe 'date input' do
View
2 spec/inputs/datetime_input_spec.rb
@@ -1,4 +1,4 @@
-# coding: utf-8
+# encoding: utf-8
require 'spec_helper'
describe 'datetime input' do
View
2 spec/inputs/file_input_spec.rb
@@ -1,4 +1,4 @@
-# coding: utf-8
+# encoding: utf-8
require 'spec_helper'
describe 'file input' do
View
2 spec/inputs/hidden_input_spec.rb
@@ -1,4 +1,4 @@
-# coding: utf-8
+# encoding: utf-8
require 'spec_helper'
describe 'hidden input' do
View
2 spec/inputs/numeric_input_spec.rb
@@ -1,4 +1,4 @@
-# coding: utf-8
+# encoding: utf-8
require 'spec_helper'
describe 'numeric input' do
View
2 spec/inputs/password_input_spec.rb
@@ -1,4 +1,4 @@
-# coding: utf-8
+# encoding: utf-8
require 'spec_helper'
describe 'password input' do
View
2 spec/inputs/radio_input_spec.rb
@@ -1,4 +1,4 @@
-# coding: utf-8
+# encoding: utf-8
require 'spec_helper'
describe 'radio input' do
View
2 spec/inputs/select_input_spec.rb
@@ -1,4 +1,4 @@
-# coding: utf-8
+# encoding: utf-8
require 'spec_helper'
describe 'select input' do
View
2 spec/inputs/string_input_spec.rb
@@ -1,4 +1,4 @@
-# coding: utf-8
+# encoding: utf-8
require 'spec_helper'
describe 'string input' do
View
2 spec/inputs/text_input_spec.rb
@@ -1,4 +1,4 @@
-# coding: utf-8
+# encoding: utf-8
require 'spec_helper'
describe 'text input' do
View
2 spec/inputs/time_input_spec.rb
@@ -1,4 +1,4 @@
-# coding: utf-8
+# encoding: utf-8
require 'spec_helper'
describe 'time input' do
View
2 spec/inputs/time_zone_input_spec.rb
@@ -1,4 +1,4 @@
-# coding: utf-8
+# encoding: utf-8
require 'spec_helper'
describe 'time_zone input' do
View
2 spec/inputs_spec.rb
@@ -1,4 +1,4 @@
-# coding: utf-8
+# encoding: utf-8
require 'spec_helper'
describe 'SemanticFormBuilder#inputs' do
View
2 spec/label_spec.rb
@@ -1,4 +1,4 @@
-# coding: utf-8
+# encoding: utf-8
require 'spec_helper'
describe 'SemanticFormBuilder#label' do
View
2 spec/semantic_errors_spec.rb
@@ -1,4 +1,4 @@
-# coding: utf-8
+# encoding: utf-8
require 'spec_helper'
describe 'SemanticFormBuilder#semantic_errors' do
View
2 spec/semantic_fields_for_spec.rb
@@ -1,4 +1,4 @@
-# coding: utf-8
+# encoding: utf-8
require 'spec_helper'
describe 'SemanticFormBuilder#semantic_fields_for' do
View
2 spec/spec_helper.rb
@@ -1,4 +1,4 @@
-# coding: utf-8
+# encoding: utf-8
require 'rubygems'
require 'active_support'
require 'action_pack'

0 comments on commit 0a59e0c

Please sign in to comment.
Something went wrong with that request. Please try again.