atome 0.5.6.0.2 → 0.5.6.0.3

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
  SHA256:
3
- metadata.gz: bbc7236b206c7741018b0083521206b61197799683b4e56b38784ebeb4b13753
4
- data.tar.gz: 0215331e8b52b78c1acc1696f2b7dee0a001dc112562fb13356125ee8a461fbd
3
+ metadata.gz: 8723d92d171605dde5e7804554d0565a59ae6f772f2629a25f8ac82b03cf6c68
4
+ data.tar.gz: 36539ec4e3587e178e771571e3f2ed833bbcd7f36d8a2d33fc33e8212890bd77
5
5
  SHA512:
6
- metadata.gz: 60cd13a82053afa4a6dc037671869bf3bb81c7f20c4c04b7d230dae479eafcc2e5fa03774aa532f4e69d6aa1cc2f23a3ee8dcc703a6f26d585a31a62f17c9bc1
7
- data.tar.gz: 7423d4715cb7cfc9cde10c7feef399869d9a5c8f5d99ca37917b6025f2b129b5b9d64f599ef7ba0ecca33043478481497e04926c2768f6b60f23dc7f63ceffb0
6
+ metadata.gz: 7e36f92c209efba8c326f976689804a4283fe7b1230d41425571299f7d4954681d5cd36bb3d9414f0edb737cadafbc08792efba457c1e479e27eeaa285526adf
7
+ data.tar.gz: f9350e9bfe6a2d428e53b88d51e603bbdace00ae8953ef325b4180d90769980e51bb71eb7148b1e93c5185081c92dfde27beb0f7f0d5157a561049d4d84c6f38
data/exe/atome CHANGED
@@ -665,17 +665,17 @@ else
665
665
  build_host_mode(destination, project_name, 'web-opal')
666
666
  threads = []
667
667
  threads << Thread.new do
668
- sleep 1
669
- if RbConfig::CONFIG['host_os'] =~ /mswin|mingw|cygwin/
670
- # code to exec with Windows
671
- `start "" "#{destination}\\#{project_name}\\src\\index_server.html`
672
- elsif RbConfig::CONFIG['host_os'] =~ /darwin|mac os/
673
- # code to exec with MacOS
674
- `open http://localhost:9292`
675
- else
676
- # code to exec with Unix/Linux
677
- `open http://localhost:9292`
678
- end
668
+ # sleep 1
669
+ # if RbConfig::CONFIG['host_os'] =~ /mswin|mingw|cygwin/
670
+ # # code to exec with Windows
671
+ # `start "" "#{destination}\\#{project_name}\\src\\index_server.html`
672
+ # elsif RbConfig::CONFIG['host_os'] =~ /darwin|mac os/
673
+ # # code to exec with MacOS
674
+ # `open http://localhost:9292`
675
+ # else
676
+ # # code to exec with Unix/Linux
677
+ # `open http://localhost:9292`
678
+ # end
679
679
  end
680
680
  threads << Thread.new do
681
681
  build_for_server(destination, project_name, 9292, false)
@@ -689,7 +689,7 @@ else
689
689
  build_opal_application(nil, destination, project_name)
690
690
  if RbConfig::CONFIG['host_os'] =~ /mswin|mingw|cygwin/
691
691
  # code to exec with Windows
692
- `start "" "#{destination}\\#{project_name}\\src\\index_opal.html`
692
+ `start "" "#{destination}\\#{project_name}\\src\\index_server.html`
693
693
  elsif RbConfig::CONFIG['host_os'] =~ /darwin|mac os/
694
694
  # code to exec with MacOS
695
695
  `open http://localhost:9292`
@@ -707,7 +707,6 @@ else
707
707
  end
708
708
 
709
709
  puts 'building Android' if ARGV.include?('android')
710
-
711
710
  puts 'building iOS' if ARGV.include?('ios')
712
711
  puts 'building Windows' if ARGV.include?('windows')
713
712
  puts 'building Linux' if ARGV.include?('linux')
data/lib/atome/eve.rb ADDED
File without changes
data/lib/atome/version.rb CHANGED
@@ -2,6 +2,6 @@
2
2
 
3
3
  # return atome version
4
4
  class Atome
5
- VERSION = '0.5.6.0.2'
5
+ VERSION = '0.5.6.0.3'
6
6
  end
7
7
 
data/lib/atome.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
-
2
+ # require 'eve'
3
3
 
4
4
  # require without relative is needed when using Opal
5
5
  require 'fileutils'
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
-
2
+ # require 'eve'
3
3
  # relative is needed when using ruby wasm
4
4
  require 'fileutils'
5
5
  require 'securerandom'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: atome
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.6.0.2
4
+ version: 0.5.6.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jean-Eric Godard
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-01-31 00:00:00.000000000 Z
11
+ date: 2024-02-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: eventmachine
@@ -388,6 +388,7 @@ files:
388
388
  - exe/atome
389
389
  - lib/atome.rb
390
390
  - lib/atome/atome.rb
391
+ - lib/atome/eve.rb
391
392
  - lib/atome/extensions/atome.rb
392
393
  - lib/atome/extensions/geolocation.rb
393
394
  - lib/atome/extensions/mathematics.rb