xcmultilingual 0.1.3 → 0.1.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: e8455d130987a17b1c789a220930f4947cf84ca5
4
- data.tar.gz: eba7a53a102545bc071238aa41c935ec743bd544
3
+ metadata.gz: a7a057b4f06d93ac84d89c2fba2f4bd20ab204b7
4
+ data.tar.gz: cdcac2539c0483d2ec1e8028cc3b0a17da57db7d
5
5
  SHA512:
6
- metadata.gz: c95372c5fe21768de380b74fe36c42a8de065ef825487f4a3e0fd491164e7643881b57bdd8eaeb6a38343d9eee01d12b2199f7fa860a12537bb8a56d5fdc1657
7
- data.tar.gz: e268638e4485e174795aaf1bd3ddc31b1b41e66f4bd205e06c1747cbf68714d3bbe80ed9249abd2b1a1cf9036a87dfcaa6dcc15439377b2d66ed5e33095c00a2
6
+ metadata.gz: 74127dfb26dd7ca6661aae1b70f024007e931b46075b6a5b398bdfe19b44f125e5b1bf2e99ab16507bd3097d8bc035b89258d0696f220a4e8c075aa4fbd61ec5
7
+ data.tar.gz: 5a2ce35cd005ced77f3e556bfe898b9c1b3689899825878549892ec5b529bb0010aeee8a66e5b9598fb7fa4c8a2ee738cd8139dd8cf19813500cd6f6ea8432db
@@ -2,7 +2,7 @@
2
2
  // Multilingual.swift
3
3
  // xcmultilingual
4
4
  //
5
- // Created by xcmultilingual on 2015-07-12 20:46:52 +0900.
5
+ // Created by xcmultilingual.
6
6
  //
7
7
  //
8
8
 
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- xcmultilingual (0.1.3)
4
+ xcmultilingual (0.1.4)
5
5
  thor
6
6
 
7
7
  GEM
@@ -25,5 +25,12 @@ module Xcmultilingual
25
25
  puts " See #{destination}" if options[:verbose]
26
26
  puts "" if options[:verbose]
27
27
  end
28
+
29
+ map %w[--version -v] => :__print_version
30
+
31
+ desc "--version, -v", "print the version"
32
+ def __print_version
33
+ puts Xcmultilingual::VERSION
34
+ end
28
35
  end
29
36
  end
@@ -14,8 +14,9 @@ module Xcmultilingual
14
14
 
15
15
  destination_path = File.expand_path(@destination)
16
16
  destination_dir = File.dirname(destination_path)
17
-
18
- bundles = {} Dir.glob("#{destination_dir}/**/*.lproj/**/*.strings") do |file_path|
17
+
18
+ bundles = {}
19
+ Dir.glob("#{destination_dir}/**/*.lproj/**/*.strings") do |file_path|
19
20
  file_path = File.expand_path(file_path)
20
21
 
21
22
  # bundle
@@ -1,3 +1,3 @@
1
1
  module Xcmultilingual
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xcmultilingual
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Naoki Morita