crono_trigger 0.6.4 → 0.7.0
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 +4 -4
- data/README.md +43 -4
- data/crono_trigger.gemspec +2 -2
- data/lib/crono_trigger/cli.rb +5 -1
- data/lib/crono_trigger/events.rb +6 -0
- data/lib/crono_trigger/polling_thread.rb +6 -4
- data/lib/crono_trigger/schedulable.rb +26 -3
- data/lib/crono_trigger/version.rb +1 -1
- data/lib/crono_trigger/web.rb +1 -1
- data/lib/crono_trigger/worker.rb +46 -2
- data/lib/crono_trigger.rb +2 -0
- data/lib/generators/crono_trigger/model/templates/model.rb +2 -0
- data/web/app/src/App.css +6 -1
- data/web/app/src/App.tsx +38 -36
- data/web/app/src/Models.tsx +1 -2
- data/web/app/src/SchedulableRecords.tsx +11 -8
- data/web/app/src/Signals.tsx +2 -3
- data/web/app/src/Workers.tsx +1 -1
- data/web/public/asset-manifest.json +4 -4
- data/web/public/service-worker.js +1 -1
- data/web/public/static/css/main.4eb0b8e2.css +2 -0
- data/web/public/static/css/main.4eb0b8e2.css.map +1 -0
- data/web/public/static/js/main.a59b5909.js +2 -0
- data/web/public/static/js/main.a59b5909.js.map +1 -0
- data/web/views/index.erb +1 -1
- metadata +12 -11
- data/web/public/static/css/main.0f826673.css +0 -2
- data/web/public/static/css/main.0f826673.css.map +0 -1
- data/web/public/static/js/main.a4709ab6.js +0 -2
- data/web/public/static/js/main.a4709ab6.js.map +0 -1
    
        data/web/views/index.erb
    CHANGED
    
    | @@ -1 +1 @@ | |
| 1 | 
            -
            <!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name="theme-color" content="#000000"><link rel="manifest" href="<%= URI.parse(url('/')).path.chop %>/manifest.json"><link rel="shortcut icon" href="<%= URI.parse(url('/')).path.chop %>/favicon.ico"><link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500"><link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons"><script>window.mountPath="<%= URI.parse(url('/')).path.chop %>"</script><title>CronoTrigger</title><link href="<%= URI.parse(url('/')).path.chop %>/static/css/main. | 
| 1 | 
            +
            <!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name="theme-color" content="#000000"><link rel="manifest" href="<%= URI.parse(url('/')).path.chop %>/manifest.json"><link rel="shortcut icon" href="<%= URI.parse(url('/')).path.chop %>/favicon.ico"><link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500"><link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons"><script>window.mountPath="<%= URI.parse(url('/')).path.chop %>"</script><title>CronoTrigger</title><link href="<%= URI.parse(url('/')).path.chop %>/static/css/main.4eb0b8e2.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script type="text/javascript" src="<%= URI.parse(url('/')).path.chop %>/static/js/main.a59b5909.js"></script></body></html>
         | 
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: crono_trigger
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 0. | 
| 4 | 
            +
              version: 0.7.0
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - joker1007
         | 
| 8 8 | 
             
            autorequire:
         | 
| 9 9 | 
             
            bindir: exe
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date:  | 
| 11 | 
            +
            date: 2023-06-07 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: chrono
         | 
| @@ -16,14 +16,14 @@ dependencies: | |
| 16 16 | 
             
                requirements:
         | 
| 17 17 | 
             
                - - ">="
         | 
| 18 18 | 
             
                  - !ruby/object:Gem::Version
         | 
| 19 | 
            -
                    version:  | 
| 19 | 
            +
                    version: 0.6.0
         | 
| 20 20 | 
             
              type: :runtime
         | 
| 21 21 | 
             
              prerelease: false
         | 
| 22 22 | 
             
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 23 23 | 
             
                requirements:
         | 
| 24 24 | 
             
                - - ">="
         | 
| 25 25 | 
             
                  - !ruby/object:Gem::Version
         | 
| 26 | 
            -
                    version:  | 
| 26 | 
            +
                    version: 0.6.0
         | 
| 27 27 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 28 28 | 
             
              name: serverengine
         | 
| 29 29 | 
             
              requirement: !ruby/object:Gem::Requirement
         | 
| @@ -44,14 +44,14 @@ dependencies: | |
| 44 44 | 
             
                requirements:
         | 
| 45 45 | 
             
                - - ">="
         | 
| 46 46 | 
             
                  - !ruby/object:Gem::Version
         | 
| 47 | 
            -
                    version:  | 
| 47 | 
            +
                    version: 1.1.10
         | 
| 48 48 | 
             
              type: :runtime
         | 
| 49 49 | 
             
              prerelease: false
         | 
| 50 50 | 
             
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 51 51 | 
             
                requirements:
         | 
| 52 52 | 
             
                - - ">="
         | 
| 53 53 | 
             
                  - !ruby/object:Gem::Version
         | 
| 54 | 
            -
                    version:  | 
| 54 | 
            +
                    version: 1.1.10
         | 
| 55 55 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 56 56 | 
             
              name: tzinfo
         | 
| 57 57 | 
             
              requirement: !ruby/object:Gem::Requirement
         | 
| @@ -262,6 +262,7 @@ files: | |
| 262 262 | 
             
            - gemfiles/activerecord-52.gemfile
         | 
| 263 263 | 
             
            - lib/crono_trigger.rb
         | 
| 264 264 | 
             
            - lib/crono_trigger/cli.rb
         | 
| 265 | 
            +
            - lib/crono_trigger/events.rb
         | 
| 265 266 | 
             
            - lib/crono_trigger/exception_handler.rb
         | 
| 266 267 | 
             
            - lib/crono_trigger/execution_tracker.rb
         | 
| 267 268 | 
             
            - lib/crono_trigger/global_exception_handler.rb
         | 
| @@ -314,10 +315,10 @@ files: | |
| 314 315 | 
             
            - web/public/favicon.ico
         | 
| 315 316 | 
             
            - web/public/manifest.json
         | 
| 316 317 | 
             
            - web/public/service-worker.js
         | 
| 317 | 
            -
            - web/public/static/css/main. | 
| 318 | 
            -
            - web/public/static/css/main. | 
| 319 | 
            -
            - web/public/static/js/main. | 
| 320 | 
            -
            - web/public/static/js/main. | 
| 318 | 
            +
            - web/public/static/css/main.4eb0b8e2.css
         | 
| 319 | 
            +
            - web/public/static/css/main.4eb0b8e2.css.map
         | 
| 320 | 
            +
            - web/public/static/js/main.a59b5909.js
         | 
| 321 | 
            +
            - web/public/static/js/main.a59b5909.js.map
         | 
| 321 322 | 
             
            - web/views/index.erb
         | 
| 322 323 | 
             
            - web/views/signals.erb
         | 
| 323 324 | 
             
            - web/views/workers.erb
         | 
| @@ -340,7 +341,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement | |
| 340 341 | 
             
                - !ruby/object:Gem::Version
         | 
| 341 342 | 
             
                  version: '0'
         | 
| 342 343 | 
             
            requirements: []
         | 
| 343 | 
            -
            rubygems_version: 3. | 
| 344 | 
            +
            rubygems_version: 3.4.10
         | 
| 344 345 | 
             
            signing_key:
         | 
| 345 346 | 
             
            specification_version: 4
         | 
| 346 347 | 
             
            summary: In Service Asynchronous Job Scheduler for Rails
         | 
| @@ -1 +0,0 @@ | |
| 1 | 
            -
            {"version":3,"sources":["App.css","index.css"],"names":[],"mappings":"AAAA,SACE,oBACA,aACA,qBACI,uBACJ,sBACI,kBAAoB,CCN1B,KACE,SACA,UACA,sBAAwB","file":"static/css/main.0f826673.css","sourcesContent":[".content {\n  display: -ms-flexbox;\n  display: flex;\n  -ms-flex-pack: center;\n      justify-content: center;\n  -ms-flex-align: center;\n      align-items: center;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/App.css","body {\n  margin: 0;\n  padding: 0;\n  font-family: sans-serif;\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/index.css"],"sourceRoot":""}
         |