dev 2.0.183 → 2.0.184

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/tasks/push.rb +1 -1
  3. metadata +3 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b53c487e9567b57f61b197c2d8c72b2ca1d0865b
4
- data.tar.gz: 46a95507bd67e606e42dc308e58cd953ad2d6ceb
3
+ metadata.gz: fa9afa9f73ebec43048409fa04dc75f5004a5461
4
+ data.tar.gz: a93fdebdcf638355ddd24da1325007a6907fd75a
5
5
  SHA512:
6
- metadata.gz: 48066682c571ade686916fc7b054f648dd42948a41c09b914894edc02bda33036eb67c6ab101b40010fecffa215fedd52b4d475572f9e36a5f1749a4230a19f3
7
- data.tar.gz: b4bcc9d23343cd181b6a853503dd74ff1086f189b136504b10f03a8c8292ccfbb27b007b0a336781c9049914aba32e7d5fe7f7911bd65c6f9a795d230064d1ce
6
+ metadata.gz: 0fda1e466bac51b440dd71fece9b2c467517b89b1e639f744375123da3121f4d0082b29361f2f75bbaea56fd0fe6484e4f5782b18819e546a90e0b95f786f3bf
7
+ data.tar.gz: 3d90602b915810a9d046ce726af120c1b3705e2c5db48bffdcb2abff72a60f3d83e52637c2e2a4f53b5723f673955bde8e1aaa906208c27d956f882a7b599471
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='))
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
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dev
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.183
4
+ version: 2.0.184
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lou Parslow
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-08-13 00:00:00.000000000 Z
11
+ date: 2015-08-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -105,9 +105,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
105
105
  version: '0'
106
106
  requirements: []
107
107
  rubyforge_project:
108
- rubygems_version: 2.4.5
108
+ rubygems_version: 2.2.3
109
109
  signing_key:
110
110
  specification_version: 4
111
111
  summary: dev
112
112
  test_files: []
113
- has_rdoc: