tasks_scheduler 0.2.0 → 0.2.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:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: 3f63ec7f3af4774acdf10ae150c59e9c1648e1af25add8174b06ebf6344f9fe8
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 257f1fd08f6785fcfb103df7a2f156d6d8303d4c740be38fb7bb557a036a2268
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: fe750817b5ae625eb16b820a0c5cda8660ad73c2c2e7af171a662fe1c80eaa7f6e5255ee08323a77fc7be379a7b88275b8fa0a368866ba2eb47ccc3976cdb24c
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 9d02c0ea57a4177cd6236221de176c8ab2fabd9fa2f891048c23b3041fddba693c442de6d5120952e109be7709fea8e12f040c6542f6f10727ecd665e42005db
         
     | 
| 
         @@ -1,4 +1,5 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            //= require active_scaffold
         
     | 
| 
      
 2 
     | 
    
         
            +
            //= require js-routes
         
     | 
| 
       2 
3 
     | 
    
         | 
| 
       3 
4 
     | 
    
         
             
            function TasksScheduler() {
         
     | 
| 
       4 
5 
     | 
    
         
             
            }
         
     | 
| 
         @@ -66,7 +67,7 @@ _A = TasksScheduler.Alert; 
     | 
|
| 
       66 
67 
     | 
    
         
             
            _A.DEFAULT_REFRESH_INTERVAL = 5000;
         
     | 
| 
       67 
68 
     | 
    
         
             
            _A.DEFAULT_ELEMENT_SELECTOR = '#tasks_scheduler_alert';
         
     | 
| 
       68 
69 
     | 
    
         
             
            _A.CSS_CLASSES_PREFIX = 'alert_';
         
     | 
| 
       69 
     | 
    
         
            -
            _A.url =  
     | 
| 
      
 70 
     | 
    
         
            +
            _A.url = Routes.status_tasks_scheduler_daemon_path();
         
     | 
| 
       70 
71 
     | 
    
         | 
| 
       71 
72 
     | 
    
         
             
            _A.init = function (options) {
         
     | 
| 
       72 
73 
     | 
    
         
             
              options = typeof options !== 'undefined' ? options : {};
         
     | 
    
        data/lib/tasks_scheduler.rb
    CHANGED
    
    
    
        metadata
    CHANGED
    
    | 
         @@ -1,14 +1,14 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: tasks_scheduler
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 0.2. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 0.2.1
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - Eduardo H. Bogoni
         
     | 
| 
       8 
8 
     | 
    
         
             
            autorequire: 
         
     | 
| 
       9 
9 
     | 
    
         
             
            bindir: exe
         
     | 
| 
       10 
10 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       11 
     | 
    
         
            -
            date:  
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2019-04-19 00:00:00.000000000 Z
         
     | 
| 
       12 
12 
     | 
    
         
             
            dependencies:
         
     | 
| 
       13 
13 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       14 
14 
     | 
    
         
             
              name: active_scaffold
         
     | 
| 
         @@ -38,6 +38,20 @@ dependencies: 
     | 
|
| 
       38 
38 
     | 
    
         
             
                - - ">="
         
     | 
| 
       39 
39 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       40 
40 
     | 
    
         
             
                    version: '0'
         
     | 
| 
      
 41 
     | 
    
         
            +
            - !ruby/object:Gem::Dependency
         
     | 
| 
      
 42 
     | 
    
         
            +
              name: js-routes
         
     | 
| 
      
 43 
     | 
    
         
            +
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
      
 44 
     | 
    
         
            +
                requirements:
         
     | 
| 
      
 45 
     | 
    
         
            +
                - - ">="
         
     | 
| 
      
 46 
     | 
    
         
            +
                  - !ruby/object:Gem::Version
         
     | 
| 
      
 47 
     | 
    
         
            +
                    version: '0'
         
     | 
| 
      
 48 
     | 
    
         
            +
              type: :runtime
         
     | 
| 
      
 49 
     | 
    
         
            +
              prerelease: false
         
     | 
| 
      
 50 
     | 
    
         
            +
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
      
 51 
     | 
    
         
            +
                requirements:
         
     | 
| 
      
 52 
     | 
    
         
            +
                - - ">="
         
     | 
| 
      
 53 
     | 
    
         
            +
                  - !ruby/object:Gem::Version
         
     | 
| 
      
 54 
     | 
    
         
            +
                    version: '0'
         
     | 
| 
       41 
55 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       42 
56 
     | 
    
         
             
              name: parse-cron
         
     | 
| 
       43 
57 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
         @@ -92,7 +106,7 @@ files: 
     | 
|
| 
       92 
106 
     | 
    
         
             
            - MIT-LICENSE
         
     | 
| 
       93 
107 
     | 
    
         
             
            - README.rdoc
         
     | 
| 
       94 
108 
     | 
    
         
             
            - Rakefile
         
     | 
| 
       95 
     | 
    
         
            -
            - app/assets/javascripts/tasks_scheduler.js 
     | 
| 
      
 109 
     | 
    
         
            +
            - app/assets/javascripts/tasks_scheduler.js
         
     | 
| 
       96 
110 
     | 
    
         
             
            - app/assets/stylesheets/tasks_scheduler.scss
         
     | 
| 
       97 
111 
     | 
    
         
             
            - app/assets/stylesheets/tasks_scheduler/alert.scss
         
     | 
| 
       98 
112 
     | 
    
         
             
            - app/controllers/scheduled_tasks_controller.rb
         
     | 
| 
         @@ -195,39 +209,39 @@ summary: Scheduler for Rake tasks. 
     | 
|
| 
       195 
209 
     | 
    
         
             
            test_files:
         
     | 
| 
       196 
210 
     | 
    
         
             
            - test/dummy/Rakefile
         
     | 
| 
       197 
211 
     | 
    
         
             
            - test/dummy/README.rdoc
         
     | 
| 
       198 
     | 
    
         
            -
            - test/dummy/ 
     | 
| 
       199 
     | 
    
         
            -
            - test/dummy/bin/rake
         
     | 
| 
       200 
     | 
    
         
            -
            - test/dummy/bin/bundle
         
     | 
| 
       201 
     | 
    
         
            -
            - test/dummy/bin/setup
         
     | 
| 
       202 
     | 
    
         
            -
            - test/dummy/config/initializers/assets.rb
         
     | 
| 
       203 
     | 
    
         
            -
            - test/dummy/config/initializers/wrap_parameters.rb
         
     | 
| 
       204 
     | 
    
         
            -
            - test/dummy/config/initializers/session_store.rb
         
     | 
| 
       205 
     | 
    
         
            -
            - test/dummy/config/initializers/cookies_serializer.rb
         
     | 
| 
       206 
     | 
    
         
            -
            - test/dummy/config/initializers/inflections.rb
         
     | 
| 
       207 
     | 
    
         
            -
            - test/dummy/config/initializers/mime_types.rb
         
     | 
| 
       208 
     | 
    
         
            -
            - test/dummy/config/initializers/backtrace_silencers.rb
         
     | 
| 
       209 
     | 
    
         
            -
            - test/dummy/config/initializers/filter_parameter_logging.rb
         
     | 
| 
      
 212 
     | 
    
         
            +
            - test/dummy/config.ru
         
     | 
| 
       210 
213 
     | 
    
         
             
            - test/dummy/config/boot.rb
         
     | 
| 
       211 
     | 
    
         
            -
            - test/dummy/config/locales/en.yml
         
     | 
| 
       212 
     | 
    
         
            -
            - test/dummy/config/secrets.yml
         
     | 
| 
       213 
     | 
    
         
            -
            - test/dummy/config/environment.rb
         
     | 
| 
       214 
214 
     | 
    
         
             
            - test/dummy/config/database.yml
         
     | 
| 
       215 
     | 
    
         
            -
            - test/dummy/config/ 
     | 
| 
      
 215 
     | 
    
         
            +
            - test/dummy/config/secrets.yml
         
     | 
| 
      
 216 
     | 
    
         
            +
            - test/dummy/config/locales/en.yml
         
     | 
| 
      
 217 
     | 
    
         
            +
            - test/dummy/config/application.rb
         
     | 
| 
       216 
218 
     | 
    
         
             
            - test/dummy/config/environments/development.rb
         
     | 
| 
       217 
219 
     | 
    
         
             
            - test/dummy/config/environments/test.rb
         
     | 
| 
       218 
220 
     | 
    
         
             
            - test/dummy/config/environments/production.rb
         
     | 
| 
       219 
     | 
    
         
            -
            - test/dummy/config/ 
     | 
| 
       220 
     | 
    
         
            -
            - test/dummy/ 
     | 
| 
       221 
     | 
    
         
            -
            - test/dummy/ 
     | 
| 
      
 221 
     | 
    
         
            +
            - test/dummy/config/environment.rb
         
     | 
| 
      
 222 
     | 
    
         
            +
            - test/dummy/config/routes.rb
         
     | 
| 
      
 223 
     | 
    
         
            +
            - test/dummy/config/initializers/assets.rb
         
     | 
| 
      
 224 
     | 
    
         
            +
            - test/dummy/config/initializers/cookies_serializer.rb
         
     | 
| 
      
 225 
     | 
    
         
            +
            - test/dummy/config/initializers/inflections.rb
         
     | 
| 
      
 226 
     | 
    
         
            +
            - test/dummy/config/initializers/session_store.rb
         
     | 
| 
      
 227 
     | 
    
         
            +
            - test/dummy/config/initializers/wrap_parameters.rb
         
     | 
| 
      
 228 
     | 
    
         
            +
            - test/dummy/config/initializers/filter_parameter_logging.rb
         
     | 
| 
      
 229 
     | 
    
         
            +
            - test/dummy/config/initializers/backtrace_silencers.rb
         
     | 
| 
      
 230 
     | 
    
         
            +
            - test/dummy/config/initializers/mime_types.rb
         
     | 
| 
      
 231 
     | 
    
         
            +
            - test/dummy/db/schema.rb
         
     | 
| 
       222 
232 
     | 
    
         
             
            - test/dummy/app/views/layouts/application.html.erb
         
     | 
| 
       223 
     | 
    
         
            -
            - test/dummy/app/helpers/application_helper.rb
         
     | 
| 
       224 
233 
     | 
    
         
             
            - test/dummy/app/controllers/application_controller.rb
         
     | 
| 
       225 
     | 
    
         
            -
            - test/dummy/ 
     | 
| 
       226 
     | 
    
         
            -
            - test/dummy/ 
     | 
| 
       227 
     | 
    
         
            -
            - test/dummy/ 
     | 
| 
      
 234 
     | 
    
         
            +
            - test/dummy/app/helpers/application_helper.rb
         
     | 
| 
      
 235 
     | 
    
         
            +
            - test/dummy/app/assets/stylesheets/application.css
         
     | 
| 
      
 236 
     | 
    
         
            +
            - test/dummy/app/assets/javascripts/application.js
         
     | 
| 
       228 
237 
     | 
    
         
             
            - test/dummy/public/422.html
         
     | 
| 
       229 
238 
     | 
    
         
             
            - test/dummy/public/404.html
         
     | 
| 
       230 
     | 
    
         
            -
            - test/dummy/ 
     | 
| 
       231 
     | 
    
         
            -
            - test/ 
     | 
| 
      
 239 
     | 
    
         
            +
            - test/dummy/public/favicon.ico
         
     | 
| 
      
 240 
     | 
    
         
            +
            - test/dummy/public/500.html
         
     | 
| 
      
 241 
     | 
    
         
            +
            - test/dummy/bin/bundle
         
     | 
| 
      
 242 
     | 
    
         
            +
            - test/dummy/bin/setup
         
     | 
| 
      
 243 
     | 
    
         
            +
            - test/dummy/bin/rails
         
     | 
| 
      
 244 
     | 
    
         
            +
            - test/dummy/bin/rake
         
     | 
| 
       232 
245 
     | 
    
         
             
            - test/test_helper.rb
         
     | 
| 
       233 
246 
     | 
    
         
             
            - test/fixtures/scheduled_tasks.yml
         
     | 
| 
      
 247 
     | 
    
         
            +
            - test/models/scheduled_task_test.rb
         
     |