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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ffd51f40654bb31d2a3c31d4822c9cb17fffb757
4
- data.tar.gz: 66f28e9d1e2f6ee906975c94c94542467deefe37
3
+ metadata.gz: 1e67c3e34b3aa19c24cf4986366d82b60da60f6d
4
+ data.tar.gz: 2782f013b9a636d880d2a472234bb645a0aa066e
5
5
  SHA512:
6
- metadata.gz: 044233abdea82cf0dc916496949c4fa93c4ea7c27eda62ef77037f610e5318d125436243a6dcfed898403e503eba9e5621eff7d49e5f8394d79e3022c6f96eb7
7
- data.tar.gz: 9dade3935cd9cd2541573b673d7083f096b727697c491a38d30a71524b7c720c3fab0544667f415de72eca6b0e966cb5fce858e44b1bdcdcf92d6293b805c8cf
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', '~> 3.2.0'
8
- gem 'lolita', '~> 4.0'
9
+ gem 'rails', '~> 4.2.0'
9
10
  gem 'simplecov', '~> 0.7.1'
10
- gem 'bson_ext', '~> 1.10.1'
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"
@@ -1,7 +1,7 @@
1
1
  module Lolita
2
2
  module I18n
3
3
  class Version
4
- VERSION = "0.5.9"
4
+ VERSION = "0.6.0"
5
5
 
6
6
  def self.to_s
7
7
  VERSION
@@ -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>, [">= 3.2"])
22
- s.add_runtime_dependency(%q<i18n>, ["~> 0.6.1"])
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
- allow(Lolita).to receive(:rails3?).and_return(true)
9
- expect(subject).to receive(:require).with('lolita-i18n/rails')
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
@@ -1,7 +1,6 @@
1
1
  require File.expand_path('../boot', __FILE__)
2
2
  require "action_controller/railtie"
3
3
  require "action_mailer/railtie"
4
- require "active_resource/railtie"
5
4
  require "rails/test_unit/railtie"
6
5
  require "sprockets/railtie"
7
6
 
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.5.9
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: '3.2'
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: '3.2'
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.6.1
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.6.1
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