rubyjs-vite 1.1.0 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dc37ed24ae1f1bfbdaf4300b70079b7e493f45322236d354300a3ce7357cff8d
4
- data.tar.gz: b63b927b8d7248533ec2672f14ce120ad64dedf9d54cfb142422f96ea5ae7923
3
+ metadata.gz: 23880da75b113de83f2e2fffa6bba17718f324e536a5d49dfb2a4521a1a7ccdf
4
+ data.tar.gz: b7564e09295463b135c0b64713e38c65bf27d71cc96f1b06248c3422011aa1f0
5
5
  SHA512:
6
- metadata.gz: 5e4952c7c7bbe8ed80341003967ae70f25672a09db5a0f864c565446750611fedbd0f90146a9117e698b6b4f1c305f7b436d2a39f98e1822ed8f388ef44e53bf
7
- data.tar.gz: 1e03c761e1bb377a2e4c07278fbeaf4a5cbae779b61e1afd54407394fe13c5227a5c4bddf3c1a032ff48b800275d8ebe4c487a43954c2880702c90148967975e
6
+ metadata.gz: 1094cf33f9ba36f5387c2911833019bdd9f2b80d88f8c2c546a71addfa1f114e31fc0a26798d716c57674488df800a9b34ebc4eedaa464ff38cd7a1d5cc04551
7
+ data.tar.gz: 7b73a8adf15cf3efca76d0172bc0221a09bd20f8d7b7c0eb68c57e8fd9e18ee3cd02a655e7cc26808451527c639818219204edd4d71a221595be23e32bb14b39
@@ -7,14 +7,11 @@ module RubyJS
7
7
  path_ao = File.join(Dir.pwd, project)
8
8
 
9
9
  puts "Scaffolding project in #{path_ao}..."
10
- unless Dir.exist? path_ao
11
- FileUtils.cp_r(path_as, path_ao)
12
- else
13
- files = Dir.glob("#{path_as}/**/*")
14
- files.each do |pas|
15
- pao = pas.sub(path_as, path_ao)
16
- FileUtils.cp_r(pas, pao)
17
- end
10
+ files = Dir.glob("#{path_as}/**/*", File::FNM_DOTMATCH).select { |f| File.file?(f) }
11
+ files.each do |pas|
12
+ pao = pas.sub(path_as, path_ao)
13
+ FileUtils.mkdir_p(File.dirname(pao))
14
+ FileUtils.cp(pas, pao)
18
15
  end
19
16
 
20
17
  json_oc = JsonParser.new File.join(path_ao, "package.json")
@@ -1,3 +1,3 @@
1
1
  module RubyJS
2
- VERSION = "1.1.0"
2
+ VERSION = "1.1.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubyjs-vite
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Filip Vrba
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-05-04 00:00:00.000000000 Z
11
+ date: 2023-05-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ruby2js