raykit 0.0.92 → 0.0.93
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/raykit/project.rb +7 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 76c94f3b307cf17a9a107b4f3301f4e76cc7617600049dfd55c7decefcc74758
|
4
|
+
data.tar.gz: e5cda0eba7753515492d85c628097255aa9b42d3616c5327012f0ec4d9a89bb9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fcbca7b8990055ee648d9dd2609f4e2ee8fdd119a22f0ed27455187141384bea68e757b8ea2781f8a46121a969a16d1d65d4705bc243182335031b7971b3b330
|
7
|
+
data.tar.gz: 8702ba8ffd027f40bbe963d8d6d1799fcb148a3722ee582f76975782e564893726980820023e092cf7836a515cb716fbd46ed5a85460920492abb6754395d335
|
data/lib/raykit/project.rb
CHANGED
@@ -168,11 +168,14 @@ module Raykit
|
|
168
168
|
|
169
169
|
def tag
|
170
170
|
Dir.chdir(@directory) do
|
171
|
-
tag = `git describe --abbrev=0 --tags`.strip
|
172
171
|
specific_tag=`git tag -l #"{@version}`.strip
|
173
|
-
if(
|
174
|
-
|
175
|
-
|
172
|
+
if(specific_tag.length == 0)
|
173
|
+
tag = `git describe --abbrev=0 --tags`.strip
|
174
|
+
|
175
|
+
if(@version != tag)
|
176
|
+
run("git tag #{@version} -m'#{@version}'")
|
177
|
+
push
|
178
|
+
end
|
176
179
|
end
|
177
180
|
end
|
178
181
|
self
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: raykit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.93
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lou Parslow
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-09-
|
11
|
+
date: 2019-09-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|