Skip to content

Commit 7b7d6a1

Browse files
committed
Add source encoding comment to Ruby files for better Ruby 1.9 compat (style).
1 parent aed0e3e commit 7b7d6a1

File tree

5 files changed

+10
-0
lines changed

5 files changed

+10
-0
lines changed

Rakefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# -*- encoding: utf-8 -*-
2+
13
require "bundler/gem_tasks"
24

35
require "rake/testtask"

features/step_definitions/gem_steps.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# -*- encoding: utf-8 -*-
2+
13
require "tmpdir"
24
require "pathname"
35

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# -*- encoding: utf-8 -*-
2+
13
Given(/I have a git repository/) do
24
create_dir(".git")
35
end
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# -*- encoding: utf-8 -*-
2+
13
Then(/^the stdout should match \/([^\/]*)\/$/) do |expected|
24
assert_matching_output(expected, all_stdout)
35
end

features/support/env.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# -*- encoding: utf-8 -*-
2+
13
# Set up the environment for testing
24
require "aruba/cucumber"
35
require "aruba/in_process"

0 commit comments

Comments
 (0)