huginn_todoist_agent 0.1 → 0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/huginn_todoist_agent.rb +7 -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: 28b393bab5ee709accf4c9e022f1243da9f60eb1
|
4
|
+
data.tar.gz: 0359dfb1bd62d99cd3dcd1a0121f89482700d279
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2065eced8210eea5861626fae160601facb7f5c56f8d606e044c44f229acffce6485b7d8a7a7c7f602ec523ad2e66b8ac5ed8a0599a02ce8b96566f6a7ab210f
|
7
|
+
data.tar.gz: 46c32cf84e855015e9177025570e2282f9604d8a823ad08510c9ef58c0542d2d7484ec370481503590a41a77bf1205bb5fb213936ad81de1db6258cccea4aad2
|
data/lib/huginn_todoist_agent.rb
CHANGED
@@ -1,4 +1,11 @@
|
|
1
1
|
require 'huginn_agent'
|
2
2
|
|
3
|
+
# Load todoist (from ruby-todoist-api Gem), ignoring LoadErrors. This way Huginn
|
4
|
+
# still starts up successfully, yet shows "Missing Gems" error in the frontend.
|
5
|
+
begin
|
6
|
+
require 'todoist'
|
7
|
+
rescue LoadError
|
8
|
+
end
|
9
|
+
|
3
10
|
#HuginnAgent.load 'huginn_todoist_agent/concerns/my_agent_concern'
|
4
11
|
HuginnAgent.register 'huginn_todoist_agent/todoist_agent'
|