web_translate_it 2.4.10 → 2.4.11

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
  SHA256:
3
- metadata.gz: eb3fcef09897665d610fe38915e9a5f68858357f6e11839be6f34c10286dfb0f
4
- data.tar.gz: 70cad073ebdac68cceb0d54688a0168f9794d9ca9adeda8520a5cecce68d021d
3
+ metadata.gz: 66a5c317674bbe2ed5e34456a69f2a4a927d7574d12e6131709c947acb8fa3bb
4
+ data.tar.gz: 262ca5d895379b6f43a3541917b81f8844d9d3d5d72db86f63fc0388757d703a
5
5
  SHA512:
6
- metadata.gz: 755ac1081486d0937458aa143093f9ba017d5c012bc972cf46d3294110c82240ded1aba0941a5b1fce71285808b56e466c4ef158978e57864011a46eea2209d5
7
- data.tar.gz: ff08d126ad22c2b3129301e03dd0ecda77a36b6ce54fce572ca15c09b45aac11768c15cab8038377f0c2bc2b332cac8ab965c4d65e6b37fe3692b5d6f9ea10ea
6
+ metadata.gz: 54d07038ade4c4fa56dc44bd63acd152c22a97ffacf1769915f5728a39b0b45f2bfa9c3baba78fc0dda24c7a087ae7b7a19fdf4ba85b3b025c4f898e59ce6189
7
+ data.tar.gz: 5fcc2ea6e361b6c31102205a97fce63026f91d1a48d200eb832d3ef81e4a94581df295a9561ec09ddfdb920c5232ff37371398e19ef8d65ccff6c3695830dd2f
data/history.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## Version 2.4.11 / 2019-10-22
2
+
3
+ * Fix for `wti pull` without parameters.
4
+
1
5
  ## Version 2.4.10 / 2019-10-21
2
6
 
3
7
  * New command: `wti mv path/to/file.po newpath/to/file.po` to move a language file
@@ -46,7 +46,7 @@ module WebTranslateIt
46
46
  parameters.each do |parameter|
47
47
  found_files += files.find_all{ |file| File.fnmatch(parameter, file.file_path) }
48
48
  end
49
- files = found_files
49
+ files = found_files if parameters.any?
50
50
  files = files.uniq.sort{ |a,b| a.file_path <=> b.file_path }
51
51
  if files.size == 0
52
52
  puts "No files to pull."
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: web_translate_it
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.10
4
+ version: 2.4.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Edouard Briere
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-10-21 00:00:00.000000000 Z
11
+ date: 2019-10-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: multipart-post