typus 0.9.26 → 0.9.27

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.9.26
1
+ 0.9.27
File without changes
File without changes
File without changes
File without changes
data/lib/typus.rb CHANGED
@@ -86,10 +86,8 @@ module Typus
86
86
  Typus::Configuration.roles!
87
87
 
88
88
  # Load translation files from the plugin or the gem.
89
- if plugin?
90
- I18n.load_path += Dir[File.join(root, 'config', 'locales', '**', '*.{rb,yml}')]
91
- else
92
- Gem.path.each { |g| I18n.load_path += Dir[File.join("#{g}/gems/*typus-#{version}/config/locales/**/*.{rb,yml}")] }
89
+ unless plugin?
90
+ Gem.path.each { |g| I18n.load_path += Dir[File.join("#{g}/gems/typus-#{version}/config/locales/*.{rb,yml}")] }
93
91
  end
94
92
 
95
93
  # Require the test/models on when testing.
data/test/helper.rb CHANGED
@@ -19,7 +19,7 @@ connection = case ENV['DB']
19
19
  when /postgresql/
20
20
  { :adapter => 'postgresql', :encoding => 'unicode', :database => 'typus_test' }
21
21
  else
22
- { :adapter => 'sqlite3', :dbfile => ':memory:' }
22
+ { :adapter => 'sqlite3', :database => ':memory:' }
23
23
  end
24
24
 
25
25
  ActiveRecord::Base.establish_connection(connection)
data/typus.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{typus}
8
- s.version = "0.9.26"
8
+ s.version = "0.9.27"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Francesc Esplugas"]
12
- s.date = %q{2009-09-03}
12
+ s.date = %q{2009-09-04}
13
13
  s.description = %q{Effortless backend interface for Ruby on Rails applications. (Admin scaffold generator.)}
14
14
  s.email = %q{francesc@intraducibles.com}
15
15
  s.extra_rdoc_files = [
@@ -46,11 +46,11 @@ Gem::Specification.new do |s|
46
46
  "app/views/typus/sign_in.html.erb",
47
47
  "app/views/typus/sign_up.html.erb",
48
48
  "app/views/typus_mailer/reset_password_link.erb",
49
- "config/locales/typus/de.yml",
50
- "config/locales/typus/es.yml",
51
- "config/locales/typus/language.yml.template",
52
- "config/locales/typus/pt-BR.yml",
53
- "config/locales/typus/ru.yml",
49
+ "config/locales/de.yml",
50
+ "config/locales/es.yml",
51
+ "config/locales/language.yml.template",
52
+ "config/locales/pt-BR.yml",
53
+ "config/locales/ru.yml",
54
54
  "config/routes.rb",
55
55
  "generators/typus/templates/config/initializers/typus.rb",
56
56
  "generators/typus/templates/config/typus/README",
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: typus
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.26
4
+ version: 0.9.27
5
5
  platform: ruby
6
6
  authors:
7
7
  - Francesc Esplugas
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-09-03 00:00:00 +02:00
12
+ date: 2009-09-04 00:00:00 +02:00
13
13
  default_executable:
14
14
  dependencies: []
15
15
 
@@ -52,11 +52,11 @@ files:
52
52
  - app/views/typus/sign_in.html.erb
53
53
  - app/views/typus/sign_up.html.erb
54
54
  - app/views/typus_mailer/reset_password_link.erb
55
- - config/locales/typus/de.yml
56
- - config/locales/typus/es.yml
57
- - config/locales/typus/language.yml.template
58
- - config/locales/typus/pt-BR.yml
59
- - config/locales/typus/ru.yml
55
+ - config/locales/de.yml
56
+ - config/locales/es.yml
57
+ - config/locales/language.yml.template
58
+ - config/locales/pt-BR.yml
59
+ - config/locales/ru.yml
60
60
  - config/routes.rb
61
61
  - generators/typus/templates/config/initializers/typus.rb
62
62
  - generators/typus/templates/config/typus/README