bard 0.51.1 → 0.51.2

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: d28d2887b06de68d8e01f71e3f3b199e421c1d4f1f6750c24d6de0ad4d46fcae
4
- data.tar.gz: 9d63550bd03f5c1ecf19cc562d5aaecce45502675bb3a88349cd034e3fee9883
3
+ metadata.gz: ac0596452d31a4ea9b22436256d58f5ff39379b495e2a543dabc4f185d0976a3
4
+ data.tar.gz: d0e0ca733a09d031e07815dbf9d3e2a380caab063b93b17089d08fdd4e2ef3e2
5
5
  SHA512:
6
- metadata.gz: 58196c4027f45a5644d0b646ce16239eb41eefa761fb5b22d3e0b0788fa60d843fd649f600095fbd47d37d271872f001c59dbc5ad0006275c8f4ce32796c001b
7
- data.tar.gz: ca1c5424c4c8c40b2f3860222ff2af23331ae325a01f52fbf89ca0c3b977652c96e8780671d2b00e68b091ee3a088bc2434f97b6b3f8e201aafb718c047e45c4
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/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module Bard
2
- VERSION = "0.51.1"
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.1
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-05-04 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
@@ -179,7 +179,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
179
179
  - !ruby/object:Gem::Version
180
180
  version: '0'
181
181
  requirements: []
182
- rubygems_version: 3.3.26
182
+ rubygems_version: 3.2.32
183
183
  signing_key:
184
184
  specification_version: 4
185
185
  summary: CLI to automate common development tasks.