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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c72cdf268446be5c36a2a940be0259cde3d8bf5e
4
- data.tar.gz: 8154617c4aab2c29e53047545c65fa10d055880a
3
+ metadata.gz: 275ae618c346da8adf50fdca0c0bdbd896f4b5c4
4
+ data.tar.gz: 51dd435f174675da1d2b115f6e2c8d5028c66029
5
5
  SHA512:
6
- metadata.gz: f56491c2661aeb94e288be82becf113dfb8ca87e665aafdc88eb80ddb41fc6c94d70b6e3f3c85c0d4bf44026c1ac0b6a43842db9d517ce008e8be878bcc60800
7
- data.tar.gz: cf53c84420f8871dce41b91be0fbc3b5705e5297346c5bcb5be8dabe20d4d32d7e6bc10d46776cf3e0700434d21ec52a2559084d12f5c9168854c3d10c4cbef6
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| it.start_with?(".") && it == ".gitignore"}.each do |item|
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
@@ -1,3 +1,3 @@
1
1
  module Robotkit
2
- VERSION = "0.1.9"
2
+ VERSION = "0.2.0"
3
3
  end
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.1.9
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-01-24 00:00:00.000000000 Z
11
+ date: 2017-03-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor