agoo 2.12.2 → 2.12.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.
Potentially problematic release.
This version of agoo might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/ext/agoo/rgraphql.c +3 -3
- data/ext/agoo/rserver.c +4 -4
- data/lib/agoo/version.rb +1 -1
- metadata +2 -2
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA256:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 3d0965efaeccced647216fb862b8dfbc08341340b11cf9f3844ad02d69689037
         | 
| 4 | 
            +
              data.tar.gz: 28214398cdde45c6ff314cca9fef6d59c52eb4602e1589d6e0ffcb2df20dea1e
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: ca54ef2d81c61b6175853ddc45d14c1654c56a0aff3cb3ddfd89513c0422d6f0442e67b7fb77650b090b1ae3dd3a8784d15eb1fd8610923d5d1514873b7755a4
         | 
| 7 | 
            +
              data.tar.gz: bd950219f2e91ec4bdac217c646184c883ea789c8d7d6ab9a3b9f3459aab96c149aa6701a5b705f3e86f7786b5c0a634d1c1f41dce456a35d153aaeb656f20c8
         | 
    
        data/CHANGELOG.md
    CHANGED
    
    | @@ -2,6 +2,14 @@ | |
| 2 2 |  | 
| 3 3 | 
             
            All changes to the Agoo gem are documented here. Releases follow semantic versioning.
         | 
| 4 4 |  | 
| 5 | 
            +
            ## [2.12.3] - 2020-03-28
         | 
| 6 | 
            +
             | 
| 7 | 
            +
            rb_rescue2 termination
         | 
| 8 | 
            +
             | 
| 9 | 
            +
            ### Fixed
         | 
| 10 | 
            +
             | 
| 11 | 
            +
            - rb_rescue2 must be terminated by a (VALUE)0 and not simply 0.
         | 
| 12 | 
            +
             | 
| 5 13 | 
             
            ## [2.12.2] - 2020-03-22
         | 
| 6 14 |  | 
| 7 15 | 
             
            Stub generator
         | 
    
        data/ext/agoo/rgraphql.c
    CHANGED
    
    | @@ -104,7 +104,7 @@ call_eval(VALUE x) { | |
| 104 104 |  | 
| 105 105 | 
             
            static void*
         | 
| 106 106 | 
             
            protect_eval(void *x) {
         | 
| 107 | 
            -
                rb_rescue2(call_eval, (VALUE)x, rescue_error, (VALUE)x, rb_eException, 0);
         | 
| 107 | 
            +
                rb_rescue2(call_eval, (VALUE)x, rescue_error, (VALUE)x, rb_eException, (VALUE)0);
         | 
| 108 108 |  | 
| 109 109 | 
             
                return NULL;
         | 
| 110 110 | 
             
            }
         | 
| @@ -682,7 +682,7 @@ graphql_schema(VALUE self, VALUE root) { | |
| 682 682 | 
             
            	printf("*-*-* %s\n", err.msg);
         | 
| 683 683 | 
             
            	exit(6);
         | 
| 684 684 | 
             
                }
         | 
| 685 | 
            -
                rb_rescue2(rescue_yield, Qnil, rescue_yield_error, (VALUE)&err, rb_eException, 0);
         | 
| 685 | 
            +
                rb_rescue2(rescue_yield, Qnil, rescue_yield_error, (VALUE)&err, rb_eException, (VALUE)0);
         | 
| 686 686 | 
             
                if (AGOO_ERR_OK != err.code) {
         | 
| 687 687 | 
             
            	printf("*-*-* %s\n", err.msg);
         | 
| 688 688 | 
             
            	exit(7);
         | 
| @@ -952,7 +952,7 @@ inner_build_headers(VALUE x) { | |
| 952 952 |  | 
| 953 953 | 
             
            static void*
         | 
| 954 954 | 
             
            protected_build_headers(void *x) {
         | 
| 955 | 
            -
                return (void*)rb_rescue2(inner_build_headers, (VALUE)x, rescue_build_header, (VALUE)x, rb_eException, 0);
         | 
| 955 | 
            +
                return (void*)rb_rescue2(inner_build_headers, (VALUE)x, rescue_build_header, (VALUE)x, rb_eException, (VALUE)0);
         | 
| 956 956 | 
             
            }
         | 
| 957 957 |  | 
| 958 958 | 
             
            static agooText
         | 
    
        data/ext/agoo/rserver.c
    CHANGED
    
    | @@ -384,7 +384,7 @@ handle_base_inner(VALUE x) { | |
| 384 384 |  | 
| 385 385 | 
             
            static void*
         | 
| 386 386 | 
             
            handle_base(void *x) {
         | 
| 387 | 
            -
                rb_rescue2(handle_base_inner, (VALUE)x, rescue_error, (VALUE)x, rb_eException, 0);
         | 
| 387 | 
            +
                rb_rescue2(handle_base_inner, (VALUE)x, rescue_error, (VALUE)x, rb_eException, (VALUE)0);
         | 
| 388 388 |  | 
| 389 389 | 
             
                return NULL;
         | 
| 390 390 | 
             
            }
         | 
| @@ -613,7 +613,7 @@ handle_rack_inner(VALUE x) { | |
| 613 613 | 
             
            static void*
         | 
| 614 614 | 
             
            handle_rack(void *x) {
         | 
| 615 615 | 
             
                //rb_gc_disable();
         | 
| 616 | 
            -
                rb_rescue2(handle_rack_inner, (VALUE)x, rescue_error, (VALUE)x, rb_eException, 0);
         | 
| 616 | 
            +
                rb_rescue2(handle_rack_inner, (VALUE)x, rescue_error, (VALUE)x, rb_eException, (VALUE)0);
         | 
| 617 617 | 
             
                //rb_gc_enable();
         | 
| 618 618 | 
             
                //rb_gc();
         | 
| 619 619 |  | 
| @@ -638,7 +638,7 @@ handle_wab_inner(VALUE x) { | |
| 638 638 |  | 
| 639 639 | 
             
            static void*
         | 
| 640 640 | 
             
            handle_wab(void *x) {
         | 
| 641 | 
            -
                rb_rescue2(handle_wab_inner, (VALUE)x, rescue_error, (VALUE)x, rb_eException, 0);
         | 
| 641 | 
            +
                rb_rescue2(handle_wab_inner, (VALUE)x, rescue_error, (VALUE)x, rb_eException, (VALUE)0);
         | 
| 642 642 |  | 
| 643 643 | 
             
                return NULL;
         | 
| 644 644 | 
             
            }
         | 
| @@ -696,7 +696,7 @@ handle_push_inner(VALUE x) { | |
| 696 696 |  | 
| 697 697 | 
             
            static void*
         | 
| 698 698 | 
             
            handle_push(void *x) {
         | 
| 699 | 
            -
                rb_rescue2(handle_push_inner, (VALUE)x, rescue_error, (VALUE)x, rb_eException, 0);
         | 
| 699 | 
            +
                rb_rescue2(handle_push_inner, (VALUE)x, rescue_error, (VALUE)x, rb_eException, (VALUE)0);
         | 
| 700 700 | 
             
                return NULL;
         | 
| 701 701 | 
             
            }
         | 
| 702 702 |  | 
    
        data/lib/agoo/version.rb
    CHANGED
    
    
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: agoo
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 2.12. | 
| 4 | 
            +
              version: 2.12.3
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Peter Ohler
         | 
| 8 8 | 
             
            autorequire: 
         | 
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date: 2020-03- | 
| 11 | 
            +
            date: 2020-03-28 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: oj
         |