Sha256: 26772949f145a3efaa150c9c9b4e10b4440299f3be0a811c7d10af4d4626b192

Contents?: true

Size: 229 Bytes

Versions: 40

Compression:

Stored size: 229 Bytes

Contents

class Push < Array
	def update
		if(File.exists?('.git') && `git config --list`.include?('user.name='))
			self <<  'git push'
			self <<  'git push --tags'# if Git.branch != 'develop' && Internet.available?
		end
	end
end

Version data entries

40 entries across 40 versions & 1 rubygems

Version Path
dev-2.0.141 lib/tasks/push.rb
dev-2.0.140 lib/tasks/push.rb
dev-2.0.139 lib/commands/push.rb
dev-2.0.138 lib/commands/push.rb
dev-2.0.137 lib/commands/push.rb
dev-2.0.136 lib/commands/push.rb
dev-2.0.135 lib/commands/push.rb
dev-2.0.134 lib/commands/push.rb
dev-2.0.133 lib/commands/push.rb
dev-2.0.132 lib/commands/push.rb
dev-2.0.131 lib/commands/push.rb
dev-2.0.130 lib/commands/push.rb
dev-2.0.129 lib/commands/push.rb
dev-2.0.128 lib/commands/push.rb
dev-2.0.127 lib/commands/push.rb
dev-2.0.126 lib/commands/push.rb
dev-2.0.124 lib/commands/push.rb
dev-2.0.123 lib/commands/push.rb
dev-2.0.122 lib/commands/push.rb
dev-2.0.121 lib/commands/push.rb