brazilian-rails 2.1.15 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.mkdn +43 -20
- data/lib/brazilian-rails.rb +1 -1
- metadata +54 -54
data/README.mkdn
CHANGED
@@ -43,27 +43,35 @@ As gems foram portadas para Ruby 1.9, porém o suporte ainda é experimental, e
|
|
43
43
|
|
44
44
|
É muito difícil...
|
45
45
|
|
46
|
-
###
|
46
|
+
### No Rails 3.x
|
47
47
|
|
48
|
-
|
48
|
+
Adicionar ao seu Gemfile:
|
49
|
+
|
50
|
+
gem 'brazilian-rails'
|
51
|
+
|
52
|
+
### No Rails 2.x
|
53
|
+
|
54
|
+
#### Como plugin:
|
55
|
+
|
56
|
+
ruby script/plugin install git://github.com/tapajos/brazilian-rails.git
|
49
57
|
|
50
58
|
Por padrão, a pluralização vem desabilitada, isso para não atrapalhar os projetos que já existem.
|
51
59
|
|
52
|
-
|
60
|
+
#### Como gem:
|
53
61
|
|
54
|
-
|
62
|
+
gem install brazilian-rails -v 2.1.14
|
55
63
|
|
56
64
|
Depois que todas as gems forem instaladas você pode utiliza-las individualmente ou carregando todas, como no trecho abaixo.
|
57
65
|
|
58
|
-
|
59
|
-
|
60
|
-
|
66
|
+
Rails::Initializer.run do |config|
|
67
|
+
config.gem 'brazilian-rails', '2.1.14'
|
68
|
+
end
|
61
69
|
|
62
70
|
### I18n
|
63
71
|
|
64
72
|
Por padrão a gem não carrega o suporte de traduções do Rails, para usa-la você deve fazer o require abaixo:
|
65
73
|
|
66
|
-
|
74
|
+
require 'brI18n'
|
67
75
|
|
68
76
|
## Como funciona?
|
69
77
|
|
@@ -84,13 +92,33 @@ Por favor, nos avise! Isso é fácil e rápido. Isso pode ser feito em:
|
|
84
92
|
|
85
93
|
## Quem está por traz disso tudo?
|
86
94
|
|
87
|
-
O [Marcos Tapajós][mt] tomou coragem para publicar todas as funcionalidades em um plugin, com testes unitários para garantir que tudo funcione conforme manda o figurino.
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
95
|
+
O [Marcos Tapajós][mt] tomou coragem para publicar todas as funcionalidades em um plugin, com testes unitários para garantir que tudo funcione conforme manda o figurino. Além do Tápa, outros loucos mantém tudo organizado, são: [Celestino Gomes][tino], [André Luiz Kupkovski][andre], [A galera da Improve It][ii] e mais alguns que ficam escondidos para não pagar esse mico...
|
96
|
+
|
97
|
+
Muitos já contribuíram com o projeto.
|
98
|
+
|
99
|
+
git log --raw | grep "^Author: " | sed 's/Author: //' | sed 's/<.*$//' | sort | uniq
|
100
|
+
|
101
|
+
* Cássio Marques
|
102
|
+
* Eduardo Fiorezi
|
103
|
+
* Eduardo Hertz
|
104
|
+
* Everton Ribeiro
|
105
|
+
* Fabio Akita
|
106
|
+
* Fernando Gomes
|
107
|
+
* Fernando Luizao
|
108
|
+
* Joao Vitor
|
109
|
+
* Julio Santos Monteiro
|
110
|
+
* Kivanio Barbosa
|
111
|
+
* Marcus Derencius
|
112
|
+
* Marcus Sá
|
113
|
+
* Mauricio Zaffari
|
114
|
+
* Rafael Uchoa
|
115
|
+
* Ricardo Shiota Yasuda
|
116
|
+
* Sergio Brant
|
117
|
+
* albertobraschi
|
118
|
+
* cassio
|
119
|
+
* dannnylo
|
120
|
+
* elomarns
|
121
|
+
* frederico
|
94
122
|
|
95
123
|
## Algumas funcionalidades:
|
96
124
|
|
@@ -119,14 +147,9 @@ Este plugin é patrocinado pela [Improve It][ii].
|
|
119
147
|
[logo]: http://www.improveit.com.br/images/logo/logo_improve_it_screen.gif "Improve It"
|
120
148
|
[tino]: http://tinogomes.wordpress.com
|
121
149
|
[andre]: http://www.workingwithrails.com/person/9227-andr-luiz-kupkovski
|
122
|
-
[st]: http://www.hashcode.eti.br/
|
123
150
|
[rf]: http://rubyforge.org/projects/brazilian-rails
|
124
151
|
[mt]: http://www.improveit.com.br/tapajos
|
125
152
|
[vt]: http://www.improveit.com.br/vinicius
|
126
153
|
[gg]: http://ggarnier.wordpress.com/
|
127
|
-
[sm]: http://mergulhao.info/
|
128
|
-
[kb]: http://www.kivanio.com.br/
|
129
|
-
[cm]: http://cassiomarques.wordpress.com
|
130
|
-
[fl]: http://fernandoluizao.wordpress.com
|
131
154
|
[brtraducoes]: http://blog.improveit.com.br/articles/2009/02/13/o-brazilian-rails-e-o-suporte-i18n
|
132
155
|
[issues]: http://github.com/tapajos/brazilian-rails/issues
|
data/lib/brazilian-rails.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: brazilian-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 7
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
|
-
-
|
8
|
-
-
|
9
|
-
-
|
10
|
-
version:
|
7
|
+
- 3
|
8
|
+
- 0
|
9
|
+
- 0
|
10
|
+
version: 3.0.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- "Marcos Tapaj\xC3\xB3s"
|
@@ -27,7 +27,7 @@ autorequire:
|
|
27
27
|
bindir: bin
|
28
28
|
cert_chain: []
|
29
29
|
|
30
|
-
date: 2010-
|
30
|
+
date: 2010-10-22 00:00:00 -02:00
|
31
31
|
default_executable:
|
32
32
|
dependencies:
|
33
33
|
- !ruby/object:Gem::Dependency
|
@@ -36,14 +36,14 @@ dependencies:
|
|
36
36
|
requirement: &id001 !ruby/object:Gem::Requirement
|
37
37
|
none: false
|
38
38
|
requirements:
|
39
|
-
- - "
|
39
|
+
- - ">="
|
40
40
|
- !ruby/object:Gem::Version
|
41
|
-
hash:
|
41
|
+
hash: 7
|
42
42
|
segments:
|
43
|
-
-
|
44
|
-
-
|
45
|
-
-
|
46
|
-
version:
|
43
|
+
- 3
|
44
|
+
- 0
|
45
|
+
- 0
|
46
|
+
version: 3.0.0
|
47
47
|
type: :runtime
|
48
48
|
version_requirements: *id001
|
49
49
|
- !ruby/object:Gem::Dependency
|
@@ -52,14 +52,14 @@ dependencies:
|
|
52
52
|
requirement: &id002 !ruby/object:Gem::Requirement
|
53
53
|
none: false
|
54
54
|
requirements:
|
55
|
-
- - "
|
55
|
+
- - ">="
|
56
56
|
- !ruby/object:Gem::Version
|
57
|
-
hash:
|
57
|
+
hash: 7
|
58
58
|
segments:
|
59
|
-
-
|
60
|
-
-
|
61
|
-
-
|
62
|
-
version:
|
59
|
+
- 3
|
60
|
+
- 0
|
61
|
+
- 0
|
62
|
+
version: 3.0.0
|
63
63
|
type: :runtime
|
64
64
|
version_requirements: *id002
|
65
65
|
- !ruby/object:Gem::Dependency
|
@@ -68,14 +68,14 @@ dependencies:
|
|
68
68
|
requirement: &id003 !ruby/object:Gem::Requirement
|
69
69
|
none: false
|
70
70
|
requirements:
|
71
|
-
- - "
|
71
|
+
- - ">="
|
72
72
|
- !ruby/object:Gem::Version
|
73
|
-
hash:
|
73
|
+
hash: 7
|
74
74
|
segments:
|
75
|
-
-
|
76
|
-
-
|
77
|
-
-
|
78
|
-
version:
|
75
|
+
- 3
|
76
|
+
- 0
|
77
|
+
- 0
|
78
|
+
version: 3.0.0
|
79
79
|
type: :runtime
|
80
80
|
version_requirements: *id003
|
81
81
|
- !ruby/object:Gem::Dependency
|
@@ -84,14 +84,14 @@ dependencies:
|
|
84
84
|
requirement: &id004 !ruby/object:Gem::Requirement
|
85
85
|
none: false
|
86
86
|
requirements:
|
87
|
-
- - "
|
87
|
+
- - ">="
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
hash:
|
89
|
+
hash: 7
|
90
90
|
segments:
|
91
|
-
-
|
92
|
-
-
|
93
|
-
-
|
94
|
-
version:
|
91
|
+
- 3
|
92
|
+
- 0
|
93
|
+
- 0
|
94
|
+
version: 3.0.0
|
95
95
|
type: :runtime
|
96
96
|
version_requirements: *id004
|
97
97
|
- !ruby/object:Gem::Dependency
|
@@ -100,14 +100,14 @@ dependencies:
|
|
100
100
|
requirement: &id005 !ruby/object:Gem::Requirement
|
101
101
|
none: false
|
102
102
|
requirements:
|
103
|
-
- - "
|
103
|
+
- - ">="
|
104
104
|
- !ruby/object:Gem::Version
|
105
|
-
hash:
|
105
|
+
hash: 7
|
106
106
|
segments:
|
107
|
-
-
|
108
|
-
-
|
109
|
-
-
|
110
|
-
version:
|
107
|
+
- 3
|
108
|
+
- 0
|
109
|
+
- 0
|
110
|
+
version: 3.0.0
|
111
111
|
type: :runtime
|
112
112
|
version_requirements: *id005
|
113
113
|
- !ruby/object:Gem::Dependency
|
@@ -116,14 +116,14 @@ dependencies:
|
|
116
116
|
requirement: &id006 !ruby/object:Gem::Requirement
|
117
117
|
none: false
|
118
118
|
requirements:
|
119
|
-
- - "
|
119
|
+
- - ">="
|
120
120
|
- !ruby/object:Gem::Version
|
121
|
-
hash:
|
121
|
+
hash: 7
|
122
122
|
segments:
|
123
|
-
-
|
124
|
-
-
|
125
|
-
-
|
126
|
-
version:
|
123
|
+
- 3
|
124
|
+
- 0
|
125
|
+
- 0
|
126
|
+
version: 3.0.0
|
127
127
|
type: :runtime
|
128
128
|
version_requirements: *id006
|
129
129
|
- !ruby/object:Gem::Dependency
|
@@ -132,14 +132,14 @@ dependencies:
|
|
132
132
|
requirement: &id007 !ruby/object:Gem::Requirement
|
133
133
|
none: false
|
134
134
|
requirements:
|
135
|
-
- - "
|
135
|
+
- - ">="
|
136
136
|
- !ruby/object:Gem::Version
|
137
|
-
hash:
|
137
|
+
hash: 7
|
138
138
|
segments:
|
139
|
-
-
|
140
|
-
-
|
141
|
-
-
|
142
|
-
version:
|
139
|
+
- 3
|
140
|
+
- 0
|
141
|
+
- 0
|
142
|
+
version: 3.0.0
|
143
143
|
type: :runtime
|
144
144
|
version_requirements: *id007
|
145
145
|
- !ruby/object:Gem::Dependency
|
@@ -148,14 +148,14 @@ dependencies:
|
|
148
148
|
requirement: &id008 !ruby/object:Gem::Requirement
|
149
149
|
none: false
|
150
150
|
requirements:
|
151
|
-
- - "
|
151
|
+
- - ">="
|
152
152
|
- !ruby/object:Gem::Version
|
153
|
-
hash:
|
153
|
+
hash: 7
|
154
154
|
segments:
|
155
|
-
-
|
156
|
-
-
|
157
|
-
-
|
158
|
-
version:
|
155
|
+
- 3
|
156
|
+
- 0
|
157
|
+
- 0
|
158
|
+
version: 3.0.0
|
159
159
|
type: :runtime
|
160
160
|
version_requirements: *id008
|
161
161
|
description: "O Brazilian Rails \xC3\xA9 um conjunto de gems para facilitar a vida dos programadores brasileiros."
|