razor-client 1.9.5 → 1.9.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/NEWS.md +5 -0
- data/lib/razor/cli/version.rb +2 -37
- metadata +19 -20
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 4daf99d4cba4bac0e06b5332b02b2e662683fabe331c1e3a1a70b75a58d562fa
|
4
|
+
data.tar.gz: 4bcff39a3bd8580a5dadcb2d9b8964432c95a81056c0a4dce0ae5524be2b0ad3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f45af594bf6232976eb2d48de7a5ea4c8e4765be305c7cc37f1ccf4fbf74484afd8aa26014c58cf7537f7bca91b5a4522d6903e918faf3549023fa221807395b
|
7
|
+
data.tar.gz: eceaa6949c2e8f495e2951af518fcb5d42973dcb126c47805cd2c7739b276371110b467e3a878f7bb343fa9d4987f6c15efb5f18276de15f1edbb1dc029023cd
|
data/NEWS.md
CHANGED
data/lib/razor/cli/version.rb
CHANGED
@@ -1,46 +1,11 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
2
|
module Razor
|
3
3
|
module CLI
|
4
|
-
# Define the Razor version, and stash it in a constant.
|
5
|
-
# package for shipping we burn the version directly into this file, by
|
6
|
-
# modifying the text on the fly during package building.
|
7
|
-
#
|
8
|
-
# That "burns in" the value, but if that hasn't happened we do our best to
|
9
|
-
# work out a reasonable version number: If we are running from a git
|
10
|
-
# checkout, and we have git installed, determine this with `git describe`,
|
11
|
-
#
|
12
|
-
# If we don't have git, or it fails, but have the metadata, parse out some
|
13
|
-
# useful information directly from the checkout; this isn't great, but does
|
14
|
-
# give some guidance as to where the user was working.
|
15
|
-
#
|
16
|
-
# Finally, fall back to a default version placeholder.
|
17
|
-
#
|
18
|
-
#
|
19
|
-
# The next line is the one that our packaging tools modify, so please make
|
20
|
-
# sure that any change to it is discussed and agreed first.
|
21
|
-
version = "DEVELOPMENT"
|
22
|
-
|
23
|
-
if version == "DEVELOPMENT"
|
24
|
-
root = File.expand_path("../../..", File.dirname(__FILE__))
|
25
|
-
if File.directory? File.join(root, ".git")
|
26
|
-
git_version = %x{cd '#{root}' && git describe --tags --dirty --always 2>&1}
|
27
|
-
if $?.success?
|
28
|
-
version = 'v' + git_version
|
29
|
-
else # try to read manually...
|
30
|
-
head = File.read(File.join(root, ".git", "HEAD")) rescue nil
|
31
|
-
if head and match = %r{^ref: (refs/heads/(.[^\n]+))$}.match(head.lines.first)
|
32
|
-
version = 'git-' + match[2]
|
33
|
-
if sha = File.read(File.join(root, ".git", match[1]))[0,8] rescue nil
|
34
|
-
version += '-' + sha
|
35
|
-
end
|
36
|
-
end
|
37
|
-
end
|
38
|
-
end
|
39
|
-
end
|
4
|
+
# Define the Razor version, and stash it in a constant.
|
40
5
|
|
41
6
|
# The running version of Razor. Razor follows the tenets of [semantic
|
42
7
|
# versioning](http://semver.org), and this version number reflects the rules
|
43
8
|
# as of SemVer 2.0.0
|
44
|
-
VERSION = version.
|
9
|
+
VERSION = Gem.loaded_specs["razor-client"].version.to_s
|
45
10
|
end
|
46
11
|
end
|
metadata
CHANGED
@@ -1,108 +1,108 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: razor-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.9.
|
4
|
+
version: 1.9.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Puppet Labs
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
date: 2019-08-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
+
name: mime-types
|
14
15
|
requirement: !ruby/object:Gem::Requirement
|
15
16
|
requirements:
|
16
17
|
- - ">="
|
17
18
|
- !ruby/object:Gem::Version
|
18
19
|
version: '0'
|
19
|
-
name: mime-types
|
20
|
-
prerelease: false
|
21
20
|
type: :runtime
|
21
|
+
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
+
name: multi_json
|
28
29
|
requirement: !ruby/object:Gem::Requirement
|
29
30
|
requirements:
|
30
31
|
- - ">="
|
31
32
|
- !ruby/object:Gem::Version
|
32
33
|
version: '0'
|
33
|
-
name: multi_json
|
34
|
-
prerelease: false
|
35
34
|
type: :runtime
|
35
|
+
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
+
name: faraday
|
42
43
|
requirement: !ruby/object:Gem::Requirement
|
43
44
|
requirements:
|
44
45
|
- - ">="
|
45
46
|
- !ruby/object:Gem::Version
|
46
47
|
version: '0.15'
|
47
|
-
name: faraday
|
48
|
-
prerelease: false
|
49
48
|
type: :runtime
|
49
|
+
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0.15'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
+
name: command_line_reporter
|
56
57
|
requirement: !ruby/object:Gem::Requirement
|
57
58
|
requirements:
|
58
59
|
- - "~>"
|
59
60
|
- !ruby/object:Gem::Version
|
60
61
|
version: '3.0'
|
61
|
-
name: command_line_reporter
|
62
|
-
prerelease: false
|
63
62
|
type: :runtime
|
63
|
+
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '3.0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
|
+
name: gettext-setup
|
70
71
|
requirement: !ruby/object:Gem::Requirement
|
71
72
|
requirements:
|
72
73
|
- - ">="
|
73
74
|
- !ruby/object:Gem::Version
|
74
75
|
version: '0.31'
|
75
|
-
name: gettext-setup
|
76
|
-
prerelease: false
|
77
76
|
type: :runtime
|
77
|
+
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0.31'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
|
+
name: bundler
|
84
85
|
requirement: !ruby/object:Gem::Requirement
|
85
86
|
requirements:
|
86
87
|
- - ">="
|
87
88
|
- !ruby/object:Gem::Version
|
88
89
|
version: '0'
|
89
|
-
name: bundler
|
90
|
-
prerelease: false
|
91
90
|
type: :development
|
91
|
+
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - ">="
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
|
+
name: rake
|
98
99
|
requirement: !ruby/object:Gem::Requirement
|
99
100
|
requirements:
|
100
101
|
- - ">="
|
101
102
|
- !ruby/object:Gem::Version
|
102
103
|
version: '0'
|
103
|
-
name: rake
|
104
|
-
prerelease: false
|
105
104
|
type: :development
|
105
|
+
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
108
|
- - ">="
|
@@ -201,7 +201,7 @@ homepage: https://github.com/puppetlabs/razor-client
|
|
201
201
|
licenses:
|
202
202
|
- ASL2
|
203
203
|
metadata: {}
|
204
|
-
post_install_message:
|
204
|
+
post_install_message:
|
205
205
|
rdoc_options: []
|
206
206
|
require_paths:
|
207
207
|
- lib
|
@@ -216,9 +216,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
216
216
|
- !ruby/object:Gem::Version
|
217
217
|
version: '0'
|
218
218
|
requirements: []
|
219
|
-
|
220
|
-
|
221
|
-
signing_key:
|
219
|
+
rubygems_version: 3.0.3
|
220
|
+
signing_key:
|
222
221
|
specification_version: 4
|
223
222
|
summary: The client for everybody's favorite provisioning tool
|
224
223
|
test_files:
|