lolita-i18n 0.5.9 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +5 -5
- data/config/locales/sv_SE.yml +16 -0
- data/lib/lolita-i18n/version.rb +1 -1
- data/lolita-i18n.gemspec +2 -2
- data/spec/lolita-i18n/configuration_spec.rb +3 -3
- data/spec/test_app/config/application.rb +0 -1
- metadata +6 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1e67c3e34b3aa19c24cf4986366d82b60da60f6d
|
4
|
+
data.tar.gz: 2782f013b9a636d880d2a472234bb645a0aa066e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2eff12415dec48b1d1f0d9a2b56cf83d888a58b2b134a4f7fd74ebb04b31ec51e1355acdc0683dcb033e2a746fe327ceb95d6387193291049670906b886f6002
|
7
|
+
data.tar.gz: 42e8684e774cbd4f5787fb1fbaec48c5007d26586d08662220a99dbb0ee7d045fe8d736328824c803edf03312f9eeb8bdb939d8eb2d46a3b1a159f99c7e580c0
|
data/Gemfile
CHANGED
@@ -2,16 +2,16 @@ source 'http://rubygems.org'
|
|
2
2
|
|
3
3
|
gemspec
|
4
4
|
|
5
|
+
gem 'lolita', git: 'https://github.com/ithouse/lolita', branch: 'rails4.2'
|
6
|
+
|
5
7
|
group :test do
|
6
8
|
gem 'byebug'
|
7
|
-
gem 'rails', '~>
|
8
|
-
gem 'lolita', '~> 4.0'
|
9
|
+
gem 'rails', '~> 4.2.0'
|
9
10
|
gem 'simplecov', '~> 0.7.1'
|
10
|
-
gem '
|
11
|
-
gem 'mongoid', '~> 2.7.1'
|
11
|
+
gem 'mongoid', '~> 4.0.2'
|
12
12
|
gem 'rspec-rails', '~> 2.14'
|
13
13
|
gem 'capybara', '~> 2.1'
|
14
|
-
gem 'selenium-webdriver'
|
14
|
+
gem 'selenium-webdriver', '~> 2.46.2'
|
15
15
|
gem 'sass', '~> 3.2.3'
|
16
16
|
gem 'coffee-script', '~>2.2.0'
|
17
17
|
gem 'axlsx', '~> 2.0.1'
|
@@ -0,0 +1,16 @@
|
|
1
|
+
sv_SE:
|
2
|
+
en: English
|
3
|
+
lv: Latvian
|
4
|
+
ru: Russian
|
5
|
+
de: German
|
6
|
+
sv: Swedish
|
7
|
+
lt: Lithuanian
|
8
|
+
ee: Estonian
|
9
|
+
lolita-i18n:
|
10
|
+
title: "Static content translation"
|
11
|
+
choose-other-language: "Choose other language"
|
12
|
+
"Successful update": "Successful update"
|
13
|
+
show-untranslated: "Show only untranslated"
|
14
|
+
lolita:
|
15
|
+
navigation:
|
16
|
+
system: "System"
|
data/lib/lolita-i18n/version.rb
CHANGED
data/lolita-i18n.gemspec
CHANGED
@@ -18,8 +18,8 @@ Gem::Specification.new do |s|
|
|
18
18
|
]
|
19
19
|
s.licenses = ["MIT"]
|
20
20
|
|
21
|
-
s.add_runtime_dependency(%q<lolita>, [">=
|
22
|
-
s.add_runtime_dependency(%q<i18n>, ["~> 0.
|
21
|
+
s.add_runtime_dependency(%q<lolita>, [">= 4.2"])
|
22
|
+
s.add_runtime_dependency(%q<i18n>, ["~> 0.7.0"])
|
23
23
|
s.add_runtime_dependency(%q<hiredis>, ["~> 0.4"])
|
24
24
|
s.add_runtime_dependency(%q<redis>, ["~> 3.0"])
|
25
25
|
s.add_runtime_dependency(%q<yajl-ruby>,["~> 1.1"])
|
@@ -5,8 +5,8 @@ describe Lolita::I18n::Configuration do
|
|
5
5
|
let(:redis){ double("redis", :ping => true, client: double(disconnect: true, reconnect: true)) }
|
6
6
|
|
7
7
|
it "should load rails if Rails is defined" do
|
8
|
-
|
9
|
-
|
8
|
+
Lolita.stub(:rails?).and_return(true)
|
9
|
+
subject.should_receive(:require).with('lolita-i18n/rails')
|
10
10
|
subject.load_rails!
|
11
11
|
end
|
12
12
|
|
@@ -145,4 +145,4 @@ describe Lolita::I18n::Configuration do
|
|
145
145
|
end
|
146
146
|
end
|
147
147
|
|
148
|
-
end
|
148
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lolita-i18n
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ITHouse (Latvia)
|
@@ -18,28 +18,28 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - ">="
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: '
|
21
|
+
version: '4.2'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
requirements:
|
26
26
|
- - ">="
|
27
27
|
- !ruby/object:Gem::Version
|
28
|
-
version: '
|
28
|
+
version: '4.2'
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
30
|
name: i18n
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|
32
32
|
requirements:
|
33
33
|
- - "~>"
|
34
34
|
- !ruby/object:Gem::Version
|
35
|
-
version: 0.
|
35
|
+
version: 0.7.0
|
36
36
|
type: :runtime
|
37
37
|
prerelease: false
|
38
38
|
version_requirements: !ruby/object:Gem::Requirement
|
39
39
|
requirements:
|
40
40
|
- - "~>"
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version: 0.
|
42
|
+
version: 0.7.0
|
43
43
|
- !ruby/object:Gem::Dependency
|
44
44
|
name: hiredis
|
45
45
|
requirement: !ruby/object:Gem::Requirement
|
@@ -138,6 +138,7 @@ files:
|
|
138
138
|
- app/views/lolita/i18n/index.html.haml
|
139
139
|
- config/locales/en.yml
|
140
140
|
- config/locales/lv.yml
|
141
|
+
- config/locales/sv_SE.yml
|
141
142
|
- config/routes.rb
|
142
143
|
- lib/lolita-i18n.rb
|
143
144
|
- lib/lolita-i18n/configuration.rb
|