rubyjs-vite 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/json_parser.rb +1 -1
- data/lib/ruby_js/helper.rb +6 -2
- data/lib/ruby_js/version.rb +1 -1
- metadata +5 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 23e29f893a32c27dccaecfb2e4a1ca9f58b4dbf2a293bf083e2d18f91856de5f
|
4
|
+
data.tar.gz: b34cd11ca9673abb54cf10b24e555dcfa6003787fb6634f968793fae7e631291
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b0d3b0c745905aa0bb5ff214bbcc35586e9423e33805f8e3bdce47ad9c1481880db2d4cbebafeb2d9d949f8e65a35f40520380347d637ff5f3a4c8fbad91ed67
|
7
|
+
data.tar.gz: 52f8b3751a57ecd83a4137dcafa157ac875ae57f48a8f5b40f214789af41fd331ffd55cbe2edb274e8d0d33cad2bfc16e7fa3ea05c53ee67b1f1c696a80a4099
|
data/lib/json_parser.rb
CHANGED
data/lib/ruby_js/helper.rb
CHANGED
@@ -23,8 +23,12 @@ module RubyJS
|
|
23
23
|
file.close
|
24
24
|
end
|
25
25
|
|
26
|
-
def self.free
|
27
|
-
|
26
|
+
def self.free path_fro
|
27
|
+
# File
|
28
|
+
File.delete(path_fro) if File.exists? path_fro
|
29
|
+
# Dir
|
30
|
+
path_dro = File.dirname(path_fro)
|
31
|
+
Dir.delete(path_dro) if Dir.empty? path_dro
|
28
32
|
end
|
29
33
|
|
30
34
|
def self.event_p event, path_f
|
data/lib/ruby_js/version.rb
CHANGED
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.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Filip Vrba
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-11-
|
11
|
+
date: 2022-11-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ruby2js
|
@@ -38,12 +38,8 @@ dependencies:
|
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '3.7'
|
41
|
-
description:
|
42
|
-
|
43
|
-
|
44
|
-
Write your code using the JS api and Ruby syntax, and the server will automatically translate it. It then stores it in a file with the extension ".js". You will then be able to publish the project to [Vercel](https://vercel.com/) or directly to the [NPM package](https://www.npmjs.com/), and you will have a website that is written in the native JS language.
|
45
|
-
|
46
|
-
See GitHub for further information. |> https://github.com/filipvrba/ruby-js
|
41
|
+
description: Using this translation tool, you can run Vite server and write code in
|
42
|
+
Ruby syntax using JS API. See GitHub for further information. |> https://github.com/filipvrba/ruby-js
|
47
43
|
email: filipvrbaxi@gmail.com
|
48
44
|
executables:
|
49
45
|
- rjsv
|
@@ -90,7 +86,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
90
86
|
- !ruby/object:Gem::Version
|
91
87
|
version: '0'
|
92
88
|
requirements: []
|
93
|
-
rubygems_version: 3.
|
89
|
+
rubygems_version: 3.3.7
|
94
90
|
signing_key:
|
95
91
|
specification_version: 4
|
96
92
|
summary: Converts the syntax of ruby into javascript.
|