@@ -33,20 +33,20 @@ Rake::ExtensionTask.new("mysql2", Mysql2::GEMSPEC) do |ext|
33
33
spec . files << 'lib/mysql2/mysql2.rb'
34
34
spec . files << 'vendor/libmysql.dll'
35
35
spec . files << 'vendor/README'
36
- spec . post_install_message = <<-POST_INSTALL_MESSAGE . strip_indent
36
+ spec . post_install_message = <<-POST_INSTALL_MESSAGE
37
37
38
- ======================================================================================================
38
+ ======================================================================================================
39
39
40
- You've installed the binary version of #{ spec . name } .
41
- It was built using MySQL Connector/C version #{ CONNECTOR_VERSION } .
42
- It's recommended to use the exact same version to avoid potential issues.
40
+ You've installed the binary version of #{ spec . name } .
41
+ It was built using MySQL Connector/C version #{ CONNECTOR_VERSION } .
42
+ It's recommended to use the exact same version to avoid potential issues.
43
43
44
- At the time of building this gem, the necessary DLL files were retrieved from:
45
- #{ vendor_mysql_url ( spec . platform ) }
44
+ At the time of building this gem, the necessary DLL files were retrieved from:
45
+ #{ vendor_mysql_url ( spec . platform ) }
46
46
47
- This gem *includes* vendor/libmysql.dll with redistribution notice in vendor/README.
47
+ This gem *includes* vendor/libmysql.dll with redistribution notice in vendor/README.
48
48
49
- ======================================================================================================
49
+ ======================================================================================================
50
50
51
51
POST_INSTALL_MESSAGE
52
52
end
64
64
file 'lib/mysql2/mysql2.rb' do |t |
65
65
name = Mysql2 ::GEMSPEC . name
66
66
File . open ( t . name , 'wb' ) do |f |
67
- f . write <<-END_OF_RUBY . strip_indent
68
- RUBY_VERSION =~ /(\\ d+.\\ d+)/
69
- require "#{ name } /\# {$1}/#{ name } "
67
+ f . write <<-END_OF_RUBY
68
+ RUBY_VERSION =~ /(\\ d+.\\ d+)/
69
+ require "#{ name } /\# {$1}/#{ name } "
70
70
END_OF_RUBY
71
71
end
72
72
end
0 commit comments