route_translator 4.4.0 → 4.4.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
  SHA1:
3
- metadata.gz: 05ad52625a32748551a12b0e27d2e5015b79d3f8
4
- data.tar.gz: dd8bf10e6a132f9d06eca06b472d90de6315179e
3
+ metadata.gz: 47e6b119bdebda6361df7598755063a84fa4c479
4
+ data.tar.gz: ea59bc43ae8626a318c3a768f39cf5e51cda19ae
5
5
  SHA512:
6
- metadata.gz: ba81dea5c5b94d54ae225e6d103061313c254c7e217ea3daf486472edcf2842c7b329d86c66980626baf5eeecf102b6bf1157273b30a187b7abb5332c495fbe9
7
- data.tar.gz: 0c912b8081f3a80b856318b0f3e3f1887ba5547f2cd89f9fa4c25cb95240fe743afe1355fe4e9dc31b0614886ce9094e9cc1753f38816aa51f75c00773988ef6
6
+ metadata.gz: 49d5166033a4b88019aa91325ca7b7953368e4235e942fb2f00f6c15227b7695863e4534237b46c3c59fb382f7db3dd56a21533bfce87e92d41ca7293da30792
7
+ data.tar.gz: 5fd05b592d73575cf6bf0e7229fe74ad8c56eb01d3f868a1b6d86cb13f852affbdfd067ada71a0e5a1a22f75f1cf15bdc94b733d542650d3179486d52ed1ce37
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## 4.4.1 (2016-07-15)
4
+
5
+ * Add private keyword in Segment module
6
+ * Update development dependencies
7
+
3
8
  ## 4.4.0 (2016-07-01)
4
9
 
5
10
  * Support custom locale path segments, i.e. /uk/en/widgets
data/README.md CHANGED
@@ -1,10 +1,10 @@
1
1
  # RouteTranslator
2
2
 
3
3
  [![Gem Version](https://badge.fury.io/rb/route_translator.svg)](http://badge.fury.io/rb/route_translator)
4
- [![Build Status](https://travis-ci.org/enriclluelles/route_translator.svg?branch=master)](https://travis-ci.org/enriclluelles/route_translator)
4
+ [![Build Status](https://travis-ci.org/enriclluelles/route_translator.svg?branch=4-stable)](https://travis-ci.org/enriclluelles/route_translator)
5
5
  [![Dependency Status](https://gemnasium.com/enriclluelles/route_translator.svg)](https://gemnasium.com/enriclluelles/route_translator)
6
6
  [![Code Climate](https://codeclimate.com/github/enriclluelles/route_translator/badges/gpa.svg)](https://codeclimate.com/github/enriclluelles/route_translator)
7
- [![Coverage Status](https://coveralls.io/repos/github/enriclluelles/route_translator/badge.svg?branch=master)](https://coveralls.io/github/enriclluelles/route_translator?branch=master)
7
+ [![Coverage Status](https://coveralls.io/repos/github/enriclluelles/route_translator/badge.svg?branch=4-stable)](https://coveralls.io/github/enriclluelles/route_translator?branch=4-stable)
8
8
 
9
9
  RouteTranslator is a gem to allow you to manage the translations of your app routes with a simple dictionary format.
10
10
 
@@ -3,6 +3,8 @@ module RouteTranslator
3
3
  module Path
4
4
  module Segment
5
5
  class << self
6
+ private
7
+
6
8
  def translate_string(str, locale)
7
9
  locale = locale.to_s.gsub('native_', '')
8
10
  opts = { scope: :routes, locale: locale }
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module RouteTranslator
3
- VERSION = '4.4.0'.freeze
3
+ VERSION = '4.4.1'.freeze
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: route_translator
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.4.0
4
+ version: 4.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Geremia Taglialatela
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2016-07-01 00:00:00.000000000 Z
13
+ date: 2016-07-15 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: activesupport
@@ -72,14 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 0.8.13
75
+ version: 0.8.14
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: 0.8.13
82
+ version: 0.8.14
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: minitest
85
85
  requirement: !ruby/object:Gem::Requirement
@@ -140,28 +140,28 @@ dependencies:
140
140
  requirements:
141
141
  - - "~>"
142
142
  - !ruby/object:Gem::Version
143
- version: 0.41.1
143
+ version: 0.41.2
144
144
  type: :development
145
145
  prerelease: false
146
146
  version_requirements: !ruby/object:Gem::Requirement
147
147
  requirements:
148
148
  - - "~>"
149
149
  - !ruby/object:Gem::Version
150
- version: 0.41.1
150
+ version: 0.41.2
151
151
  - !ruby/object:Gem::Dependency
152
152
  name: simplecov
153
153
  requirement: !ruby/object:Gem::Requirement
154
154
  requirements:
155
155
  - - "~>"
156
156
  - !ruby/object:Gem::Version
157
- version: 0.11.2
157
+ version: 0.12.0
158
158
  type: :development
159
159
  prerelease: false
160
160
  version_requirements: !ruby/object:Gem::Requirement
161
161
  requirements:
162
162
  - - "~>"
163
163
  - !ruby/object:Gem::Version
164
- version: 0.11.2
164
+ version: 0.12.0
165
165
  description: Translates the Rails routes of your application into the languages defined
166
166
  in your locale files
167
167
  email: