loe-iclassify-interface 1.0.5 → 1.0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/README +1 -0
- data/Rakefile +1 -1
- data/VERSION +1 -1
- data/bin/icagent +4 -5
- data/bin/icsearch +0 -1
- data/bin/icwatcher +1 -2
- data/iclassify-interface.gemspec +6 -13
- data/lib/iclassify-interface/agent.rb +1 -1
- metadata +6 -10
- data/Manifest.txt +0 -11
- data/lib/.DS_Store +0 -0
- data/lib/iclassify-interface/version.rb +0 -3
- data/test/test_iclassify-interface.rb +0 -0
data/README
CHANGED
@@ -13,6 +13,7 @@ sudo gem install loe-iclassify-interface
|
|
13
13
|
== LICENSE:
|
14
14
|
|
15
15
|
# Author:: Adam Jacob (<adam@hjksolutions.com>)
|
16
|
+
# Mods:: W. Andrew Loe III (<andrew@andrewloe.com>)
|
16
17
|
# Copyright:: Copyright (c) 2007 HJK Solutions, LLC
|
17
18
|
# License:: GNU General Public License version 2.1
|
18
19
|
#
|
data/Rakefile
CHANGED
@@ -9,7 +9,7 @@ begin
|
|
9
9
|
gem.email = "andrew@andrewloe.com"
|
10
10
|
gem.homepage = "http://github.com/loe/iclassify-interface"
|
11
11
|
gem.authors = ["W. Andrew Loe III"]
|
12
|
-
gem.add_dependency("uuidtools", '
|
12
|
+
gem.add_dependency("uuidtools", '>= 2.0.0')
|
13
13
|
gem.add_dependency("rake", ">= 0.8.3")
|
14
14
|
gem.add_dependency("launchy")
|
15
15
|
gem.add_dependency("builder")
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.7
|
data/bin/icagent
CHANGED
@@ -25,9 +25,10 @@ require File.dirname(__FILE__) + '/../lib/iclassify'
|
|
25
25
|
require 'optparse'
|
26
26
|
|
27
27
|
config = {
|
28
|
-
:uuidfile
|
29
|
-
:
|
28
|
+
:uuidfile => '/etc/icagent/icagent.uuid',
|
29
|
+
:directory => File.dirname(__FILE__) + '/../recipes'
|
30
30
|
}
|
31
|
+
|
31
32
|
opts = OptionParser.new do |opts|
|
32
33
|
opts.banner = "Usage: #{$0} [-d DIR|-r FILE] (options)"
|
33
34
|
opts.on("-d DIRECTORY", "--directory DIRECTORY", "Path to icagent recipes") do |d|
|
@@ -77,7 +78,6 @@ end
|
|
77
78
|
if config.has_key?(:recipe)
|
78
79
|
agent.run_script(File.expand_path(config[:recipe]))
|
79
80
|
end
|
80
|
-
|
81
81
|
if config.has_key?(:directory)
|
82
82
|
Dir.glob(File.join(File.expand_path(config[:directory]), '*.rb')).sort.each do |file|
|
83
83
|
if File.file?(file)
|
@@ -85,9 +85,8 @@ if config.has_key?(:directory)
|
|
85
85
|
end
|
86
86
|
end
|
87
87
|
end
|
88
|
-
|
89
88
|
if config.has_key?(:dryrun) && config[:dryrun]
|
90
89
|
puts agent.to_s
|
91
90
|
else
|
92
91
|
agent.update
|
93
|
-
end
|
92
|
+
end
|
data/bin/icsearch
CHANGED
data/bin/icwatcher
CHANGED
@@ -27,8 +27,7 @@ require 'tempfile'
|
|
27
27
|
require 'open3'
|
28
28
|
|
29
29
|
config = {
|
30
|
-
:
|
31
|
-
:uuidfile => File.dirname(__FILE__) + '/../icagent.uuid',
|
30
|
+
:uuidfile => '/etc/icagent/icagent.uuid',
|
32
31
|
:tmpfile => File.join(Dir::tmpdir, "icwatcher.digest"),
|
33
32
|
}
|
34
33
|
verbose = false
|
data/iclassify-interface.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{iclassify-interface}
|
5
|
-
s.version = "1.0.
|
5
|
+
s.version = "1.0.7"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["W. Andrew Loe III"]
|
9
|
-
s.date = %q{2009-07-
|
9
|
+
s.date = %q{2009-07-23}
|
10
10
|
s.email = %q{andrew@andrewloe.com}
|
11
11
|
s.executables = ["icagent", "icsearch", "icwatcher"]
|
12
12
|
s.extra_rdoc_files = [
|
@@ -14,7 +14,6 @@ Gem::Specification.new do |s|
|
|
14
14
|
]
|
15
15
|
s.files = [
|
16
16
|
".gitignore",
|
17
|
-
"Manifest.txt",
|
18
17
|
"README",
|
19
18
|
"Rakefile",
|
20
19
|
"VERSION",
|
@@ -22,40 +21,34 @@ Gem::Specification.new do |s|
|
|
22
21
|
"bin/icsearch",
|
23
22
|
"bin/icwatcher",
|
24
23
|
"iclassify-interface.gemspec",
|
25
|
-
"lib/.DS_Store",
|
26
24
|
"lib/iclassify-interface.rb",
|
27
25
|
"lib/iclassify-interface/agent.rb",
|
28
26
|
"lib/iclassify-interface/client.rb",
|
29
|
-
"lib/iclassify-interface/node.rb"
|
30
|
-
"lib/iclassify-interface/version.rb",
|
31
|
-
"test/test_iclassify-interface.rb"
|
27
|
+
"lib/iclassify-interface/node.rb"
|
32
28
|
]
|
33
29
|
s.homepage = %q{http://github.com/loe/iclassify-interface}
|
34
30
|
s.rdoc_options = ["--charset=UTF-8"]
|
35
31
|
s.require_paths = ["lib"]
|
36
32
|
s.rubygems_version = %q{1.3.4}
|
37
33
|
s.summary = %q{TODO}
|
38
|
-
s.test_files = [
|
39
|
-
"test/test_iclassify-interface.rb"
|
40
|
-
]
|
41
34
|
|
42
35
|
if s.respond_to? :specification_version then
|
43
36
|
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
44
37
|
s.specification_version = 3
|
45
38
|
|
46
39
|
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
47
|
-
s.add_runtime_dependency(%q<uuidtools>, ["
|
40
|
+
s.add_runtime_dependency(%q<uuidtools>, [">= 2.0.0"])
|
48
41
|
s.add_runtime_dependency(%q<rake>, [">= 0.8.3"])
|
49
42
|
s.add_runtime_dependency(%q<launchy>, [">= 0"])
|
50
43
|
s.add_runtime_dependency(%q<builder>, [">= 0"])
|
51
44
|
else
|
52
|
-
s.add_dependency(%q<uuidtools>, ["
|
45
|
+
s.add_dependency(%q<uuidtools>, [">= 2.0.0"])
|
53
46
|
s.add_dependency(%q<rake>, [">= 0.8.3"])
|
54
47
|
s.add_dependency(%q<launchy>, [">= 0"])
|
55
48
|
s.add_dependency(%q<builder>, [">= 0"])
|
56
49
|
end
|
57
50
|
else
|
58
|
-
s.add_dependency(%q<uuidtools>, ["
|
51
|
+
s.add_dependency(%q<uuidtools>, [">= 2.0.0"])
|
59
52
|
s.add_dependency(%q<rake>, [">= 0.8.3"])
|
60
53
|
s.add_dependency(%q<launchy>, [">= 0"])
|
61
54
|
s.add_dependency(%q<builder>, [">= 0"])
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: loe-iclassify-interface
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- W. Andrew Loe III
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-07-
|
12
|
+
date: 2009-07-23 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -18,9 +18,9 @@ dependencies:
|
|
18
18
|
version_requirement:
|
19
19
|
version_requirements: !ruby/object:Gem::Requirement
|
20
20
|
requirements:
|
21
|
-
- - "
|
21
|
+
- - ">="
|
22
22
|
- !ruby/object:Gem::Version
|
23
|
-
version:
|
23
|
+
version: 2.0.0
|
24
24
|
version:
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: rake
|
@@ -64,7 +64,6 @@ extra_rdoc_files:
|
|
64
64
|
- README
|
65
65
|
files:
|
66
66
|
- .gitignore
|
67
|
-
- Manifest.txt
|
68
67
|
- README
|
69
68
|
- Rakefile
|
70
69
|
- VERSION
|
@@ -72,13 +71,10 @@ files:
|
|
72
71
|
- bin/icsearch
|
73
72
|
- bin/icwatcher
|
74
73
|
- iclassify-interface.gemspec
|
75
|
-
- lib/.DS_Store
|
76
74
|
- lib/iclassify-interface.rb
|
77
75
|
- lib/iclassify-interface/agent.rb
|
78
76
|
- lib/iclassify-interface/client.rb
|
79
77
|
- lib/iclassify-interface/node.rb
|
80
|
-
- lib/iclassify-interface/version.rb
|
81
|
-
- test/test_iclassify-interface.rb
|
82
78
|
has_rdoc: false
|
83
79
|
homepage: http://github.com/loe/iclassify-interface
|
84
80
|
post_install_message:
|
@@ -105,5 +101,5 @@ rubygems_version: 1.2.0
|
|
105
101
|
signing_key:
|
106
102
|
specification_version: 3
|
107
103
|
summary: TODO
|
108
|
-
test_files:
|
109
|
-
|
104
|
+
test_files: []
|
105
|
+
|
data/Manifest.txt
DELETED
@@ -1,11 +0,0 @@
|
|
1
|
-
History.txt
|
2
|
-
Manifest.txt
|
3
|
-
README.txt
|
4
|
-
Rakefile
|
5
|
-
iclassify-interface.gemspec
|
6
|
-
lib/iclassify-interface.rb
|
7
|
-
lib/iclassify-interface/agent.rb
|
8
|
-
lib/iclassify-interface/client.rb
|
9
|
-
lib/iclassify-interface/node.rb
|
10
|
-
lib/iclassify-interface/version.rb
|
11
|
-
test/test_iclassify-interface.rb
|
data/lib/.DS_Store
DELETED
Binary file
|
File without changes
|