robotkit 0.1.9 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/robotkit/cli.rb +2 -1
- data/lib/robotkit/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 275ae618c346da8adf50fdca0c0bdbd896f4b5c4
|
4
|
+
data.tar.gz: 51dd435f174675da1d2b115f6e2c8d5028c66029
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 534c5d56efbcbe95e0f84151c7cb7adce4bd278c00b4c57a698587ca9f51b221d683f0bd689da0ce983f9339737b00d849c37aa9b78e2c711c401ace260d634d
|
7
|
+
data.tar.gz: 4a2e371b95dbb299141758e83da0e926c4cbdd1a79716c21036ac443779bb1239c219c1dcab82f3b21c8217af4ed6033033a710396fc2dbd564967213f64119c
|
data/lib/robotkit/cli.rb
CHANGED
@@ -5,6 +5,7 @@ require "erb"
|
|
5
5
|
|
6
6
|
module Robotkit
|
7
7
|
PROJECT_ROOT_PATH = File.dirname(File.dirname(File.dirname(__FILE__)))
|
8
|
+
IGNORE_FILES = %w(. .. .DS_Store)
|
8
9
|
class CLI < Thor
|
9
10
|
desc "create :output_dir", "Create Android library project."
|
10
11
|
option :package, required: true
|
@@ -28,7 +29,7 @@ module Robotkit
|
|
28
29
|
|
29
30
|
# copy from fixtues dir to output dir
|
30
31
|
FileUtils.mkdir(output_dir)
|
31
|
-
Dir.foreach(fixtures_dir).reject{|it|
|
32
|
+
Dir.foreach(fixtures_dir).reject{|it| IGNORE_FILES.include?(it)}.each do |item|
|
32
33
|
FileUtils.rm("#{output_dir}/#{item}", {force: true})
|
33
34
|
FileUtils.cp_r("#{fixtures_dir}/#{item}", "#{output_dir}/#{item}", {preserve: true, dereference_root: true})
|
34
35
|
end
|
data/lib/robotkit/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: robotkit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- kazuki-yoshida
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-03-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|