huginn_todoist_agent 0.1 → 0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/huginn_todoist_agent.rb +7 -0
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c85d85dc83cb07347d239dae248831c88103869a
4
- data.tar.gz: 14676173cd5ef4e61cc8610a2bcef96d2cf8a5a6
3
+ metadata.gz: 28b393bab5ee709accf4c9e022f1243da9f60eb1
4
+ data.tar.gz: 0359dfb1bd62d99cd3dcd1a0121f89482700d279
5
5
  SHA512:
6
- metadata.gz: 9336eff0a18785196e2aea96745e2f3a0c9f8f5eae16b64013fb529d0f1a99af6f0be6858b651aa4e8205e5ffb00909c634e4722055a14854788109a9e8a00cb
7
- data.tar.gz: fb98a6d61a4ef57416ac4c0f99b09a1100bf9e97dd4e544c6037f9b521ecd1b75f3897557b13432b313917a51f73ce4d0b697aa16813032cd94b79bc07235e9a
6
+ metadata.gz: 2065eced8210eea5861626fae160601facb7f5c56f8d606e044c44f229acffce6485b7d8a7a7c7f602ec523ad2e66b8ac5ed8a0599a02ce8b96566f6a7ab210f
7
+ data.tar.gz: 46c32cf84e855015e9177025570e2282f9604d8a823ad08510c9ef58c0542d2d7484ec370481503590a41a77bf1205bb5fb213936ad81de1db6258cccea4aad2
@@ -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'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: huginn_todoist_agent
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.1'
4
+ version: '0.2'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stefan Siegl