yaml 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/test.yml +24 -0
- data/README.md +5 -3
- data/Rakefile +7 -0
- data/lib/yaml.rb +1 -1
- data/yaml.gemspec +3 -3
- metadata +8 -9
- data/.github/workflows/macos.yml +0 -22
- data/.github/workflows/ubuntu-rvm.yml +0 -33
- data/.github/workflows/ubuntu.yml +0 -22
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 565bcdd1deae9611ca074484b22f758c3f5fc330ac293c98f091dfae1cfe23bc
|
4
|
+
data.tar.gz: 04f1e3e2a0f10df43ed7129e2858a7cd863a29e08eb0220f2abd5348adbe6f6c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1454f9a253109365062a44c7b3060b6da35af57e321ae262b8ee38881b69c92a5075a90fb838eb819acdfec3e000f90b66fb1d8c9ae9394a8aa7e3b3a5261a51
|
7
|
+
data.tar.gz: 7b46318d4966fd1c006be99d61e4d46edc4a478e9d2c5c18d390c098722572b4a6f22cd4468ff6cd1c394a747af08fdd82d069a76230484c18fb70f3e284dba7
|
@@ -0,0 +1,24 @@
|
|
1
|
+
name: ubuntu
|
2
|
+
|
3
|
+
on: [push, pull_request]
|
4
|
+
|
5
|
+
jobs:
|
6
|
+
build:
|
7
|
+
name: build (${{ matrix.ruby }} / ${{ matrix.os }})
|
8
|
+
strategy:
|
9
|
+
matrix:
|
10
|
+
ruby: [ 2.7, 2.6, 2.5, 2.4, head ]
|
11
|
+
os: [ ubuntu-latest, macos-latest ]
|
12
|
+
runs-on: ${{ matrix.os }}
|
13
|
+
steps:
|
14
|
+
- uses: actions/checkout@master
|
15
|
+
- name: Set up Ruby
|
16
|
+
uses: ruby/setup-ruby@v1
|
17
|
+
with:
|
18
|
+
ruby-version: ${{ matrix.ruby }}
|
19
|
+
- name: Install dependencies
|
20
|
+
run: |
|
21
|
+
gem install bundler --no-document
|
22
|
+
bundle install
|
23
|
+
- name: Run test
|
24
|
+
run: rake test
|
data/README.md
CHANGED
@@ -2,7 +2,9 @@
|
|
2
2
|
|
3
3
|
This module provides a Ruby interface for data serialization in YAML format.
|
4
4
|
|
5
|
-
The YAML module is an alias
|
5
|
+
The \YAML module is an alias for
|
6
|
+
{Psych}[https://ruby-doc.org/stdlib/libdoc/psych/rdoc/index.html],
|
7
|
+
the \YAML engine for Ruby.
|
6
8
|
|
7
9
|
## Installation
|
8
10
|
|
@@ -35,8 +37,8 @@ YAML.dump("foo") # => "--- foo\n...\n"
|
|
35
37
|
{ :a => 'b'}.to_yaml # => "---\n:a: b\n"
|
36
38
|
```
|
37
39
|
|
38
|
-
|
39
|
-
|
40
|
+
For detailed documentation, see
|
41
|
+
{Psych}[https://ruby-doc.org/stdlib/libdoc/psych/rdoc/index.html].
|
40
42
|
|
41
43
|
## Security
|
42
44
|
|
data/Rakefile
CHANGED
@@ -7,4 +7,11 @@ Rake::TestTask.new(:test) do |t|
|
|
7
7
|
t.test_files = FileList["test/**/test_*.rb"]
|
8
8
|
end
|
9
9
|
|
10
|
+
task :sync_tool do
|
11
|
+
require 'fileutils'
|
12
|
+
FileUtils.cp "../ruby/tool/lib/test/unit/core_assertions.rb", "./test/lib"
|
13
|
+
FileUtils.cp "../ruby/tool/lib/envutil.rb", "./test/lib"
|
14
|
+
FileUtils.cp "../ruby/tool/lib/find_executable.rb", "./test/lib"
|
15
|
+
end
|
16
|
+
|
10
17
|
task :default => :test
|
data/lib/yaml.rb
CHANGED
@@ -40,7 +40,7 @@ YAML = Psych # :nodoc:
|
|
40
40
|
#
|
41
41
|
# == History
|
42
42
|
#
|
43
|
-
# Syck was the original
|
43
|
+
# Syck was the original YAML implementation in Ruby's standard library
|
44
44
|
# developed by why the lucky stiff.
|
45
45
|
#
|
46
46
|
# You can still use Syck, if you prefer, for parsing and emitting YAML, but you
|
data/yaml.gemspec
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
Gem::Specification.new do |spec|
|
2
2
|
spec.name = "yaml"
|
3
|
-
spec.version = "0.1.
|
3
|
+
spec.version = "0.1.1"
|
4
4
|
spec.authors = ["Aaron Patterson", "SHIBATA Hiroshi"]
|
5
5
|
spec.email = ["aaron@tenderlovemaking.com", "hsbt@ruby-lang.org"]
|
6
6
|
|
7
7
|
spec.summary = "YAML Ain't Markup Language"
|
8
8
|
spec.description = spec.summary
|
9
9
|
spec.homepage = "https://github.com/ruby/yaml"
|
10
|
-
spec.
|
10
|
+
spec.licenses = ["Ruby", "BSD-2-Clause"]
|
11
11
|
|
12
12
|
spec.metadata["homepage_uri"] = spec.homepage
|
13
13
|
spec.metadata["source_code_uri"] = spec.homepage
|
@@ -15,7 +15,7 @@ Gem::Specification.new do |spec|
|
|
15
15
|
# Specify which files should be added to the gem when it is released.
|
16
16
|
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
17
17
|
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
|
18
|
-
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
18
|
+
`git ls-files -z 2>/dev/null`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
19
19
|
end
|
20
20
|
spec.bindir = "exe"
|
21
21
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: yaml
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aaron Patterson
|
8
8
|
- SHIBATA Hiroshi
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2020-
|
12
|
+
date: 2020-12-22 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: YAML Ain't Markup Language
|
15
15
|
email:
|
@@ -19,9 +19,7 @@ executables: []
|
|
19
19
|
extensions: []
|
20
20
|
extra_rdoc_files: []
|
21
21
|
files:
|
22
|
-
- ".github/workflows/
|
23
|
-
- ".github/workflows/ubuntu-rvm.yml"
|
24
|
-
- ".github/workflows/ubuntu.yml"
|
22
|
+
- ".github/workflows/test.yml"
|
25
23
|
- ".gitignore"
|
26
24
|
- Gemfile
|
27
25
|
- LICENSE.txt
|
@@ -35,11 +33,12 @@ files:
|
|
35
33
|
- yaml.gemspec
|
36
34
|
homepage: https://github.com/ruby/yaml
|
37
35
|
licenses:
|
36
|
+
- Ruby
|
38
37
|
- BSD-2-Clause
|
39
38
|
metadata:
|
40
39
|
homepage_uri: https://github.com/ruby/yaml
|
41
40
|
source_code_uri: https://github.com/ruby/yaml
|
42
|
-
post_install_message:
|
41
|
+
post_install_message:
|
43
42
|
rdoc_options: []
|
44
43
|
require_paths:
|
45
44
|
- lib
|
@@ -54,8 +53,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
54
53
|
- !ruby/object:Gem::Version
|
55
54
|
version: '0'
|
56
55
|
requirements: []
|
57
|
-
rubygems_version: 3.2.
|
58
|
-
signing_key:
|
56
|
+
rubygems_version: 3.2.2
|
57
|
+
signing_key:
|
59
58
|
specification_version: 4
|
60
59
|
summary: YAML Ain't Markup Language
|
61
60
|
test_files: []
|
data/.github/workflows/macos.yml
DELETED
@@ -1,22 +0,0 @@
|
|
1
|
-
name: macos
|
2
|
-
|
3
|
-
on: [push, pull_request]
|
4
|
-
|
5
|
-
jobs:
|
6
|
-
build:
|
7
|
-
runs-on: macos-latest
|
8
|
-
strategy:
|
9
|
-
matrix:
|
10
|
-
ruby: [ '2.6.x', '2.5.x', '2.4.x' ]
|
11
|
-
steps:
|
12
|
-
- uses: actions/checkout@master
|
13
|
-
- name: Set up Ruby
|
14
|
-
uses: actions/setup-ruby@v1
|
15
|
-
with:
|
16
|
-
ruby-version: ${{ matrix.ruby }}
|
17
|
-
- name: Set up Bundler
|
18
|
-
run: gem install bundler --no-document
|
19
|
-
- name: Install dependencies
|
20
|
-
run: bundle install
|
21
|
-
- name: Run test
|
22
|
-
run: rake
|
@@ -1,33 +0,0 @@
|
|
1
|
-
name: ubuntu-rvm
|
2
|
-
|
3
|
-
on: [push, pull_request]
|
4
|
-
|
5
|
-
jobs:
|
6
|
-
build:
|
7
|
-
runs-on: ubuntu-latest
|
8
|
-
strategy:
|
9
|
-
matrix:
|
10
|
-
ruby: [ 'ruby-head' ]
|
11
|
-
fail-fast: false
|
12
|
-
steps:
|
13
|
-
- uses: actions/checkout@master
|
14
|
-
- name: Set up RVM
|
15
|
-
run: |
|
16
|
-
curl -sSL https://get.rvm.io | bash
|
17
|
-
- name: Set up Ruby
|
18
|
-
run: |
|
19
|
-
source $HOME/.rvm/scripts/rvm
|
20
|
-
rvm install ${{ matrix.ruby }} --binary
|
21
|
-
rvm --default use ${{ matrix.ruby }}
|
22
|
-
- name: Set up Bundler
|
23
|
-
run: |
|
24
|
-
source $HOME/.rvm/scripts/rvm
|
25
|
-
gem install bundler --no-document
|
26
|
-
- name: Install dependencies
|
27
|
-
run: |
|
28
|
-
source $HOME/.rvm/scripts/rvm
|
29
|
-
bundle install
|
30
|
-
- name: Run test
|
31
|
-
run: |
|
32
|
-
source $HOME/.rvm/scripts/rvm
|
33
|
-
rake
|
@@ -1,22 +0,0 @@
|
|
1
|
-
name: ubuntu
|
2
|
-
|
3
|
-
on: [push, pull_request]
|
4
|
-
|
5
|
-
jobs:
|
6
|
-
build:
|
7
|
-
runs-on: ubuntu-latest
|
8
|
-
strategy:
|
9
|
-
matrix:
|
10
|
-
ruby: [ '2.6.x', '2.5.x', '2.4.x' ]
|
11
|
-
steps:
|
12
|
-
- uses: actions/checkout@master
|
13
|
-
- name: Set up Ruby
|
14
|
-
uses: actions/setup-ruby@v1
|
15
|
-
with:
|
16
|
-
ruby-version: ${{ matrix.ruby }}
|
17
|
-
- name: Set up Bundler
|
18
|
-
run: gem install bundler --no-document
|
19
|
-
- name: Install dependencies
|
20
|
-
run: bundle install
|
21
|
-
- name: Run test
|
22
|
-
run: rake
|