go_version 1.7.0 → 1.7.1

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
  SHA256:
3
- metadata.gz: e0fca588bca54b5cce76b8106d6d68f68f7ba677bb6e893bad79b95971724b42
4
- data.tar.gz: 318ea393141cf9ce6a545d93a9be6458f271d8f8a4a2b91c13889de873e62488
3
+ metadata.gz: 78e9a81242c1d6918e8dd8247f2d14045db2657d2753e876b37af85e9e3dc250
4
+ data.tar.gz: d2a9a378da7f6adea7c2b07d5af330af1e236bd56f71084ef28cfb35a5a68658
5
5
  SHA512:
6
- metadata.gz: 1ff34f2a96be2fa55d4ab95d510cdf7aa5e7ff636b2488b5d77b54dc1653bbb6bb26a56f0b0f137a570078f7f5667e3de0282f9b17c7ed077c7bfed698eb1969
7
- data.tar.gz: 1c56062d7e1cdec6969f0eb7e29fbc1ec4d148ebe7916aa221a76749eed4f4b1ab6658fdebd851d114d9e7db9aa920efd0bff71214cebab031e1e5a5ccc5fc0b
6
+ metadata.gz: '083c5f903b0324f277956dbc212e06bf6de56d2b21b1f63f58a2a12f432b5d458f38a23dc4a861a55477ee556e247c7e3696c01333b4b3351f6b13f52df6dc58'
7
+ data.tar.gz: b1dc9b8139a836cd2618750a380fed6e6f807845185842580e5efbf125bcfe75448065831116bfc412387b45968ce1221f8f812dfa1f526e04ee286f9b7b41a1
data/CHANGELOG.md ADDED
@@ -0,0 +1,9 @@
1
+ ## 1.7.1
2
+
3
+ - Remove unnecessary build files from gem source
4
+
5
+ ## 1.7.0
6
+
7
+ - First stable release, adding support for both linux and macOS installation.
8
+ - Adds GoVersion.compare which wraps version.Version Compa
9
+ - Bumps go-version dependency to 1.7.0
@@ -1,3 +1,3 @@
1
1
  module GoVersion
2
- VERSION = "1.7.0"
2
+ VERSION = "1.7.1"
3
3
  end
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.0
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