bard 0.51.0 → 0.51.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bdb97b0f0a1475ada4fe611f3852960ef264c2f349da9197a85bf32edefe74d8
4
- data.tar.gz: b36654881f95fb7d0540d930076337db74b0ee6e53c916591f8bdc7c01ec6929
3
+ metadata.gz: ac0596452d31a4ea9b22436256d58f5ff39379b495e2a543dabc4f185d0976a3
4
+ data.tar.gz: d0e0ca733a09d031e07815dbf9d3e2a380caab063b93b17089d08fdd4e2ef3e2
5
5
  SHA512:
6
- metadata.gz: 5d864f6cfaa2156ee16a08e28f281e0bb67ff59f474062fa42624fbab2e4359a730ac43ee96256cca35cf3e6504c3b2da091f8e04cbed46e4c3d6f61946eec0a
7
- data.tar.gz: 8e10b66f18e23657e7c916131e4d98f3f81be592c8f7e48f7da33b982bedbc7aaf11216fc54daf38b082bb842056689f4caf2f39331a9d01c25d29a7597ebd5d
6
+ metadata.gz: 7a24e3844185b28b65bdd712d7d05cab0c09b5b66ddd48ff9f821d88f4c13f57b4609bb78257132f57a9eda7cd2f88cab20114a683852613687a35cffb0330e4
7
+ data.tar.gz: edc18a2acdf012fb8c6784ced885d08ce418c2b58c3cfcd4f91977885ec9c891577df7fcf8465216d7faef3409aa34a829f26d24a7eb40ab63ccf5c46cb5d235
@@ -49,7 +49,11 @@ module SpecifiedRuby
49
49
  end
50
50
 
51
51
  def restart
52
- exec "rvm-exec #{$0} #{"&& rvm-exec $SHELL" if ENV["RAILS_ENV"] == "development"}"
52
+ command = "rvm-exec #{$0}"
53
+ unless %w[staging production].include?(ENV["RAILS_ENV"])
54
+ command += " && rvm-exec $SHELL"
55
+ end
56
+ exec command
53
57
  end
54
58
  end
55
59
 
data/lib/bard/ci.rb CHANGED
@@ -43,7 +43,7 @@ class Bard::CLI < Thor
43
43
  end
44
44
 
45
45
  def github_actions?
46
- `git remote get-url origin` =~ /^git@github\.com/
46
+ File.exist?(".github/workflows/ci.yml")
47
47
  end
48
48
  end
49
49
  end
data/lib/bard/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module Bard
2
- VERSION = "0.51.0"
2
+ VERSION = "0.51.2"
3
3
  end
4
4
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bard
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.51.0
4
+ version: 0.51.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Micah Geisel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-04-09 00:00:00.000000000 Z
11
+ date: 2023-05-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor