redis_dictionary 0.9.9 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +4 -2
- data/lib/generators/redis_dictionary/install/USAGE +8 -0
- data/lib/generators/redis_dictionary/install/install_generator.rb +18 -0
- data/lib/generators/redis_dictionary/install/templates/redis_dictionary.rb.erb +19 -0
- data/lib/redis_dictionary/version.rb +2 -2
- data/test/dummy/log/test.log +134 -0
- metadata +64 -34
- checksums.yaml +0 -7
- data/config/environment.rb +0 -1
data/README.md
CHANGED
@@ -25,12 +25,14 @@ And then execute:
|
|
25
25
|
|
26
26
|
$ bundle
|
27
27
|
|
28
|
-
|
28
|
+
And finally execute:
|
29
29
|
|
30
30
|
``` ruby
|
31
|
-
|
31
|
+
|
32
|
+
rails g redis_dictionary:install
|
32
33
|
```
|
33
34
|
|
35
|
+
|
34
36
|
## Thanks
|
35
37
|
|
36
38
|
* [Jose Galisteo](https://github.com/ceritium) for writing [I18n_dashboard](https://github.com/fourmach/i18n_dashboard)
|
@@ -0,0 +1,18 @@
|
|
1
|
+
module RedisDictionary
|
2
|
+
module Generators
|
3
|
+
class InstallGenerator < Rails::Generators::Base
|
4
|
+
|
5
|
+
source_root File.expand_path('../templates', __FILE__)
|
6
|
+
|
7
|
+
desc "Installs Redis Dictionary and generates initializer + route"
|
8
|
+
|
9
|
+
def copy_initializer
|
10
|
+
template 'redis_dictionary.rb.erb', 'config/initializers/redis_dictionary.rb'
|
11
|
+
end
|
12
|
+
|
13
|
+
def setup_routes
|
14
|
+
route "mount RedisDictionary::Engine => '/translations'"
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# loading the engine
|
2
|
+
RedisDictionary::Engine.load!
|
3
|
+
|
4
|
+
# initialization of redis store
|
5
|
+
TRANSLATION_STORE = Redis.new
|
6
|
+
begin
|
7
|
+
TRANSLATION_STORE.ping
|
8
|
+
rescue Redis::CannotConnectError => e
|
9
|
+
puts "Error: Redis is not turned ON ! Please do so with 'redis-server' "
|
10
|
+
exit 1
|
11
|
+
end
|
12
|
+
I18n.backend = I18n::Backend::Chain.new(I18n::Backend::KeyValue.new(TRANSLATION_STORE), I18n.backend)
|
13
|
+
RedisDictionary::Engine.redis = TRANSLATION_STORE
|
14
|
+
|
15
|
+
# You can set your available locales
|
16
|
+
# I18n.available_locales = [:en, :cs]
|
17
|
+
|
18
|
+
# default locale
|
19
|
+
I18n.default_locale = :en
|
@@ -1,3 +1,3 @@
|
|
1
1
|
module RedisDictionary
|
2
|
-
VERSION = "0.
|
3
|
-
end
|
2
|
+
VERSION = "1.0.0"
|
3
|
+
end
|
data/test/dummy/log/test.log
CHANGED
@@ -1267,5 +1267,139 @@ Completed 200 OK in 16ms (Views: 14.9ms | ActiveRecord: 0.0ms)
|
|
1267
1267
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1268
1268
|
------------------------------------------------------------------------------------
|
1269
1269
|
RedisDictionaryTest: test_should_allow_developers_to_set_configurations_with_a_block
|
1270
|
+
------------------------------------------------------------------------------------
|
1271
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1272
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
1273
|
+
-------------------------------------------------------------------------------------
|
1274
|
+
RedisDictionary::ApplicationHelperTest: test_should_know_named_routes_of_the_main_app
|
1275
|
+
-------------------------------------------------------------------------------------
|
1276
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1277
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1278
|
+
------------------------------------------------------------------------------------------------------
|
1279
|
+
RedisDictionary::ApplicationHelperTest: test_should_not_know_anything_but_named_routes_of_the_main_app
|
1280
|
+
------------------------------------------------------------------------------------------------------
|
1281
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1282
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1283
|
+
-----------------------------------------------------------------------------------------------------------
|
1284
|
+
RedisDictionary::ApplicationHelperTest: test_should_not_know_named_routes_of_the_main_app_if_not_configured
|
1285
|
+
-----------------------------------------------------------------------------------------------------------
|
1286
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1287
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1288
|
+
-------------------------------------------------------------------------
|
1289
|
+
RedisDictionary::ApplicationHelperTest: test_should_not_know_other_routes
|
1290
|
+
-------------------------------------------------------------------------
|
1291
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1292
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1293
|
+
---------------------------------------------------------------------------------
|
1294
|
+
RedisDictionary::ConfigurationTest: test_should_set_:authentication_method_to_nil
|
1295
|
+
---------------------------------------------------------------------------------
|
1296
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1297
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1298
|
+
------------------------------------------------------------------------------------------
|
1299
|
+
RedisDictionary::ConfigurationTest: test_should_set_:inline_main_app_named_routes_to_false
|
1300
|
+
------------------------------------------------------------------------------------------
|
1301
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1302
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1303
|
+
------------------------------------------------------------------
|
1304
|
+
RedisDictionary::ConfigurationTest: test_should_set_:layout_to_nil
|
1305
|
+
------------------------------------------------------------------
|
1306
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1307
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1308
|
+
-------------------------------------------------------------------------
|
1309
|
+
RedisDictionary::TranslationTest: test_should_add_the_key_to_the_set_keys
|
1310
|
+
-------------------------------------------------------------------------
|
1311
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1312
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1313
|
+
---------------------------------------------------------------------------
|
1314
|
+
RedisDictionary::TranslationTest: test_should_be_exist_on_I18n_translations
|
1315
|
+
---------------------------------------------------------------------------
|
1316
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1317
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1318
|
+
------------------------------------------------------------------------------
|
1319
|
+
RedisDictionary::TranslationTest: test_should_be_true_if_exists_in_system_keys
|
1320
|
+
------------------------------------------------------------------------------
|
1321
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1322
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1323
|
+
-------------------------------------------------------------------------------
|
1324
|
+
RedisDictionary::TranslationTest: test_should_be_true_if_the_translation_exists
|
1325
|
+
-------------------------------------------------------------------------------
|
1326
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1327
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1328
|
+
-----------------------------------------------------------------
|
1329
|
+
RedisDictionary::TranslationTest: test_should_create_a_key_digest
|
1330
|
+
-----------------------------------------------------------------
|
1331
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1332
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1333
|
+
---------------------------------------------------------------------
|
1334
|
+
RedisDictionary::TranslationTest: test_should_remove_from_keys_digest
|
1335
|
+
---------------------------------------------------------------------
|
1336
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1337
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1338
|
+
----------------------------------------------------------------------
|
1339
|
+
RedisDictionary::TranslationTest: test_should_remove_the_key_from_keys
|
1340
|
+
----------------------------------------------------------------------
|
1341
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1342
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1343
|
+
--------------------------------------------------------------------
|
1344
|
+
RedisDictionary::TranslationTest: test_should_remove_the_translation
|
1345
|
+
--------------------------------------------------------------------
|
1346
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1347
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1348
|
+
---------------------------------------------------------------
|
1349
|
+
RedisDictionary::TranslationTest: test_should_return_match_keys
|
1350
|
+
---------------------------------------------------------------
|
1351
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1352
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1353
|
+
-------------------------------------------------------------------------
|
1354
|
+
RedisDictionary::TranslationTest: test_should_return_sorted_array_of_keys
|
1355
|
+
-------------------------------------------------------------------------
|
1356
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1357
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1358
|
+
--------------------------------------------------------------------------------
|
1359
|
+
RedisDictionary::TranslationTest: test_should_return_sorted_array_of_system_keys
|
1360
|
+
--------------------------------------------------------------------------------
|
1361
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1362
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1363
|
+
-----------------------------------------------------------------------------------------
|
1364
|
+
RedisDictionary::TranslationTest: test_should_return_union_of_keys_and_system_keys_sorted
|
1365
|
+
-----------------------------------------------------------------------------------------
|
1366
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1367
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1368
|
+
-------------------------------------------------------------------------------
|
1369
|
+
RedisDictionary::TranslationsControllerTest: test_should_delete_destroy_as_HTML
|
1370
|
+
-------------------------------------------------------------------------------
|
1371
|
+
Processing by RedisDictionary::TranslationsController#destroy as HTML
|
1372
|
+
Redirected to http://test.host/
|
1373
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.0ms)
|
1374
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1375
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1376
|
+
-----------------------------------------------------------------------------
|
1377
|
+
RedisDictionary::TranslationsControllerTest: test_should_delete_destroy_as_JS
|
1378
|
+
-----------------------------------------------------------------------------
|
1379
|
+
Processing by RedisDictionary::TranslationsController#destroy as JS
|
1380
|
+
Completed 200 OK in 38ms (Views: 36.4ms | ActiveRecord: 0.0ms)
|
1381
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1382
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1383
|
+
----------------------------------------------------------------------------
|
1384
|
+
RedisDictionary::TranslationsControllerTest: test_should_post_create_as_HTML
|
1385
|
+
----------------------------------------------------------------------------
|
1386
|
+
Processing by RedisDictionary::TranslationsController#create as HTML
|
1387
|
+
Parameters: {"key"=>"test.lol", "value"=>"lol", "locale"=>"es"}
|
1388
|
+
Redirected to http://test.host/
|
1389
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.0ms)
|
1390
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1391
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1392
|
+
--------------------------------------------------------------------------
|
1393
|
+
RedisDictionary::TranslationsControllerTest: test_should_post_create_as_JS
|
1394
|
+
--------------------------------------------------------------------------
|
1395
|
+
Processing by RedisDictionary::TranslationsController#create as JS
|
1396
|
+
Parameters: {"key"=>"test.lol", "value"=>"lol", "locale"=>"es"}
|
1397
|
+
Rendered /Users/Redrick/Projects/redis_dictionary/app/views/redis_dictionary/translations/_key_translation.html.erb (10.0ms)
|
1398
|
+
Rendered /Users/Redrick/Projects/redis_dictionary/app/views/redis_dictionary/translations/_key_translation.html.erb (2.9ms)
|
1399
|
+
Completed 200 OK in 22ms (Views: 20.5ms | ActiveRecord: 0.0ms)
|
1400
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1401
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1402
|
+
------------------------------------------------------------------------------------
|
1403
|
+
RedisDictionaryTest: test_should_allow_developers_to_set_configurations_with_a_block
|
1270
1404
|
------------------------------------------------------------------------------------
|
1271
1405
|
[1m[35m (0.1ms)[0m rollback transaction
|
metadata
CHANGED
@@ -1,7 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: redis_dictionary
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
|
+
prerelease:
|
5
6
|
platform: ruby
|
6
7
|
authors:
|
7
8
|
- Fourmach
|
@@ -10,188 +11,214 @@ authors:
|
|
10
11
|
autorequire:
|
11
12
|
bindir: bin
|
12
13
|
cert_chain: []
|
13
|
-
date: 2013-10-
|
14
|
+
date: 2013-10-05 00:00:00.000000000 Z
|
14
15
|
dependencies:
|
15
16
|
- !ruby/object:Gem::Dependency
|
16
17
|
name: rails
|
17
18
|
requirement: !ruby/object:Gem::Requirement
|
19
|
+
none: false
|
18
20
|
requirements:
|
19
|
-
- - '>='
|
21
|
+
- - ! '>='
|
20
22
|
- !ruby/object:Gem::Version
|
21
23
|
version: '0'
|
22
24
|
type: :runtime
|
23
25
|
prerelease: false
|
24
26
|
version_requirements: !ruby/object:Gem::Requirement
|
27
|
+
none: false
|
25
28
|
requirements:
|
26
|
-
- - '>='
|
29
|
+
- - ! '>='
|
27
30
|
- !ruby/object:Gem::Version
|
28
31
|
version: '0'
|
29
32
|
- !ruby/object:Gem::Dependency
|
30
33
|
name: jquery-rails
|
31
34
|
requirement: !ruby/object:Gem::Requirement
|
35
|
+
none: false
|
32
36
|
requirements:
|
33
|
-
- - '>='
|
37
|
+
- - ! '>='
|
34
38
|
- !ruby/object:Gem::Version
|
35
39
|
version: '0'
|
36
40
|
type: :runtime
|
37
41
|
prerelease: false
|
38
42
|
version_requirements: !ruby/object:Gem::Requirement
|
43
|
+
none: false
|
39
44
|
requirements:
|
40
|
-
- - '>='
|
45
|
+
- - ! '>='
|
41
46
|
- !ruby/object:Gem::Version
|
42
47
|
version: '0'
|
43
48
|
- !ruby/object:Gem::Dependency
|
44
49
|
name: jquery-ui-rails
|
45
50
|
requirement: !ruby/object:Gem::Requirement
|
51
|
+
none: false
|
46
52
|
requirements:
|
47
|
-
- - '>='
|
53
|
+
- - ! '>='
|
48
54
|
- !ruby/object:Gem::Version
|
49
55
|
version: '0'
|
50
56
|
type: :runtime
|
51
57
|
prerelease: false
|
52
58
|
version_requirements: !ruby/object:Gem::Requirement
|
59
|
+
none: false
|
53
60
|
requirements:
|
54
|
-
- - '>='
|
61
|
+
- - ! '>='
|
55
62
|
- !ruby/object:Gem::Version
|
56
63
|
version: '0'
|
57
64
|
- !ruby/object:Gem::Dependency
|
58
65
|
name: redis
|
59
66
|
requirement: !ruby/object:Gem::Requirement
|
67
|
+
none: false
|
60
68
|
requirements:
|
61
|
-
- - '>='
|
69
|
+
- - ! '>='
|
62
70
|
- !ruby/object:Gem::Version
|
63
71
|
version: '0'
|
64
72
|
type: :runtime
|
65
73
|
prerelease: false
|
66
74
|
version_requirements: !ruby/object:Gem::Requirement
|
75
|
+
none: false
|
67
76
|
requirements:
|
68
|
-
- - '>='
|
77
|
+
- - ! '>='
|
69
78
|
- !ruby/object:Gem::Version
|
70
79
|
version: '0'
|
71
80
|
- !ruby/object:Gem::Dependency
|
72
81
|
name: uglifier
|
73
82
|
requirement: !ruby/object:Gem::Requirement
|
83
|
+
none: false
|
74
84
|
requirements:
|
75
|
-
- - '>='
|
85
|
+
- - ! '>='
|
76
86
|
- !ruby/object:Gem::Version
|
77
87
|
version: '0'
|
78
88
|
type: :runtime
|
79
89
|
prerelease: false
|
80
90
|
version_requirements: !ruby/object:Gem::Requirement
|
91
|
+
none: false
|
81
92
|
requirements:
|
82
|
-
- - '>='
|
93
|
+
- - ! '>='
|
83
94
|
- !ruby/object:Gem::Version
|
84
95
|
version: '0'
|
85
96
|
- !ruby/object:Gem::Dependency
|
86
97
|
name: will_paginate
|
87
98
|
requirement: !ruby/object:Gem::Requirement
|
99
|
+
none: false
|
88
100
|
requirements:
|
89
|
-
- - '>='
|
101
|
+
- - ! '>='
|
90
102
|
- !ruby/object:Gem::Version
|
91
103
|
version: '0'
|
92
104
|
type: :runtime
|
93
105
|
prerelease: false
|
94
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
none: false
|
95
108
|
requirements:
|
96
|
-
- - '>='
|
109
|
+
- - ! '>='
|
97
110
|
- !ruby/object:Gem::Version
|
98
111
|
version: '0'
|
99
112
|
- !ruby/object:Gem::Dependency
|
100
113
|
name: less-rails
|
101
114
|
requirement: !ruby/object:Gem::Requirement
|
115
|
+
none: false
|
102
116
|
requirements:
|
103
|
-
- - '>='
|
117
|
+
- - ! '>='
|
104
118
|
- !ruby/object:Gem::Version
|
105
119
|
version: '0'
|
106
120
|
type: :runtime
|
107
121
|
prerelease: false
|
108
122
|
version_requirements: !ruby/object:Gem::Requirement
|
123
|
+
none: false
|
109
124
|
requirements:
|
110
|
-
- - '>='
|
125
|
+
- - ! '>='
|
111
126
|
- !ruby/object:Gem::Version
|
112
127
|
version: '0'
|
113
128
|
- !ruby/object:Gem::Dependency
|
114
129
|
name: twitter-bootstrap-rails
|
115
130
|
requirement: !ruby/object:Gem::Requirement
|
131
|
+
none: false
|
116
132
|
requirements:
|
117
|
-
- - '>='
|
133
|
+
- - ! '>='
|
118
134
|
- !ruby/object:Gem::Version
|
119
135
|
version: '0'
|
120
136
|
type: :runtime
|
121
137
|
prerelease: false
|
122
138
|
version_requirements: !ruby/object:Gem::Requirement
|
139
|
+
none: false
|
123
140
|
requirements:
|
124
|
-
- - '>='
|
141
|
+
- - ! '>='
|
125
142
|
- !ruby/object:Gem::Version
|
126
143
|
version: '0'
|
127
144
|
- !ruby/object:Gem::Dependency
|
128
145
|
name: simplecov
|
129
146
|
requirement: !ruby/object:Gem::Requirement
|
147
|
+
none: false
|
130
148
|
requirements:
|
131
|
-
- - '>='
|
149
|
+
- - ! '>='
|
132
150
|
- !ruby/object:Gem::Version
|
133
151
|
version: '0'
|
134
152
|
type: :development
|
135
153
|
prerelease: false
|
136
154
|
version_requirements: !ruby/object:Gem::Requirement
|
155
|
+
none: false
|
137
156
|
requirements:
|
138
|
-
- - '>='
|
157
|
+
- - ! '>='
|
139
158
|
- !ruby/object:Gem::Version
|
140
159
|
version: '0'
|
141
160
|
- !ruby/object:Gem::Dependency
|
142
161
|
name: coveralls
|
143
162
|
requirement: !ruby/object:Gem::Requirement
|
163
|
+
none: false
|
144
164
|
requirements:
|
145
|
-
- - '>='
|
165
|
+
- - ! '>='
|
146
166
|
- !ruby/object:Gem::Version
|
147
167
|
version: '0'
|
148
168
|
type: :development
|
149
169
|
prerelease: false
|
150
170
|
version_requirements: !ruby/object:Gem::Requirement
|
171
|
+
none: false
|
151
172
|
requirements:
|
152
|
-
- - '>='
|
173
|
+
- - ! '>='
|
153
174
|
- !ruby/object:Gem::Version
|
154
175
|
version: '0'
|
155
176
|
- !ruby/object:Gem::Dependency
|
156
177
|
name: capybara
|
157
178
|
requirement: !ruby/object:Gem::Requirement
|
179
|
+
none: false
|
158
180
|
requirements:
|
159
|
-
- - '>='
|
181
|
+
- - ! '>='
|
160
182
|
- !ruby/object:Gem::Version
|
161
183
|
version: '0'
|
162
184
|
type: :development
|
163
185
|
prerelease: false
|
164
186
|
version_requirements: !ruby/object:Gem::Requirement
|
187
|
+
none: false
|
165
188
|
requirements:
|
166
|
-
- - '>='
|
189
|
+
- - ! '>='
|
167
190
|
- !ruby/object:Gem::Version
|
168
191
|
version: '0'
|
169
192
|
- !ruby/object:Gem::Dependency
|
170
193
|
name: poltergeist
|
171
194
|
requirement: !ruby/object:Gem::Requirement
|
195
|
+
none: false
|
172
196
|
requirements:
|
173
|
-
- - '>='
|
197
|
+
- - ! '>='
|
174
198
|
- !ruby/object:Gem::Version
|
175
199
|
version: '0'
|
176
200
|
type: :development
|
177
201
|
prerelease: false
|
178
202
|
version_requirements: !ruby/object:Gem::Requirement
|
203
|
+
none: false
|
179
204
|
requirements:
|
180
|
-
- - '>='
|
205
|
+
- - ! '>='
|
181
206
|
- !ruby/object:Gem::Version
|
182
207
|
version: '0'
|
183
208
|
- !ruby/object:Gem::Dependency
|
184
209
|
name: sqlite3
|
185
210
|
requirement: !ruby/object:Gem::Requirement
|
211
|
+
none: false
|
186
212
|
requirements:
|
187
|
-
- - '>='
|
213
|
+
- - ! '>='
|
188
214
|
- !ruby/object:Gem::Version
|
189
215
|
version: '0'
|
190
216
|
type: :development
|
191
217
|
prerelease: false
|
192
218
|
version_requirements: !ruby/object:Gem::Requirement
|
219
|
+
none: false
|
193
220
|
requirements:
|
194
|
-
- - '>='
|
221
|
+
- - ! '>='
|
195
222
|
- !ruby/object:Gem::Version
|
196
223
|
version: '0'
|
197
224
|
description:
|
@@ -217,9 +244,11 @@ files:
|
|
217
244
|
- app/views/redis_dictionary/translations/create.js.erb
|
218
245
|
- app/views/redis_dictionary/translations/destroy.js.erb
|
219
246
|
- app/views/redis_dictionary/translations/index.html.erb
|
220
|
-
- config/environment.rb
|
221
247
|
- config/initializers/will_paginate.rb
|
222
248
|
- config/routes.rb
|
249
|
+
- lib/generators/redis_dictionary/install/install_generator.rb
|
250
|
+
- lib/generators/redis_dictionary/install/templates/redis_dictionary.rb.erb
|
251
|
+
- lib/generators/redis_dictionary/install/USAGE
|
223
252
|
- lib/redis_dictionary/configuration.rb
|
224
253
|
- lib/redis_dictionary/engine.rb
|
225
254
|
- lib/redis_dictionary/version.rb
|
@@ -269,26 +298,27 @@ files:
|
|
269
298
|
homepage: https://github.com/redrick/redis_dictionary
|
270
299
|
licenses:
|
271
300
|
- MIT
|
272
|
-
metadata: {}
|
273
301
|
post_install_message:
|
274
302
|
rdoc_options: []
|
275
303
|
require_paths:
|
276
304
|
- lib
|
277
305
|
required_ruby_version: !ruby/object:Gem::Requirement
|
306
|
+
none: false
|
278
307
|
requirements:
|
279
|
-
- - '>='
|
308
|
+
- - ! '>='
|
280
309
|
- !ruby/object:Gem::Version
|
281
310
|
version: 1.9.3
|
282
311
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
312
|
+
none: false
|
283
313
|
requirements:
|
284
|
-
- - '>='
|
314
|
+
- - ! '>='
|
285
315
|
- !ruby/object:Gem::Version
|
286
316
|
version: '0'
|
287
317
|
requirements: []
|
288
318
|
rubyforge_project:
|
289
|
-
rubygems_version:
|
319
|
+
rubygems_version: 1.8.25
|
290
320
|
signing_key:
|
291
|
-
specification_version:
|
321
|
+
specification_version: 3
|
292
322
|
summary: Rails frontend for i18n with redis backend as extended version of fourmach/i18n_dashboard
|
293
323
|
gem.
|
294
324
|
test_files:
|
checksums.yaml
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
---
|
2
|
-
SHA1:
|
3
|
-
metadata.gz: a81230abf55d345ef05c717340e9fc15f9a6819f
|
4
|
-
data.tar.gz: bca73f47be1fee528192a4b4e32f36f675a0e50a
|
5
|
-
SHA512:
|
6
|
-
metadata.gz: 64f70fa85529d8da91a6f5ca0a6c42a9bf44a51b70a0d8d74a93bd1e0768b1f6da7e748d8ad592bbadbaf2e2098656a6a860aa6959d85796fa00df18c7b79b99
|
7
|
-
data.tar.gz: b0ac43edd90595c2be1ca370e2ba86f39f8cd74fa7fc9b4c6dfca25894d469c4b9b1ce94e7f5e2ca3e1cea4c1087a4ee9c1e001cc74995f32be6ef4ec1e9dac3
|
data/config/environment.rb
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
RedisDictionary::Engine.load!
|