File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ def snake_to_camel(str)
62
62
end
63
63
64
64
# Create <gem_name>.go
65
- def create_gem_name_go
65
+ def create_gem_name_go # rubocop:disable Metrics/MethodLength
66
66
gem_name_go_path = File . join ( ext_dir , "#{ gem_name } .go" )
67
67
68
68
return if File . exist? ( gem_name_go_path )
@@ -125,7 +125,7 @@ def update_gem_name_c
125
125
save_file ( file_path : gem_name_c_path , content :)
126
126
end
127
127
128
- def update_extconf_rb
128
+ def update_extconf_rb # rubocop:disable Metrics/MethodLength
129
129
extconf_rb_path = File . join ( ext_dir , "extconf.rb" )
130
130
131
131
content = File . read ( extconf_rb_path )
@@ -188,7 +188,7 @@ def $objs.empty?; false; end
188
188
189
189
# @param file_path [String]
190
190
# @param content [String]
191
- def save_file ( file_path :, content :)
191
+ def save_file ( file_path :, content :) # rubocop:disable Metrics/MethodLength
192
192
is_updated = File . exist? ( file_path )
193
193
if is_updated
194
194
before_content = File . read ( file_path )
You can’t perform that action at this time.
0 commit comments