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
6
6
signature "ruby/testdata/example/sig"
7
7
signature "_gem/sig"
8
8
9
- check "ruby/testdata/example/lib" # Directory name
9
+ check "ruby/testdata/example/lib"
10
+ check "_gem/lib"
11
+
10
12
# check "Gemfile" # File name
11
13
# check "app/models/**/*.rb" # Glob
12
14
# ignore "lib/templates/*.rb"
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ Gem::Specification.new do |spec|
26
26
spec . files = IO . popen ( %w[ git ls-files -z ] , chdir : __dir__ , err : IO ::NULL ) do |ls |
27
27
ls . readlines ( "\x0 " , chomp : true ) . reject do |f |
28
28
( 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/ ] )
30
30
end
31
31
end
32
32
spec . bindir = "exe"
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ def $objs.empty?; false; end
26
26
27
27
create_makefile ( target , srcprefix )
28
28
29
- case `#{ CONFIG [ "CC" ] } --version` # rubocop:disable Lint/LiteralAsCondition
29
+ case `#{ RbConfig :: CONFIG [ "CC" ] } --version` # rubocop:disable Lint/LiteralAsCondition
30
30
when /Free Software Foundation/
31
31
ldflags = "-Wl,--unresolved-symbols=ignore-all"
32
32
when /clang/
Original file line number Diff line number Diff line change 1
1
module GoGem
2
2
VERSION: String
3
+
4
+ class Error < StandardError
5
+ end
6
+
3
7
# See the writing guide of rbs: https://github.com/ruby/rbs#guides
4
8
end
Original file line number Diff line number Diff line change 1
1
module GoGem
2
2
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
4
6
end
5
7
end
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