File tree Expand file tree Collapse file tree 2 files changed +2
-9
lines changed Expand file tree Collapse file tree 2 files changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -44,13 +44,6 @@ Metrics/MethodLength:
44
44
Metrics/PerceivedComplexity :
45
45
Max : 27
46
46
47
- # Offense count: 1
48
- # Configuration parameters: EnforcedStyle, SupportedStyles.
49
- # SupportedStyles: lowercase, uppercase
50
- Naming/HeredocDelimiterCase :
51
- Exclude :
52
- - ' support/ruby_enc_to_mysql.rb'
53
-
54
47
# Offense count: 3
55
48
# Configuration parameters: Blacklist.
56
49
# Blacklist: END, (?-mix:EO[A-Z]{1})
Original file line number Diff line number Diff line change 40
40
"eucjpms" => "eucJP-ms" ,
41
41
}
42
42
43
- puts <<-header . strip_indent
43
+ puts <<-HEADER . strip_indent
44
44
%readonly-tables
45
45
%enum
46
46
%define lookup-function-name mysql2_mysql_enc_name_to_rb
47
47
%define hash-function-name mysql2_mysql_enc_name_to_rb_hash
48
48
%struct-type
49
49
struct mysql2_mysql_enc_name_to_rb_map { const char *name; const char *rb_name; }
50
50
%%
51
- header
51
+ HEADER
52
52
53
53
mysql_to_rb . each do |mysql , ruby |
54
54
name = if ruby . nil?
You can’t perform that action at this time.
0 commit comments