ebm 0.0.28 → 0.0.29
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 +5 -5
- data/lib/commands/commit.rb +1 -1
- data/lib/commands/pull.rb +3 -3
- data/lib/commands/push.rb +2 -2
- data/lib/commands/tag.rb +3 -3
- data/lib/info.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
SHA512:
|
3
|
-
data.tar.gz: ec35640f50f6b45070f06e96f7a05d1b38cd4e0f276303795305b3d3127f50b469ad1f67ddbf5984e4789f42dac1fc361628003e2fd820bb170414d53336fdaf
|
4
|
-
metadata.gz: 46f35d93d8832697daf1804ac62ad04dd210ca472366b569ff41c2e93eaa2091f7bdab3e90625e33aa91494fc561057bf77f51ff43c787f2e38efc800bf32637
|
5
2
|
SHA1:
|
6
|
-
data.tar.gz:
|
7
|
-
metadata.gz:
|
3
|
+
data.tar.gz: 23f00a9b95f4cc9e013b1cabd1dfad0d665aac8e
|
4
|
+
metadata.gz: 3f9ad29a4e1e1827156bc6875841679fd2e60489
|
5
|
+
SHA512:
|
6
|
+
data.tar.gz: a67935429ca402a81c00da655aa768da91bd42476d2c55645ca37d27ddc4fcddc72310a03c0b1559dbc2084e0f2f18a74b978b36e65bbb319b54900075b0791e
|
7
|
+
metadata.gz: fa48e791b33f88046c56976c4453d58458698f57fee8d747c06630342d4934377a367b0d8993a4272c69c0e7bac349b78ccf1e67f70d8c46d55625d2789127f1
|
data/lib/commands/commit.rb
CHANGED
data/lib/commands/pull.rb
CHANGED
@@ -30,11 +30,11 @@ module Commands
|
|
30
30
|
end
|
31
31
|
|
32
32
|
opts.on("--remote-version", "Pull from remote version branch into your current branch.") do |v|
|
33
|
-
options[:remote_version] =
|
33
|
+
options[:remote_version] = true
|
34
34
|
end
|
35
35
|
|
36
36
|
opts.on('-n', "--dry-run", "Perform a dry run.") do |v|
|
37
|
-
options[:dry_run] =
|
37
|
+
options[:dry_run] = true
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
@@ -51,7 +51,7 @@ module Commands
|
|
51
51
|
raise "You must specify all arguments with their options."
|
52
52
|
end
|
53
53
|
|
54
|
-
if (!tag.nil? &&
|
54
|
+
if (!tag.nil? && remote_version)
|
55
55
|
raise "You can't specify both a pull from a tag and a pull from a remote version branch together."
|
56
56
|
end
|
57
57
|
|
data/lib/commands/push.rb
CHANGED
@@ -26,11 +26,11 @@ module Commands
|
|
26
26
|
opts.description = "Push code to the remote repo."
|
27
27
|
|
28
28
|
opts.on("--remote-version", "Push from your local dev branch to the remote version branch - use with caution!") do |v|
|
29
|
-
options[:remote_version] =
|
29
|
+
options[:remote_version] = true
|
30
30
|
end
|
31
31
|
|
32
32
|
opts.on('-n', "--dry-run", "Perform a dry run.") do |v|
|
33
|
-
options[:dry_run] =
|
33
|
+
options[:dry_run] = true
|
34
34
|
end
|
35
35
|
|
36
36
|
end
|
data/lib/commands/tag.rb
CHANGED
@@ -31,11 +31,11 @@ module Commands
|
|
31
31
|
end
|
32
32
|
|
33
33
|
opts.on('-d', "--delete", "When set causes tag to be deleted.") do |v|
|
34
|
-
options[:delete] =
|
34
|
+
options[:delete] = true
|
35
35
|
end
|
36
36
|
|
37
37
|
opts.on("--commit-and-push", "Commit any local changes and then push the remote - should only be used by the build system.") do |v|
|
38
|
-
options[:commit_and_push] =
|
38
|
+
options[:commit_and_push] = true
|
39
39
|
end
|
40
40
|
|
41
41
|
end
|
@@ -49,7 +49,7 @@ module Commands
|
|
49
49
|
commit_and_push = !!options[:commit_and_push] # the !! forces conversion to a boolean
|
50
50
|
|
51
51
|
if (commit_and_push && delete_tag)
|
52
|
-
raise "You cannot use --
|
52
|
+
raise "You cannot use --commit-and-push with --delete."
|
53
53
|
end
|
54
54
|
|
55
55
|
info = EbmSharedLib.get_config_from_top_dir
|
data/lib/info.rb
CHANGED