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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: feaf6bc2570ce5c1991d67c9b235f507b2c58f2f
4
- data.tar.gz: f809be2ed64e60c5c40bf3c3cbb5bd66e28e0969
3
+ metadata.gz: f04411b1f920d215ccde7774eb751fec293d587e
4
+ data.tar.gz: 3ec933ac7376a594666e7fb3a26807c3dd8db471
5
5
  SHA512:
6
- metadata.gz: 1c459edbe540afa5dc514a56febae091f6a1f4176fef03c1d531c12e6336000d9bb3c7e6b002b0a5221334c077cefe8aaf4746ee435d29f053e0bb3a0d64f401
7
- data.tar.gz: 0b0a89113b6ee5279557891fce239e941e83c0e9bdb070cf9430e3b73e23b283ecb39f41993cc5bf0232dd76175ac69e5b2174614dea1921f9407c8e6af2727c
6
+ metadata.gz: 864bb0e051749747d75aa3db32ad1bd608b80b197819db9fe4ec578d239a4ce2f26b8eb340d361aeeb0b9e9a3349b5b2cb966e00d54b90aea6e995da047aa455
7
+ data.tar.gz: 8779d294b89958bfa5d763eb629c9de44485ec6dbe97c95144fb6733f6a5577c7b6466f2a80ba53f3de8ddb6389b650af7915d036322e76e50d16b0afe36d90e
data/lib/tml/version.rb CHANGED
@@ -31,7 +31,7 @@
31
31
  #++
32
32
 
33
33
  module Tml
34
- VERSION = '5.4.3'
34
+ VERSION = '5.4.4'
35
35
 
36
36
  def self.full_version
37
37
  "tml-ruby v#{Tml::VERSION} (Faraday v#{Faraday::VERSION})"
@@ -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.3
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