quick-bundler 0.0.3

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.
Binary file
@@ -0,0 +1,4 @@
1
+ README.markdown
2
+ Rakefile
3
+ lib/quick-bundler.rb
4
+ Manifest
@@ -0,0 +1,7 @@
1
+ Quick Bundler searches for the nearest Gemfile and loads the libraries
2
+ specified inside it. Stick this at the top of you're app ...
3
+
4
+ require "rubygems"
5
+ require "quick-bundler"
6
+
7
+ ... and you're done!
@@ -0,0 +1,16 @@
1
+ require "rubygems"
2
+ require "rake"
3
+ require "echoe"
4
+
5
+ Echoe.new("quick-bundler", "0.0.3") do |p|
6
+
7
+ p.description = "A gem that provides dead-simple usage of bundler."
8
+ p.url = "http://github.com/alexmchale/quick-bundler"
9
+ p.author = "Alex McHale"
10
+ p.email = "alexmchale@gmail.com"
11
+ p.ignore_pattern = %w( tmp/* script/* )
12
+ p.runtime_dependencies = [ "bundler >=1.0.0" ]
13
+ p.development_dependencies = []
14
+ p.require_signed = true
15
+
16
+ end
@@ -0,0 +1,29 @@
1
+ begin
2
+
3
+ require "bundler"
4
+
5
+ if ENV["BUNDLE_GEMFILE"].nil?
6
+ path = Dir.pwd
7
+
8
+ loop do
9
+ gemfile = File.expand_path(File.join(path, "Gemfile"))
10
+
11
+ if File.file? gemfile
12
+ # Load the libraries specified in the Gemfile.
13
+ ENV["BUNDLE_GEMFILE"] = gemfile
14
+ break
15
+ end
16
+
17
+ next_path = File.expand_path(File.join(path, ".."))
18
+
19
+ if path == next_path
20
+ raise "quick-bundler could not find a Gemfile"
21
+ end
22
+
23
+ path = next_path
24
+ end
25
+ end
26
+
27
+ Bundler.require if File.file? ENV["BUNDLE_GEMFILE"]
28
+
29
+ end
@@ -0,0 +1,35 @@
1
+ # -*- encoding: utf-8 -*-
2
+
3
+ Gem::Specification.new do |s|
4
+ s.name = %q{quick-bundler}
5
+ s.version = "0.0.3"
6
+
7
+ s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
+ s.authors = ["Alex McHale"]
9
+ s.cert_chain = ["/home/alexmchale/.ssh/gem-public_cert.pem"]
10
+ s.date = %q{2010-08-31}
11
+ s.description = %q{A gem that provides dead-simple usage of bundler.}
12
+ s.email = %q{alexmchale@gmail.com}
13
+ s.extra_rdoc_files = ["README.markdown", "lib/quick-bundler.rb"]
14
+ s.files = ["README.markdown", "Rakefile", "lib/quick-bundler.rb", "Manifest", "quick-bundler.gemspec"]
15
+ s.homepage = %q{http://github.com/alexmchale/quick-bundler}
16
+ s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Quick-bundler", "--main", "README.markdown"]
17
+ s.require_paths = ["lib"]
18
+ s.rubyforge_project = %q{quick-bundler}
19
+ s.rubygems_version = %q{1.3.7}
20
+ s.signing_key = %q{/home/alexmchale/.ssh/gem-private_key.pem}
21
+ s.summary = %q{A gem that provides dead-simple usage of bundler.}
22
+
23
+ if s.respond_to? :specification_version then
24
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
25
+ s.specification_version = 3
26
+
27
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
28
+ s.add_runtime_dependency(%q<bundler>, [">= 1.0.0"])
29
+ else
30
+ s.add_dependency(%q<bundler>, [">= 1.0.0"])
31
+ end
32
+ else
33
+ s.add_dependency(%q<bundler>, [">= 1.0.0"])
34
+ end
35
+ end
metadata ADDED
@@ -0,0 +1,114 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: quick-bundler
3
+ version: !ruby/object:Gem::Version
4
+ hash: 25
5
+ prerelease: false
6
+ segments:
7
+ - 0
8
+ - 0
9
+ - 3
10
+ version: 0.0.3
11
+ platform: ruby
12
+ authors:
13
+ - Alex McHale
14
+ autorequire:
15
+ bindir: bin
16
+ cert_chain:
17
+ - |
18
+ -----BEGIN CERTIFICATE-----
19
+ MIIDNjCCAh6gAwIBAgIBADANBgkqhkiG9w0BAQUFADBBMRMwEQ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RjdH363cTYX1xZ69LjcwrUpDrCJbG9jNK8icMoAOTEw0huZYvGRC
36
+ qyGdKMrvQEbACA==
37
+ -----END CERTIFICATE-----
38
+
39
+ date: 2010-08-31 00:00:00 +00:00
40
+ default_executable:
41
+ dependencies:
42
+ - !ruby/object:Gem::Dependency
43
+ name: bundler
44
+ prerelease: false
45
+ requirement: &id001 !ruby/object:Gem::Requirement
46
+ none: false
47
+ requirements:
48
+ - - ">="
49
+ - !ruby/object:Gem::Version
50
+ hash: 23
51
+ segments:
52
+ - 1
53
+ - 0
54
+ - 0
55
+ version: 1.0.0
56
+ type: :runtime
57
+ version_requirements: *id001
58
+ description: A gem that provides dead-simple usage of bundler.
59
+ email: alexmchale@gmail.com
60
+ executables: []
61
+
62
+ extensions: []
63
+
64
+ extra_rdoc_files:
65
+ - README.markdown
66
+ - lib/quick-bundler.rb
67
+ files:
68
+ - README.markdown
69
+ - Rakefile
70
+ - lib/quick-bundler.rb
71
+ - Manifest
72
+ - quick-bundler.gemspec
73
+ has_rdoc: true
74
+ homepage: http://github.com/alexmchale/quick-bundler
75
+ licenses: []
76
+
77
+ post_install_message:
78
+ rdoc_options:
79
+ - --line-numbers
80
+ - --inline-source
81
+ - --title
82
+ - Quick-bundler
83
+ - --main
84
+ - README.markdown
85
+ require_paths:
86
+ - lib
87
+ required_ruby_version: !ruby/object:Gem::Requirement
88
+ none: false
89
+ requirements:
90
+ - - ">="
91
+ - !ruby/object:Gem::Version
92
+ hash: 3
93
+ segments:
94
+ - 0
95
+ version: "0"
96
+ required_rubygems_version: !ruby/object:Gem::Requirement
97
+ none: false
98
+ requirements:
99
+ - - ">="
100
+ - !ruby/object:Gem::Version
101
+ hash: 11
102
+ segments:
103
+ - 1
104
+ - 2
105
+ version: "1.2"
106
+ requirements: []
107
+
108
+ rubyforge_project: quick-bundler
109
+ rubygems_version: 1.3.7
110
+ signing_key:
111
+ specification_version: 3
112
+ summary: A gem that provides dead-simple usage of bundler.
113
+ test_files: []
114
+
Binary file