ucl 0.1.2 → 0.1.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/ext/ucl.c +3 -3
  3. data/ucl.gemspec +1 -1
  4. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3fb8e8b518ea32adfa5365bf32e260487f3aa4ec9e546738911e6cf37a16e300
4
- data.tar.gz: e9067e8747899c187f9ae400cd4bfe58e4343c41ff04b70cdbe161a500062bfc
3
+ metadata.gz: 5badf6c3422aac319ce132dfde865c7e5532b5b6617ffdad9e5383026c176f7a
4
+ data.tar.gz: 6cac2b1806cfb4997ca0de3239c48b4241ef16ed0a64dd5f4772f2d79ab02937
5
5
  SHA512:
6
- metadata.gz: 962eea2f25228aec1ee903315074ceabd9cc424b2afab0963e68179fd39f1666abe6954404594ae6d4c658704b89200d4bfad21174bc9cd298b8ce66ea9252b7
7
- data.tar.gz: b5c9bbe4b92be69734f5bd0df81a043dba97158489da7f67d7fce6e33f976a6eb209c45b7a72690bd441aa2fd8aed203f47389753328efd875fe05175e875afa
6
+ metadata.gz: d9aba6119424b9e6d8488c870330b1603b79dadd74f3896f34eafb09c3eb30fb60fc20788dd8dbb9308ea405b14e7b65a037c9ed870c1697533af9dd72b91e34
7
+ data.tar.gz: b4e5702dac98848b069a09e611342e8607dcf580baa44c6da905a255c83e9b2f4aac02c2f4f8bf83c16a848b886fd3b085b9e93616a2437132926af181248e26
data/ext/ucl.c CHANGED
@@ -41,7 +41,7 @@ _iterate_valid_ucl(ucl_object_t const *root, int flags)
41
41
 
42
42
  VALUE lst = rb_ary_new();
43
43
 
44
- while ((obj = ucl_object_iterate (root, &it, false))) {
44
+ while ((obj = ucl_iterate_object (root, &it, false))) {
45
45
  VALUE val;
46
46
 
47
47
  switch (obj->type) {
@@ -68,7 +68,7 @@ _iterate_valid_ucl(ucl_object_t const *root, int flags)
68
68
  case UCL_OBJECT:
69
69
  it_obj = NULL;
70
70
  val = rb_hash_new();
71
- while ((cur = ucl_object_iterate(obj, &it_obj, true))) {
71
+ while ((cur = ucl_iterate_object(obj, &it_obj, true))) {
72
72
  const char *obj_key = ucl_object_key(cur);
73
73
  VALUE key = (flags & UCL_PARSER_KEY_SYMBOL)
74
74
  ? rb_id2sym(rb_intern(obj_key))
@@ -80,7 +80,7 @@ _iterate_valid_ucl(ucl_object_t const *root, int flags)
80
80
  case UCL_ARRAY:
81
81
  it_obj = NULL;
82
82
  val = rb_ary_new();
83
- while ((cur = ucl_object_iterate (obj, &it_obj, true))) {
83
+ while ((cur = ucl_iterate_object (obj, &it_obj, true))) {
84
84
  rb_ary_push(val, _iterate_valid_ucl(cur, flags));
85
85
  }
86
86
  break;
data/ucl.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'ucl'
3
- s.version = '0.1.2'
3
+ s.version = '0.1.2.1'
4
4
  s.summary = " Universal configuration library parser"
5
5
  s.description = <<~EOF
6
6
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ucl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stéphane D'Alu
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-12-20 00:00:00.000000000 Z
11
+ date: 2023-02-02 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: |2+
14
14
 
@@ -43,7 +43,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
43
43
  - !ruby/object:Gem::Version
44
44
  version: '0'
45
45
  requirements: []
46
- rubygems_version: 3.3.23
46
+ rubygems_version: 3.4.2
47
47
  signing_key:
48
48
  specification_version: 4
49
49
  summary: Universal configuration library parser