psych 5.0.2.pre1 → 5.1.0.pre1

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: bad0c37768b489a56b9c11ec3b31892ba99171d2e5a140f28d9347a7c5842bbb
4
- data.tar.gz: 7bc9a649097b8503812de5aa3e6a26d5ec1d9511f5d4f1964bdcb379457a89b7
3
+ metadata.gz: a27c156014c4ac63734aca7297ca74beed2a5688944e9f15a9071ccd3e418e8c
4
+ data.tar.gz: 256263b6bae3e2f0201a8d57c886d410eae6a1a26e0f274c76ac368985db1717
5
5
  SHA512:
6
- metadata.gz: 8eaeb0a30d7d8ebf9f95a6116c4dd3b65904c6c3fb766d1aaa34019bf96de237d0c8f0f210e9c7aa299fbbf0edee7d344adcfc569fb555b7f24d54f95bc92079
7
- data.tar.gz: 59fba592339935369f04d59a5c2f18fe8a8e6c8927ac6f93ffe6228693591bc4faa06e3e13122213edb1e52896dffaae735e2ae1c82a0a8991bd160b33ff5392
6
+ metadata.gz: 94516a246b9fdc1d60d656cbc1da1255d719a5e45ee65ebde9bf0b0bc3f09ca02901d5369e83c230e643625ca19b71decf5e1d5cc72ddb29281cfce6c552abd5
7
+ data.tar.gz: d58b09aaaaf87256d28830837428e2beea3136e2690e49954623732af6a446f1b3e77811465e26e219367d5eabc2b98dbe4e3244beff817bfd436ea6fd269553
data/Mavenfile CHANGED
@@ -1,6 +1,6 @@
1
1
  #-*- mode: ruby -*-
2
2
 
3
- jar 'org.yaml:snakeyaml:${snakeyaml.version}'
3
+ jar 'org.snakeyaml:snakeyaml-engine:${snakeyaml.version}'
4
4
 
5
5
  plugin :dependency, '2.8', :outputFile => 'pkg/classpath'
6
6
 
@@ -2,9 +2,9 @@
2
2
 
3
3
  module Psych
4
4
  # The version of Psych you are using
5
- VERSION = '5.0.2.pre1'
5
+ VERSION = '5.1.0.pre1'
6
6
 
7
7
  if RUBY_ENGINE == 'jruby'
8
- DEFAULT_SNAKEYAML_VERSION = '1.33'.freeze
8
+ DEFAULT_SNAKEYAML_VERSION = '2.6'.freeze
9
9
  end
10
10
  end
@@ -568,7 +568,7 @@ module Psych
568
568
  raise BadAlias, "Tried to dump an aliased object"
569
569
  end
570
570
 
571
- unless @permitted_classes[target.class]
571
+ unless Symbol === target || @permitted_classes[target.class]
572
572
  raise DisallowedClass.new('dump', target.class.name || target.class.inspect)
573
573
  end
574
574
 
@@ -576,7 +576,7 @@ module Psych
576
576
  end
577
577
 
578
578
  def visit_Symbol sym
579
- unless @permitted_symbols[sym]
579
+ unless @permitted_classes[Symbol] || @permitted_symbols[sym]
580
580
  raise DisallowedClass.new('dump', "Symbol(#{sym.inspect})")
581
581
  end
582
582
 
data/psych.gemspec CHANGED
@@ -55,7 +55,7 @@ DESCRIPTION
55
55
  "lib/psych_jars.rb",
56
56
  "lib/psych.jar"
57
57
  ]
58
- s.requirements = "jar org.yaml:snakeyaml, #{version_module::Psych::DEFAULT_SNAKEYAML_VERSION}"
58
+ s.requirements = "jar org.snakeyaml:snakeyaml-engine, #{version_module::Psych::DEFAULT_SNAKEYAML_VERSION}"
59
59
  s.add_dependency 'jar-dependencies', '>= 0.1.7'
60
60
  else
61
61
  s.extensions = ["ext/psych/extconf.rb"]
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.0.2.pre1
4
+ version: 5.1.0.pre1
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: 2023-01-17 00:00:00.000000000 Z
13
+ date: 2023-01-26 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: stringio
@@ -120,7 +120,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
120
120
  - !ruby/object:Gem::Version
121
121
  version: '0'
122
122
  requirements: []
123
- rubygems_version: 3.5.0.dev
123
+ rubygems_version: 3.3.26
124
124
  signing_key:
125
125
  specification_version: 4
126
126
  summary: Psych is a YAML parser and emitter