cronit 1.0.2 → 1.0.3

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +12 -12
  3. data/lib/cronit/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 78b06fd0d0c91a5b4a83a7f39d8e1e29ca36937a3727719b8ee8bc1c8c0560c3
4
- data.tar.gz: daf9372fece66c33b52eaf2f63b668125f7a6a0a61801db6e47f0d72d7f08de7
3
+ metadata.gz: 7fcd9482e2ffc9969dc99060aad2163b4f18e851fc06046e3a1336c30614ab63
4
+ data.tar.gz: a46e052aebee361d05f2cf59ed518828939b09a80af7e21c371dc5fb324804d9
5
5
  SHA512:
6
- metadata.gz: 542b53eaceb0911a0d8f5a01106937fce0dc979fb192bebdc2b99e8ece4017fc0aab296a1b766cd870b27d2981973f639da71177f8ae278c7549ce89964665ed
7
- data.tar.gz: ec732c4d0d1e9ee90122c0fe24c31970654d38b1d6dc055b9368abc0285afd62d74d0a0a92c67e94a8eb872bad36728ce2697b7c7ca712d7c04aca4ecf509bb6
6
+ metadata.gz: ee647e28049fa71b63ff9d2dfae96a2da701c6b2461b8be610be8c8948e0677442bbcec27d2460820e745facc04808c2362135986b6175b92f81f7d710ae22b3
7
+ data.tar.gz: cbd6907c4f9e8b7fd74ecf54bf48a7a0c386cb3f038c09d04fb277f4a697e439bdccbba932e515e555780cc608907acd0853770b16957357010e7065d49918f2
data/README.md CHANGED
@@ -1,8 +1,7 @@
1
1
  # Cronit
2
2
 
3
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/cronit`. To experiment with that code, run `bin/console` for an interactive prompt.
4
-
5
- TODO: Delete this and the text above, and describe your gem
3
+ Welcome to the Cronit Gem, which is the Ruby bindings for the Cronit application API.
4
+ Cronit ((https://cronit.app)[https://cronit.app]) is an online cronjob scheduling application you can use to plan and execute recurring tasks online.
6
5
 
7
6
  ## Installation
8
7
 
@@ -22,14 +21,15 @@ Or install it yourself as:
22
21
 
23
22
  ## Usage
24
23
 
25
- TODO: Write usage instructions here
26
-
27
- ## Development
28
-
29
- After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
30
-
31
- To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
24
+ Use this gem by creating an instance of the Cronit client (using the API key availble in your Cronit account):
25
+ ```ruby
26
+ client = Cronit::Cronit.new('12341234-1234-1234-1234-123412341234')
27
+ ```
32
28
 
33
- ## Contributing
29
+ Then, use it to interact with your cron jobs:
34
30
 
35
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/cronit.
31
+ ```ruby
32
+ client.list_crons
33
+ client.run_cron(cron_id)
34
+ client.toggle_cron(cron_id)
35
+ ```
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Cronit
4
- VERSION = "1.0.2"
4
+ VERSION = "1.0.3"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cronit
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cronit