gem-release 2.0.1 → 2.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/CHANGELOG.md +12 -0
- data/Gemfile.lock +39 -47
- data/lib/gem/release.rb +1 -1
- data/lib/gem/release/cmds/base.rb +1 -1
- data/lib/gem/release/cmds/bootstrap.rb +4 -4
- data/lib/gem/release/cmds/bump.rb +4 -4
- data/lib/gem/release/cmds/gemspec.rb +3 -3
- data/lib/gem/release/cmds/release.rb +4 -4
- data/lib/gem/release/cmds/tag.rb +4 -4
- data/lib/gem/release/context/git.rb +1 -1
- data/lib/gem/release/context/ui.rb +1 -1
- data/lib/gem/release/files/template.rb +1 -1
- data/lib/gem/release/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: f4cb6bbd05b81d7fe48d8b68ae917e31e77f8516992c04f43e28895b0d0f85fe
|
4
|
+
data.tar.gz: df3dad2633a3d8eb13b4df343883b9c22e996b567d735f51baa0c7742960998e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a287a028d04969631577eb055b389ec731bbf73bd711211485c0bcfba8991bbf4067b887fca8a94c9ecfe267f3140988c91b21e51eebe6d0400f0a05a2796d0d
|
7
|
+
data.tar.gz: '093f1658507e1c88aae8d163fc1c167272c32c09ef7fdb739cfe0ee3384d35ea88406927ce48ee235184dd265bd4f4cf55f76df325ee71a2edf491ab0f43d953'
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## v2.0.2 - 2019-06-17
|
4
|
+
|
5
|
+
### Fixed
|
6
|
+
|
7
|
+
- Fix typo triggered by `gem bootstrap`
|
8
|
+
(PR: https://github.com/svenfuchs/gem-release/pull/78)
|
9
|
+
|
10
|
+
## v2.0.1 - 2018-06-17
|
11
|
+
|
12
|
+
`2.0.0` is yanked due to bad release
|
13
|
+
So this version is the real `2.0.0`
|
14
|
+
|
3
15
|
## v2.0.0
|
4
16
|
|
5
17
|
This is a major rewrite, 7 years after the initial implementation.
|
data/Gemfile.lock
CHANGED
@@ -1,73 +1,66 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
gem-release (2.0.
|
4
|
+
gem-release (2.0.1)
|
5
5
|
|
6
6
|
GEM
|
7
7
|
remote: https://rubygems.org/
|
8
8
|
specs:
|
9
|
-
addressable (2.5.2)
|
10
|
-
public_suffix (>= 2.0.2, < 4.0)
|
11
9
|
builder (3.2.3)
|
12
|
-
coveralls (0.8.
|
10
|
+
coveralls (0.8.23)
|
13
11
|
json (>= 1.8, < 3)
|
14
|
-
simplecov (~> 0.
|
12
|
+
simplecov (~> 0.16.1)
|
15
13
|
term-ansicolor (~> 1.3)
|
16
|
-
thor (
|
14
|
+
thor (>= 0.19.4, < 2.0)
|
17
15
|
tins (~> 1.6)
|
18
|
-
crack (0.4.3)
|
19
|
-
safe_yaml (~> 1.0.0)
|
20
16
|
diff-lcs (1.3)
|
21
|
-
docile (1.
|
22
|
-
faraday (0.
|
17
|
+
docile (1.3.2)
|
18
|
+
faraday (0.15.4)
|
23
19
|
multipart-post (>= 1.2, < 3)
|
24
|
-
geminabox (
|
20
|
+
geminabox (1.1.1)
|
25
21
|
builder
|
26
22
|
faraday
|
27
23
|
httpclient (>= 2.2.7)
|
28
24
|
nesty
|
25
|
+
reentrant_flock
|
29
26
|
sinatra (>= 1.2.7)
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
27
|
+
httpclient (2.8.3)
|
28
|
+
json (2.2.0)
|
29
|
+
multipart-post (2.1.1)
|
30
|
+
mustermann (1.0.3)
|
34
31
|
nesty (1.0.2)
|
35
|
-
|
36
|
-
rack (
|
37
|
-
rack-protection (1.5.3)
|
32
|
+
rack (2.0.7)
|
33
|
+
rack-protection (2.0.5)
|
38
34
|
rack
|
39
|
-
|
40
|
-
|
41
|
-
rspec-
|
42
|
-
rspec-
|
43
|
-
|
44
|
-
|
45
|
-
|
35
|
+
reentrant_flock (0.1.1)
|
36
|
+
rspec (3.8.0)
|
37
|
+
rspec-core (~> 3.8.0)
|
38
|
+
rspec-expectations (~> 3.8.0)
|
39
|
+
rspec-mocks (~> 3.8.0)
|
40
|
+
rspec-core (3.8.1)
|
41
|
+
rspec-support (~> 3.8.0)
|
42
|
+
rspec-expectations (3.8.4)
|
46
43
|
diff-lcs (>= 1.2.0, < 2.0)
|
47
|
-
rspec-support (~> 3.
|
48
|
-
rspec-mocks (3.
|
44
|
+
rspec-support (~> 3.8.0)
|
45
|
+
rspec-mocks (3.8.1)
|
49
46
|
diff-lcs (>= 1.2.0, < 2.0)
|
50
|
-
rspec-support (~> 3.
|
51
|
-
rspec-support (3.
|
52
|
-
|
53
|
-
|
54
|
-
docile (~> 1.1.0)
|
47
|
+
rspec-support (~> 3.8.0)
|
48
|
+
rspec-support (3.8.2)
|
49
|
+
simplecov (0.16.1)
|
50
|
+
docile (~> 1.1)
|
55
51
|
json (>= 1.8, < 3)
|
56
52
|
simplecov-html (~> 0.10.0)
|
57
|
-
simplecov-html (0.10.
|
58
|
-
sinatra (
|
59
|
-
|
60
|
-
rack
|
61
|
-
|
62
|
-
|
53
|
+
simplecov-html (0.10.2)
|
54
|
+
sinatra (2.0.5)
|
55
|
+
mustermann (~> 1.0)
|
56
|
+
rack (~> 2.0)
|
57
|
+
rack-protection (= 2.0.5)
|
58
|
+
tilt (~> 2.0)
|
59
|
+
term-ansicolor (1.7.1)
|
63
60
|
tins (~> 1.0)
|
64
|
-
thor (0.
|
65
|
-
tilt (2.0.
|
66
|
-
tins (1.
|
67
|
-
webmock (3.3.0)
|
68
|
-
addressable (>= 2.3.6)
|
69
|
-
crack (>= 0.3.2)
|
70
|
-
hashdiff
|
61
|
+
thor (0.20.3)
|
62
|
+
tilt (2.0.9)
|
63
|
+
tins (1.20.3)
|
71
64
|
|
72
65
|
PLATFORMS
|
73
66
|
ruby
|
@@ -78,7 +71,6 @@ DEPENDENCIES
|
|
78
71
|
geminabox
|
79
72
|
rspec
|
80
73
|
simplecov
|
81
|
-
webmock
|
82
74
|
|
83
75
|
BUNDLED WITH
|
84
|
-
|
76
|
+
2.0.2
|
data/lib/gem/release.rb
CHANGED
@@ -66,7 +66,7 @@ module Gem
|
|
66
66
|
push: false,
|
67
67
|
license: :mit,
|
68
68
|
templates: []
|
69
|
-
}
|
69
|
+
}.freeze
|
70
70
|
|
71
71
|
DESCR = {
|
72
72
|
scaffold: 'Scaffold gem files',
|
@@ -81,7 +81,7 @@ module Gem
|
|
81
81
|
github: 'Initialize a git repo, create on github',
|
82
82
|
remote: 'Git remote repository',
|
83
83
|
push: 'Push the git repo to github'
|
84
|
-
}
|
84
|
+
}.freeze
|
85
85
|
|
86
86
|
opt '--[no-]scaffold', descr(:scaffold) do |value|
|
87
87
|
opts[:scaffold] = value
|
@@ -141,7 +141,7 @@ module Gem
|
|
141
141
|
git_remote: 'Adding git remote %s',
|
142
142
|
git_push: 'Pushing to git remote %s',
|
143
143
|
unknown_license: 'Unknown license: %s'
|
144
|
-
}
|
144
|
+
}.freeze
|
145
145
|
|
146
146
|
CMDS = {
|
147
147
|
git_init: 'git init',
|
@@ -149,7 +149,7 @@ module Gem
|
|
149
149
|
git_commit: 'git commit -m "Initial commit"',
|
150
150
|
git_remote: 'git remote add %s https://github.com/%s.git',
|
151
151
|
git_push: 'git push -u %s master'
|
152
|
-
}
|
152
|
+
}.freeze
|
153
153
|
|
154
154
|
def run
|
155
155
|
in_dirs do
|
@@ -54,7 +54,7 @@ module Gem
|
|
54
54
|
recurse: 'Recurse into directories that contain gemspec files',
|
55
55
|
release: 'Shortcut for the `gem release` command',
|
56
56
|
file: 'Full path to the version file'
|
57
|
-
}
|
57
|
+
}.freeze
|
58
58
|
|
59
59
|
DEFAULTS = {
|
60
60
|
commit: true,
|
@@ -66,7 +66,7 @@ module Gem
|
|
66
66
|
sign: false,
|
67
67
|
recurse: false,
|
68
68
|
pretend: false
|
69
|
-
}
|
69
|
+
}.freeze
|
70
70
|
|
71
71
|
opt '-v', '--version VERSION', descr(:version) do |value|
|
72
72
|
opts[:version] = value
|
@@ -126,14 +126,14 @@ module Gem
|
|
126
126
|
git_dirty: 'Uncommitted changes found. Please commit or stash.',
|
127
127
|
not_found: 'Ignoring %s. Version file %s not found.',
|
128
128
|
no_git_remote: 'Cannot push to missing git remote %s.'
|
129
|
-
}
|
129
|
+
}.freeze
|
130
130
|
|
131
131
|
CMDS = {
|
132
132
|
git_checkout: 'git checkout -b %s',
|
133
133
|
git_add: 'git add %s',
|
134
134
|
git_commit: 'git commit -m %p %s',
|
135
135
|
git_push: 'git push %s'
|
136
|
-
}
|
136
|
+
}.freeze
|
137
137
|
|
138
138
|
def run
|
139
139
|
in_gem_dirs do
|
@@ -26,14 +26,14 @@ module Gem
|
|
26
26
|
|
27
27
|
DEFAULTS = {
|
28
28
|
strategy: :glob
|
29
|
-
}
|
29
|
+
}.freeze
|
30
30
|
|
31
31
|
DESCR = {
|
32
32
|
bin: 'Add bin files directive to the gemspec (defaults to true if a ./bin directory exists)',
|
33
33
|
dir: 'Directory to place the gem in (defaults to the given name, or the current working dir)',
|
34
34
|
license: 'License(s) to list in the gemspec',
|
35
35
|
strategy: 'Strategy for collecting files [glob|git] in gemspec'
|
36
|
-
}
|
36
|
+
}.freeze
|
37
37
|
|
38
38
|
opt '--[no]-bin', descr(:bin) do |value|
|
39
39
|
opts[:bin] = value
|
@@ -55,7 +55,7 @@ module Gem
|
|
55
55
|
gemspec: 'Generating %s.gemspec',
|
56
56
|
create: 'Creating %s',
|
57
57
|
exists: 'Skipping %s: already exists'
|
58
|
-
}
|
58
|
+
}.freeze
|
59
59
|
|
60
60
|
def run
|
61
61
|
in_dirs do
|
@@ -26,7 +26,7 @@ module Gem
|
|
26
26
|
tag: false,
|
27
27
|
push: false,
|
28
28
|
recurse: false
|
29
|
-
}
|
29
|
+
}.freeze
|
30
30
|
|
31
31
|
DESCR = {
|
32
32
|
host: 'Push to a compatible host other than rubygems.org',
|
@@ -34,7 +34,7 @@ module Gem
|
|
34
34
|
tag: 'Shortcut for running the `gem tag` command',
|
35
35
|
push: 'Push tag to the remote git repository',
|
36
36
|
recurse: 'Recurse into directories that contain gemspec files'
|
37
|
-
}
|
37
|
+
}.freeze
|
38
38
|
|
39
39
|
opt '-h', '--host HOST', descr(:host) do |value|
|
40
40
|
opts[:host] = value
|
@@ -62,11 +62,11 @@ module Gem
|
|
62
62
|
push: 'Pushing %s',
|
63
63
|
cleanup: 'Deleting left over gem file %s',
|
64
64
|
git_dirty: 'Uncommitted changes found. Please commit or stash.',
|
65
|
-
}
|
65
|
+
}.freeze
|
66
66
|
|
67
67
|
CMDS = {
|
68
68
|
cleanup: 'rm -f %s'
|
69
|
-
}
|
69
|
+
}.freeze
|
70
70
|
|
71
71
|
def run
|
72
72
|
in_gem_dirs do
|
data/lib/gem/release/cmds/tag.rb
CHANGED
@@ -27,13 +27,13 @@ module Gem
|
|
27
27
|
push: false,
|
28
28
|
remote: 'origin',
|
29
29
|
sign: false
|
30
|
-
}
|
30
|
+
}.freeze
|
31
31
|
|
32
32
|
DESCR = {
|
33
33
|
push: 'Push tag to the remote git repository',
|
34
34
|
remote: 'Git remote to push to',
|
35
35
|
sign: 'GPG sign the tag',
|
36
|
-
}
|
36
|
+
}.freeze
|
37
37
|
|
38
38
|
opt '-p', '--[no-]push', descr(:push) do |value|
|
39
39
|
opts[:push] = value
|
@@ -54,12 +54,12 @@ module Gem
|
|
54
54
|
git_push: 'Pushing tags to the %s git repository',
|
55
55
|
no_remote: 'Cannot push to missing git remote %s',
|
56
56
|
git_dirty: 'Uncommitted changes found. Please commit or stash.',
|
57
|
-
}
|
57
|
+
}.freeze
|
58
58
|
|
59
59
|
CMDS = {
|
60
60
|
git_tag: 'git tag -am "tag %s" %s %s',
|
61
61
|
git_push: 'git push --tags %s'
|
62
|
-
}
|
62
|
+
}.freeze
|
63
63
|
|
64
64
|
def run
|
65
65
|
in_gem_dirs do
|
data/lib/gem/release/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gem-release
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sven Fuchs
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2019-06-27 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: Release your ruby gems with ease. (What a bold statement for such a tiny
|
15
15
|
plugin ...)
|
@@ -92,8 +92,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
92
92
|
- !ruby/object:Gem::Version
|
93
93
|
version: '0'
|
94
94
|
requirements: []
|
95
|
-
|
96
|
-
rubygems_version: 2.6.13
|
95
|
+
rubygems_version: 3.0.4
|
97
96
|
signing_key:
|
98
97
|
specification_version: 4
|
99
98
|
summary: Release your ruby gems with ease
|