bake-gem 0.6.0 → 0.8.0

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: 73b07dbaea11129cd0e9022c476330602dbd3aeeec3fe69064bd365d20976665
4
- data.tar.gz: 42675a6c56c29dd54e5a103a6eee4ca5e42febf8f93783ed1633fe9cb9438db6
3
+ metadata.gz: 48eb04c9e92c22e34e9504d4cd5e29b47f7c01d5649815872f8163ff0352b14d
4
+ data.tar.gz: 486fa34ab83b02141d1b526ea19cfbb078cb0dd126d5c361f3d617dce9c72939
5
5
  SHA512:
6
- metadata.gz: 99578f4c9aca82a9dda42e006b261f84858a6f282f7f725849af9c566e459e5490569f701b37c5ae1f083bcb414c9b32cd06bbf876a574fa52c71f26f9d741d9
7
- data.tar.gz: fdd496e868dbf915ee81d7f11851cb274770792e39698785c32c38990af88e21b6d7a243f5f0f1a056cca84e1a8cfbd9b49279ecb61d6e541945c353fb6da144
6
+ metadata.gz: 9edd13ef496b1b47c49040d87f3010f4ca2a3e3a46458ce3eedb5d6d185fed45a2eacdee97c2f4c700ba31f73e8cdeea358ebd5c5a3b7a201c9c5aac9cfe89eb
7
+ data.tar.gz: 57d47443d4e6c56f245342106e7c024a2b6caa5c432acf5f2bd702a7de712d56cb3e83c9848c59a39b0009e5e44550fa7db7120291d69e53a784e3fd4a31bae8
checksums.yaml.gz.sig CHANGED
Binary file
data/bake/gem.rb CHANGED
@@ -44,7 +44,6 @@ end
44
44
 
45
45
  def release(tag: true)
46
46
  @helper.guard_clean
47
- @helper.guard_default_branch
48
47
 
49
48
  version = @helper.gemspec.version
50
49
 
@@ -70,17 +70,6 @@ module Bake
70
70
  return true
71
71
  end
72
72
 
73
- def guard_default_branch
74
- branch = readlines("git", "branch", "--show-current", chdir: @root).first.chomp
75
- remote_head_branch = readlines("git", "symbolic-ref", "refs/remotes/origin/HEAD", chdir: @root).first.chomp.split('/').last
76
-
77
- if branch != remote_head_branch
78
- raise "Current branch is not the default branch: #{branch} != #{remote_head_branch}"
79
- end
80
-
81
- return true
82
- end
83
-
84
73
  # @parameter root [String] The root path for package files.
85
74
  # @parameter signing_key [String | Nil] The signing key to use for signing the package.
86
75
  # @returns [String] The path to the built gem package.
@@ -5,6 +5,6 @@
5
5
 
6
6
  module Bake
7
7
  module Gem
8
- VERSION = "0.6.0"
8
+ VERSION = "0.8.0"
9
9
  end
10
10
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bake-gem
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
@@ -37,7 +37,7 @@ cert_chain:
37
37
  Q2K9NVun/S785AP05vKkXZEFYxqG6EW012U4oLcFl5MySFajYXRYbuUpH6AY+HP8
38
38
  voD0MPg1DssDLKwXyt1eKD/+Fq0bFWhwVM/1XiAXL7lyYUyOq24KHgQ2Csg=
39
39
  -----END CERTIFICATE-----
40
- date: 2024-06-10 00:00:00.000000000 Z
40
+ date: 2024-06-23 00:00:00.000000000 Z
41
41
  dependencies:
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: console
@@ -90,7 +90,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
90
90
  - !ruby/object:Gem::Version
91
91
  version: '0'
92
92
  requirements: []
93
- rubygems_version: 3.5.9
93
+ rubygems_version: 3.5.11
94
94
  signing_key:
95
95
  specification_version: 4
96
96
  summary: Release management for Ruby gems.
metadata.gz.sig CHANGED
Binary file