File tree Expand file tree Collapse file tree 6 files changed +19
-4
lines changed Expand file tree Collapse file tree 6 files changed +19
-4
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,9 @@ target :lib do
66  signature  "ruby/testdata/example/sig" 
77  signature  "_gem/sig" 
88
9-   check  "ruby/testdata/example/lib"  # Directory name 
9+   check  "ruby/testdata/example/lib" 
10+   check  "_gem/lib" 
11+ 
1012  # check "Gemfile"                   # File name 
1113  # check "app/models/**/*.rb"        # Glob 
1214  # ignore "lib/templates/*.rb" 
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ Gem::Specification.new do |spec|
2626  spec . files  =  IO . popen ( %w[ git  ls-files  -z ] ,  chdir : __dir__ ,  err : IO ::NULL )  do  |ls |
2727    ls . readlines ( "\x0 " ,  chomp : true ) . reject  do  |f |
2828      ( f  == gemspec )  ||
29-         f . start_with? ( *%w[ bin/  test/  spec/  features/  .git  .github  appveyor  Gemfile ] ) 
29+         f . start_with? ( *%w[ bin/  test/  spec/  features/  .git  .github  appveyor  Gemfile   sig/non-gemify/ ] ) 
3030    end 
3131  end 
3232  spec . bindir  =  "exe" 
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ def $objs.empty?; false; end
2626
2727      create_makefile ( target ,  srcprefix ) 
2828
29-       case  `#{ CONFIG [ "CC" ] }   --version`  # rubocop:disable Lint/LiteralAsCondition 
29+       case  `#{ RbConfig :: CONFIG [ "CC" ] }   --version`  # rubocop:disable Lint/LiteralAsCondition 
3030      when  /Free Software Foundation/ 
3131        ldflags  =  "-Wl,--unresolved-symbols=ignore-all" 
3232      when  /clang/ 
Original file line number Diff line number Diff line change 11module  GoGem 
22  VERSION: String
3+ 
4+   class  Error   < StandardError
5+   end 
6+ 
37  # See the writing guide of rbs: https://github.com/ruby/rbs#guides 
48end 
Original file line number Diff line number Diff line change 11module  GoGem 
22  module  Mkmf 
3-     def  create_go_makefile  : (String, String? nil ) -> void 
3+     $objs: Array[untyped ]
4+ 
5+     def  create_go_makefile  : (String target, String? srcprefix) -> void 
46  end 
57end 
Original file line number Diff line number Diff line change 1+ module  Kernel 
2+   def  include  : (*untyped ) -> void 
3+ 
4+   def  find_executable  : (String bin, ?String path) -> String?
5+ 
6+   def  create_makefile  : (String target, String? srcprefix) -> void 
7+ end 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments