-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #27 from alessio-signorini/master
Define Rails::Engine in the Agent GEMs created
- Loading branch information
Showing
3 changed files
with
8 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
language: ruby | ||
rvm: | ||
- 2.3.0 | ||
- 2.3.8 | ||
- 2.4.9 | ||
- 2.5.7 | ||
- 2.6.5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
require 'huginn_agent' | ||
|
||
# Allow to add views, controller, routes, etc... | ||
class Engine < ::Rails::Engine; end | ||
|
||
#HuginnAgent.load '<%= config[:gem_name] %>/concerns/my_agent_concern' | ||
HuginnAgent.register '<%= config[:gem_name] %>/<%= config[:agent_file_name] %>' |