loe-iclassify-interface 1.0.5 → 1.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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", '1.0.7')
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.5
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 => File.dirname(__FILE__) + '/../icagent.uuid',
29
- :server => 'https://ops.onehub.com'
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
@@ -28,7 +28,6 @@ require 'highline/import'
28
28
  config = {
29
29
  :server => 'https://iclassify',
30
30
  :user => ENV.has_key?('USER') ? ENV['USER'] : 'puppet',
31
- :passwd => 'readyANDwilling',
32
31
  :only => nil,
33
32
  :quiet => nil
34
33
  }
data/bin/icwatcher CHANGED
@@ -27,8 +27,7 @@ require 'tempfile'
27
27
  require 'open3'
28
28
 
29
29
  config = {
30
- :server => 'https://ops.onehub.com',
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
@@ -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"
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-22}
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>, ["= 1.0.7"])
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>, ["= 1.0.7"])
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>, ["= 1.0.7"])
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"])
@@ -23,7 +23,7 @@ module IClassify
23
23
  write_uuidfile(uuidfile)
24
24
  end
25
25
  else
26
- @uuid = UUID.random_create
26
+ @uuid = UUIDTools::UUID.random_create
27
27
  @password = random_password(30)
28
28
  write_uuidfile(uuidfile)
29
29
  end
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.5
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-22 00:00:00 -07:00
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: 1.0.7
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
- - test/test_iclassify-interface.rb
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
@@ -1,3 +0,0 @@
1
- module IClassify
2
- VERSION = '1.0.0'
3
- end
File without changes