mirror of
https://github.com/amix/vimrc
synced 2025-06-16 01:25:00 +08:00
Updated all plugins that are non-forked. Added some new plugins.
Added update_plugins.py which can fetch new plugins from GitHub. New plugins added: zencoding, vim-indent-object, taglist, nginx.vim
This commit is contained in:
@ -0,0 +1,5 @@
|
||||
context "${1:context}" do
|
||||
|
||||
${2}
|
||||
|
||||
end
|
@ -0,0 +1 @@
|
||||
should_allow_mass_assignment_of :${1:field}
|
@ -0,0 +1 @@
|
||||
should_allow_values_for :${1:field}, "${2:value}"
|
@ -0,0 +1 @@
|
||||
should_belong_to :${1:association}
|
@ -0,0 +1 @@
|
||||
should_ensure_length_at_least :${1:field}, ${2:min_length}
|
@ -0,0 +1 @@
|
||||
should_ensure_length_is :${1:field}, ${2:length}
|
@ -0,0 +1 @@
|
||||
should_ensure_length_in_range :${1:field}, ${2:start}..${3:end}
|
@ -0,0 +1,3 @@
|
||||
setup do
|
||||
${1}
|
||||
end
|
@ -0,0 +1 @@
|
||||
should_ensure_value_in_range :${1:field}, ${2:start}..${3:end}
|
@ -0,0 +1 @@
|
||||
should_have_and_belong_to_many :${1:association}
|
@ -0,0 +1 @@
|
||||
should_have_class_methods :${1:method}
|
@ -0,0 +1 @@
|
||||
should_have_db_columns :${1:field}
|
@ -0,0 +1 @@
|
||||
should_have_indices :${1:field}
|
@ -0,0 +1 @@
|
||||
should_have_instance_methods :${1:method}
|
@ -0,0 +1 @@
|
||||
should_have_many :${1:association}
|
@ -0,0 +1 @@
|
||||
should_have_one :${1:association}
|
@ -0,0 +1 @@
|
||||
should_have_read_only_attributes :${1:field}
|
@ -0,0 +1 @@
|
||||
should_not_allow_mass_assignment_of :${1:field}
|
@ -0,0 +1 @@
|
||||
should_not_allow_values_for :${1:field}, "${2:value}"
|
@ -0,0 +1 @@
|
||||
should_validate_acceptance_of :${1:field}
|
@ -0,0 +1 @@
|
||||
should_validate_numericality_of :${1:field}
|
@ -0,0 +1 @@
|
||||
should_validate_presence_of :${1:field}
|
@ -0,0 +1 @@
|
||||
should_validate_uniqueness_of :${1:field}, :scoped_to => ${2:arrayofnames}
|
Reference in New Issue
Block a user