go_version 1.7.0 → 1.7.1
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 +4 -4
- data/CHANGELOG.md +9 -0
- data/lib/go_version/version.rb +1 -1
- metadata +2 -3
- data/lib/go_version.h +0 -101
- data/lib/go_version.so +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 78e9a81242c1d6918e8dd8247f2d14045db2657d2753e876b37af85e9e3dc250
|
4
|
+
data.tar.gz: d2a9a378da7f6adea7c2b07d5af330af1e236bd56f71084ef28cfb35a5a68658
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '083c5f903b0324f277956dbc212e06bf6de56d2b21b1f63f58a2a12f432b5d458f38a23dc4a861a55477ee556e247c7e3696c01333b4b3351f6b13f52df6dc58'
|
7
|
+
data.tar.gz: b1dc9b8139a836cd2618750a380fed6e6f807845185842580e5efbf125bcfe75448065831116bfc412387b45968ce1221f8f812dfa1f526e04ee286f9b7b41a1
|
data/CHANGELOG.md
ADDED
data/lib/go_version/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: go_version
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.7.
|
4
|
+
version: 1.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brandon Croft
|
@@ -59,6 +59,7 @@ extensions:
|
|
59
59
|
- ext/extconf.rb
|
60
60
|
extra_rdoc_files: []
|
61
61
|
files:
|
62
|
+
- CHANGELOG.md
|
62
63
|
- LICENSE
|
63
64
|
- README.md
|
64
65
|
- ext/Makefile
|
@@ -66,9 +67,7 @@ files:
|
|
66
67
|
- ext/go.mod
|
67
68
|
- ext/go.sum
|
68
69
|
- ext/main.go
|
69
|
-
- lib/go_version.h
|
70
70
|
- lib/go_version.rb
|
71
|
-
- lib/go_version.so
|
72
71
|
- lib/go_version/constraint.rb
|
73
72
|
- lib/go_version/version.rb
|
74
73
|
- lib/go_version/wrapper.rb
|
data/lib/go_version.h
DELETED
@@ -1,101 +0,0 @@
|
|
1
|
-
/* Code generated by cmd/cgo; DO NOT EDIT. */
|
2
|
-
|
3
|
-
/* package go-version */
|
4
|
-
|
5
|
-
|
6
|
-
#line 1 "cgo-builtin-export-prolog"
|
7
|
-
|
8
|
-
#include <stddef.h>
|
9
|
-
|
10
|
-
#ifndef GO_CGO_EXPORT_PROLOGUE_H
|
11
|
-
#define GO_CGO_EXPORT_PROLOGUE_H
|
12
|
-
|
13
|
-
#ifndef GO_CGO_GOSTRING_TYPEDEF
|
14
|
-
typedef struct { const char *p; ptrdiff_t n; } _GoString_;
|
15
|
-
#endif
|
16
|
-
|
17
|
-
#endif
|
18
|
-
|
19
|
-
/* Start of preamble from import "C" comments. */
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
/* End of preamble from import "C" comments. */
|
25
|
-
|
26
|
-
|
27
|
-
/* Start of boilerplate cgo prologue. */
|
28
|
-
#line 1 "cgo-gcc-export-header-prolog"
|
29
|
-
|
30
|
-
#ifndef GO_CGO_PROLOGUE_H
|
31
|
-
#define GO_CGO_PROLOGUE_H
|
32
|
-
|
33
|
-
typedef signed char GoInt8;
|
34
|
-
typedef unsigned char GoUint8;
|
35
|
-
typedef short GoInt16;
|
36
|
-
typedef unsigned short GoUint16;
|
37
|
-
typedef int GoInt32;
|
38
|
-
typedef unsigned int GoUint32;
|
39
|
-
typedef long long GoInt64;
|
40
|
-
typedef unsigned long long GoUint64;
|
41
|
-
typedef GoInt64 GoInt;
|
42
|
-
typedef GoUint64 GoUint;
|
43
|
-
typedef size_t GoUintptr;
|
44
|
-
typedef float GoFloat32;
|
45
|
-
typedef double GoFloat64;
|
46
|
-
#ifdef _MSC_VER
|
47
|
-
#include <complex.h>
|
48
|
-
typedef _Fcomplex GoComplex64;
|
49
|
-
typedef _Dcomplex GoComplex128;
|
50
|
-
#else
|
51
|
-
typedef float _Complex GoComplex64;
|
52
|
-
typedef double _Complex GoComplex128;
|
53
|
-
#endif
|
54
|
-
|
55
|
-
/*
|
56
|
-
static assertion to make sure the file is being used on architecture
|
57
|
-
at least with matching size of GoInt.
|
58
|
-
*/
|
59
|
-
typedef char _check_for_64_bit_pointer_matching_GoInt[sizeof(void*)==64/8 ? 1:-1];
|
60
|
-
|
61
|
-
#ifndef GO_CGO_GOSTRING_TYPEDEF
|
62
|
-
typedef _GoString_ GoString;
|
63
|
-
#endif
|
64
|
-
typedef void *GoMap;
|
65
|
-
typedef void *GoChan;
|
66
|
-
typedef struct { void *t; void *v; } GoInterface;
|
67
|
-
typedef struct { void *data; GoInt len; GoInt cap; } GoSlice;
|
68
|
-
|
69
|
-
#endif
|
70
|
-
|
71
|
-
/* End of boilerplate cgo prologue. */
|
72
|
-
|
73
|
-
#ifdef __cplusplus
|
74
|
-
extern "C" {
|
75
|
-
#endif
|
76
|
-
|
77
|
-
|
78
|
-
// Check returns true if the given version string satisfies the
|
79
|
-
// given constraint string
|
80
|
-
//
|
81
|
-
extern GoUint8 Check(char* constraint, char* ver);
|
82
|
-
|
83
|
-
// ValidVersion returns true if it can be parsed as a version
|
84
|
-
//
|
85
|
-
extern GoUint8 ValidVersion(char* s);
|
86
|
-
|
87
|
-
// ValidSemver parses the given version and returns true if it
|
88
|
-
// adheres strictly to SemVer specs
|
89
|
-
//
|
90
|
-
extern GoUint8 ValidSemver(char* s);
|
91
|
-
|
92
|
-
// Compare compares two valid versions and returns -1, 0, or 1
|
93
|
-
// if 'a' version is smaller, equal, or larger than 'b' version,
|
94
|
-
// respectively. Invalid versions are considered smaller,
|
95
|
-
// to use ValidVersion to check for validity first.
|
96
|
-
//
|
97
|
-
extern GoInt Compare(char* a, char* b);
|
98
|
-
|
99
|
-
#ifdef __cplusplus
|
100
|
-
}
|
101
|
-
#endif
|
data/lib/go_version.so
DELETED
Binary file
|