File tree 8 files changed +58
-1
lines changed
8 files changed +58
-1
lines changed Original file line number Diff line number Diff line change
1
+ --format documentation
2
+ --color
Original file line number Diff line number Diff line change
1
+ language : ruby
2
+ rvm :
3
+ - 2.1.2
Original file line number Diff line number Diff line change
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ huginn_agent (0.1 )
5
+
6
+ GEM
7
+ remote: https://rubygems.org/
8
+ specs:
9
+ diff-lcs (1.2.5 )
10
+ rake (10.3.2 )
11
+ rspec (3.1.0 )
12
+ rspec-core (~> 3.1.0 )
13
+ rspec-expectations (~> 3.1.0 )
14
+ rspec-mocks (~> 3.1.0 )
15
+ rspec-core (3.1.4 )
16
+ rspec-support (~> 3.1.0 )
17
+ rspec-expectations (3.1.2 )
18
+ diff-lcs (>= 1.2.0 , < 2.0 )
19
+ rspec-support (~> 3.1.0 )
20
+ rspec-mocks (3.1.2 )
21
+ rspec-support (~> 3.1.0 )
22
+ rspec-support (3.1.1 )
23
+
24
+ PLATFORMS
25
+ ruby
26
+
27
+ DEPENDENCIES
28
+ bundler (~> 1.7 )
29
+ huginn_agent !
30
+ rake (~> 10.0 )
31
+ rspec
Original file line number Diff line number Diff line change
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec ::Core ::RakeTask . new ( :spec )
5
+
6
+ task :default => :spec
7
+
Original file line number Diff line number Diff line change
1
+ require 'huginn_agent/version'
2
+
1
3
class HuginnAgent
2
4
def self . register ( *paths )
3
5
@paths ||= [ ]
@@ -12,4 +14,4 @@ def self.require!
12
14
Agent ::TYPES << "Agents::#{ File . basename ( path . to_s ) . camelize } "
13
15
end
14
16
end
15
- end
17
+ end
Original file line number Diff line number Diff line change
1
+ class HuginnAgent
2
+ VERSION = '0.1'
3
+ end
Original file line number Diff line number Diff line change
1
+ require 'spec_helper'
2
+
3
+ describe HuginnAgent do
4
+ it 'has a version number' do
5
+ expect ( HuginnAgent ::VERSION ) . not_to be nil
6
+ end
7
+ end
Original file line number Diff line number Diff line change
1
+ $LOAD_PATH. unshift File . expand_path ( '../../lib' , __FILE__ )
2
+ require 'huginn_agent'
You can’t perform that action at this time.
0 commit comments