[前][次][番号順一覧][スレッド一覧]

ruby-changes:61578

From: David <ko1@a...>
Date: Fri, 5 Jun 2020 11:50:22 +0900 (JST)
Subject: [ruby-changes:61578] 5ed58b90d1 (master): [ruby/psych] Fix gem installation

https://git.ruby-lang.org/ruby.git/commit/?id=5ed58b90d1

From 5ed58b90d188b26e5369397b48edaba287ab09fe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?David=20Rodr=C3=ADguez?= <deivid.rodriguez@r...>
Date: Wed, 26 Feb 2020 18:36:11 +0100
Subject: [ruby/psych] Fix gem installation

Current version is not installable because the gemspec is invalid, since
it includes a `.travis.yml` file that no longer exists, so `rake
install` fails like this:

```
$ rake install
rake aborted!
WARNING:  See https://guides.rubygems.org/specification-reference/ for help
ERROR:  While executing gem ... (Gem::InvalidSpecificationException)
    [".travis.yml"] are not files
```

https://github.com/ruby/psych/commit/32b18ca7ca

diff --git a/ext/psych/psych.gemspec b/ext/psych/psych.gemspec
index e0168af7..0990098 100644
--- a/ext/psych/psych.gemspec
+++ b/ext/psych/psych.gemspec
@@ -25,7 +25,7 @@ DESCRIPTION https://github.com/ruby/ruby/blob/trunk/ext/psych/psych.gemspec#L25
 
   # for ruby core repository. It was generated by `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
   s.files = [
-    ".gitignore", ".travis.yml", "Gemfile", "Mavenfile", "README.md", "Rakefile", "bin/console",
+    ".gitignore", "Gemfile", "Mavenfile", "README.md", "Rakefile", "bin/console",
     "bin/setup", "ext/psych/depend", "ext/psych/extconf.rb", "ext/psych/psych.c", "ext/psych/psych.h",
     "ext/psych/psych_emitter.c", "ext/psych/psych_emitter.h", "ext/psych/psych_parser.c", "ext/psych/psych_parser.h",
     "ext/psych/psych_to_ruby.c", "ext/psych/psych_to_ruby.h", "ext/psych/psych_yaml_tree.c", "ext/psych/psych_yaml_tree.h",
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]