rigit 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rigit/rig.rb +2 -1
- data/lib/rigit/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1b403c3545bfac4a469a6cd7cb1f5c7c11330ecc1bb31598a2975593d476f3f2
|
4
|
+
data.tar.gz: 8f17237e2151a52b6d3b02934af55cf0d4ecff8dec8426a15092fd333c08986b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e2ad0683933134b71cbf08b240b42870df0a47ad9481bab90851e20b2aaa3017e074822d8fc6c3821b3a41a3346ea8dfe8a7a5fbc5ae554231205671053492d9
|
7
|
+
data.tar.gz: d1289c4489be8169b9f13d9c63206af7361f3b2aeab78a2d8bc1d434b8520c68775ed08e2e5bd18d9e920fa44948def09f8a1ac018572d02554e1c7c5e0eb845
|
data/lib/rigit/rig.rb
CHANGED
@@ -72,7 +72,8 @@ module Rigit
|
|
72
72
|
private
|
73
73
|
|
74
74
|
def scaffold_dir(dir:, arguments:, target_dir:)
|
75
|
-
files = Dir
|
75
|
+
files = Dir.glob("#{dir}/**/*", File::FNM_DOTMATCH) - %w[. ..]
|
76
|
+
files.reject! { |file| File.directory? file }
|
76
77
|
|
77
78
|
files.each do |file|
|
78
79
|
target_file = (file % arguments).sub dir, target_dir
|
data/lib/rigit/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rigit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Danny Ben Shitrit
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-03-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: super_docopt
|