bake-gem 0.2.8 → 0.2.9

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: 7134f75e4aa9a9df4257010e618c642992afabc3ef2b8e1ee7526df2cec03803
4
- data.tar.gz: a021ef6de34278c00449f6e07f13ddc6c375ce73e40bf20bccbedc48a1be578e
3
+ metadata.gz: 750f58b3b3d01ebf8af6c9393446e5cd8331cee6e4907e38ae7ee0fb20d99f22
4
+ data.tar.gz: f96bbb8a6260ccc8e38b84e80c50e5f0356752eb9b75d6e712114aee2e068a86
5
5
  SHA512:
6
- metadata.gz: a463cd528579aef8887ce8d555e74014259b8cace35245506b2d08c91a55bb6210acc179f2cc4d81a97f34bfa1a24230c439dfb0831c3cccc58b23e789304988
7
- data.tar.gz: ff26660be13c706fe5363dd46eee25252985dedeabddb3346c4bd19213067234f16ef3a9eeb10db0b0d73ede4f5d9934cb730aeafe352a85a3b0f576b463ac10
6
+ metadata.gz: 97954498be075ec99e8efd24db3685125f7f2d54cefb8ac4021e96ef7b548c1d298352c48cea494851dc4ed5e1694ee8d19d8bc2eb699ed6af00f9081ccda34d
7
+ data.tar.gz: d233dff4f114abd44cc63cc4e428850a5edb92de0787cd8cc89d716908cfaef8aa865761353379ebdeb81a70981c8e2e340be6055ecc64e7191526af506b0162
checksums.yaml.gz.sig CHANGED
Binary file
data/bake/gem.rb CHANGED
@@ -87,5 +87,10 @@ private
87
87
 
88
88
  # Figure out if there is a current branch, if not, return `nil`.
89
89
  def current_branch
90
- readlines("git", "branch", "--show-current").first&.chomp
90
+ # We originally used this but it is not supported by older versions of git.
91
+ # readlines("git", "branch", "--show-current").first&.chomp
92
+
93
+ readlines("git", "symbolic-ref", "--short", "--quiet", "HEAD").first&.chomp
94
+ rescue
95
+ nil
91
96
  end
@@ -22,6 +22,6 @@
22
22
 
23
23
  module Bake
24
24
  module Gem
25
- VERSION = "0.2.8"
25
+ VERSION = "0.2.9"
26
26
  end
27
27
  end
data/lib/bake/gem.rb CHANGED
@@ -1,8 +1,23 @@
1
- require "bake/gem/version"
1
+ # frozen_string_literal: true
2
2
 
3
- module Bake
4
- module Gem
5
- class Error < StandardError; end
6
- # Your code goes here...
7
- end
8
- end
3
+ # Copyright, 2021, by Samuel G. D. Williams. <http://www.codeotaku.com>
4
+ #
5
+ # Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ # of this software and associated documentation files (the "Software"), to deal
7
+ # in the Software without restriction, including without limitation the rights
8
+ # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ # copies of the Software, and to permit persons to whom the Software is
10
+ # furnished to do so, subject to the following conditions:
11
+ #
12
+ # The above copyright notice and this permission notice shall be included in
13
+ # all copies or substantial portions of the Software.
14
+ #
15
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ # THE SOFTWARE.
22
+
23
+ require_relative "gem/version"
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.2.8
4
+ version: 0.2.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
@@ -36,8 +36,50 @@ cert_chain:
36
36
  RAOsIl+HOBTb252nx1kIRN5hqQx272AJCbCjKx8egcUQKffFVVCI0nye09v5CK+a
37
37
  HiLJ8VOFx6w=
38
38
  -----END CERTIFICATE-----
39
- date: 2022-05-03 00:00:00.000000000 Z
40
- dependencies: []
39
+ date: 2022-05-19 00:00:00.000000000 Z
40
+ dependencies:
41
+ - !ruby/object:Gem::Dependency
42
+ name: bundler
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: covered
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rspec
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
41
83
  description:
42
84
  email:
43
85
  executables: []
metadata.gz.sig CHANGED
Binary file