Skip to content

Commit 0f2ea75

Browse files
committed
Add encoding comment to spec files for 2.0 compat
1 parent a157e65 commit 0f2ea75

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+62
-15
lines changed

spec/lib/active_record/connection_adapters/abstract_adapter/connection_pool_spec.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding:binary -*-
12
require 'spec_helper'
23

34
# helps with environment configuration to use for connection to database

spec/lib/fastlib_spec.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding:binary -*-
12
require 'spec_helper'
23

34
require 'msf/core'
@@ -228,4 +229,4 @@
228229
end
229230
end
230231
end
231-
end
232+
end

spec/lib/msf/core/data_store_spec.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding:binary -*-
12

23
require 'spec_helper'
34
require 'msf/core/data_store'

spec/lib/msf/core/exploit/http/client_spec.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding:binary -*-
12
require 'spec_helper'
23

34
require 'msf/core'

spec/lib/msf/core/module_manager_spec.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding:binary -*-
12
require 'spec_helper'
23

34
#
@@ -37,4 +38,4 @@
3738
it_should_behave_like 'Msf::ModuleManager::Cache'
3839
it_should_behave_like 'Msf::ModuleManager::Loading'
3940
it_should_behave_like 'Msf::ModuleManager::ModulePaths'
40-
end
41+
end

spec/lib/msf/core/modules/error_spec.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding:binary -*-
12
require 'spec_helper'
23

34
describe Msf::Modules::Error do
@@ -98,4 +99,4 @@
9899

99100
end
100101
end
101-
end
102+
end

spec/lib/msf/core/modules/loader/archive_spec.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding:binary -*-
12
require 'spec_helper'
23

34
require 'msf/core'
@@ -272,4 +273,4 @@ class Metasploit3 < Msf::Exploit::Remote
272273
end
273274
end
274275
end
275-
end
276+
end

spec/lib/msf/core/modules/loader/base_spec.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding:binary -*-
12
require 'spec_helper'
23

34
require 'msf/core'

spec/lib/msf/core/modules/loader/directory_spec.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding:binary -*-
12
require 'spec_helper'
23
require 'msf/core'
34
require 'msf/core/modules/loader/directory'
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1+
# -*- coding:binary -*-
12
require 'spec_helper'
23

34
require 'msf/core/modules/metasploit_class_compatibility_error'
45

56
describe Msf::Modules::MetasploitClassCompatibilityError do
67
it_should_behave_like 'Msf::Modules::Error subclass #initialize'
7-
end
8+
end

0 commit comments

Comments
 (0)