Sha256: 2807a9ff79e163e7b9b995bf7629717b6d63ca4efae06bdc9ea987419b83df0d

Contents?: true

Size: 417 Bytes

Versions: 55

Compression:

Stored size: 417 Bytes

Contents

module Dev
module Cmd
class Commit < Array
  def refresh
	strip_auto_entries
	File.open('commit.message','w'){|f|f.puts "commit all"} if !File.exists?('commit.message')
	self << "{:cmd=>'git commit -a -F commit.message',:auto=>true}" if File.exists?(".git")
    self << "{:cmd=>'svn commit -F commit.message',:auto=>true}" if File.exists?(".svn")
  end
end	# class Compile
end # module Cmd
end # module Dev

Version data entries

55 entries across 55 versions & 1 rubygems

Version Path
dev-1.0.161 lib/dev/cmd/Commit.rb
dev-1.0.160 lib/dev/cmd/Commit.rb
dev-1.0.159 lib/dev/cmd/Commit.rb
dev-1.0.158 lib/dev/cmd/Commit.rb
dev-1.0.157 lib/dev/cmd/Commit.rb
dev-1.0.156 lib/dev/cmd/Commit.rb
dev-1.0.155 lib/dev/cmd/Commit.rb
dev-1.0.154 lib/dev/cmd/Commit.rb
dev-1.0.153 lib/dev/cmd/Commit.rb
dev-1.0.152 lib/dev/cmd/Commit.rb
dev-1.0.151 lib/dev/cmd/Commit.rb
dev-1.0.150 lib/dev/cmd/Commit.rb
dev-1.0.149 lib/dev/cmd/Commit.rb
dev-1.0.148 lib/dev/cmd/Commit.rb
dev-1.0.147 lib/dev/cmd/Commit.rb