lib/reality/zapwhite.rb in zapwhite-2.5.0 vs lib/reality/zapwhite.rb in zapwhite-2.6.0
- old
+ new
@@ -196,23 +196,27 @@
attributes.rule('*', :text => false)
attributes.dos_text_rule('*.rdl', :eofnl => false)
attributes.unix_text_rule('*.sh')
attributes.text_rule('*.md')
- attributes.binary_rule('*.jpg')
attributes.text_rule('.gitignore')
attributes.text_rule('.gitattributes')
+ attributes.text_rule('.node-version')
+
# Ruby defaults
attributes.text_rule('Gemfile')
attributes.text_rule('*.gemspec')
attributes.text_rule('.ruby-version')
attributes.text_rule('*.rb')
attributes.text_rule('*.yaml')
attributes.text_rule('*.yml')
+ attributes.text_rule('*.haml')
+ attributes.text_rule('*.rhtml')
+
# Documentation defaults
attributes.text_rule('*.txt')
attributes.text_rule('*.md')
attributes.text_rule('*.textile')
attributes.text_rule('*.rdoc')
@@ -259,10 +263,11 @@
attributes.text_rule('*.sql')
attributes.text_rule('*.java')
attributes.text_rule('*.jsp')
attributes.text_rule('*.properties')
attributes.rule('*.jar', :binary => true)
+ attributes.text_rule('Vagrantfile')
attributes.text_rule('Dockerfile')
attributes.text_rule('LICENSE')
attributes.text_rule('CHANGELOG')
# Shell scripts
@@ -272,9 +277,13 @@
# Native development files
attributes.text_rule('*.c')
attributes.binary_rule('*.dll')
attributes.binary_rule('*.so')
+
+ # IDE files
+ attributes.text_rule('*.iml')
+ attributes.text_rule('*.ipr')
attributes
end
end
end