chris_lib 2.1.5 → 2.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 +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: 3cb07cbe06e12fbb8979dde3d46276aa0481daab6a1a61aff5ba7a3296193a53
|
|
4
|
+
data.tar.gz: 870757397f15671cbbe3ef4905ab098e110c988a3ebef3bd6d336efed6b81fbc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 87e1dbc1fe073d2be18e03c4d1dea303efd92cfc1896ab6d02a5dd556fa69a6a6b687eb476fcc86d8112c3ea9e3e0de9796bf2ff33a507c2832bdbca0e9a8018
|
|
7
|
+
data.tar.gz: b53674dff3fa9ea7c9543cbffe0cc071dd9537f603b0dba4a0065e1e3718ae7bb9652ff29429240b2c473dd67b2c3b12c55d9484aff31e99ba4219dec38f5813
|
|
@@ -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.6
|
|
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-10-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: dotenv
|