cimas 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cimas/cli/command.rb +8 -1
- data/lib/cimas/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: 9394871c2e095def57e7674194b7a43239da13230d5e5ff6c1278258deae56da
|
4
|
+
data.tar.gz: de2bfd5e44818ca43dcccdfc3a965542edf1c3352ce120c462182ee30a525427
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8df40444ecb07044787e228c2a3998fcb3432db947b84d71f70e0c8d0783f137ece83e22d9a9d5604b634123c3ef3a15a050abd96360ac82be3c4f3bf6733e5a
|
7
|
+
data.tar.gz: 63fdae72e4738e64dd29b15ee2332f49bb842c885f8056f52dce8ff2bac3b4e9646ac14bead264f859acd4c0974e1263ef9c8fe6a03f8dc598bef41961af0a34
|
data/lib/cimas/cli/command.rb
CHANGED
@@ -340,12 +340,19 @@ module Cimas
|
|
340
340
|
g.branch(push_to_branch).checkout
|
341
341
|
g.add(all: true)
|
342
342
|
|
343
|
-
if g.status.changed.empty?
|
343
|
+
if g.status.changed.empty? &&
|
344
|
+
g.status.added.empty? &&
|
345
|
+
g.status.deleted.empty?
|
346
|
+
|
344
347
|
puts "Skipping commit on #{repo_name}, no changes detected."
|
345
348
|
else
|
346
349
|
g.commit_all(commit_message)
|
347
350
|
end
|
348
351
|
|
352
|
+
# Still push even if there was no commit, as the remote branch
|
353
|
+
# may have been deleted. If the remote branch is deleted we can't
|
354
|
+
# make PRs in the next stage.
|
355
|
+
|
349
356
|
if force_push
|
350
357
|
# TODO implement
|
351
358
|
raise "[ERROR] Force pushing with commit amend is not yet implemented."
|
data/lib/cimas/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cimas
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-02-
|
11
|
+
date: 2020-02-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: travis
|