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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7768030d87d8e56ae96bef0f4776df95e6a50c72
4
- data.tar.gz: 4a88bd9ff58823de9240bd46c284235ecc9151b1
3
+ metadata.gz: a5a71a8ad346e1508cbb7b1a506fbb1af24f083d
4
+ data.tar.gz: f80cc604afb1a811f885a2c35a871198c7dde207
5
5
  SHA512:
6
- metadata.gz: a2391a2d4f79f8dbff0eab318aad07ae8e24ee6a3db50c7e3039b5f3b669cccf1850d427b2802ac0ef08413114aa6165e97abf26d26f3acce4f562c5cb89e017
7
- data.tar.gz: 51aa45701b659a4278ad3f10dda3a0d7aac6ab837259f73919db8581dcd60df262728953a844de4813ae2c1b998d6c1242330b30b878565380b1870553272db2
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'
@@ -1,2 +1,7 @@
1
1
  module Start
2
+ # class Railtie < Rails::Railtie
3
+ # config.app_generators do |g|
4
+ # g.templates.unshift File::expand_path('../templates', __FILE__)
5
+ # end
6
+ # end
2
7
  end
@@ -1,3 +1,3 @@
1
1
  module Start
2
- VERSION = "0.0.9"
2
+ VERSION = "0.0.10"
3
3
  end
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.9
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-09-18 00:00:00.000000000 Z
12
+ date: 2013-10-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: railties