school_declare 0.2.1 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +10 -0
  3. data/lib/declare/version.rb +1 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 00dc71097561b595290bba5b9f9b558e132b21382f9f65bb9e475578a986fc55
4
- data.tar.gz: dd2896f66ebddd6a4da9bd370fa0d46ccf8e3ebfcbb2bf9ae06f49b99cc54751
3
+ metadata.gz: 104e7889e04cc9acf5119a87ec108954f87985a81d73ed1b98e53e18e91ad695
4
+ data.tar.gz: cdfb245a582b197873b397e370b8dd5faaefb289eff5a0efd8fe4979da377c83
5
5
  SHA512:
6
- metadata.gz: 3d6c8143cd577f9c39f41a73cab1116c0fbd7b8df52e8e32d36208488540077ae1f926682f173a478e2c680938f234838ccce2b9309888dd8e2cc8bc521114ed
7
- data.tar.gz: dd6755caf7cbb2ea4835cd7a170295d7042790b0be2ed1efc54fd6c777e2d73184d2618d8540001d18845221a046c28c7c808db32086e730526d8112de17dd30
6
+ metadata.gz: 426f093b31f1cb17a52fc8ac7bf5581bc2f37e03ad1b580ca74fb67a5de74380da2ff6c17c53626273e5d4168681a96eb6fadc206ac7373e88088eaf27f4011c
7
+ data.tar.gz: 0d1672e29a7fa27c5f547a544c2922209341fbf2409ceb55271406c82baa414171a634d3c53b6e417a28ca7b5daedd1644fcc2bb43bdcdd11a2705b7a25a0ca8
data/README.md CHANGED
@@ -42,6 +42,16 @@ The script is set to run in `headless` mode as it navigates to the school websit
42
42
  browser = Watir::Browser.new :chrome, headless: false
43
43
  ```
44
44
 
45
+ ### Send SMS Update
46
+
47
+ This script also provides the ability to send an SMS update after completion. To enable this feature you will need to have a [Vonage Account](https://dashboard.nexmo.com) and provide the following additional values in your `.env` file:
48
+
49
+ * `SEND_SMS=true`: A boolean set to true to enable the SMS feature
50
+ * `VONAGE_API_KEY`: Set this to your Vonage API key
51
+ * `VONAGE_API_SECRET`: Set this to your Vonage API secret
52
+ * `VONAGE_NUMBER`: Set this to the phone number you provisioned from Vonage for SMS delivery
53
+ * `TO_NUMBER`: Set this to the receipient number for the SMS to be delivered to
54
+
45
55
  ## Contributing
46
56
 
47
57
  Contributions to the code are always welcome. You can either raise an issue to be discussed or submit a pull request directly. We try to follow the [GitHub Flow](https://guides.github.com/introduction/flow/) when proposing new features.
@@ -1,3 +1,3 @@
1
1
  module Declare
2
- VERSION = '0.2.1'.freeze
2
+ VERSION = '0.3.0'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: school_declare
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Greenberg
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-11-30 00:00:00.000000000 Z
11
+ date: 2020-12-02 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: A gem to help send the daily health forms for Israeli schools using the
14
14
  tik-tak platform.