cronit 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +12 -12
- data/lib/cronit/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7fcd9482e2ffc9969dc99060aad2163b4f18e851fc06046e3a1336c30614ab63
|
4
|
+
data.tar.gz: a46e052aebee361d05f2cf59ed518828939b09a80af7e21c371dc5fb324804d9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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
|
-
|
26
|
-
|
27
|
-
|
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
|
-
|
29
|
+
Then, use it to interact with your cron jobs:
|
34
30
|
|
35
|
-
|
31
|
+
```ruby
|
32
|
+
client.list_crons
|
33
|
+
client.run_cron(cron_id)
|
34
|
+
client.toggle_cron(cron_id)
|
35
|
+
```
|
data/lib/cronit/version.rb
CHANGED