raykit 0.0.272 → 0.0.277
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/tasks.rb +9 -3
- data/lib/raykit/version.rb +1 -1
- 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: f75d8247a223f5434585008852499e8aac28de3377ef6e14e5c564ea5b00b2a7
|
4
|
+
data.tar.gz: 5462cd9098bf7cf26ed575e46edd080b7423a9a3fdd2130aeab430382db173a1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a596a84dc635d54057b1e4d210a9d97f25281205544e18a0edcbb953ac65e77a75c98135a02d20399559439716e470f251891d9fae9c8bb93ee88213065b9e3e
|
7
|
+
data.tar.gz: dac3c139990dd2f0a6c5ff5f36b8014cfeaef5ac4a62cd9cdbf9681adeac0dfcd40f38c95c721f84d91f5b7434e237580de25a7ad54fb05614ca600a143b2a5a
|
data/lib/raykit/tasks.rb
CHANGED
@@ -9,7 +9,9 @@ task :integrate do
|
|
9
9
|
puts Rainbow(':integrate').blue.bright
|
10
10
|
|
11
11
|
git_dir=Raykit::Git::Directory.new(Rake.application.original_dir)
|
12
|
-
if(
|
12
|
+
if(git_dir.detached?)
|
13
|
+
puts "detached head state, skipping integrate operations"
|
14
|
+
else
|
13
15
|
if(PROJECT.outstanding_commit?)
|
14
16
|
if(Rake::Task.task_defined?("test"))
|
15
17
|
Rake::Task["test"].invoke
|
@@ -36,8 +38,12 @@ end
|
|
36
38
|
|
37
39
|
desc "push changes including tags"
|
38
40
|
task :push do
|
39
|
-
|
40
|
-
|
41
|
+
if(git_dir.detached?)
|
42
|
+
puts "detached head state, skipping push operations"
|
43
|
+
else
|
44
|
+
PROJECT.run("git push")
|
45
|
+
PROJECT.run("git push --tags")
|
46
|
+
end
|
41
47
|
end
|
42
48
|
|
43
49
|
desc "clean files not tracked by git"
|
data/lib/raykit/version.rb
CHANGED
@@ -7,7 +7,7 @@ module Raykit
|
|
7
7
|
|
8
8
|
# detect a version number based on the NAME variable, if defined
|
9
9
|
def self.detect(name,verbose=false)
|
10
|
-
version=detect_from_file("#{name}/#{name}.csproj",/<Version>([-\w\d
|
10
|
+
version=detect_from_file("#{name}/#{name}.csproj",/<Version>([-\w\d\.]+)</,verbose)
|
11
11
|
return version if(version.length>0)
|
12
12
|
|
13
13
|
version=detect_from_file("#{name}/Properties/AssemblyInfo.cs",/^\[assembly: AssemblyVersion\(\"([.\w]+)/,verbose)
|
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.277
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lou Parslow
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-04-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|