README.rdoc in rspec-i18n-0.2.1 vs README.rdoc in rspec-i18n-1.0.0
- old
+ new
@@ -1,7 +1,11 @@
= Rspec-i18n
+* http://github.com/tomas-stefano/rspec-i18n/wikis
+* http://gemcutter.org/gems/rspec-i18n
+* http://rspec-i18n.lighthouseapp.com
+
== Description
The Rspec-i18n gem provide a easy way to write specs in any language you
prefer. The Rspec-i18n was created for the purpose of teaching people who are
starting to developing applications but also serves to Production use.
@@ -9,12 +13,13 @@
But if you don't prefer that, you'll like the Rspec-i18n.
== Synopsis
-Rspec-i18n will supports any language you want(See languages.yml file). This is
-Portuguese(Brazil):
+Rspec-i18n will supports any language you want
+(See http://github.com/tomas-stefano/rspec-i18n/blob/master/lib/spec-i18n/languages.yml file).
+This is Portuguese(Brazil):
require 'spec'
require 'spec-i18n'
Spec::Runner.configure do |config|
@@ -24,11 +29,11 @@
...
end
# In spec/pessoa_spec.rb
- require 'spec_helper'
+ require 'spec_helper'
descreva Pessoa do
antes(:de_cada) do
@nome = "Tomas"
@pessoa = Pessoa.new(@nome)
@@ -39,22 +44,28 @@
end
end
== Examples
-See more examples in the examples folder
+See more examples in http://github.com/tomas-stefano/rspec-i18n/blob/master/examples/i18n
== Listing the available languages
- spec-i18n --language help (NOT YET IMPLEMENTED)
+ rspec-i18n --language help
+== Listing the available keywords for the language
+
+ rspec-i18n --language pt
+
+ rspec-i18n --language es
+
== Adding a new language or completing a existing one(based on Cucumber implementation)
1. Make a fork of Rspec-i18n and pull it down
2. Add your language keywords to languages.yml
3. Commit and push your changes - then send a pull request at Github
- ** OBS: Hints for better words in languages.yml are Welcome =D.
+** OBS: Hints for better words in languages.yml are Welcome =D.
== Install
[sudo] gem install rspec-i18n