dev 2.0.184 → 2.0.185
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/tasks/push.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4365b8e98e4450554de60c51165fdb7600b3440a
|
4
|
+
data.tar.gz: aafde644748691872cb167f1dbb1356990c1d94c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7d9a96c263526b8b9e1b4f193d5617f8f4c6e37eabf2a96e7efa91e1fdb6060502a1fcfd09274f5c92236938f57a6bd9e23a61abc0ad7a8913fa98b250603d42
|
7
|
+
data.tar.gz: 94d95cc9ec2fdc73fb4a211a4cb78e904502aa588e38b638bc4a6d3cfe3aa041e806639565ea7614547da2a1dc6bd3729a8edaada6a01e8e19a61a411f0925b7
|
data/lib/tasks/push.rb
CHANGED
@@ -5,7 +5,7 @@ task :push do Tasks.execute_task :push;end
|
|
5
5
|
|
6
6
|
class Push < Array
|
7
7
|
def update
|
8
|
-
if(File.exists?('.git') && `git config --list`.include?('user.name=') && `git branch`.include('* master'))
|
8
|
+
if(File.exists?('.git') && `git config --list`.include?('user.name=') && `git branch`.include?('* master'))
|
9
9
|
self << 'git push'
|
10
10
|
self << 'git push --tags'# if Git.branch != 'develop' && Internet.available?
|
11
11
|
end
|