deploy_log 0.1.5 → 0.1.6

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 37fb4a3ef58e8aca0b5d3178dadaad622e9f9c646ea2f1a381224432c645b50c
4
- data.tar.gz: e2e3501b87860f186e0852d58a9bdd9594b8b428857a149a5c608d301d1580ed
3
+ metadata.gz: 221cb8b46ba384d724dcc45aa9a6b2645ecb17b87d6b85ccdacb8e71f0a796f8
4
+ data.tar.gz: 9f0bfbd85948eb3179df153979b984ef924a60a30b445bb60b9f30101b400382
5
5
  SHA512:
6
- metadata.gz: 532f9e3fcb53a923b7c637f54943b1b63fd8d003e340697752775fbdaad94c7f0a31e875fa8616974d5b8245737de6d37ccf6f69cec09663f86a24d7b5584ce3
7
- data.tar.gz: 6292f3e74d800b622c6ef5f29215ee05d93ccd21effcf35bc69a698fa2ca69ca7b7f816f682b4289158d4d923e5e02c5e5133d6e19e530a1c696771f507cb95d
6
+ metadata.gz: 7cafb8dd330033996e3b5e0e67e508616501327abc8ca67c1f16aeba20281c72a9aa68a658525383d9391c6c7434b7770710e6017c09a625240c73c0b73818fc
7
+ data.tar.gz: 11e1c2a7ca23f256d0b6595fe87d9c6b7d679bbfa48bf71bc6ebdd496122f83c9c5003997a1b6a80b6b2cb1550f01aeec7f7852ef1fcca7747c6cbd4c095372a
data/bin/deploy_log CHANGED
@@ -33,8 +33,8 @@ OptionParser.new do |opt|
33
33
  end.parse!
34
34
 
35
35
  model = DeployLog::Github::Deploys.new
36
- model.merged_between(start, finish) if start
37
- model.merged_on(on) if on
38
- model.pr_title(title) if title
39
- model.pr_for_branch(branch) if branch
40
- model.merged_today if title.nil? && branch.nil? && start.nil? && finish.nil?
36
+ return model.merged_between(start, finish) if start
37
+ return model.merged_on(on) if on
38
+ return model.pr_title(title) if title
39
+ return model.pr_for_branch(branch) if branch
40
+ return model.merged_today if title.nil? && branch.nil? && start.nil? && finish.nil?
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DeployLog
4
- VERSION = '0.1.5'.freeze
4
+ VERSION = '0.1.6'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: deploy_log
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Priebe