bincache 0.0.6 → 0.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.
Files changed (5) hide show
  1. data/README.rdoc +75 -9
  2. data/Rakefile +5 -2
  3. data/VERSION +1 -1
  4. data/bincache.gemspec +6 -3
  5. metadata +5 -5
data/README.rdoc CHANGED
@@ -1,16 +1,82 @@
1
1
  = bincache
2
2
 
3
- Description goes here.
3
+ BinCache is a system designed to chache compiled binaries. It has resources for bash, ruby and chef.
4
+
5
+ == Bash example
6
+
7
+ ## install bincache
8
+ gem install bincache
9
+
10
+
11
+ ## set the directory to cache
12
+ dir=/tmp/bincache
13
+
14
+
15
+ ## create a some sample scripts
16
+ cat <<-EOF > script1
17
+ echo "I am in script one" > one
18
+ EOF
19
+
20
+ cat <<-EOF > script2
21
+ echo "I am in script two" > two
22
+ EOF
23
+
24
+
25
+ ## run bincache
26
+ bincache $dir $script1 $script2
27
+
28
+
29
+ == Ruby example
30
+
31
+ ## make sure bincache is loaded
32
+ require 'bincache'
33
+
34
+
35
+ ## set the directory to cache
36
+ dir = "/tmp/bincache"
37
+
38
+
39
+ ## create two sample scripts
40
+ script1 = <<EOS
41
+ echo "I am in script one" > one
42
+ EOS
43
+
44
+ script2 = <<EOS
45
+ echo "I am in script two" > two
46
+ EOS
47
+
48
+
49
+ ## create an empty list of scripts and add the sample script to it
50
+ scripts = []
51
+ scripts << script1
52
+ scripts << script2
53
+
54
+
55
+ ## run bincache
56
+ bincache = BinCache.new
57
+ bincache.run_sequence(dir,scripts)
58
+
59
+ == Chef example
60
+
61
+ require 'bincache'
62
+
63
+ bincache "script1" do
64
+ action :run
65
+ directory "/tmp/bincache"
66
+ script <<-EOS
67
+ echo "I am in script one" > one
68
+ EOS
69
+ end
70
+
71
+ bincache "script2" do
72
+ action :run
73
+ directory "/tmp/bincache"
74
+ script <<-EOS
75
+ echo "I am in script two" > two
76
+ EOS
77
+ end
4
78
 
5
- == Note on Patches/Pull Requests
6
79
 
7
- * Fork the project.
8
- * Make your feature addition or bug fix.
9
- * Add tests for it. This is important so I don't break it in a
10
- future version unintentionally.
11
- * Commit, do not mess with rakefile, version, or history.
12
- (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
13
- * Send me a pull request. Bonus points for topic branches.
14
80
 
15
81
  == Copyright
16
82
 
data/Rakefile CHANGED
@@ -5,8 +5,11 @@ begin
5
5
  require 'jeweler'
6
6
  Jeweler::Tasks.new do |gem|
7
7
  gem.name = "bincache"
8
- gem.summary = %Q{bines scripts}
9
- gem.description = %Q{longer description of your gem}
8
+ gem.summary = %Q{bincache caches binaries}
9
+ gem.description = %Q{
10
+ BinCache is a system designed to cache compiled binaries. It has support for bash, ruby , and chef.
11
+ Please visit http://github.com/ermal14/bincache for more info
12
+ }
10
13
  gem.email = "martinrhoads@gmail.com"
11
14
  gem.homepage = "http://github.com/ermal14/bincache"
12
15
  gem.authors = ["Martin Rhoads"]
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.6
1
+ 0.0.7
data/bincache.gemspec CHANGED
@@ -5,13 +5,16 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{bincache}
8
- s.version = "0.0.6"
8
+ s.version = "0.0.7"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Martin Rhoads"]
12
12
  s.date = %q{2010-10-10}
13
13
  s.default_executable = %q{bincache}
14
- s.description = %q{longer description of your gem}
14
+ s.description = %q{
15
+ BinCache is a system designed to cache compiled binaries. It has support for bash, ruby , and chef.
16
+ Please visit http://github.com/ermal14/bincache for more info
17
+ }
15
18
  s.email = %q{martinrhoads@gmail.com}
16
19
  s.executables = ["bincache"]
17
20
  s.extra_rdoc_files = [
@@ -40,7 +43,7 @@ Gem::Specification.new do |s|
40
43
  s.rdoc_options = ["--charset=UTF-8"]
41
44
  s.require_paths = ["lib"]
42
45
  s.rubygems_version = %q{1.3.7}
43
- s.summary = %q{bines scripts}
46
+ s.summary = %q{bincache caches binaries}
44
47
  s.test_files = [
45
48
  "test/helper.rb",
46
49
  "test/test_bincache.rb"
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bincache
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 6
10
- version: 0.0.6
9
+ - 7
10
+ version: 0.0.7
11
11
  platform: ruby
12
12
  authors:
13
13
  - Martin Rhoads
@@ -32,7 +32,7 @@ dependencies:
32
32
  version: "0"
33
33
  type: :runtime
34
34
  version_requirements: *id001
35
- description: longer description of your gem
35
+ description: "\n BinCache is a system designed to cache compiled binaries. It has support for bash, ruby , and chef. \n Please visit http://github.com/ermal14/bincache for more info\n "
36
36
  email: martinrhoads@gmail.com
37
37
  executables:
38
38
  - bincache
@@ -91,7 +91,7 @@ rubyforge_project:
91
91
  rubygems_version: 1.3.7
92
92
  signing_key:
93
93
  specification_version: 3
94
- summary: bines scripts
94
+ summary: bincache caches binaries
95
95
  test_files:
96
96
  - test/helper.rb
97
97
  - test/test_bincache.rb