bake-gem 0.7.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: 4dc43e87bb64c81f260c07c1c42f24a0eeed5beca824dad65a0a0cba2d2d5c5c
4
- data.tar.gz: ed6e4af3881fe730ec346aff04350dfe13d5e03f5219b36daab8434fa1cd2c3e
3
+ metadata.gz: 48eb04c9e92c22e34e9504d4cd5e29b47f7c01d5649815872f8163ff0352b14d
4
+ data.tar.gz: 486fa34ab83b02141d1b526ea19cfbb078cb0dd126d5c361f3d617dce9c72939
5
5
  SHA512:
6
- metadata.gz: e9bc63b0c2107f8d60f93b9cf5f3e8112650a22e667a98abddcf5f53d68928cf14578f2f9ac8dd8ce78a27e0bdf440582865a01253f3e5f8bd2af4011388a513
7
- data.tar.gz: 79187293665d7ba41a553c1a95b13832e3c9789e548e3af25b9bb74409df1793f5fbfe6850ba98a40dbbc89b3d4e6e9d8dfa93846c40c4871a05d75e5868b77f
6
+ metadata.gz: 9edd13ef496b1b47c49040d87f3010f4ca2a3e3a46458ce3eedb5d6d185fed45a2eacdee97c2f4c700ba31f73e8cdeea358ebd5c5a3b7a201c9c5aac9cfe89eb
7
+ data.tar.gz: 57d47443d4e6c56f245342106e7c024a2b6caa5c432acf5f2bd702a7de712d56cb3e83c9848c59a39b0009e5e44550fa7db7120291d69e53a784e3fd4a31bae8
checksums.yaml.gz.sig CHANGED
Binary file
data/bake/gem.rb CHANGED
@@ -45,10 +45,6 @@ end
45
45
  def release(tag: true)
46
46
  @helper.guard_clean
47
47
 
48
- unless @helper.guard_default_branch
49
- Console.warn(self, "Not on default branch.")
50
- end
51
-
52
48
  version = @helper.gemspec.version
53
49
 
54
50
  if tag
@@ -70,13 +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
- return branch == remote_head_branch
78
- end
79
-
80
73
  # @parameter root [String] The root path for package files.
81
74
  # @parameter signing_key [String | Nil] The signing key to use for signing the package.
82
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.7.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.7.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-20 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