syck 1.1.0 → 1.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
  SHA1:
3
- metadata.gz: 3e922f62fe315789047819b6b25dda0542c690fc
4
- data.tar.gz: d9eb20fa42c71cd5d5c96610a94ff37bad820e8d
3
+ metadata.gz: c6e0c558cd9bc7987063afe9f08519bc0bb26dc0
4
+ data.tar.gz: 919be11a7034129cbf99c44657fb77f7a7dff77f
5
5
  SHA512:
6
- metadata.gz: 9a590e27b396eee40956ae7f0942686e43bae503908e1b610df1dcf724d8f220ee75ce41f28d3651890350f6fc513cbac254d7382b3915301ec5b0ac16cc265d
7
- data.tar.gz: c51278861f02b6f19e7b3eb06b912c4d11c3d882e6830e9518206aca0d2e54853efd51d96044425abe3edb2fa3bd6a5b7d80fe269af6f1fe03497cd36dd60fe7
6
+ metadata.gz: 18b41c7dab8427f184cca758db44e58cdcf2155bbb1dd540de5e311ceec508fbe835a158191653cca7008f92764633a0011af374dade62a7cd699166d66dddd9
7
+ data.tar.gz: b950d3f2657ebb62da08c75866cbffbafaff5feb12526d427ba92ae9afe047bc04fa24e9b63c2b8bcbe36266da3f3e39084ebbc1dfc7cf0cc70cff525cd2d940
@@ -1,3 +1,9 @@
1
+ === 1.2.0 / 2016-11-12
2
+
3
+ Bug fixes:
4
+
5
+ * Fix build error with Ruby 2.4.0
6
+
1
7
  === 1.1.0 / 2016-03-22
2
8
 
3
9
  Bug fixes:
@@ -6,7 +12,7 @@ Bug fixes:
6
12
 
7
13
  Enhancements:
8
14
 
9
- * Skipped Syck specific methods on Psych engine.
15
+ * Skipped Syck specific methods on Psych engine.
10
16
 
11
17
  Known issues:
12
18
 
@@ -1,30 +1,26 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- syck (1.0.5)
4
+ syck (1.1.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
8
8
  specs:
9
- json (1.8.3)
10
- power_assert (0.2.7)
11
- rake (11.1.1)
12
- rake-compiler (0.9.7)
9
+ power_assert (0.3.1)
10
+ rake (11.3.0)
11
+ rake-compiler (1.0.1)
13
12
  rake
14
- rdoc (4.2.2)
15
- json (~> 1.4)
16
- test-unit (3.1.7)
13
+ test-unit (3.2.2)
17
14
  power_assert
18
15
 
19
16
  PLATFORMS
20
17
  ruby
21
18
 
22
19
  DEPENDENCIES
23
- bundler (~> 1.11)
24
- rake-compiler (>= 0.4.1)
25
- rdoc (~> 4.0)
20
+ bundler
21
+ rake-compiler
26
22
  syck!
27
- test-unit (~> 3.1)
23
+ test-unit
28
24
 
29
25
  BUNDLED WITH
30
- 1.11.2
26
+ 1.13.6
@@ -1,6 +1,6 @@
1
1
  = syck
2
2
 
3
- * http://github.com/tenderlove/syck
3
+ * https://github.com/ruby/syck
4
4
 
5
5
  == DESCRIPTION:
6
6
 
data/Rakefile CHANGED
@@ -2,11 +2,10 @@ require 'bundler/gem_tasks'
2
2
  require 'rake/extensiontask'
3
3
  require 'rake/testtask'
4
4
 
5
- CLEAN = Rake::FileList["lib/syck.bundle", "tmp"]
5
+ CLEAN << "lib/syck.bundle" << "tmp"
6
6
 
7
7
  Rake::TestTask.new(:test) do |t|
8
8
  t.libs << "test"
9
- t.libs << "lib"
10
9
  t.test_files = FileList['test/**/test_*.rb']
11
10
  end
12
11
  Rake::ExtensionTask.new('syck')
@@ -2,4 +2,3 @@ require 'mkmf'
2
2
 
3
3
  have_header( "st.h" )
4
4
  create_makefile( "syck" )
5
-
@@ -30,7 +30,7 @@ typedef struct RVALUE {
30
30
  /*struct RRegexp regexp;*/
31
31
  /*struct RHash hash;*/
32
32
  /*struct RData data;*/
33
- struct RStruct rstruct;
33
+ /*struct RStruct rstruct;*/
34
34
  /*struct RBignum bignum;*/
35
35
  /*struct RFile file;*/
36
36
  } as;
@@ -1162,7 +1162,11 @@ syck_resolver_transfer(VALUE self, VALUE type, VALUE val)
1162
1162
  }
1163
1163
  else if ( !NIL_P( target_class ) )
1164
1164
  {
1165
+ #ifdef RUBY_INTEGER_UNIFICATION
1166
+ if ( subclass == rb_cInteger )
1167
+ #else
1165
1168
  if ( subclass == rb_cBignum )
1169
+ #endif
1166
1170
  {
1167
1171
  obj = rb_str2inum( val, 10 ); /* for yaml dumped by 1.8.3 [ruby-core:6159] */
1168
1172
  }
@@ -2325,4 +2329,3 @@ Init_syck()
2325
2329
  rb_define_method( cEmitter, "set_resolver", syck_emitter_set_resolver, 1);
2326
2330
  rb_define_method( cEmitter, "node_export", syck_emitter_node_export, 1);
2327
2331
  }
2328
-
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: syck
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hiroshi SHIBATA
@@ -10,64 +10,50 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2016-03-22 00:00:00.000000000 Z
13
+ date: 2016-11-11 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bundler
17
17
  requirement: !ruby/object:Gem::Requirement
18
18
  requirements:
19
- - - "~>"
20
- - !ruby/object:Gem::Version
21
- version: '1.11'
22
- type: :development
23
- prerelease: false
24
- version_requirements: !ruby/object:Gem::Requirement
25
- requirements:
26
- - - "~>"
27
- - !ruby/object:Gem::Version
28
- version: '1.11'
29
- - !ruby/object:Gem::Dependency
30
- name: rdoc
31
- requirement: !ruby/object:Gem::Requirement
32
- requirements:
33
- - - "~>"
19
+ - - ">="
34
20
  - !ruby/object:Gem::Version
35
- version: '4.0'
21
+ version: '0'
36
22
  type: :development
37
23
  prerelease: false
38
24
  version_requirements: !ruby/object:Gem::Requirement
39
25
  requirements:
40
- - - "~>"
26
+ - - ">="
41
27
  - !ruby/object:Gem::Version
42
- version: '4.0'
28
+ version: '0'
43
29
  - !ruby/object:Gem::Dependency
44
30
  name: test-unit
45
31
  requirement: !ruby/object:Gem::Requirement
46
32
  requirements:
47
- - - "~>"
33
+ - - ">="
48
34
  - !ruby/object:Gem::Version
49
- version: '3.1'
35
+ version: '0'
50
36
  type: :development
51
37
  prerelease: false
52
38
  version_requirements: !ruby/object:Gem::Requirement
53
39
  requirements:
54
- - - "~>"
40
+ - - ">="
55
41
  - !ruby/object:Gem::Version
56
- version: '3.1'
42
+ version: '0'
57
43
  - !ruby/object:Gem::Dependency
58
44
  name: rake-compiler
59
45
  requirement: !ruby/object:Gem::Requirement
60
46
  requirements:
61
47
  - - ">="
62
48
  - !ruby/object:Gem::Version
63
- version: 0.4.1
49
+ version: '0'
64
50
  type: :development
65
51
  prerelease: false
66
52
  version_requirements: !ruby/object:Gem::Requirement
67
53
  requirements:
68
54
  - - ">="
69
55
  - !ruby/object:Gem::Version
70
- version: 0.4.1
56
+ version: '0'
71
57
  description: |-
72
58
  A gemified version of Syck from Ruby's stdlib. Syck has been removed from
73
59
  Ruby's stdlib, and this gem is meant to bridge the gap for people that haven't
@@ -119,7 +105,6 @@ files:
119
105
  - lib/syck/ypath.rb
120
106
  - lib/yaml/engine_manager.rb
121
107
  - lib/yaml/syck.rb
122
- - syck.gemspec
123
108
  - test/helper.rb
124
109
  - test/test_array.rb
125
110
  - test/test_boolean.rb
@@ -135,8 +120,9 @@ files:
135
120
  - test/test_time.rb
136
121
  - test/test_yaml.rb
137
122
  - test/test_yaml_properties.rb
138
- homepage: https://github.com/tenderlove/syck
139
- licenses: []
123
+ homepage: https://github.com/ruby/syck
124
+ licenses:
125
+ - MIT
140
126
  metadata: {}
141
127
  post_install_message:
142
128
  rdoc_options:
@@ -156,7 +142,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
156
142
  version: 0.9.5
157
143
  requirements: []
158
144
  rubyforge_project:
159
- rubygems_version: 2.6.1
145
+ rubygems_version: 2.6.8
160
146
  signing_key:
161
147
  specification_version: 4
162
148
  summary: A gemified version of Syck from Ruby's stdlib
@@ -1,26 +0,0 @@
1
- # -*- encoding: utf-8 -*-
2
-
3
- Gem::Specification.new do |s|
4
- s.name = "syck"
5
- s.version = "1.1.0"
6
-
7
- s.summary = "A gemified version of Syck from Ruby's stdlib"
8
- s.description = "A gemified version of Syck from Ruby's stdlib. Syck has been removed from\nRuby's stdlib, and this gem is meant to bridge the gap for people that haven't\nupdated their YAML yet."
9
- s.authors = ["Hiroshi SHIBATA", "Aaron Patterson", "Mat Brown"]
10
- s.email = ["hsbt@ruby-lang.org", "aaron@tenderlovemaking.com"]
11
- s.homepage = "https://github.com/tenderlove/syck"
12
- s.require_paths = ["lib"]
13
- s.extensions = ["ext/syck/extconf.rb"]
14
- s.files = Dir["[A-Z]*", "ext/**/*", "lib/**/*.rb", "test/**/*.rb"]
15
- s.extra_rdoc_files = ["CHANGELOG.rdoc", "README.rdoc", "CHANGELOG.rdoc", "README.rdoc"]
16
- s.test_files = Dir["test/**/*.rb"]
17
- s.rdoc_options = ["--main", "README.rdoc"]
18
- s.required_ruby_version = Gem::Requirement.new(">= 2.0.0")
19
- s.required_rubygems_version = Gem::Requirement.new(">= 0.9.5")
20
- s.rubygems_version = "2.0.3"
21
-
22
- s.add_development_dependency(%q<bundler>, ["~> 1.11"])
23
- s.add_development_dependency(%q<rdoc>, ["~> 4.0"])
24
- s.add_development_dependency(%q<test-unit>, ["~> 3.1"])
25
- s.add_development_dependency(%q<rake-compiler>, [">= 0.4.1"])
26
- end