start 0.0.9 → 0.0.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/generators/start/locales/locales_generator.rb +5 -0
- data/lib/start.rb +5 -0
- data/lib/start/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a5a71a8ad346e1508cbb7b1a506fbb1af24f083d
|
4
|
+
data.tar.gz: f80cc604afb1a811f885a2c35a871198c7dde207
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 62708fe2e670ffb5cffd9162aceab39cc06ab2a0bd24425ff4d6064c7619c7c01c8cb16fc0184b085368ec5e4451976199d0626df53e8562dcf56a9228247340
|
7
|
+
data.tar.gz: a375f528651b080d889596d08f3fa4c34104eeef14ff99a182a6ffecad8a42c3a84e81fd52b2f751ded3bb7509289f82ad1291d8798e97c2c4cbba548df61868
|
@@ -1,6 +1,11 @@
|
|
1
1
|
class Start::LocalesGenerator < Rails::Generators::Base
|
2
2
|
source_root File.expand_path("../templates", __FILE__)
|
3
3
|
|
4
|
+
def config_application
|
5
|
+
application "config.time_zone = 'Brasilia'"
|
6
|
+
application "config.i18n.default_locale = 'pt-BR'"
|
7
|
+
end
|
8
|
+
|
4
9
|
def copy_files
|
5
10
|
copy_file 'config/locales/pt-br.yml', 'config/locales/pt-br.yml'
|
6
11
|
copy_file 'config/locales/devise.pt-br.yml', 'config/locales/devise.pt-br.yml'
|
data/lib/start.rb
CHANGED
data/lib/start/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: start
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Julio Protzek
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-10-12 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: railties
|