chris_lib 1.1.0 → 1.1.1
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 +6 -9
- data/lib/chris_lib/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2ac235a699e1646e3d23f3033e63497cc8521ca0f8813ebd8d0a0ba40ee8f3e5
|
4
|
+
data.tar.gz: 7464f39ab26916584b50d2bc200d5e79837cde4ab0363b1ecee28d9006db7fcf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3074a8487fa7178c83465f80d0ae4e5eec28640f5a35e246dfb491c167d5ffeff103dfea5b9281abbda1bb92b89f486999188e9847abb740a74bb6cf5eeeff1f
|
7
|
+
data.tar.gz: 5c2d852a16e239c2a8d3837deaef9697cf0be57a020e7a517976a441a767871ee56f301390ae1f7ad912cace1d97f18232776900da3d79f92af6bf9de3ae7147
|
@@ -90,19 +90,16 @@ module ShellMethods
|
|
90
90
|
def check_git_clean
|
91
91
|
puts "Checking git status"
|
92
92
|
gs = `git status`
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
exit 1
|
97
|
-
end
|
93
|
+
return unless gs['working tree clean'].nil?
|
94
|
+
puts "Exiting, you need to commit files"
|
95
|
+
exit 1
|
98
96
|
end
|
99
97
|
|
100
98
|
def check_chris_lib_status
|
101
99
|
gs=`cd ../chris_lib;git status`; lr=$?.success?
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
end
|
100
|
+
return unless gs['working tree clean'].nil? && gs['up-to-date'].nil?
|
101
|
+
puts "Exiting, chris_lib is not up to date with master."
|
102
|
+
exit 3
|
106
103
|
system('cd $OLDPWD')
|
107
104
|
end
|
108
105
|
|
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: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-04-
|
11
|
+
date: 2019-04-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dotenv
|
@@ -127,8 +127,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
127
127
|
- !ruby/object:Gem::Version
|
128
128
|
version: '0'
|
129
129
|
requirements: []
|
130
|
-
|
131
|
-
rubygems_version: 2.7.9
|
130
|
+
rubygems_version: 3.0.3
|
132
131
|
signing_key:
|
133
132
|
specification_version: 4
|
134
133
|
summary: This an eclectic collection of methods. It include maths, datetime, and rspec
|