schedule_job 1.0.0 → 1.0.1

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: 0aa14b51b198289543636f7048935e3599a08d5eb2920a2bb7e67b80d259f19d
4
- data.tar.gz: 8841e4a6ec99c02c3485927d4ba6e4335a0347b52bba332fc131fff727225e4f
3
+ metadata.gz: cc056eaeb082429537d01a7521bef0574cecc73a8dc8baa769a02a271758aa86
4
+ data.tar.gz: 654b25fe20451949bbecc43b3757bdba36898ed1e40a4f50d9943828e2a2951f
5
5
  SHA512:
6
- metadata.gz: 0f7832e1cc148800389da6b5f6ff3c053878cc930496f578e37af46c665f5dcb708db558b8220568c35c6ba5363e3a16351ee3453d65503cc494b1ed3b19c61d
7
- data.tar.gz: c7d18b320759e7dccac481d1b4b9af06e91c09b0954d80e53650d7112ff53e202b4ed4c02ebb23039d4a634b53de9800aad9f0d1517fd60786d833d353af38e6
6
+ metadata.gz: c5f49020d6b8965598eba15614cfdfb700ef383c58787c6b72de53f795d36c026bb6a2913905372ecf51b1e7136b3fc0be2430579d3e8ee0d17cd71a1e45b61b
7
+ data.tar.gz: 8f139bdc6d8d6edb8e6780e304e431fa8141c05089d05bbce062afab6dac42db3b94c546ab556d6a962cb9a4285e83a8c7ef7e10a65fe57972e2895263cf89f5
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Schedule
1
+ # ScheduleJob
2
2
 
3
3
  schedule is a frontend around crontab to add/remove cron jobs from user cron tables.
4
4
 
@@ -10,6 +10,10 @@ gem install schedule_job
10
10
 
11
11
  ## Usage
12
12
 
13
+ ```
14
+
15
+ ```
16
+
13
17
  ## License
14
18
 
15
19
  The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
data/bin/schedule CHANGED
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
- require "schedule"
3
+ require "schedule_job"
4
4
 
5
5
  def main
6
- Schedule::Cli.run(ARGV)
6
+ ScheduleJob::Cli.run(ARGV)
7
7
  end
8
8
 
9
9
  main
@@ -2,7 +2,7 @@ require "optparse"
2
2
 
3
3
  # schedule --every 10m "my_command --foo --bar"
4
4
 
5
- module Schedule
5
+ module ScheduleJob
6
6
  class Cli
7
7
  def self.run(argv = ARGV)
8
8
  cli = Cli.new
File without changes
@@ -8,7 +8,7 @@ require "stringio"
8
8
 
9
9
  require_relative "./cron_parser"
10
10
 
11
- module Schedule
11
+ module ScheduleJob
12
12
  module Cron
13
13
 
14
14
  class EnvironmentVar
File without changes
@@ -15,13 +15,13 @@ module Citrus
15
15
  end
16
16
  end
17
17
 
18
- Citrus.require("schedule/cron")
18
+ Citrus.require("schedule_job/cron")
19
19
 
20
20
  # require "polyglot"
21
21
  # require "treetop"
22
- # require "schedule/cron.treetop"
22
+ # require "schedule_job/cron.treetop"
23
23
 
24
- module Schedule
24
+ module ScheduleJob
25
25
  module Cron
26
26
  Grammar = ScheduleCronParser
27
27
 
@@ -0,0 +1,3 @@
1
+ module ScheduleJob
2
+ VERSION = "1.0.1"
3
+ end
data/lib/schedule_job.rb CHANGED
@@ -1,9 +1,5 @@
1
1
  require 'rubygems'
2
2
  require 'bundler/setup'
3
3
 
4
- require "schedule/cli"
5
- require "schedule/cron"
6
-
7
- module ScheduleJob
8
- VERSION = "1.0.0"
9
- end
4
+ require "schedule_job/cli"
5
+ require "schedule_job/cron"
data/schedule_job.gemspec CHANGED
@@ -1,6 +1,8 @@
1
+ require_relative "lib/schedule_job/version"
2
+
1
3
  Gem::Specification.new do |spec|
2
4
  spec.name = "schedule_job"
3
- spec.version = "1.0.0"
5
+ spec.version = ScheduleJob::VERSION
4
6
  spec.authors = ["David Ellis"]
5
7
  spec.email = ["david@conquerthelawn.com"]
6
8
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: schedule_job
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Ellis
@@ -64,14 +64,14 @@ files:
64
64
  - Gemfile.lock
65
65
  - LICENSE.txt
66
66
  - README.md
67
- - Rakefile
68
67
  - bin/schedule
69
- - lib/schedule/cli.rb
70
- - lib/schedule/cron.citrus
71
- - lib/schedule/cron.rb
72
- - lib/schedule/cron.treetop
73
- - lib/schedule/cron_parser.rb
74
68
  - lib/schedule_job.rb
69
+ - lib/schedule_job/cli.rb
70
+ - lib/schedule_job/cron.citrus
71
+ - lib/schedule_job/cron.rb
72
+ - lib/schedule_job/cron.treetop
73
+ - lib/schedule_job/cron_parser.rb
74
+ - lib/schedule_job/version.rb
75
75
  - schedule_job.gemspec
76
76
  homepage: https://github.com/davidkellis/scheduler
77
77
  licenses:
data/Rakefile DELETED
@@ -1,8 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require "bundler/gem_tasks"
4
- require "rspec/core/rake_task"
5
-
6
- RSpec::Core::RakeTask.new(:spec)
7
-
8
- task default: :spec