express_translate 1.0.9 → 1.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/README.md
CHANGED
|
@@ -23,14 +23,12 @@ I18n Translation Interface for end user in Rails app
|
|
|
23
23
|
## Installation
|
|
24
24
|
### 1. Gemfile
|
|
25
25
|
```bash
|
|
26
|
-
gem 'express_translate', '~> 1.0.
|
|
26
|
+
gem 'express_translate', '~> 1.0.10'
|
|
27
27
|
```
|
|
28
28
|
|
|
29
29
|
### 2. Setup
|
|
30
30
|
Run on terminal.
|
|
31
31
|
|
|
32
|
-
```gem install express_translate```
|
|
33
|
-
|
|
34
32
|
```bundle install```
|
|
35
33
|
|
|
36
34
|
### 3. Install
|
|
@@ -84,17 +82,27 @@ Note:
|
|
|
84
82
|
|
|
85
83
|
## Support
|
|
86
84
|
|
|
87
|
-
|
|
85
|
+
#### Import files
|
|
88
86
|
* CSV file
|
|
89
87
|
* YML file
|
|
90
88
|
|
|
91
|
-
|
|
89
|
+
#### Export files
|
|
92
90
|
* CSV file
|
|
93
91
|
|
|
94
|
-
|
|
92
|
+
#### Application
|
|
95
93
|
* Backend for Ruby on Rails
|
|
96
94
|
* Frontend (Single Page Application) with I18next (can you see more info: http://i18next.com)
|
|
97
95
|
|
|
96
|
+
## Supported ruby versions
|
|
97
|
+
- This library aims to support and is tested against the following Ruby implementations:
|
|
98
|
+
* Ruby 1.9.3
|
|
99
|
+
* Ruby 2.0.0
|
|
100
|
+
* Ruby 2.1.2
|
|
101
|
+
|
|
102
|
+
## Supported rails versions
|
|
103
|
+
- This library aims to support the following Rails implementations:
|
|
104
|
+
* More than Rails 3.0
|
|
105
|
+
|
|
98
106
|
## Contributing to formnestic
|
|
99
107
|
|
|
100
108
|
- Contribution, Suggestion and Issues are very much appreciated :). Please also fork and send your pull request!
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.10
|
data/express_translate.gemspec
CHANGED
|
@@ -4,7 +4,12 @@ module ExpressTranslate
|
|
|
4
4
|
require 'redis'
|
|
5
5
|
|
|
6
6
|
def self.redis
|
|
7
|
-
|
|
7
|
+
host = ExpressTranslate.config["connect"]["host"]
|
|
8
|
+
port = ExpressTranslate.config["connect"]["port"]
|
|
9
|
+
db = ExpressTranslate.config["connect"]["db"]
|
|
10
|
+
password =ExpressTranslate.config["connect"]["password"]
|
|
11
|
+
|
|
12
|
+
@redis ||= Redis.new(:url => "redis://:#{password}@#{host}:#{port}/#{db}")
|
|
8
13
|
end
|
|
9
14
|
|
|
10
15
|
def self.set(key, obj)
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: express_translate
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.10
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -409,7 +409,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
409
409
|
version: '0'
|
|
410
410
|
segments:
|
|
411
411
|
- 0
|
|
412
|
-
hash:
|
|
412
|
+
hash: -3428626290468336478
|
|
413
413
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
414
414
|
none: false
|
|
415
415
|
requirements:
|