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.202 lib/dev/cmd/Commit.rb
dev-1.0.201 lib/dev/cmd/Commit.rb
dev-1.0.200 lib/dev/cmd/Commit.rb
dev-1.0.199 lib/dev/cmd/Commit.rb
dev-1.0.198 lib/dev/cmd/Commit.rb
dev-1.0.197 lib/dev/cmd/Commit.rb
dev-1.0.196 lib/dev/cmd/Commit.rb
dev-1.0.195 lib/dev/cmd/Commit.rb
dev-1.0.194 lib/dev/cmd/Commit.rb
dev-1.0.193 lib/dev/cmd/Commit.rb
dev-1.0.192 lib/dev/cmd/Commit.rb
dev-1.0.191 lib/dev/cmd/Commit.rb
dev-1.0.190 lib/dev/cmd/Commit.rb
dev-1.0.189 lib/dev/cmd/Commit.rb
dev-1.0.188 lib/dev/cmd/Commit.rb
dev-1.0.187 lib/dev/cmd/Commit.rb
dev-1.0.186 lib/dev/cmd/Commit.rb
dev-1.0.185 lib/dev/cmd/Commit.rb
dev-1.0.184 lib/dev/cmd/Commit.rb
dev-1.0.182 lib/dev/cmd/Commit.rb