tml 5.4.3 → 5.4.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/tml/version.rb +1 -1
- data/tasks/tml/cache.rake +44 -0
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f04411b1f920d215ccde7774eb751fec293d587e
|
4
|
+
data.tar.gz: 3ec933ac7376a594666e7fb3a26807c3dd8db471
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 864bb0e051749747d75aa3db32ad1bd608b80b197819db9fe4ec578d239a4ce2f26b8eb340d361aeeb0b9e9a3349b5b2cb966e00d54b90aea6e995da047aa455
|
7
|
+
data.tar.gz: 8779d294b89958bfa5d763eb629c9de44485ec6dbe97c95144fb6733f6a5577c7b6466f2a80ba53f3de8ddb6389b650af7915d036322e76e50d16b0afe36d90e
|
data/lib/tml/version.rb
CHANGED
@@ -0,0 +1,44 @@
|
|
1
|
+
require 'tml'
|
2
|
+
|
3
|
+
namespace :tml do
|
4
|
+
namespace :cache do
|
5
|
+
namespace :shared do
|
6
|
+
##########################################
|
7
|
+
## Shared Cache Management
|
8
|
+
##########################################
|
9
|
+
|
10
|
+
desc 'upgrades shared translation cache'
|
11
|
+
task :upgrade => :environment do
|
12
|
+
Tml.cache.upgrade_version
|
13
|
+
end
|
14
|
+
|
15
|
+
desc 'warms up dynamic cache'
|
16
|
+
task :warmup => :environment do
|
17
|
+
Tml.cache.warmup
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
namespace :local do
|
22
|
+
##########################################
|
23
|
+
## Local Cache Management
|
24
|
+
##########################################
|
25
|
+
|
26
|
+
desc 'downloads local file cache'
|
27
|
+
task :download => :environment do
|
28
|
+
Tml.cache.download
|
29
|
+
end
|
30
|
+
|
31
|
+
desc 'rolls back to the previous version'
|
32
|
+
task :rollback => :environment do
|
33
|
+
raise "Not yet supported"
|
34
|
+
# Tml.cache.rollback
|
35
|
+
end
|
36
|
+
|
37
|
+
desc 'rolls up to the next version'
|
38
|
+
task :rollup => :environment do
|
39
|
+
raise "Not yet supported"
|
40
|
+
# Tml.cache.rollup
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tml
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.4.
|
4
|
+
version: 5.4.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Berkovich
|
@@ -91,6 +91,7 @@ files:
|
|
91
91
|
- lib/tml/translator.rb
|
92
92
|
- lib/tml/utils.rb
|
93
93
|
- lib/tml/version.rb
|
94
|
+
- tasks/tml/cache.rake
|
94
95
|
homepage: https://github.com/translationexchange/tml-ruby
|
95
96
|
licenses:
|
96
97
|
- MIT-LICENSE
|