eventify 0.9.5 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +9 -7
- data/lib/eventify/configuration.rb +1 -0
- data/lib/eventify/version.rb +1 -1
- data/spec/eventify/configuration_spec.rb +5 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 00e77a11dac89501d01e4608f63817fc3d9c7a21
|
4
|
+
data.tar.gz: 11d9fb0336f288f55142dd7aaf5ddf4440129e77
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5a66e1517a0757e7dbf127e1b751d13278f9587d866c87537c21b6e686d9c02756dc8c64381bdf29f6735142256452c8e8a42b278dd57af31c669f09d65a23ed
|
7
|
+
data.tar.gz: 9f610e2689e9d533422deb375a5e2f41b4b0a08cbe52450cc699bf65a081658d521b5f3d74a967bb4e23f7b506133428396a8058013ab3a6665adf96c74b233c
|
data/README.md
CHANGED
@@ -20,18 +20,20 @@ providers/organizers.
|
|
20
20
|
|
21
21
|
## Usage
|
22
22
|
|
23
|
-
Create configuration file:
|
23
|
+
* Create configuration file with your e-mail address:
|
24
24
|
|
25
|
-
$ ruby -reventify -e "Eventify::Configuration.new.save"
|
25
|
+
$ ruby -reventify -e "Eventify::Configuration.new(subscribers: ['foo@bar.com']).save"
|
26
26
|
|
27
|
-
|
28
|
-
|
29
|
-
$ vi ~/.eventify/config.yaml
|
30
|
-
|
31
|
-
Run it from command line and add it into `cron`:
|
27
|
+
* Run it from command line and add it into `cron`:
|
32
28
|
|
33
29
|
$ ruby -reventify -e "Eventify.new.process_new_events"
|
34
30
|
|
31
|
+
* Check your e-mail for information about upcoming events.
|
32
|
+
|
33
|
+
* Edit configuration settings if defaults won't work for you:
|
34
|
+
|
35
|
+
$ vi ~/.eventify/config.yaml
|
36
|
+
|
35
37
|
## Supported Providers
|
36
38
|
|
37
39
|
The following providers are currently supported:
|
data/lib/eventify/version.rb
CHANGED
@@ -36,6 +36,11 @@ describe Eventify::Configuration do
|
|
36
36
|
Eventify::Configuration.new(foo: "bar").save
|
37
37
|
YAML.load(File.read(Eventify::Configuration::PATH))[:foo].should == "bar"
|
38
38
|
end
|
39
|
+
|
40
|
+
it "saves subscribers as an array even if it is specified as a string" do
|
41
|
+
Eventify::Configuration.new(subscribers: "foo@bar.com").save
|
42
|
+
YAML.load(File.read(Eventify::Configuration::PATH))[:subscribers].should == ["foo@bar.com"]
|
43
|
+
end
|
39
44
|
end
|
40
45
|
|
41
46
|
context "#[]" do
|