yaml 0.1.1 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 565bcdd1deae9611ca074484b22f758c3f5fc330ac293c98f091dfae1cfe23bc
4
- data.tar.gz: 04f1e3e2a0f10df43ed7129e2858a7cd863a29e08eb0220f2abd5348adbe6f6c
3
+ metadata.gz: 6e6a2f22aae247b3218ae649b1deaab313db312f3f97857f79122b2bd9c782d5
4
+ data.tar.gz: f1fd242c3e4699f88310faa8b41434d7739e820452c986427fcc6fbf31dec9a5
5
5
  SHA512:
6
- metadata.gz: 1454f9a253109365062a44c7b3060b6da35af57e321ae262b8ee38881b69c92a5075a90fb838eb819acdfec3e000f90b66fb1d8c9ae9394a8aa7e3b3a5261a51
7
- data.tar.gz: 7b46318d4966fd1c006be99d61e4d46edc4a478e9d2c5c18d390c098722572b4a6f22cd4468ff6cd1c394a747af08fdd82d069a76230484c18fb70f3e284dba7
6
+ metadata.gz: ea7c6c85d8bb976b949f0a96db1c9b3102132ad50333d7df9678eb77e9f78577ec549d9e91ea15a494dca0d2dbfa71f5e4dd24ad75dc15df4d11b34c320c7e00
7
+ data.tar.gz: '05298e1632fb1a2cb3b76d31b17fa1af61710f25b28a07334fe97226b50c90a58ea7b3defad75f01bbda0fd97400bf5aab286d9268ec6ec3e72735ea44048ae7'
@@ -11,14 +11,12 @@ jobs:
11
11
  os: [ ubuntu-latest, macos-latest ]
12
12
  runs-on: ${{ matrix.os }}
13
13
  steps:
14
- - uses: actions/checkout@master
14
+ - uses: actions/checkout@v2
15
15
  - name: Set up Ruby
16
16
  uses: ruby/setup-ruby@v1
17
17
  with:
18
18
  ruby-version: ${{ matrix.ruby }}
19
19
  - name: Install dependencies
20
- run: |
21
- gem install bundler --no-document
22
- bundle install
20
+ run: bundle install
23
21
  - name: Run test
24
22
  run: rake test
data/README.md CHANGED
@@ -2,9 +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 for
6
- {Psych}[https://ruby-doc.org/stdlib/libdoc/psych/rdoc/index.html],
7
- the \YAML engine for Ruby.
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.
8
8
 
9
9
  ## Installation
10
10
 
@@ -38,7 +38,7 @@ YAML.dump("foo") # => "--- foo\n...\n"
38
38
  ```
39
39
 
40
40
  For detailed documentation, see
41
- {Psych}[https://ruby-doc.org/stdlib/libdoc/psych/rdoc/index.html].
41
+ [Psych](https://ruby-doc.org/stdlib/libdoc/psych/rdoc/index.html).
42
42
 
43
43
  ## Security
44
44
 
data/Rakefile CHANGED
@@ -9,7 +9,7 @@ end
9
9
 
10
10
  task :sync_tool do
11
11
  require 'fileutils'
12
- FileUtils.cp "../ruby/tool/lib/test/unit/core_assertions.rb", "./test/lib"
12
+ FileUtils.cp "../ruby/tool/lib/core_assertions.rb", "./test/lib"
13
13
  FileUtils.cp "../ruby/tool/lib/envutil.rb", "./test/lib"
14
14
  FileUtils.cp "../ruby/tool/lib/find_executable.rb", "./test/lib"
15
15
  end
data/lib/yaml/store.rb CHANGED
@@ -65,7 +65,7 @@ class YAML::Store < PStore
65
65
  end
66
66
 
67
67
  def load(content)
68
- table = YAML.load(content)
68
+ table = YAML.unsafe_load(content)
69
69
  if table == false
70
70
  {}
71
71
  else
data/yaml.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = "yaml"
3
- spec.version = "0.1.1"
3
+ spec.version = "0.2.0"
4
4
  spec.authors = ["Aaron Patterson", "SHIBATA Hiroshi"]
5
5
  spec.email = ["aaron@tenderlovemaking.com", "hsbt@ruby-lang.org"]
6
6
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yaml
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aaron Patterson
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2020-12-22 00:00:00.000000000 Z
12
+ date: 2021-10-14 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: YAML Ain't Markup Language
15
15
  email:
@@ -53,7 +53,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  requirements: []
56
- rubygems_version: 3.2.2
56
+ rubygems_version: 3.3.0.dev
57
57
  signing_key:
58
58
  specification_version: 4
59
59
  summary: YAML Ain't Markup Language