huginn_agent 0.6.0 → 0.6.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b916efe568514474c9fd9aba9c80a809cf0fb12a
4
- data.tar.gz: 56b4428e2fdd46c42387d169e78ee231288e467b
3
+ metadata.gz: 58bdaa5b471638b5ab8f87fc510f267b258e48b4
4
+ data.tar.gz: 22640b81d41146022e595acf5c51ba6e3f707955
5
5
  SHA512:
6
- metadata.gz: ab3871b1d75cf6b96bf00f7126f19116f95bf058152dc6205736357c9aa7f35ba363b909bd41e7d70d2febbed2eafbdb847be59e0793c93fab3da476870021b8
7
- data.tar.gz: ef5d58ea0fa7b36baa7d8afb128a64ac46cff0d03a2960c849a84772d141a07d3f863b6a92c7735f577b0a083b6a3bb5d3f9fa25ef3a017b037f3978306f0457
6
+ metadata.gz: 506e742c7419bd609ff7faa2accdc2313d4b7807b143bfbe77d29fe0535dc450096c5928d16c115c3023ce9fd10165e84ecad5f8d6a906151c56a03fecbd38fa
7
+ data.tar.gz: 05f82f545a6beb924b813e6d3eb13e5fc758ab491fabd07db097fd3de12e60f4263da02d5437af3d5bded1c458b0c7b27ff0b347f44406af194abad5d28a534d
@@ -34,6 +34,9 @@ class HuginnAgent
34
34
  shell_out "cp .env spec/huginn"
35
35
  end
36
36
  Dir.chdir('spec/huginn') do
37
+ if !File.exists?('.env')
38
+ shell_out "cp .env.example .env"
39
+ end
37
40
  shell_out "bundle install --without development production -j 4", 'Installing ruby gems ...'
38
41
  end
39
42
 
@@ -6,11 +6,13 @@ TODO: Delete this and the text above, and describe your gem
6
6
 
7
7
  ## Installation
8
8
 
9
+ This gem is run as part of the [Huginn](https://github.com/huginn/huginn) project. If you haven't already, follow the [Getting Started](https://github.com/huginn/huginn#getting-started) instructions there.
10
+
9
11
  Add this string to your Huginn's .env `ADDITIONAL_GEMS` configuration:
10
12
 
11
13
  ```ruby
12
14
  <%=config[:gem_name]%>
13
- # when only using this agent gem it should look like hits:
15
+ # when only using this agent gem it should look like this:
14
16
  ADDITIONAL_GEMS=<%=config[:gem_name]%>
15
17
  ```
16
18
 
@@ -14,6 +14,12 @@ module Agents
14
14
  def validate_options
15
15
  end
16
16
 
17
+ def working?
18
+ # Implement me! Maybe one of these next two lines would be a good fit?
19
+ # checked_without_error?
20
+ # received_event_without_error?
21
+ end
22
+
17
23
  # def check
18
24
  # end
19
25
 
@@ -1,3 +1,3 @@
1
1
  class HuginnAgent
2
- VERSION = '0.6.0'
2
+ VERSION = '0.6.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: huginn_agent
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Cantino
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-04-12 00:00:00.000000000 Z
11
+ date: 2017-09-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -164,7 +164,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
164
164
  version: '0'
165
165
  requirements: []
166
166
  rubyforge_project:
167
- rubygems_version: 2.5.1
167
+ rubygems_version: 2.6.13
168
168
  signing_key:
169
169
  specification_version: 4
170
170
  summary: Helpers for making new Huginn Agents