big_band 0.2.2 → 0.2.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.
- data/README.rdoc +22 -11
- data/Rakefile +71 -3
- data/big_band.gemspec +3 -7
- data/dependencies.rb +44 -0
- data/deps.rip +6 -0
- data/example/example.rb +1 -1
- data/lib/big_band/advanced_routes.rb +5 -1
- data/lib/big_band/integration/monk.rb +1 -1
- data/lib/big_band/integration/rake.rb +19 -1
- data/lib/big_band/integration.rb +5 -8
- data/lib/big_band/version.rb +2 -2
- data/lib/big_band.rb +32 -10
- data/lib/sinatra/big_band/advanced_routes.rb +2 -0
- data/lib/sinatra/big_band/basic_extensions.rb +2 -0
- data/lib/sinatra/big_band/compass/big_band.rb +2 -0
- data/lib/sinatra/big_band/compass.rb +2 -0
- data/lib/sinatra/big_band/config_file.rb +2 -0
- data/lib/sinatra/big_band/integration/bacon.rb +2 -0
- data/lib/sinatra/big_band/integration/monk.rb +2 -0
- data/lib/sinatra/big_band/integration/rake.rb +2 -0
- data/lib/sinatra/big_band/integration/rspec.rb +2 -0
- data/lib/sinatra/big_band/integration/test/spec.rb +2 -0
- data/lib/sinatra/big_band/integration/test/unit.rb +2 -0
- data/lib/sinatra/big_band/integration/test.rb +2 -0
- data/lib/sinatra/big_band/integration/test_spec.rb +2 -0
- data/lib/sinatra/big_band/integration/test_unit.rb +2 -0
- data/lib/sinatra/big_band/integration/yard.rb +2 -0
- data/lib/sinatra/big_band/integration.rb +2 -0
- data/lib/sinatra/big_band/more_helpers.rb +2 -0
- data/lib/sinatra/big_band/more_server/rainbows.rb +2 -0
- data/lib/sinatra/big_band/more_server/unicorn.rb +2 -0
- data/lib/sinatra/big_band/more_server.rb +2 -0
- data/lib/sinatra/big_band/reloader.rb +2 -0
- data/lib/sinatra/big_band/sass.rb +2 -0
- data/lib/sinatra/big_band/version.rb +2 -0
- data/lib/sinatra/big_band/web_inspector.rb +2 -0
- data/spec/spec_helper.rb +1 -1
- metadata +44 -8
data/README.rdoc
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
= BigBand 0.2.
|
1
|
+
= BigBand 0.2.3
|
2
2
|
BigBand is a collection of Sinatra extensions and offers better sinatra integration for common tools.
|
3
3
|
It is pluggable and each extension can be used in stand alone mode.
|
4
4
|
|
@@ -19,36 +19,47 @@ The main features are:
|
|
19
19
|
Planned features:
|
20
20
|
* More template helpers
|
21
21
|
* ORM integration
|
22
|
-
* Configuration handling
|
23
22
|
* MSpec integration
|
24
23
|
|
25
24
|
== Usage
|
26
25
|
|
27
26
|
Using all BigBand features:
|
28
27
|
|
29
|
-
require "big_band"
|
30
|
-
class Example < BigBand
|
28
|
+
require "sinatra/big_band"
|
29
|
+
class Example < Sinatra::BigBand
|
31
30
|
# Yay, BigBand!
|
32
31
|
end
|
33
32
|
|
34
|
-
Or
|
33
|
+
Or you may use the extension style:
|
34
|
+
|
35
|
+
class AnotherExample < Sinatra::Base
|
36
|
+
register Sinatra::BigBand
|
37
|
+
end
|
38
|
+
|
39
|
+
Or for the lazy folks (if you use classic style):
|
35
40
|
|
36
41
|
require "sinatra"
|
37
|
-
require "big_band"
|
42
|
+
require "sinatra/big_band"
|
38
43
|
# Yay, BigBand!
|
39
44
|
|
45
|
+
Sinatra::BigBand is just an alias for BigBand. It was introduced manly to (in my opinion) have prettier
|
46
|
+
class signatures. First "class Example < Sinatra::BigBand" looks like Sinatra "class Example < BigBand", lets
|
47
|
+
give some credit to our beloved framework. Also, Sinatra::BigBand seems more akin to Sinatra::Base, Sinatra::Application
|
48
|
+
and Sinatra::Default, than just BigBand. Other than that I do not plan to move BigBand completely into Sinatra simply
|
49
|
+
to avoid more nesting. Last, but no least, the Sinatra docs sugest placing extensions inside Sinatra.
|
50
|
+
|
40
51
|
Using just your favorite BigBand features:
|
41
52
|
|
42
53
|
require "big_band"
|
43
54
|
class Example < Sinatra::Base
|
44
55
|
register BigBand::SomeFeature
|
45
|
-
# Yay,
|
56
|
+
# Yay, SomeFeature!
|
46
57
|
end
|
47
58
|
|
48
59
|
Or, if you like a more handy syntax:
|
49
60
|
|
50
|
-
require "big_band"
|
51
|
-
class Example < BigBand :SomeFeature, MyStuff::Extension, :development => :DevelopmentOnlyFeature
|
61
|
+
require "sinatra/big_band"
|
62
|
+
class Example < Sinatra::BigBand :SomeFeature, MyStuff::Extension, :development => :DevelopmentOnlyFeature
|
52
63
|
# Yay, BigBand::SomeFeature!
|
53
64
|
# Yay, MyStuff::Extension!
|
54
65
|
# Yay, BigBand::DevelopmentOnlyFeature, if this is development mode!
|
@@ -56,8 +67,8 @@ Or, if you like a more handy syntax:
|
|
56
67
|
|
57
68
|
Loading all but one feature:
|
58
69
|
|
59
|
-
require "big_band"
|
60
|
-
class Example < BigBand :except => :SomeFeature
|
70
|
+
require "sinatra/big_band"
|
71
|
+
class Example < Sinatra::BigBand :except => :SomeFeature
|
61
72
|
# Yay, all but BigBand::SomeFeature!
|
62
73
|
end
|
63
74
|
|
data/Rakefile
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
$LOAD_PATH.unshift(*Dir.glob(File.expand_path(__FILE__ + "/../vendor/*/lib")))
|
1
2
|
require "erb"
|
2
3
|
require "spec/rake/spectask"
|
3
4
|
require "rake/clean"
|
@@ -10,10 +11,12 @@ require "big_band/integration/yard"
|
|
10
11
|
require "big_band/integration/rake"
|
11
12
|
require "big_band/version"
|
12
13
|
|
14
|
+
load __FILE__.dirname.expand_path / "dependencies.rb"
|
15
|
+
|
13
16
|
include BigBand::Integration::Rake
|
14
|
-
RoutesTask.new
|
17
|
+
RoutesTask.new { |t| t.source = "lib/**/*.rb" }
|
15
18
|
|
16
|
-
task :default =>
|
19
|
+
task :default => [:dummy_files, :rip, :gems] # gems will trigger spec
|
17
20
|
task :install => "gems:install"
|
18
21
|
task :test => :spec
|
19
22
|
task :clobber => "doc:clobber_rdoc"
|
@@ -111,6 +114,69 @@ namespace :gems do
|
|
111
114
|
|
112
115
|
end
|
113
116
|
|
117
|
+
task :rip => "rip:generate"
|
118
|
+
namespace :rip do
|
119
|
+
desc "generates deps.rip"
|
120
|
+
task :generate do
|
121
|
+
BigBand::Dependencies.for_rip "deps.rip"
|
122
|
+
end
|
123
|
+
end
|
124
|
+
|
125
|
+
desc "clone all dependencies to vendor"
|
126
|
+
task :vendor => "vendor:all"
|
127
|
+
namespace :vendor do
|
128
|
+
task :all
|
129
|
+
BigBand::Dependencies.each do |dep|
|
130
|
+
target = "vendor" / dep.name
|
131
|
+
task :all => dep.name
|
132
|
+
desc "clone #{dep.name} #{dep.version} to #{target}"
|
133
|
+
task dep.name do
|
134
|
+
mkdir_p "vendor"
|
135
|
+
sh "git clone #{dep.git} #{target}" unless target.file_exists?
|
136
|
+
chdir(target) do
|
137
|
+
sh "git pull"
|
138
|
+
sh "git checkout #{dep.git_ref}"
|
139
|
+
end
|
140
|
+
end
|
141
|
+
end
|
142
|
+
end
|
143
|
+
|
144
|
+
desc "generate dummy files"
|
145
|
+
task :dummy_files do |t|
|
146
|
+
chdir "lib" do
|
147
|
+
rm_rf "sinatra/big_band/"
|
148
|
+
mkdir_p "sinatra/big_band/"
|
149
|
+
Dir.glob("big_band/**/*.rb") do |file|
|
150
|
+
target = "sinatra" / file
|
151
|
+
mkdir_p target.dirname
|
152
|
+
File.open(target, "w") do |f|
|
153
|
+
f.puts "# Generated file, run 'rake #{t.name}' to regenerate"
|
154
|
+
f.puts "require #{file[0..-4].inspect}"
|
155
|
+
end
|
156
|
+
end
|
157
|
+
end
|
158
|
+
end
|
159
|
+
|
160
|
+
desc "make a release, will fail if there are uncommitted changes or the specs don't pass"
|
161
|
+
task :release => "release:gem"
|
162
|
+
namespace :release do
|
163
|
+
task(:committed) { raise "uncommitted changes" unless %x[git status] =~ /nothing to commit/ }
|
164
|
+
task :version_bump => [:spec, :committed] do
|
165
|
+
new_version = ENV["VERSION"] || BigBand::VERSION.gsub(/\.(\d+)$/) { ".#{$1.to_i + 1}" }
|
166
|
+
old_source = File.read "lib/big_band/version.rb"
|
167
|
+
File.open("lib/big_band/version.rb", "w") do |f|
|
168
|
+
f.puts 'require "big_band/integration" unless defined? BigBand'
|
169
|
+
f.puts "BigBand::VERSION = #{new_version.inspect}"
|
170
|
+
f.puts "BigBand::DATE = #{Date.today.to_s.inspect}"
|
171
|
+
end
|
172
|
+
puts "version bump: #{BigBand::VERSION} -> #{new_version}'"
|
173
|
+
BigBand::VERSION.replace new_version
|
174
|
+
end
|
175
|
+
task :prepare => [:version_bump, :rip, :clobber, "doc:readme", "gems:build"]
|
176
|
+
task(:git => :prepare) { sh "git ci -am 'release: #{BigBand::VERSION}' && git push" }
|
177
|
+
task :gem => [:git, "gems:push"]
|
178
|
+
end
|
179
|
+
|
114
180
|
############
|
115
181
|
# aliases
|
116
182
|
|
@@ -126,4 +192,6 @@ namespace :g do
|
|
126
192
|
task :b => "gems:build"
|
127
193
|
task :i => "gems:install"
|
128
194
|
task :p => "gems:push"
|
129
|
-
end
|
195
|
+
end
|
196
|
+
task :r => :rip
|
197
|
+
namespace(:r) { task :g => "rip:generate" }
|
data/big_band.gemspec
CHANGED
@@ -1,5 +1,6 @@
|
|
1
|
-
$LOAD_PATH.unshift "lib"
|
1
|
+
$LOAD_PATH.unshift "lib", "."
|
2
2
|
require "lib/big_band/version"
|
3
|
+
require "dependencies"
|
3
4
|
|
4
5
|
SPEC = Gem::Specification.new do |s|
|
5
6
|
|
@@ -17,12 +18,7 @@ SPEC = Gem::Specification.new do |s|
|
|
17
18
|
s.description = s.summary + " See README.rdoc for more infos."
|
18
19
|
s.rdoc_options = %w[-a -S -N -m README.rdoc -q -w 2 -t BigBand -c UTF-8]
|
19
20
|
|
20
|
-
s
|
21
|
-
s.add_dependency 'monkey-lib', '>= 0.3.2'
|
22
|
-
s.add_dependency 'compass', '>= 0.8.17'
|
23
|
-
s.add_dependency 'yard', '>= 0.5.2'
|
24
|
-
s.add_dependency 'rack-test', '>= 0.5.3'
|
25
|
-
|
21
|
+
BigBand::Dependencies.for_gemspec(s)
|
26
22
|
s.specification_version = 2 if s.respond_to? :specification_version=
|
27
23
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
28
24
|
|
data/dependencies.rb
ADDED
@@ -0,0 +1,44 @@
|
|
1
|
+
# Manages dependencies for different package management systems in a single place (I like to experiment).
|
2
|
+
dependencies = proc do
|
3
|
+
dep "compass", :git => "git://github.com/chriseppstein/compass.git", :version => "0.8.17", :git_ref => "v%s"
|
4
|
+
dep "monkey-lib", :git => "git://github.com/rkh/monkey-lib.git", :version => "0.3.2", :git_ref => "v%s"
|
5
|
+
dep "rack", :git => "git://github.com/rack/rack.git", :version => "1.0.1", :only => :rip
|
6
|
+
dep "rack-test", :git => "git://github.com/brynary/rack-test.git", :version => "0.5.3", :git_ref => "v%s"
|
7
|
+
dep "sinatra", :git => "git://github.com/sinatra/sinatra.git", :version => "0.9.4"
|
8
|
+
dep "yard", :git => "git://github.com/lsegal/yard.git", :version => "0.5.2"
|
9
|
+
end
|
10
|
+
|
11
|
+
require "ostruct"
|
12
|
+
require "big_band/integration" unless defined? BigBand
|
13
|
+
|
14
|
+
module BigBand::Dependencies
|
15
|
+
@deps = {}
|
16
|
+
extend Enumerable
|
17
|
+
|
18
|
+
def self.dep(name = nil, data = {})
|
19
|
+
return(@deps[name] ||= OpenStruct.new) if data.empty?
|
20
|
+
data[:git_ref] ||= data[:version]
|
21
|
+
data[:only] ||= [:rip, :gem]
|
22
|
+
data[:name] ||= name
|
23
|
+
data[:only] = [data[:only]] unless data[:only].is_a? Array
|
24
|
+
data[:git_ref] = data[:git_ref] % data[:version]
|
25
|
+
@deps[name] = OpenStruct.new data
|
26
|
+
end
|
27
|
+
|
28
|
+
def self.for_gemspec(s)
|
29
|
+
each { |d| s.add_dependency d.name, ">= #{d.version}" }
|
30
|
+
end
|
31
|
+
|
32
|
+
def self.for_rip(file = nil)
|
33
|
+
if file then File.open(file, "w") { |f| f << for_rip }
|
34
|
+
else select { |d| d.only.include? :rip }.map { |d| "#{d.git} #{d.git_ref}\n"}.join
|
35
|
+
end
|
36
|
+
end
|
37
|
+
|
38
|
+
def self.each(&block)
|
39
|
+
@deps.each_value(&block)
|
40
|
+
end
|
41
|
+
|
42
|
+
end
|
43
|
+
|
44
|
+
BigBand::Dependencies.class_eval(&dependencies)
|
data/deps.rip
ADDED
data/example/example.rb
CHANGED
@@ -57,7 +57,11 @@ class BigBand < Sinatra::Base
|
|
57
57
|
|
58
58
|
module Route
|
59
59
|
|
60
|
-
|
60
|
+
def self.new(verb, args = {})
|
61
|
+
[].to_route! verb, args
|
62
|
+
end
|
63
|
+
|
64
|
+
attr_accessor :app, :verb, :file, :line, :path, :docstring
|
61
65
|
|
62
66
|
def pattern; self[0]; end
|
63
67
|
def keys; self[1]; end
|
@@ -15,7 +15,7 @@ module BigBand::Integration
|
|
15
15
|
def routes_task(name = :routes)
|
16
16
|
desc "#{routes} [FILES=#{GLOBBER.inspect}]", "lists all routes"
|
17
17
|
define_method :routes do |files|
|
18
|
-
BigBand::Integration.each_route(files || GLOBBER) { |v,
|
18
|
+
BigBand::Integration.each_route(files || GLOBBER) { |v,r| say_status v, r.path }
|
19
19
|
end
|
20
20
|
end
|
21
21
|
end
|
@@ -51,7 +51,25 @@ module BigBand::Integration
|
|
51
51
|
def define
|
52
52
|
desc "Lists routes defined in #{source}"
|
53
53
|
task(name) do
|
54
|
-
|
54
|
+
list = []
|
55
|
+
width = 0
|
56
|
+
BigBand::Integration.each_route(source) do |verb, route|
|
57
|
+
docstring = ""
|
58
|
+
docstring << route.file if route.file?
|
59
|
+
docstring << ":" << route.line if route.line
|
60
|
+
if route.docstring
|
61
|
+
docstring << " " unless docstring.empty?
|
62
|
+
docstring << route.docstring
|
63
|
+
end
|
64
|
+
signature = "#{verb.downcase}(#{route.path.inspect})"
|
65
|
+
list << [signature, docstring]
|
66
|
+
width = [signature.size, width].max
|
67
|
+
end
|
68
|
+
list.each do |signature, docstring|
|
69
|
+
line = "#{signature.ljust width} # #{docstring}"
|
70
|
+
line = line[0..99] + "…" if line.size > 100
|
71
|
+
puts line
|
72
|
+
end
|
55
73
|
end
|
56
74
|
end
|
57
75
|
|
data/lib/big_band/integration.rb
CHANGED
@@ -14,11 +14,11 @@ class BigBand < Sinatra::Base
|
|
14
14
|
when Class
|
15
15
|
source.routes
|
16
16
|
when String
|
17
|
+
require "big_band/advanced_routes"
|
17
18
|
require "big_band/integration/yard"
|
18
19
|
::YARD::Registry.load(Dir[source], true)
|
19
|
-
YARD::Handlers::Sinatra::AbstractRouteHandler.routes.inject({}) do |routes,
|
20
|
-
routes[
|
21
|
-
routes[route_object.http_verb] << route_object.http_path
|
20
|
+
YARD::Handlers::Sinatra::AbstractRouteHandler.routes.inject({}) do |routes, r|
|
21
|
+
(routes[r.http_verb] ||= []) << AdvancedRoutes::Route.new(r.http_verb, :path => r.http_path, :docstring => r.docstring, :file => r.file)
|
22
22
|
routes
|
23
23
|
end
|
24
24
|
else
|
@@ -29,11 +29,8 @@ class BigBand < Sinatra::Base
|
|
29
29
|
def self.each_route(source)
|
30
30
|
routes_for(source).each do |verb, routes|
|
31
31
|
routes.each do |route|
|
32
|
-
|
33
|
-
|
34
|
-
path ||= route[0] if route.is_a? Array
|
35
|
-
path ||= route
|
36
|
-
yield(verb, path)
|
32
|
+
#route.path ||= route.pattern
|
33
|
+
yield(verb, route)
|
37
34
|
end
|
38
35
|
end
|
39
36
|
end
|
data/lib/big_band/version.rb
CHANGED
@@ -1,3 +1,3 @@
|
|
1
1
|
require "big_band/integration" unless defined? BigBand
|
2
|
-
BigBand::VERSION = "0.2.
|
3
|
-
BigBand::DATE = "
|
2
|
+
BigBand::VERSION = "0.2.3"
|
3
|
+
BigBand::DATE = "2010-01-04"
|
data/lib/big_band.rb
CHANGED
@@ -22,36 +22,47 @@ require "set"
|
|
22
22
|
# Planned features:
|
23
23
|
# * More template helpers
|
24
24
|
# * ORM integration
|
25
|
-
# * Configuration handling
|
26
25
|
# * MSpec integration
|
27
26
|
#
|
28
27
|
# == Usage
|
29
28
|
#
|
30
29
|
# Using all BigBand features:
|
31
30
|
#
|
32
|
-
# require "big_band"
|
33
|
-
# class Example < BigBand
|
31
|
+
# require "sinatra/big_band"
|
32
|
+
# class Example < Sinatra::BigBand
|
34
33
|
# # Yay, BigBand!
|
35
34
|
# end
|
36
35
|
#
|
37
|
-
# Or
|
36
|
+
# Or you may use the extension style:
|
37
|
+
#
|
38
|
+
# class AnotherExample < Sinatra::Base
|
39
|
+
# register Sinatra::BigBand
|
40
|
+
# end
|
41
|
+
#
|
42
|
+
# Or for the lazy folks (if you use classic style):
|
38
43
|
#
|
39
44
|
# require "sinatra"
|
40
|
-
# require "big_band"
|
45
|
+
# require "sinatra/big_band"
|
41
46
|
# # Yay, BigBand!
|
47
|
+
#
|
48
|
+
# Sinatra::BigBand is just an alias for BigBand. It was introduced manly to (in my opinion) have prettier
|
49
|
+
# class signatures. First "class Example < Sinatra::BigBand" looks like Sinatra "class Example < BigBand", lets
|
50
|
+
# give some credit to our beloved framework. Also, Sinatra::BigBand seems more akin to Sinatra::Base, Sinatra::Application
|
51
|
+
# and Sinatra::Default, than just BigBand. Other than that I do not plan to move BigBand completely into Sinatra simply
|
52
|
+
# to avoid more nesting. Last, but no least, the Sinatra docs sugest placing extensions inside Sinatra.
|
42
53
|
#
|
43
54
|
# Using just your favorite BigBand features:
|
44
55
|
#
|
45
56
|
# require "big_band"
|
46
57
|
# class Example < Sinatra::Base
|
47
58
|
# register BigBand::SomeFeature
|
48
|
-
# # Yay,
|
59
|
+
# # Yay, SomeFeature!
|
49
60
|
# end
|
50
61
|
#
|
51
62
|
# Or, if you like a more handy syntax:
|
52
63
|
#
|
53
|
-
# require "big_band"
|
54
|
-
# class Example < BigBand :SomeFeature, MyStuff::Extension, :development => :DevelopmentOnlyFeature
|
64
|
+
# require "sinatra/big_band"
|
65
|
+
# class Example < Sinatra::BigBand :SomeFeature, MyStuff::Extension, :development => :DevelopmentOnlyFeature
|
55
66
|
# # Yay, BigBand::SomeFeature!
|
56
67
|
# # Yay, MyStuff::Extension!
|
57
68
|
# # Yay, BigBand::DevelopmentOnlyFeature, if this is development mode!
|
@@ -59,8 +70,8 @@ require "set"
|
|
59
70
|
#
|
60
71
|
# Loading all but one feature:
|
61
72
|
#
|
62
|
-
# require "big_band"
|
63
|
-
# class Example < BigBand :except => :SomeFeature
|
73
|
+
# require "sinatra/big_band"
|
74
|
+
# class Example < Sinatra::BigBand :except => :SomeFeature
|
64
75
|
# # Yay, all but BigBand::SomeFeature!
|
65
76
|
# end
|
66
77
|
#
|
@@ -227,6 +238,17 @@ end
|
|
227
238
|
|
228
239
|
module Sinatra
|
229
240
|
BigBand = ::BigBand
|
241
|
+
class Base
|
242
|
+
class << self
|
243
|
+
alias register_without_big_band register
|
244
|
+
def register(*extensions, &block)
|
245
|
+
big_band, normal = extensions.partition { |e| e.respond_to? :big_band_extensions }
|
246
|
+
big_band.each { |e| e.load_extensions self }
|
247
|
+
register_without_big_band(*normal, &block)
|
248
|
+
extensions
|
249
|
+
end
|
250
|
+
end
|
251
|
+
end
|
230
252
|
module Delegator
|
231
253
|
# Hooks into Sinatra to allow easy integration with "require 'sinatra'".
|
232
254
|
def self.included(klass)
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: big_band
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Konstantin Haase
|
@@ -9,18 +9,28 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date:
|
12
|
+
date: 2010-01-04 00:00:00 +01:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
|
-
name:
|
16
|
+
name: compass
|
17
17
|
type: :runtime
|
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: 0.
|
23
|
+
version: 0.8.17
|
24
|
+
version:
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: yard
|
27
|
+
type: :runtime
|
28
|
+
version_requirement:
|
29
|
+
version_requirements: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 0.5.2
|
24
34
|
version:
|
25
35
|
- !ruby/object:Gem::Dependency
|
26
36
|
name: monkey-lib
|
@@ -33,24 +43,24 @@ dependencies:
|
|
33
43
|
version: 0.3.2
|
34
44
|
version:
|
35
45
|
- !ruby/object:Gem::Dependency
|
36
|
-
name:
|
46
|
+
name: rack
|
37
47
|
type: :runtime
|
38
48
|
version_requirement:
|
39
49
|
version_requirements: !ruby/object:Gem::Requirement
|
40
50
|
requirements:
|
41
51
|
- - ">="
|
42
52
|
- !ruby/object:Gem::Version
|
43
|
-
version: 0.
|
53
|
+
version: 1.0.1
|
44
54
|
version:
|
45
55
|
- !ruby/object:Gem::Dependency
|
46
|
-
name:
|
56
|
+
name: sinatra
|
47
57
|
type: :runtime
|
48
58
|
version_requirement:
|
49
59
|
version_requirements: !ruby/object:Gem::Requirement
|
50
60
|
requirements:
|
51
61
|
- - ">="
|
52
62
|
- !ruby/object:Gem::Version
|
53
|
-
version: 0.
|
63
|
+
version: 0.9.4
|
54
64
|
version:
|
55
65
|
- !ruby/object:Gem::Dependency
|
56
66
|
name: rack-test
|
@@ -72,6 +82,8 @@ extra_rdoc_files: []
|
|
72
82
|
|
73
83
|
files:
|
74
84
|
- big_band.gemspec
|
85
|
+
- dependencies.rb
|
86
|
+
- deps.rip
|
75
87
|
- example/example.rb
|
76
88
|
- example/views/index.haml
|
77
89
|
- example/views/layout.haml
|
@@ -113,6 +125,30 @@ files:
|
|
113
125
|
- lib/big_band/web_inspector.rb
|
114
126
|
- lib/big_band.rb
|
115
127
|
- lib/big_bang.rb
|
128
|
+
- lib/sinatra/big_band/advanced_routes.rb
|
129
|
+
- lib/sinatra/big_band/basic_extensions.rb
|
130
|
+
- lib/sinatra/big_band/compass/big_band.rb
|
131
|
+
- lib/sinatra/big_band/compass.rb
|
132
|
+
- lib/sinatra/big_band/config_file.rb
|
133
|
+
- lib/sinatra/big_band/integration/bacon.rb
|
134
|
+
- lib/sinatra/big_band/integration/monk.rb
|
135
|
+
- lib/sinatra/big_band/integration/rake.rb
|
136
|
+
- lib/sinatra/big_band/integration/rspec.rb
|
137
|
+
- lib/sinatra/big_band/integration/test/spec.rb
|
138
|
+
- lib/sinatra/big_band/integration/test/unit.rb
|
139
|
+
- lib/sinatra/big_band/integration/test.rb
|
140
|
+
- lib/sinatra/big_band/integration/test_spec.rb
|
141
|
+
- lib/sinatra/big_band/integration/test_unit.rb
|
142
|
+
- lib/sinatra/big_band/integration/yard.rb
|
143
|
+
- lib/sinatra/big_band/integration.rb
|
144
|
+
- lib/sinatra/big_band/more_helpers.rb
|
145
|
+
- lib/sinatra/big_band/more_server/rainbows.rb
|
146
|
+
- lib/sinatra/big_band/more_server/unicorn.rb
|
147
|
+
- lib/sinatra/big_band/more_server.rb
|
148
|
+
- lib/sinatra/big_band/reloader.rb
|
149
|
+
- lib/sinatra/big_band/sass.rb
|
150
|
+
- lib/sinatra/big_band/version.rb
|
151
|
+
- lib/sinatra/big_band/web_inspector.rb
|
116
152
|
- lib/sinatra/big_band.rb
|
117
153
|
- lib/yard-sinatra.rb
|
118
154
|
- LICENSE
|