usamin 7.7.11 → 7.7.12

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: 5c1850442411d90d31a98e9d3286b773852a1e855ba32227b1d266ea2ae2581f
4
- data.tar.gz: 4382e4499525e5aa163e023feb62f4e839bc98dd3540a11112ee6b3334d632c1
3
+ metadata.gz: f1416f23892e15634eafdbb8536499e785802ac5ca3ff9ac7bc8a9b6f47add00
4
+ data.tar.gz: cfdb20662dce9920a52a48f0e7c17d82943d94d7212d8ad19897b150291058cb
5
5
  SHA512:
6
- metadata.gz: 27d1e300cb0242087202b903ef425ff25d81b1249834111f1302d060e7991e9e665f34f2674a8da5f90647bc9448417141925cd6fad06bdd5783f79fc59bea0f
7
- data.tar.gz: 0133a944f187fed3deb2f295fd2e18b9386d52a1f87f3873f58ab37b530de591812f29c422558c35e180b65ebb73ff94d4ca9669dc027c6f47716018538e0004
6
+ metadata.gz: e7ef1f8f1eba35b68a94b28f18865c0bec6b0be3e4c145ab8fd86806fc7deace8d7ca1515c89c51bb35bec7a296db122963226583d1f0351dea38e3ec96ef9c7
7
+ data.tar.gz: 3a456c76021b846a04573bfda63c2dc2ab0935e01571ed61e4dbf05c233bb58a2bbf5af1ffb04a3328ad1696bb353e081065e745bc0f6bb2564445f4935171b7
@@ -1,8 +1,8 @@
1
1
  #include "rb270_fix.hpp"
2
2
  #include "default_parse_flags.hpp"
3
- #include "parser.hpp"
4
3
  #include <rapidjson/reader.h>
5
4
  #include <rapidjson/error/en.h>
5
+ #include "parser.hpp"
6
6
  #include <ruby.h>
7
7
  #include "rb_common.hpp"
8
8
  #include "rubynized_rapidjson.hpp"
@@ -4,13 +4,14 @@
4
4
  #include <cstring>
5
5
  #include <ruby/version.h>
6
6
 
7
- #if RUBY_API_VERSION_CODE >= 20700 && defined(__GLIBC__)
7
+ #if RUBY_API_VERSION_CODE >= 20700
8
8
 
9
9
  namespace std {
10
10
  static inline void *ruby_nonempty_memcpy(void *dest, const void *src, size_t n) {
11
- return (n ? memcpy(dest, src, n) : dest);
11
+ return (n ? ::memcpy(dest, src, n) : dest);
12
12
  }
13
13
  } // namespace std
14
+
14
15
  #endif
15
16
 
16
17
  #endif
@@ -1,6 +1,6 @@
1
+ #include "rubynized_rapidjson.hpp"
1
2
  #include <ruby.h>
2
3
  #include <ruby/encoding.h>
3
- #include "rubynized_rapidjson.hpp"
4
4
  #include "usamin_value.hpp"
5
5
 
6
6
  VALUE get_utf8_str(VALUE str) {
@@ -1,4 +1,3 @@
1
- #include "rb270_fix.hpp"
2
1
  #include <rapidjson/document.h>
3
2
  #include <ruby.h>
4
3
  #include "usamin_value.hpp"
@@ -1,4 +1,3 @@
1
- #include "rb270_fix.hpp"
2
1
  #include <rapidjson/document.h>
3
2
  #include <ruby.h>
4
3
  #include <ruby/version.h>
@@ -1,4 +1,3 @@
1
- #include "rb270_fix.hpp"
2
1
  #include "default_parse_flags.hpp"
3
2
  #include <rapidjson/error/en.h>
4
3
  #include <rapidjson/reader.h>
@@ -1,6 +1,7 @@
1
1
  #ifndef USAMIN_RUBYNIZED_RAPIDJSON_HPP
2
2
  #define USAMIN_RUBYNIZED_RAPIDJSON_HPP
3
3
 
4
+ #include "rb270_fix.hpp"
4
5
  #include <rapidjson/document.h>
5
6
 
6
7
  class RubyCrtAllocator {
@@ -1,10 +1,10 @@
1
- #include <ruby.h>
2
- #include <ruby/encoding.h>
3
1
  #include "generator.hpp"
4
2
  #include "parser.hpp"
5
3
  #include "rb_usamin_value.hpp"
6
4
  #include "rb_usamin_hash.hpp"
7
5
  #include "rb_usamin_array.hpp"
6
+ #include <ruby.h>
7
+ #include <ruby/encoding.h>
8
8
 
9
9
  #if SIZEOF_VALUE < SIZEOF_VOIDP
10
10
  #error SIZEOF_VOIDP must not be greater than SIZEOF_VALUE.
@@ -1,8 +1,8 @@
1
1
  #ifndef USAMIN_USAMIN_VALUE_HPP
2
2
  #define USAMIN_USAMIN_VALUE_HPP
3
3
 
4
- #include <ruby.h>
5
4
  #include "rubynized_rapidjson.hpp"
5
+ #include <ruby.h>
6
6
 
7
7
  class UsaminValue {
8
8
  public:
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Usamin
4
- VERSION = '7.7.11'
4
+ VERSION = '7.7.12'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: usamin
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.7.11
4
+ version: 7.7.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ishotihadus
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-06-08 00:00:00.000000000 Z
11
+ date: 2022-06-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -126,7 +126,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
126
126
  - !ruby/object:Gem::Version
127
127
  version: '0'
128
128
  requirements: []
129
- rubygems_version: 3.1.2
129
+ rubygems_version: 3.3.3
130
130
  signing_key:
131
131
  specification_version: 4
132
132
  summary: A RapidJSON Wrapper for Ruby