psych 5.2.2 → 5.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e81adcfc8e167dbe8951e4b32794238a09003e57e75cc9e7f807d90c20aee917
4
- data.tar.gz: 98cab7d17c5f91abbd84c95b089e71b4928b9554d5a8b154841c1d6d96c63f69
3
+ metadata.gz: e8c48b70d7c4ff53b1d536997a6e63173cb7e123e3f6e70f82c5de8596d93c4c
4
+ data.tar.gz: c49d610314f1628a1e84267010dcfac5a076276eac2cad8dbbba9079ede9e08f
5
5
  SHA512:
6
- metadata.gz: 9297958a815fe84220641506bc65e17133d2c551cc34d50d0261f95e51d7a19e706b06bb98b59bbde587825f9256f0579a68d250346134f2f766a79c93fa1288
7
- data.tar.gz: a86c4526fb081f9b18cc13e6f8326c3335e80913013f448bf9ef0d0f741af7d1bdc52392014076fe3b709427e47ae42dce7f4ffe0e896de82c8d3d218e23cfb0
6
+ metadata.gz: 2d3d710995bfd6eb317994dd13024e5e3fd2967dbd379a1d510f86f7517177d2cc5e292a7d3b14c999071cc35ce625715ee3549fab90ce966567ba6e91f2475c
7
+ data.tar.gz: f1570e565d5dd8c9e5984155dfbc1418a594aaa871fab7b7fabe62f05bc0a3e72ab141dd9f39c09689f8f4949a5c6e58fa9b1ca99c26db3552b0c9866a6032ad
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # Psych
2
2
 
3
- * https://github.com/ruby/psych
4
- * https://docs.ruby-lang.org/en/master/Psych.html
3
+ * https://github.com/ruby/psych
4
+ * https://docs.ruby-lang.org/en/master/Psych.html
5
5
 
6
6
  ## Description
7
7
 
@@ -22,31 +22,38 @@ Psych.dump("foo") # => "--- foo\n...\n"
22
22
 
23
23
  ## Dependencies
24
24
 
25
- * libyaml
25
+ * libyaml
26
26
 
27
27
  ## Installation
28
28
 
29
29
  Psych has been included with MRI since 1.9.2, and is the default YAML parser
30
30
  in 1.9.3.
31
31
 
32
- If you want a newer gem release of Psych, you can use rubygems:
33
-
34
- gem install psych
32
+ If you want a newer gem release of Psych, you can use RubyGems:
35
33
 
34
+ ```bash
35
+ gem install psych
36
+ ```
36
37
 
37
38
  Psych supported the static build with specific version of libyaml sources. You can build psych with libyaml-0.2.5 like this.
38
39
 
39
- gem install psych -- --with-libyaml-source-dir=/path/to/libyaml-0.2.5
40
+ ```bash
41
+ gem install psych -- --with-libyaml-source-dir=/path/to/libyaml-0.2.5
42
+ ```
40
43
 
41
44
  In order to use the gem release in your app, and not the stdlib version,
42
45
  you'll need the following:
43
46
 
44
- gem 'psych'
45
- require 'psych'
47
+ ```ruby
48
+ gem 'psych'
49
+ require 'psych'
50
+ ```
46
51
 
47
52
  Or if you use Bundler add this to your `Gemfile`:
48
53
 
49
- gem 'psych'
54
+ ```ruby
55
+ gem 'psych'
56
+ ```
50
57
 
51
58
  JRuby ships with a pure Java implementation of Psych.
52
59
 
data/ext/psych/psych.c CHANGED
@@ -34,4 +34,3 @@ void Init_psych(void)
34
34
  Init_psych_to_ruby();
35
35
  Init_psych_yaml_tree();
36
36
  }
37
- /* vim: set noet sws=4 sw=4: */
@@ -587,4 +587,3 @@ void Init_psych_emitter(void)
587
587
  id_indentation = rb_intern("indentation");
588
588
  id_canonical = rb_intern("canonical");
589
589
  }
590
- /* vim: set noet sws=4 sw=4: */
@@ -562,4 +562,3 @@ void Init_psych_parser(void)
562
562
  id_end_mapping = rb_intern("end_mapping");
563
563
  id_event_location = rb_intern("event_location");
564
564
  }
565
- /* vim: set noet sws=4 sw=4: */
@@ -36,4 +36,3 @@ void Init_psych_to_ruby(void)
36
36
  rb_define_private_method(cPsychVisitorsToRuby, "build_exception", build_exception, 2);
37
37
  rb_define_private_method(class_loader, "path2class", path2class, 1);
38
38
  }
39
- /* vim: set noet sws=4 sw=4: */
@@ -9,4 +9,3 @@ void Init_psych_yaml_tree(void)
9
9
  VALUE visitor = rb_define_class_under(visitors, "Visitor", rb_cObject);
10
10
  cPsychVisitorsYamlTree = rb_define_class_under(visitors, "YAMLTree", visitor);
11
11
  }
12
- /* vim: set noet sws=4 sw=4: */
@@ -2,9 +2,9 @@
2
2
 
3
3
  module Psych
4
4
  # The version of Psych you are using
5
- VERSION = '5.2.2'
5
+ VERSION = '5.2.3'
6
6
 
7
7
  if RUBY_ENGINE == 'jruby'
8
- DEFAULT_SNAKEYAML_VERSION = '2.7'.freeze
8
+ DEFAULT_SNAKEYAML_VERSION = '2.9'.freeze
9
9
  end
10
10
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: psych
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.2.2
4
+ version: 5.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aaron Patterson
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2024-12-18 00:00:00.000000000 Z
13
+ date: 2025-01-17 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: stringio