bake-gem 0.1.0 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +3 -0
- data.tar.gz.sig +2 -0
- data/bake/gem.rb +3 -2
- data/bake/gem/{branch.rb → release/branch.rb} +2 -2
- data/bake/gem/{version.rb → release/version.rb} +4 -1
- data/lib/bake/gem/helper.rb +1 -0
- data/lib/bake/gem/version.rb +1 -1
- metadata +32 -4
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f6c8e5acd861b72a56a350f743ac3129c614be4b594fd1546569a5cf9d1b006e
|
4
|
+
data.tar.gz: f9838d202269a0ae09afc1193f76060a5ebc60efcfe7b6e662696686dabba030
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 75f74b950751fe61872a71e11b714bcb6c5b9ab595e2c65ee297b75376e586bf92a56c5f04a7104c4cfb0054cb96d7252cd82c71731a4b502a3c7263c2ad0ec8
|
7
|
+
data.tar.gz: ef57d43d8b5b0a5d469965cd90f954d43fba5a0234b7621869b31ce7362ced998ef4bd0f19d26af57537f6ca80c62da3b70419c6a85b028992374fcc95aa9f5d
|
checksums.yaml.gz.sig
ADDED
@@ -0,0 +1,3 @@
|
|
1
|
+
6��p����nчU=>/��ʆ��D۫��}��6[���i��FΚ�2
|
2
|
+
��z���"���>^O��_������=����w�-������4�f�X(����a�^lVx�����=��do��k2�^��a(H��i�CX�VT62�ߌ?T䲀8^�?��{�\����p=n
|
3
|
+
�'ҕ���;p{6lu��m�Z=�-�J��r��"�j�F~�V�J�q�}��ZHz�@�j�(�Z��FX�XB4������,'�ht�8��B�F�$3��@iw� Ч\?�4���͗�ImZ9pɛ�.+Ml+|&K��cyk� V��;A`�7:����8�G�Q2ok�O���^u�#�@��d�OMZNp��*=d��邅��}�
|
data.tar.gz.sig
ADDED
data/bake/gem.rb
CHANGED
@@ -62,8 +62,9 @@ def release(tag: true)
|
|
62
62
|
version = @helper.gemspec.version
|
63
63
|
|
64
64
|
if tag
|
65
|
-
|
66
|
-
system("git", "
|
65
|
+
name = "v#{version}"
|
66
|
+
system("git", "tag", name)
|
67
|
+
system("git", "push", "--tags")
|
67
68
|
end
|
68
69
|
|
69
70
|
path = @helper.build_gem
|
@@ -20,7 +20,7 @@
|
|
20
20
|
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
21
|
# THE SOFTWARE.
|
22
22
|
|
23
|
-
require_relative '
|
23
|
+
require_relative '../../../lib/bake/gem/shell'
|
24
24
|
|
25
25
|
include Bake::Gem::Shell
|
26
26
|
|
@@ -50,7 +50,7 @@ def commit(bump, message: "Bump version.")
|
|
50
50
|
|
51
51
|
# helper.guard_clean
|
52
52
|
|
53
|
-
version_path = context.lookup('gem:version:increment').call(bump, message: message)
|
53
|
+
version_path = context.lookup('gem:release:version:increment').call(bump, message: message)
|
54
54
|
|
55
55
|
if version_path
|
56
56
|
system("git", "checkout", "-b", "release-v#{gemspec.version}")
|
@@ -20,7 +20,7 @@
|
|
20
20
|
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
21
|
# THE SOFTWARE.
|
22
22
|
|
23
|
-
require_relative '
|
23
|
+
require_relative '../../../lib/bake/gem/shell'
|
24
24
|
|
25
25
|
include Bake::Gem::Shell
|
26
26
|
|
@@ -63,6 +63,9 @@ end
|
|
63
63
|
# @parameter bump [Array(Integer | Nil)] the version bump to apply before publishing, e.g. `0,1,0` to increment minor version number.
|
64
64
|
# @parameter message [String] the git commit message to use.
|
65
65
|
def commit(bump, message: "Bump version.")
|
66
|
+
release = context.lookup('gem:release')
|
67
|
+
helper = release.instance.helper
|
68
|
+
|
66
69
|
helper.guard_clean
|
67
70
|
|
68
71
|
version_path = increment(bump, message: message)
|
data/lib/bake/gem/helper.rb
CHANGED
data/lib/bake/gem/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,41 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bake-gem
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Williams
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
|
-
cert_chain:
|
10
|
+
cert_chain:
|
11
|
+
- |
|
12
|
+
-----BEGIN CERTIFICATE-----
|
13
|
+
MIIEhDCCAuygAwIBAgIBATANBgkqhkiG9w0BAQsFADA3MTUwMwYDVQQDDCxzYW11
|
14
|
+
ZWwud2lsbGlhbXMvREM9b3Jpb250cmFuc2Zlci9EQz1jby9EQz1uejAeFw0yMTA4
|
15
|
+
MTYwNjMzNDRaFw0yMjA4MTYwNjMzNDRaMDcxNTAzBgNVBAMMLHNhbXVlbC53aWxs
|
16
|
+
aWFtcy9EQz1vcmlvbnRyYW5zZmVyL0RDPWNvL0RDPW56MIIBojANBgkqhkiG9w0B
|
17
|
+
AQEFAAOCAY8AMIIBigKCAYEAyXLSS/cw+fXJ5e7hi+U/TeChPWeYdwJojDsFY1xr
|
18
|
+
xvtqbTTL8gbLHz5LW3QD2nfwCv3qTlw0qI3Ie7a9VMJMbSvgVEGEfQirqIgJXWMj
|
19
|
+
eNMDgKsMJtC7u/43abRKx7TCURW3iWyR19NRngsJJmaR51yGGGm2Kfsr+JtKKLtL
|
20
|
+
L188Wm3f13KAx7QJU8qyuBnj1/gWem076hzdA7xi1DbrZrch9GCRz62xymJlrJHn
|
21
|
+
9iZEZ7AxrS7vokhMlzSr/XMUihx/8aFKtk+tMLClqxZSmBWIErWdicCGTULXCBNb
|
22
|
+
E/mljo4zEVKhlTWpJklMIhr55ZRrSarKFuW7en0+tpJrfsYiAmXMJNi4XAYJH7uL
|
23
|
+
rgJuJwS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-16 00:00:00.000000000 Z
|
12
40
|
dependencies: []
|
13
41
|
description:
|
@@ -17,8 +45,8 @@ extensions: []
|
|
17
45
|
extra_rdoc_files: []
|
18
46
|
files:
|
19
47
|
- bake/gem.rb
|
20
|
-
- bake/gem/branch.rb
|
21
|
-
- bake/gem/version.rb
|
48
|
+
- bake/gem/release/branch.rb
|
49
|
+
- bake/gem/release/version.rb
|
22
50
|
- lib/bake/gem.rb
|
23
51
|
- lib/bake/gem/helper.rb
|
24
52
|
- lib/bake/gem/shell.rb
|
metadata.gz.sig
ADDED
Binary file
|