chris_lib 2.1.5 → 2.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/chris_lib/shell_methods.rb +4 -1
- data/lib/chris_lib/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: 39552640232265b4023c3845ee7e9cec3923e4298c396ea1222dedcea6c0ff5e
|
4
|
+
data.tar.gz: d56da1790c51734c3abcdf542b137c2e99a120e7321633281a5dac52e62f469d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cd449fa092080f21a39a4cb0db2a6694bcbc9ed2f3cb7d60e6163d94962dc8c7148330cae15e1ae8bd503f165281af9ed6085a77ac22c5094d2d75bdf150460e
|
7
|
+
data.tar.gz: c8ca88cd665414fa717020b0492edc1487855148b976194dd479ed0df7088d551fc77cb4d0d9438f1d920b208f51ccf0a2c051f76ca9313b11d1bb647058f235
|
@@ -81,11 +81,14 @@ module ShellMethods
|
|
81
81
|
time.day.to_s + time.month.to_s + time.year.to_s + '-' + time.hour.to_s + time.min.to_s
|
82
82
|
end
|
83
83
|
|
84
|
+
# change in response to
|
85
|
+
#[DEPRECATED] `Bundler.with_clean_env` has been deprecated in favor of `Bundler.with_unbundled_env`. If you instead want the environment before bundler was originally loaded, use `Bundler.with_original_env`
|
86
|
+
# remove this comment when clear that this works.
|
84
87
|
def same_db_version(remote: nil)
|
85
88
|
destination = (remote.nil? ? nil : "--remote #{remote}")
|
86
89
|
lv = `rake db:version`
|
87
90
|
puts 'Local version: ', lv
|
88
|
-
hv = Bundler.
|
91
|
+
hv = Bundler.with_unbundled_env{
|
89
92
|
`heroku run rake db:version #{destination}`
|
90
93
|
}
|
91
94
|
puts hv
|
data/lib/chris_lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chris_lib
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-12-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dotenv
|