i18n-backend-side_by_side 1.0.0 → 1.1.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
- SHA1:
3
- metadata.gz: 8d311a7851ea64a4d1115d3f7d675f44b0606d3d
4
- data.tar.gz: c7f81ea78dfac9b4d0c8fd9ced3fa081f23d39a4
2
+ SHA256:
3
+ metadata.gz: 4eb09d448c322c9e08438f478d0136d998580cddbd0ab4711355ebacb006b5bf
4
+ data.tar.gz: ec83849a97886478c059f42fae7d6729acb14343c7f0b99eb60193085c1f7bda
5
5
  SHA512:
6
- metadata.gz: 2dfde3d797ea374e4d188c8dbe737bd35c4fdbfee4ccc7c7e4539e719a0bd0a7e0141d946e57fd902cad3fbadac0554d2f5f2e3a9eaef731f864f2f17f869b51
7
- data.tar.gz: 59e9aa42b0b68db073af5e20fc0bf2fecfc41487587cc49737cf9a545a582140f0dcdca9f1d4e676a95d6d05c3a199f830434d89f4146f25250bdcb163917997
6
+ metadata.gz: 58ff92fdc52b1042178b74b69aec8eab6c2ddc0b3e91f978454988887c668ba8186e9c0b6d6fe9784ee7df4a4bb02b9c8754ebd64a4d54c5480815733f7793ee
7
+ data.tar.gz: 8db27c55cbe778ce3d8f67581adcc3cb4b23b40336942bbfe7f9e05756ee8143ebe558b3c7e37da49fcf46a12bf43204fdf4d2f53bb38eded3db3e15ccfbdc91
@@ -0,0 +1,12 @@
1
+ sudo: false
2
+ language: ruby
3
+ cache: bundler
4
+ script: bundle exec rake test
5
+ rvm:
6
+ - 2.7.0
7
+ env:
8
+ - I18N_HEAD=0
9
+ - I18N_HEAD=1
10
+ matrix:
11
+ allow_failures:
12
+ - env: I18N_HEAD=1
@@ -0,0 +1,5 @@
1
+ # CHANGELOG
2
+
3
+ ## v1.1.0
4
+
5
+ - Remove upper bound on i18n dependency
data/Gemfile CHANGED
@@ -1,3 +1,5 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
3
  gemspec
4
+
5
+ gem 'i18n', github: 'svenfuchs/i18n' if ENV['I18N_HEAD'] == '1'
data/README.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # i18n-backend-side\_by\_side
2
2
 
3
+ [![Build Status](https://travis-ci.org/electric-feel/i18n-backend-side_by_side.svg)](https://travis-ci.org/electric-feel/i18n-backend-side_by_side)
4
+ [![Gem Version](https://badge.fury.io/rb/i18n-backend-side_by_side.svg)](https://rubygems.org/gems/i18n-backend-side_by_side)
5
+
3
6
  **Tired of jumping between language files when translating keys? Stop jumping
4
7
  and have all the languages side by side.**
5
8
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.0
1
+ 1.1.0
@@ -16,9 +16,9 @@ Gem::Specification.new do |spec|
16
16
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
17
17
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
18
18
  spec.require_paths = ['lib']
19
+ spec.required_ruby_version = '>= 2.0.0'
19
20
 
20
- spec.add_development_dependency 'bundler', '~> 1.7'
21
- spec.add_development_dependency 'rake', '~> 10.0'
22
- spec.add_development_dependency 'minitest', '~> 5.8'
23
- spec.add_dependency 'i18n', '< 1'
21
+ spec.add_development_dependency 'rake'
22
+ spec.add_development_dependency 'minitest'
23
+ spec.add_dependency 'i18n', '>= 1.3.0'
24
24
  end
@@ -1,7 +1,10 @@
1
1
  require 'i18n'
2
+ require 'i18n/core_ext/hash'
2
3
 
3
4
  module I18n
4
5
  module Backend
6
+ using HashRefinements
7
+
5
8
  class SideBySide < Simple
6
9
  VERSION = File.read(File.expand_path('../../../../VERSION', __FILE__))
7
10
  LOCALE_PREFIX = '_'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: i18n-backend-side_by_side
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Philipe Fatio
@@ -9,64 +9,50 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-08-25 00:00:00.000000000 Z
12
+ date: 2020-02-27 00:00:00.000000000 Z
13
13
  dependencies:
14
- - !ruby/object:Gem::Dependency
15
- name: bundler
16
- requirement: !ruby/object:Gem::Requirement
17
- requirements:
18
- - - "~>"
19
- - !ruby/object:Gem::Version
20
- version: '1.7'
21
- type: :development
22
- prerelease: false
23
- version_requirements: !ruby/object:Gem::Requirement
24
- requirements:
25
- - - "~>"
26
- - !ruby/object:Gem::Version
27
- version: '1.7'
28
14
  - !ruby/object:Gem::Dependency
29
15
  name: rake
30
16
  requirement: !ruby/object:Gem::Requirement
31
17
  requirements:
32
- - - "~>"
18
+ - - ">="
33
19
  - !ruby/object:Gem::Version
34
- version: '10.0'
20
+ version: '0'
35
21
  type: :development
36
22
  prerelease: false
37
23
  version_requirements: !ruby/object:Gem::Requirement
38
24
  requirements:
39
- - - "~>"
25
+ - - ">="
40
26
  - !ruby/object:Gem::Version
41
- version: '10.0'
27
+ version: '0'
42
28
  - !ruby/object:Gem::Dependency
43
29
  name: minitest
44
30
  requirement: !ruby/object:Gem::Requirement
45
31
  requirements:
46
- - - "~>"
32
+ - - ">="
47
33
  - !ruby/object:Gem::Version
48
- version: '5.8'
34
+ version: '0'
49
35
  type: :development
50
36
  prerelease: false
51
37
  version_requirements: !ruby/object:Gem::Requirement
52
38
  requirements:
53
- - - "~>"
39
+ - - ">="
54
40
  - !ruby/object:Gem::Version
55
- version: '5.8'
41
+ version: '0'
56
42
  - !ruby/object:Gem::Dependency
57
43
  name: i18n
58
44
  requirement: !ruby/object:Gem::Requirement
59
45
  requirements:
60
- - - "<"
46
+ - - ">="
61
47
  - !ruby/object:Gem::Version
62
- version: '1'
48
+ version: 1.3.0
63
49
  type: :runtime
64
50
  prerelease: false
65
51
  version_requirements: !ruby/object:Gem::Requirement
66
52
  requirements:
67
- - - "<"
53
+ - - ">="
68
54
  - !ruby/object:Gem::Version
69
- version: '1'
55
+ version: 1.3.0
70
56
  description: Tired of jumping between language files when translating keys? Stop jumping
71
57
  and have all the languages side by side.
72
58
  email:
@@ -77,6 +63,8 @@ extensions: []
77
63
  extra_rdoc_files: []
78
64
  files:
79
65
  - ".gitignore"
66
+ - ".travis.yml"
67
+ - CHANGELOG.md
80
68
  - Gemfile
81
69
  - LICENSE.txt
82
70
  - README.md
@@ -100,15 +88,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
100
88
  requirements:
101
89
  - - ">="
102
90
  - !ruby/object:Gem::Version
103
- version: '0'
91
+ version: 2.0.0
104
92
  required_rubygems_version: !ruby/object:Gem::Requirement
105
93
  requirements:
106
94
  - - ">="
107
95
  - !ruby/object:Gem::Version
108
96
  version: '0'
109
97
  requirements: []
110
- rubyforge_project:
111
- rubygems_version: 2.4.5
98
+ rubygems_version: 3.1.2
112
99
  signing_key:
113
100
  specification_version: 4
114
101
  summary: Tired of jumping between language files when translating keys? Stop jumping