zzutil 0.0.4

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/LICENSE ADDED
@@ -0,0 +1 @@
1
+ Copyright (c) 2011 ZangZing, LLC
data/README.rdoc ADDED
@@ -0,0 +1,10 @@
1
+ = zz
2
+
3
+ Deploy tool for ZangZing and Amazon instances
4
+
5
+ == Installation
6
+ $ gem install zzdeploy
7
+
8
+ == Copyright
9
+
10
+ Copyright (c) 2011 ZangZing, LLC. See LICENSE for details.
data/Rakefile ADDED
@@ -0,0 +1,25 @@
1
+ require 'spec/rake/spectask'
2
+ require 'rake/rdoctask'
3
+
4
+ $LOAD_PATH.unshift(File.expand_path('../lib', __FILE__))
5
+
6
+ Spec::Rake::SpecTask.new(:spec) do |spec|
7
+ spec.libs << 'lib' << 'spec'
8
+ spec.spec_files = FileList['spec/**/*_spec.rb']
9
+ end
10
+
11
+ Spec::Rake::SpecTask.new(:rcov) do |spec|
12
+ spec.libs << 'lib' << 'spec'
13
+ spec.pattern = 'spec/**/*_spec.rb'
14
+ spec.rcov = true
15
+ end
16
+
17
+ Rake::RDocTask.new do |rdoc|
18
+ require 'zz_deploy'
19
+ rdoc.rdoc_dir = 'rdoc'
20
+ rdoc.title = "zzdeploy #{ZZDeploy::VERSION}"
21
+ rdoc.rdoc_files.include('README*')
22
+ rdoc.rdoc_files.include('lib/**/*.rb')
23
+ end
24
+
25
+ task :default => :spec
data/lib/zz_amazon.rb ADDED
@@ -0,0 +1,12 @@
1
+ # this class manages global stuff related to the amazon connection
2
+ module ZZTest
3
+ class Amazon
4
+ def self.secret_key
5
+ "secret"
6
+ end
7
+
8
+ def self.access_key
9
+ "access"
10
+ end
11
+ end
12
+ end
@@ -0,0 +1,8 @@
1
+ module ZZTest
2
+ class ZZSillyTest
3
+ def self.something
4
+ "something"
5
+ end
6
+ end
7
+ end
8
+
data/lib/zzutil.rb ADDED
@@ -0,0 +1,9 @@
1
+ $:.unshift(File.dirname(__FILE__))
2
+ require 'rubygems'
3
+
4
+ puts "zzutil was included"
5
+
6
+ require 'zz_amazon'
7
+ require 'zz_silly_test'
8
+
9
+
metadata ADDED
@@ -0,0 +1,72 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: zzutil
3
+ version: !ruby/object:Gem::Version
4
+ hash: 23
5
+ prerelease:
6
+ segments:
7
+ - 0
8
+ - 0
9
+ - 4
10
+ version: 0.0.4
11
+ platform: ruby
12
+ authors:
13
+ - Greg Seitz
14
+ autorequire:
15
+ bindir: bin
16
+ cert_chain: []
17
+
18
+ date: 2011-06-22 00:00:00 Z
19
+ dependencies: []
20
+
21
+ description: Useful utility library
22
+ email:
23
+ executables: []
24
+
25
+ extensions: []
26
+
27
+ extra_rdoc_files: []
28
+
29
+ files:
30
+ - lib/zz_amazon.rb
31
+ - lib/zz_silly_test.rb
32
+ - lib/zzutil.rb
33
+ - Rakefile
34
+ - LICENSE
35
+ - README.rdoc
36
+ homepage:
37
+ licenses: []
38
+
39
+ post_install_message:
40
+ rdoc_options:
41
+ - --charset=UTF-8
42
+ require_paths:
43
+ - lib
44
+ required_ruby_version: !ruby/object:Gem::Requirement
45
+ none: false
46
+ requirements:
47
+ - - ">="
48
+ - !ruby/object:Gem::Version
49
+ hash: 31
50
+ segments:
51
+ - 1
52
+ - 8
53
+ version: "1.8"
54
+ required_rubygems_version: !ruby/object:Gem::Requirement
55
+ none: false
56
+ requirements:
57
+ - - ">="
58
+ - !ruby/object:Gem::Version
59
+ hash: 9
60
+ segments:
61
+ - 1
62
+ - 3
63
+ version: "1.3"
64
+ requirements: []
65
+
66
+ rubyforge_project:
67
+ rubygems_version: 1.8.5
68
+ signing_key:
69
+ specification_version: 3
70
+ summary: ZangZing Utility code
71
+ test_files: []
72
+