haml-magic-translations 4.0.0 → 4.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 4.0.0
1
+ 4.0.1
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{haml-magic-translations}
8
- s.version = "4.0.0"
8
+ s.version = "4.0.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Kriss Kowalik", "potager.org"]
12
- s.date = %q{2013-05-28}
12
+ s.date = %q{2013-09-01}
13
13
  s.description = %q{This plugin provides "magical translations" in your .haml files. What does it
14
14
  mean? It's mean that all your raw texts in templates will be automatically
15
15
  translated by GetText, FastGettext or Gettext backend from I18n. No more
@@ -229,7 +229,7 @@ module Haml
229
229
  end
230
230
  Haml::MagicTranslations.enable :gettext
231
231
  GetText.bindtextdomain 'test', :path => tmpdir
232
- GetText.setlocale 'pl'
232
+ GetText.set_locale 'pl'
233
233
  example.run
234
234
  end
235
235
  end
data/spec/spec_helper.rb CHANGED
@@ -11,7 +11,6 @@ require 'active_support'
11
11
  require 'action_view'
12
12
 
13
13
  require 'haml/magic_translations'
14
- require 'haml/template'
15
14
 
16
15
  Haml::Options.defaults[:ugly] = false
17
16
  Haml::Options.defaults[:format] = :xhtml
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: haml-magic-translations
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.0
4
+ version: 4.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2013-05-28 00:00:00.000000000 Z
13
+ date: 2013-09-01 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: haml
@@ -195,3 +195,4 @@ signing_key:
195
195
  specification_version: 3
196
196
  summary: Provides automaticaly translations in haml templates
197
197
  test_files: []
198
+ has_rdoc: