refinerycms-i18n 5.0.0 → 5.0.1

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
  SHA256:
3
- metadata.gz: 7e4694402d9ab606048504a265341229272cf39960a1b6da00d23714121f9e15
4
- data.tar.gz: ed8550a299c0cb478d09ab8439cc1a9f0b817f67b5c7f54666acdc2f5f6f07d0
3
+ metadata.gz: bcea55f952652a3a6d9aa9832a38e2f48ec3ac1f2f93761b1f713bf2e22d212e
4
+ data.tar.gz: 0e449a20fda8a88477829b2081bd9d8188495c096ade12ce649e7784d3b06089
5
5
  SHA512:
6
- metadata.gz: d89135c6a0fedada205a87f55a54345502cfba5eca8763ba03fec18bba935f42be0f22fad26b0fee89c297215ab79fa12e6189d31e9aa63e9b5d8cb6e6f5c233
7
- data.tar.gz: 9bf7319fdceb496d920d94b3d3445c5f6f1b7c35ca693eae6b1e373516200a213304dc874a689c21d65091db1f7be0236d6add05065da64f4fee06e97605ec9a
6
+ metadata.gz: a2a282bde1823d590255f9f301f709327d29407d9d896adb5c70f911d8862e0d8c187677274654d2e52cb068e4600d57ab8dd99525366158f5dd4364f0052b4b
7
+ data.tar.gz: 16fe60dd6d7fe847bd4f5223ad1496da72adc9aa26205964fa71b804b7b8b5d87e3ced21cf93d927ac751ba8d526ad1e03f8a1a2dbada4a00d0f43d94a717d67
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -1,4 +1,6 @@
1
1
  language: ruby
2
+ dist: trusty
3
+ sudo: false
2
4
  cache: bundler
3
5
  bundler_args: --without development
4
6
  before_script: "bin/rake refinery:testing:dummy_app"
@@ -9,8 +11,6 @@ notifications:
9
11
  webhooks:
10
12
  - https://webhooks.gitter.im/e/b5d48907cdc89864b874
11
13
  rvm:
12
- - 2.5.1
13
- - 2.4.4
14
- - 2.3.7
15
- - 2.2.10
16
- sudo: false
14
+ - 2.6.4
15
+ - 2.5.6
16
+ - 2.4.7
data/README.md CHANGED
@@ -1,3 +1,24 @@
1
1
  # Refinery CMS I18n [![Build Status](https://travis-ci.org/refinery/refinerycms-i18n.svg?branch=master)](https://travis-ci.org/refinery/refinerycms-i18n)
2
2
 
3
- I18n logic extracted from Refinery CMS, for Refinery CMS.
3
+ I18n logic extracted from Refinery CMS, for Refinery CMS.
4
+
5
+ ```ruby
6
+ gem 'refinerycms-i18n', '~> 4.0.1'
7
+ bundle install
8
+ rails g refinery:i18n
9
+ ```
10
+
11
+ ```ruby
12
+ Refinery::I18n.configure do |config|
13
+ config.default_locale = :en
14
+
15
+ # config.current_locale = :en
16
+
17
+ # config.default_frontend_locale = :en
18
+
19
+ config.frontend_locales = [:en,:ar]
20
+
21
+ config.locales = {:en=>"English", :ar=>"Arabic"}
22
+ #, :nl=>"Nederlands", :pt=>"Português", :"pt-BR"=>"Português brasileiro", :da=>"Dansk", :nb=>"Norsk Bokmål", :sl=>"Slovenian", :es=>"Español", :it=>"Italiano", :de=>"Deutsch", :lv=>"Latviski", :ru=>"Русский", :sv=>"Svenska", :pl=>"Polski", :"zh-CN"=>"简体中文", :"zh-TW"=>"繁體中文", :el=>"Ελληνικά", :rs=>"Srpski", :cs=>"Česky", :sk=>"Slovenský", :ja=>"日本語", :bg=>"Български", :hu=>"Hungarian", :uk=>"Українська"}
23
+ end
24
+ ```
@@ -1,21 +1,25 @@
1
1
  -----BEGIN CERTIFICATE-----
2
- MIIDhjCCAm6gAwIBAgIBATANBgkqhkiG9w0BAQUFADBNMQ0wCwYDVQQDDARnZW1z
3
- MREwDwYKCZImiZPyLGQBGRYBcDEVMBMGCgmSJomT8ixkARkWBWFybmR0MRIwEAYK
4
- CZImiZPyLGQBGRYCaW8wHhcNMTcwNzI1MTMxMjIwWhcNMTgwNzI1MTMxMjIwWjBN
5
- MQ0wCwYDVQQDDARnZW1zMREwDwYKCZImiZPyLGQBGRYBcDEVMBMGCgmSJomT8ixk
6
- ARkWBWFybmR0MRIwEAYKCZImiZPyLGQBGRYCaW8wggEiMA0GCSqGSIb3DQEBAQ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 64QhOWuk2CuGlt+tLMGbjR65W3SppBkvVd4yYHArbl4Z0qPG+TVrVrj2JEjo82rT
20
+ jIUDLkdUlQ/FmH5fHhbrtn5PMCXjto414YBC7aQUxQsiNCN2qhsjwiyzVBbBTjnA
21
+ 1sA043YnGOd1XylVtnrARK5eT7DhFGrMGMp/KvOg+T7q19+65jaopvHH4zFXzBcY
22
+ MxlH/7tMQ5+DdHcqbu3SOAe1/VaaRk28J0CdPZS6Y60YuRqL17Zg2WOODiBkA9WE
23
+ JjcyzdERZXsSPh+DT5PrllEbTNTZPbBcnAWjqdEWLtBIxD3JpgZHTmYP4I2ExAeu
24
+ 2Oqsxsw30MIZnh2Cw/xLRkc1I50luA==
21
25
  -----END CERTIFICATE-----
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{refinerycms-i18n}
5
- s.version = %q{5.0.0}
5
+ s.version = %q{5.0.1}
6
6
  s.description = %q{i18n logic extracted from Refinery CMS, for Refinery CMS.}
7
7
  s.summary = %q{i18n logic for Refinery CMS.}
8
8
  s.email = %q{info@refinerycms.com}
@@ -17,8 +17,8 @@ Gem::Specification.new do |s|
17
17
  s.required_ruby_version = '>= 2.2.9'
18
18
 
19
19
  s.add_dependency 'routing-filter', '~> 0.4'
20
- s.add_dependency 'rails-i18n', '~> 5.0'
21
- s.add_dependency 'mobility', '~> 0.6.0'
20
+ s.add_dependency 'rails-i18n', '>= 5.0'
21
+ s.add_dependency 'mobility', '~> 0.8.8'
22
22
 
23
23
  s.cert_chain = [File.expand_path("../certs/parndt.pem", __FILE__)]
24
24
  if $0 =~ /gem\z/ && ARGV.include?("build") && ARGV.include?(__FILE__)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: refinerycms-i18n
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.0
4
+ version: 5.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Philip Arndt
@@ -12,27 +12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UFiqDaDi5IXS25KECAwEAAaNxMG8wCQYDVR0TBAIwADAL
27
+ BgNVHQ8EBAMCBLAwHQYDVR0OBBYEFLzeU7GH0rvnvDchSWtJhceiUDDTMBoGA1Ud
28
+ EQQTMBGBD2dlbXNAcC5hcm5kdC5pbzAaBgNVHRIEEzARgQ9nZW1zQHAuYXJuZHQu
29
+ aW8wDQYJKoZIhvcNAQELBQADggGBABMRA737G23Oiy1xBgVJsDW5LgGbeK9JQCC9
30
+ eRdx22TDyrJ5vviqB22k13+zp/tq5fgeCsrk5iLAt5F/GgcP82p7pPm3qKi1QWip
31
+ cnQvy5fLKcl+PaIX/+PYGVKUfV/wA+NuP06RSnzvNPepcUvbTJdAr6nQVdIh/ftB
32
+ 64QhOWuk2CuGlt+tLMGbjR65W3SppBkvVd4yYHArbl4Z0qPG+TVrVrj2JEjo82rT
33
+ jIUDLkdUlQ/FmH5fHhbrtn5PMCXjto414YBC7aQUxQsiNCN2qhsjwiyzVBbBTjnA
34
+ 1sA043YnGOd1XylVtnrARK5eT7DhFGrMGMp/KvOg+T7q19+65jaopvHH4zFXzBcY
35
+ MxlH/7tMQ5+DdHcqbu3SOAe1/VaaRk28J0CdPZS6Y60YuRqL17Zg2WOODiBkA9WE
36
+ JjcyzdERZXsSPh+DT5PrllEbTNTZPbBcnAWjqdEWLtBIxD3JpgZHTmYP4I2ExAeu
37
+ 2Oqsxsw30MIZnh2Cw/xLRkc1I50luA==
34
38
  -----END CERTIFICATE-----
35
- date: 2018-05-25 00:00:00.000000000 Z
39
+ date: 2019-09-26 00:00:00.000000000 Z
36
40
  dependencies:
37
41
  - !ruby/object:Gem::Dependency
38
42
  name: routing-filter
@@ -52,14 +56,14 @@ dependencies:
52
56
  name: rails-i18n
53
57
  requirement: !ruby/object:Gem::Requirement
54
58
  requirements:
55
- - - "~>"
59
+ - - ">="
56
60
  - !ruby/object:Gem::Version
57
61
  version: '5.0'
58
62
  type: :runtime
59
63
  prerelease: false
60
64
  version_requirements: !ruby/object:Gem::Requirement
61
65
  requirements:
62
- - - "~>"
66
+ - - ">="
63
67
  - !ruby/object:Gem::Version
64
68
  version: '5.0'
65
69
  - !ruby/object:Gem::Dependency
@@ -68,14 +72,14 @@ dependencies:
68
72
  requirements:
69
73
  - - "~>"
70
74
  - !ruby/object:Gem::Version
71
- version: 0.6.0
75
+ version: 0.8.8
72
76
  type: :runtime
73
77
  prerelease: false
74
78
  version_requirements: !ruby/object:Gem::Requirement
75
79
  requirements:
76
80
  - - "~>"
77
81
  - !ruby/object:Gem::Version
78
- version: 0.6.0
82
+ version: 0.8.8
79
83
  description: i18n logic extracted from Refinery CMS, for Refinery CMS.
80
84
  email: info@refinerycms.com
81
85
  executables: []
@@ -380,8 +384,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
380
384
  - !ruby/object:Gem::Version
381
385
  version: '0'
382
386
  requirements: []
383
- rubyforge_project:
384
- rubygems_version: 2.7.6
387
+ rubygems_version: 3.0.3
385
388
  signing_key:
386
389
  specification_version: 4
387
390
  summary: i18n logic for Refinery CMS.
metadata.gz.sig CHANGED
@@ -1 +1,3 @@
1
- C )U�c�?g�S(�L��Iԍ�؂L#]p,z}DȺƫffބ��(��g��,k��8����`��&�[�RF��?&� ����Վ�?A5���ot�pp�?(����ЮQ���ܞ8��}lh��a�r���A�<�q�v�I���i,oZ�{��:�%�g��1<l�l���2�����:S�?9�J(ZE`��&Q-�C�ꂵ�}$��� Y�yVO��Z� �R��@����#�� ��-�~xښ�hцE�W& D��
1
+ tj�ǜ�u��?�^�a�:N��ތ�N���z2Ū*���[TT��@jk���[BmbO'��jfN<�mR��f���s���ՓS��V�/3�6Ԁ�
2
+ �����xUS�
3
+ |M߆�����*,ɀf��ѻ�}-PW<�hN��@�0?4�q�O`�`�ҪP��]\�f�$%b�s�4՘�#L$��<D��ݟ!��o)�Y�����b���⏷W]�^+� ���R��c���.�0���c�aɼ�o�OK�R9�c�'/b��R=�Cl������퓫f<+,ds��l7��>w���*��D���/@4�p��qQ�@�T��:��,j�N���"ÏS�(���