big_band 0.2.5 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE +1 -1
- data/README.md +82 -0
- data/Rakefile +50 -170
- data/TODO.md +50 -0
- data/lib/big_band.rb +13 -258
- data/lib/sinatra/big_band.rb +65 -1
- data/spec/sinatra/big_band_spec.rb +32 -0
- data/spec/spec_helper.rb +2 -4
- data/subproject.rb +42 -0
- data/tasks/doc.task +9 -0
- data/tasks/gem.task +10 -0
- data/tasks/git.task +41 -0
- data/tasks/setup.task +34 -0
- data/tasks/spec.task +24 -0
- metadata +200 -140
- data/README.rdoc +0 -346
- data/README.rdoc.erb +0 -39
- data/big_band.gemspec +0 -25
- data/dependencies.rb +0 -12
- data/depgen/README.rdoc +0 -7
- data/depgen/Rakefile +0 -23
- data/depgen/depgen.rb +0 -123
- data/depgen/depgen.task +0 -42
- data/depgen/depgen_spec.rb +0 -127
- data/deps.rip +0 -8
- data/example/example.rb +0 -13
- data/example/views/index.haml +0 -8
- data/example/views/layout.haml +0 -2
- data/example/views/stylesheets/_base.sass +0 -1
- data/example/views/stylesheets/screen.sass +0 -12
- data/lib/big_band/advanced_routes.rb +0 -188
- data/lib/big_band/basic_extensions.rb +0 -176
- data/lib/big_band/compass.rb +0 -94
- data/lib/big_band/compass/big_band.rb +0 -4
- data/lib/big_band/compass/stylesheets/_big_band.sass +0 -1
- data/lib/big_band/compass/stylesheets/big_band/_blueprint.sass +0 -1
- data/lib/big_band/compass/stylesheets/big_band/_utilities.sass +0 -6
- data/lib/big_band/compass/stylesheets/big_band/blueprint/_html5.sass +0 -4
- data/lib/big_band/compass/stylesheets/big_band/layouts/_inspector.sass +0 -103
- data/lib/big_band/compass/stylesheets/big_band/utilities/_border_radius.sass +0 -27
- data/lib/big_band/compass/stylesheets/big_band/utilities/_css3_prefix.sass +0 -14
- data/lib/big_band/compass/stylesheets/big_band/utilities/_fancy_buttons.sass +0 -62
- data/lib/big_band/compass/stylesheets/big_band/utilities/_html5.sass +0 -3
- data/lib/big_band/config_file.rb +0 -48
- data/lib/big_band/files/overlay-button.png +0 -0
- data/lib/big_band/integration.rb +0 -39
- data/lib/big_band/integration/bacon.rb +0 -10
- data/lib/big_band/integration/monk.rb +0 -26
- data/lib/big_band/integration/rake.rb +0 -80
- data/lib/big_band/integration/rspec.rb +0 -11
- data/lib/big_band/integration/test.rb +0 -42
- data/lib/big_band/integration/test/spec.rb +0 -2
- data/lib/big_band/integration/test/unit.rb +0 -2
- data/lib/big_band/integration/test_spec.rb +0 -8
- data/lib/big_band/integration/test_unit.rb +0 -10
- data/lib/big_band/integration/yard.rb +0 -104
- data/lib/big_band/more_helpers.rb +0 -50
- data/lib/big_band/more_server.rb +0 -14
- data/lib/big_band/more_server/rainbows.rb +0 -13
- data/lib/big_band/more_server/unicorn.rb +0 -27
- data/lib/big_band/reloader.rb +0 -113
- data/lib/big_band/sass.rb +0 -28
- data/lib/big_band/version.rb +0 -3
- data/lib/big_band/web_inspector.rb +0 -178
- data/lib/big_bang.rb +0 -6
- data/lib/sinatra/big_band/advanced_routes.rb +0 -2
- data/lib/sinatra/big_band/basic_extensions.rb +0 -2
- data/lib/sinatra/big_band/compass.rb +0 -2
- data/lib/sinatra/big_band/compass/big_band.rb +0 -2
- data/lib/sinatra/big_band/config_file.rb +0 -2
- data/lib/sinatra/big_band/integration.rb +0 -2
- data/lib/sinatra/big_band/integration/bacon.rb +0 -2
- data/lib/sinatra/big_band/integration/monk.rb +0 -2
- data/lib/sinatra/big_band/integration/rake.rb +0 -2
- data/lib/sinatra/big_band/integration/rspec.rb +0 -2
- data/lib/sinatra/big_band/integration/test.rb +0 -2
- data/lib/sinatra/big_band/integration/test/spec.rb +0 -2
- data/lib/sinatra/big_band/integration/test/unit.rb +0 -2
- data/lib/sinatra/big_band/integration/test_spec.rb +0 -2
- data/lib/sinatra/big_band/integration/test_unit.rb +0 -2
- data/lib/sinatra/big_band/integration/yard.rb +0 -2
- data/lib/sinatra/big_band/more_helpers.rb +0 -2
- data/lib/sinatra/big_band/more_server.rb +0 -2
- data/lib/sinatra/big_band/more_server/rainbows.rb +0 -2
- data/lib/sinatra/big_band/more_server/unicorn.rb +0 -2
- data/lib/sinatra/big_band/reloader.rb +0 -2
- data/lib/sinatra/big_band/sass.rb +0 -2
- data/lib/sinatra/big_band/version.rb +0 -2
- data/lib/sinatra/big_band/web_inspector.rb +0 -2
- data/lib/yard-sinatra.rb +0 -2
- data/spec/big_band/advanced_routes_spec.rb +0 -70
- data/spec/big_band/basic_extensions_spec.rb +0 -39
- data/spec/big_band/more_server_spec.rb +0 -7
- data/spec/big_band/sass_spec.rb +0 -21
- data/spec/spec.opts +0 -5
- data/yard-sinatra.gemspec +0 -24
data/lib/sinatra/big_band.rb
CHANGED
@@ -1 +1,65 @@
|
|
1
|
-
require
|
1
|
+
require 'sinatra/base'
|
2
|
+
require 'sinatra/sugar'
|
3
|
+
require 'async-rack'
|
4
|
+
require 'monkey'
|
5
|
+
require 'rack/flash'
|
6
|
+
|
7
|
+
module Sinatra
|
8
|
+
Base.ignore_caller
|
9
|
+
|
10
|
+
class BigBand < Base
|
11
|
+
def self.subclass_extensions
|
12
|
+
@subclass_extensions ||= {}
|
13
|
+
end
|
14
|
+
|
15
|
+
def self.subclass_extension(path, development_only = false, parent = Sinatra, &block)
|
16
|
+
name = path.to_s.split('_').map { |e| e.capitalize }.join.to_sym
|
17
|
+
subclass_extensions[name] ||= [parent, name, development_only, block]
|
18
|
+
parent.autoload name, "#{parent.name.downcase}/#{path}" if parent
|
19
|
+
end
|
20
|
+
|
21
|
+
subclass_extension :advanced_routes
|
22
|
+
subclass_extension :compass
|
23
|
+
subclass_extension :config_file
|
24
|
+
subclass_extension :more_server
|
25
|
+
subclass_extension :namespace
|
26
|
+
subclass_extension :reloader, true
|
27
|
+
subclass_extension :sugar
|
28
|
+
subclass_extension(:flash, false, false) { |klass| klass.use Rack::Flash, :flash_app_class => klass }
|
29
|
+
|
30
|
+
def self.apply_options(klass)
|
31
|
+
klass.set :app_file, klass.caller_files.first.expand_path unless klass.app_file?
|
32
|
+
klass.set :haml, :format => :html5, :escape_html => true
|
33
|
+
enable :sessions, :method_override, :show_exceptions
|
34
|
+
end
|
35
|
+
|
36
|
+
def self.subclass_for(list, inspection = nil)
|
37
|
+
@subclasses ||= {}
|
38
|
+
@subclasses[list] ||= Class.new(self) do
|
39
|
+
@inspection = inspection
|
40
|
+
define_singleton_method(:inspect) { @inspection || super() }
|
41
|
+
define_singleton_method(:inherited) do |klass|
|
42
|
+
super klass
|
43
|
+
list.each { |block| block.call klass }
|
44
|
+
apply_options klass
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
|
49
|
+
def self.generate_subclass(options = {})
|
50
|
+
options[:except] ||= []
|
51
|
+
options.keys.each { |k| raise ArgumentError, "unkown option #{k.inspect}" unless k == :except }
|
52
|
+
options[:except] = [*options[:except]]
|
53
|
+
list = subclass_extensions.inject([]) do |chosen, (ident, (parent, name, dev, block))|
|
54
|
+
next chosen if options[:except].include? ident or (dev and not development?)
|
55
|
+
block ||= proc { |klass| klass.register parent.const_get(name) }
|
56
|
+
chosen << block
|
57
|
+
end
|
58
|
+
subclass_for list, "#{self}(#{options.inspect[1..-2]})"
|
59
|
+
end
|
60
|
+
end
|
61
|
+
|
62
|
+
def self.BigBand(options = {})
|
63
|
+
BigBand.generate_subclass(options)
|
64
|
+
end
|
65
|
+
end
|
@@ -0,0 +1,32 @@
|
|
1
|
+
require File.expand_path(__FILE__ + "/../../spec_helper.rb")
|
2
|
+
|
3
|
+
describe Sinatra::BigBand do
|
4
|
+
before { @example_app = nil }
|
5
|
+
|
6
|
+
def set_example_app(options = {})
|
7
|
+
@example_app = Class.new Sinatra::BigBand(options)
|
8
|
+
end
|
9
|
+
|
10
|
+
def example_app(options = {})
|
11
|
+
@example_app = nil unless options.empty?
|
12
|
+
@example_app ||= set_example_app options
|
13
|
+
end
|
14
|
+
|
15
|
+
describe "standard extensions" do
|
16
|
+
def extension; Sinatra.const_get @ext_name end
|
17
|
+
[:AdvancedRoutes, :Compass, :ConfigFile, :MoreServer, :Namespace, :Sugar].each do |ext_name|
|
18
|
+
describe ext_name do
|
19
|
+
before { @ext_name = ext_name }
|
20
|
+
it("should be loaded") { Sinatra.should be_const_defined(ext_name) }
|
21
|
+
it("should be set up") { example_app.should be_a(extension) }
|
22
|
+
end
|
23
|
+
end
|
24
|
+
|
25
|
+
[:Compass, :ConfigFile, :MoreServer, :Namespace].each do |ext_name|
|
26
|
+
describe ext_name do
|
27
|
+
before { @ext_name = ext_name }
|
28
|
+
it("should be excludable") { example_app(:except => ext_name).should_not be_a(extension) }
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
data/spec/spec_helper.rb
CHANGED
data/subproject.rb
ADDED
@@ -0,0 +1,42 @@
|
|
1
|
+
require 'ostruct'
|
2
|
+
|
3
|
+
class Subproject < OpenStruct
|
4
|
+
extend Enumerable
|
5
|
+
@list ||= []
|
6
|
+
|
7
|
+
def self.each(&block)
|
8
|
+
@list.each(&block)
|
9
|
+
end
|
10
|
+
|
11
|
+
def self.new(name, options = {})
|
12
|
+
options[:public_remote] ||= "git://github.com/rkh/#{name}.git"
|
13
|
+
options[:private_remote] ||= "git@github.com:rkh/#{name}.git"
|
14
|
+
options.merge! :name => name
|
15
|
+
result = super options
|
16
|
+
yield result if block_given?
|
17
|
+
@list << result
|
18
|
+
result
|
19
|
+
end
|
20
|
+
|
21
|
+
def self.names
|
22
|
+
map { |p| p.name }
|
23
|
+
end
|
24
|
+
|
25
|
+
def self.[](name)
|
26
|
+
detect { |p| p.name == name }
|
27
|
+
end
|
28
|
+
|
29
|
+
new "async-rack"
|
30
|
+
new "haml-more"
|
31
|
+
new "monkey-lib"
|
32
|
+
new "sinatra-advanced-routes"
|
33
|
+
new "sinatra-compass"
|
34
|
+
new "sinatra-config-file"
|
35
|
+
new "sinatra-more-server"
|
36
|
+
new "sinatra-namespace"
|
37
|
+
new "sinatra-reloader"
|
38
|
+
new "sinatra-sugar"
|
39
|
+
new "sinatra-test-helper"
|
40
|
+
new "yard-sinatra"
|
41
|
+
|
42
|
+
end
|
data/tasks/doc.task
ADDED
@@ -0,0 +1,9 @@
|
|
1
|
+
begin
|
2
|
+
require "yard"
|
3
|
+
YARD::Rake::YardocTask.new(:doc) do |t|
|
4
|
+
t.files = ["{*,.}/lib/**/*.rb", "{**,.}/*.md"]
|
5
|
+
t.options = %w[--protected --private --title BigBand --readme README.md --output-dir doc --backtrace]
|
6
|
+
end
|
7
|
+
rescue LoadError
|
8
|
+
task(:doc) { raise "please install yard for doc generation" }
|
9
|
+
end
|
data/tasks/gem.task
ADDED
@@ -0,0 +1,10 @@
|
|
1
|
+
project_namespace :gem do
|
2
|
+
desc "remove all *.gem files"
|
3
|
+
project_task(:clear) { sh "cd #{subproject.name} && rm -f *.gem && cd .." }
|
4
|
+
desc "generate gems"
|
5
|
+
project_task(:build) { sh "cd #{subproject.name} && gem build *.gemspec && cd .." }
|
6
|
+
desc "publish gems"
|
7
|
+
project_task :publish => [:clear, :build] do
|
8
|
+
system "cd #{subproject.name} && gem push *.gem && cd .."
|
9
|
+
end
|
10
|
+
end
|
data/tasks/git.task
ADDED
@@ -0,0 +1,41 @@
|
|
1
|
+
def git_task(name, cmd = nil)
|
2
|
+
cmd ||= yield if block_given?
|
3
|
+
cmd ||= name
|
4
|
+
desc "git #{name} for %s"
|
5
|
+
project_task(name) do
|
6
|
+
puts '', '#'*80, "# #{subproject.name}"
|
7
|
+
if File.exist? subproject.name then system "cd #{subproject.name}; git #{cmd}; cd .."
|
8
|
+
else $stderr.puts "# missing"
|
9
|
+
end
|
10
|
+
end
|
11
|
+
end
|
12
|
+
|
13
|
+
def commit
|
14
|
+
"commit -a -m #{ENV['message'].to_s.inspect}"
|
15
|
+
end
|
16
|
+
|
17
|
+
namespace :git do
|
18
|
+
namespace :big_band do
|
19
|
+
task(:header) { puts '', '#'*80, "# BigBand" }
|
20
|
+
task(:status => :header) { system "git status" }
|
21
|
+
task(:pull => :header) { system "git pull --no-ff" }
|
22
|
+
task(:push => :header) { system "git push" }
|
23
|
+
task(:diff => :header) { system "git diff" }
|
24
|
+
task(:tags => :header) { system "git push --tags" }
|
25
|
+
task(:commit => :header) { system "git #{commit}" }
|
26
|
+
end
|
27
|
+
task :status => "big_band:status"
|
28
|
+
task :pull => "big_band:pull"
|
29
|
+
task :push => "big_band:push"
|
30
|
+
task :diff => "big_band:diff"
|
31
|
+
task :tags => "big_band:tags"
|
32
|
+
end
|
33
|
+
|
34
|
+
project_namespace :git do
|
35
|
+
git_task :status
|
36
|
+
git_task :pull, "pull --no-ff"
|
37
|
+
git_task :push
|
38
|
+
git_task :diff
|
39
|
+
git_task :tags, "push --tags"
|
40
|
+
git_task(:commit) { commit }
|
41
|
+
end
|
data/tasks/setup.task
ADDED
@@ -0,0 +1,34 @@
|
|
1
|
+
sym_prefix = ENV["PREFIX"] || ".."
|
2
|
+
|
3
|
+
def git_clone(type)
|
4
|
+
if File.exist? subproject.name then $stderr.puts "#{subproject.name} already exists"
|
5
|
+
else sh "git clone #{subproject.send type} #{subproject.name}"
|
6
|
+
end
|
7
|
+
end
|
8
|
+
|
9
|
+
task :gitignore do
|
10
|
+
files = File.read(".gitignore").split "\n"
|
11
|
+
files += Subproject.names
|
12
|
+
File.open(".gitignore", "w") { |f| f.puts files.uniq.sort.join("\n") }
|
13
|
+
end
|
14
|
+
|
15
|
+
project_namespace :setup do
|
16
|
+
|
17
|
+
desc "sets up %s as symlink (from #{File.expand_path sym_prefix}, change by setting PATH)"
|
18
|
+
project_task :symlink => :gitignore do
|
19
|
+
target = File.join sym_prefix, subproject.name
|
20
|
+
if File.exist? subproject.name then $stderr.puts "#{subproject.name} already exists"
|
21
|
+
elsif not File.exist? target then $stderr.puts "#{target} does not exist"
|
22
|
+
else ln_sf target, subproject.name
|
23
|
+
end
|
24
|
+
end
|
25
|
+
|
26
|
+
desc "clone read-write version of %s github repo"
|
27
|
+
project_task(:read_write => :gitignore) { git_clone :private_remote }
|
28
|
+
|
29
|
+
desc "clone read-only version of %s github repo"
|
30
|
+
project_task(:read_only => :gitignore) { git_clone :public_remote }
|
31
|
+
|
32
|
+
project_task(:check) { raise "#{subproject.name} is missing" unless File.exist? subproject.name }
|
33
|
+
|
34
|
+
end
|
data/tasks/spec.task
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
def rspec(pattern, format = nil, more_opts = nil, ruby = RUBY)
|
2
|
+
format ||= ENV["FORMAT"] || :progress
|
3
|
+
libs = Dir.glob("{*,.}/lib").join File::PATH_SEPARATOR
|
4
|
+
files = Dir.glob(pattern).map { |f| f.inspect }.join " "
|
5
|
+
opts = ["-b -c --format #{format} --loadby mtime --reverse", *more_opts].compact.join " "
|
6
|
+
sh "#{ruby} -I#{libs} -S spec #{opts} #{files}"
|
7
|
+
end
|
8
|
+
|
9
|
+
pattern = "spec/**/*_spec.rb"
|
10
|
+
|
11
|
+
project_namespace :spec do
|
12
|
+
desc "run specs for %s"
|
13
|
+
project_task :default => :clobber do |t|
|
14
|
+
rspec "#{subproject.name}/#{pattern}"
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
18
|
+
desc "run all specs"
|
19
|
+
task(:spec) { rspec "{*,.}/#{pattern}" }
|
20
|
+
|
21
|
+
namespace :spec do
|
22
|
+
desc "run only specs for big_band meta project"
|
23
|
+
task(:big_band) { rspec pattern }
|
24
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: big_band
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
prerelease: false
|
5
|
+
segments:
|
6
|
+
- 0
|
7
|
+
- 4
|
8
|
+
- 0
|
9
|
+
version: 0.4.0
|
5
10
|
platform: ruby
|
6
11
|
authors:
|
7
12
|
- Konstantin Haase
|
@@ -9,70 +14,206 @@ autorequire:
|
|
9
14
|
bindir: bin
|
10
15
|
cert_chain: []
|
11
16
|
|
12
|
-
date: 2010-
|
17
|
+
date: 2010-05-02 00:00:00 +02:00
|
13
18
|
default_executable:
|
14
19
|
dependencies:
|
15
20
|
- !ruby/object:Gem::Dependency
|
16
|
-
name:
|
21
|
+
name: async-rack
|
22
|
+
prerelease: false
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
25
|
+
- - ~>
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
segments:
|
28
|
+
- 0
|
29
|
+
- 4
|
30
|
+
- 0
|
31
|
+
version: 0.4.0
|
17
32
|
type: :runtime
|
18
|
-
|
19
|
-
|
33
|
+
version_requirements: *id001
|
34
|
+
- !ruby/object:Gem::Dependency
|
35
|
+
name: haml-more
|
36
|
+
prerelease: false
|
37
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
20
38
|
requirements:
|
21
|
-
- -
|
39
|
+
- - ~>
|
22
40
|
- !ruby/object:Gem::Version
|
23
|
-
|
24
|
-
|
41
|
+
segments:
|
42
|
+
- 0
|
43
|
+
- 4
|
44
|
+
- 0
|
45
|
+
version: 0.4.0
|
46
|
+
type: :runtime
|
47
|
+
version_requirements: *id002
|
25
48
|
- !ruby/object:Gem::Dependency
|
26
|
-
name:
|
49
|
+
name: monkey-lib
|
50
|
+
prerelease: false
|
51
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
52
|
+
requirements:
|
53
|
+
- - ~>
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
segments:
|
56
|
+
- 0
|
57
|
+
- 4
|
58
|
+
- 0
|
59
|
+
version: 0.4.0
|
27
60
|
type: :runtime
|
28
|
-
|
29
|
-
|
61
|
+
version_requirements: *id003
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: sinatra-advanced-routes
|
64
|
+
prerelease: false
|
65
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
30
66
|
requirements:
|
31
|
-
- -
|
67
|
+
- - ~>
|
32
68
|
- !ruby/object:Gem::Version
|
33
|
-
|
34
|
-
|
69
|
+
segments:
|
70
|
+
- 0
|
71
|
+
- 4
|
72
|
+
- 0
|
73
|
+
version: 0.4.0
|
74
|
+
type: :runtime
|
75
|
+
version_requirements: *id004
|
35
76
|
- !ruby/object:Gem::Dependency
|
36
|
-
name:
|
77
|
+
name: sinatra-compass
|
78
|
+
prerelease: false
|
79
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
80
|
+
requirements:
|
81
|
+
- - ~>
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
segments:
|
84
|
+
- 0
|
85
|
+
- 4
|
86
|
+
- 0
|
87
|
+
version: 0.4.0
|
37
88
|
type: :runtime
|
38
|
-
|
39
|
-
|
89
|
+
version_requirements: *id005
|
90
|
+
- !ruby/object:Gem::Dependency
|
91
|
+
name: sinatra-config-file
|
92
|
+
prerelease: false
|
93
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
40
94
|
requirements:
|
41
|
-
- -
|
95
|
+
- - ~>
|
42
96
|
- !ruby/object:Gem::Version
|
43
|
-
|
44
|
-
|
97
|
+
segments:
|
98
|
+
- 0
|
99
|
+
- 4
|
100
|
+
- 0
|
101
|
+
version: 0.4.0
|
102
|
+
type: :runtime
|
103
|
+
version_requirements: *id006
|
45
104
|
- !ruby/object:Gem::Dependency
|
46
|
-
name:
|
105
|
+
name: sinatra-more-server
|
106
|
+
prerelease: false
|
107
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
108
|
+
requirements:
|
109
|
+
- - ~>
|
110
|
+
- !ruby/object:Gem::Version
|
111
|
+
segments:
|
112
|
+
- 0
|
113
|
+
- 4
|
114
|
+
- 0
|
115
|
+
version: 0.4.0
|
47
116
|
type: :runtime
|
48
|
-
|
49
|
-
|
117
|
+
version_requirements: *id007
|
118
|
+
- !ruby/object:Gem::Dependency
|
119
|
+
name: sinatra-namespace
|
120
|
+
prerelease: false
|
121
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
50
122
|
requirements:
|
51
|
-
- -
|
123
|
+
- - ~>
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
segments:
|
126
|
+
- 0
|
127
|
+
- 4
|
128
|
+
- 0
|
129
|
+
version: 0.4.0
|
130
|
+
type: :runtime
|
131
|
+
version_requirements: *id008
|
132
|
+
- !ruby/object:Gem::Dependency
|
133
|
+
name: sinatra-reloader
|
134
|
+
prerelease: false
|
135
|
+
requirement: &id009 !ruby/object:Gem::Requirement
|
136
|
+
requirements:
|
137
|
+
- - ~>
|
138
|
+
- !ruby/object:Gem::Version
|
139
|
+
segments:
|
140
|
+
- 0
|
141
|
+
- 4
|
142
|
+
- 0
|
143
|
+
version: 0.4.0
|
144
|
+
type: :runtime
|
145
|
+
version_requirements: *id009
|
146
|
+
- !ruby/object:Gem::Dependency
|
147
|
+
name: sinatra-sugar
|
148
|
+
prerelease: false
|
149
|
+
requirement: &id010 !ruby/object:Gem::Requirement
|
150
|
+
requirements:
|
151
|
+
- - ~>
|
52
152
|
- !ruby/object:Gem::Version
|
53
|
-
|
54
|
-
|
153
|
+
segments:
|
154
|
+
- 0
|
155
|
+
- 4
|
156
|
+
- 0
|
157
|
+
version: 0.4.0
|
158
|
+
type: :runtime
|
159
|
+
version_requirements: *id010
|
55
160
|
- !ruby/object:Gem::Dependency
|
56
|
-
name: sinatra
|
161
|
+
name: sinatra-test-helper
|
162
|
+
prerelease: false
|
163
|
+
requirement: &id011 !ruby/object:Gem::Requirement
|
164
|
+
requirements:
|
165
|
+
- - ~>
|
166
|
+
- !ruby/object:Gem::Version
|
167
|
+
segments:
|
168
|
+
- 0
|
169
|
+
- 4
|
170
|
+
- 0
|
171
|
+
version: 0.4.0
|
57
172
|
type: :runtime
|
58
|
-
|
59
|
-
|
173
|
+
version_requirements: *id011
|
174
|
+
- !ruby/object:Gem::Dependency
|
175
|
+
name: yard-sinatra
|
176
|
+
prerelease: false
|
177
|
+
requirement: &id012 !ruby/object:Gem::Requirement
|
60
178
|
requirements:
|
61
|
-
- -
|
179
|
+
- - ~>
|
62
180
|
- !ruby/object:Gem::Version
|
63
|
-
|
64
|
-
|
181
|
+
segments:
|
182
|
+
- 0
|
183
|
+
- 4
|
184
|
+
- 0
|
185
|
+
version: 0.4.0
|
186
|
+
type: :runtime
|
187
|
+
version_requirements: *id012
|
65
188
|
- !ruby/object:Gem::Dependency
|
66
|
-
name: rack-
|
189
|
+
name: rack-flash
|
190
|
+
prerelease: false
|
191
|
+
requirement: &id013 !ruby/object:Gem::Requirement
|
192
|
+
requirements:
|
193
|
+
- - ">="
|
194
|
+
- !ruby/object:Gem::Version
|
195
|
+
segments:
|
196
|
+
- 0
|
197
|
+
- 1
|
198
|
+
- 1
|
199
|
+
version: 0.1.1
|
67
200
|
type: :runtime
|
68
|
-
|
69
|
-
|
201
|
+
version_requirements: *id013
|
202
|
+
- !ruby/object:Gem::Dependency
|
203
|
+
name: rspec
|
204
|
+
prerelease: false
|
205
|
+
requirement: &id014 !ruby/object:Gem::Requirement
|
70
206
|
requirements:
|
71
207
|
- - ">="
|
72
208
|
- !ruby/object:Gem::Version
|
73
|
-
|
74
|
-
|
75
|
-
|
209
|
+
segments:
|
210
|
+
- 1
|
211
|
+
- 3
|
212
|
+
- 0
|
213
|
+
version: 1.3.0
|
214
|
+
type: :development
|
215
|
+
version_requirements: *id014
|
216
|
+
description: Making Sinatra swing.
|
76
217
|
email: konstantin.mailinglists@googlemail.com
|
77
218
|
executables: []
|
78
219
|
|
@@ -81,130 +222,49 @@ extensions: []
|
|
81
222
|
extra_rdoc_files: []
|
82
223
|
|
83
224
|
files:
|
84
|
-
- big_band.gemspec
|
85
|
-
- dependencies.rb
|
86
|
-
- depgen/depgen.rb
|
87
|
-
- depgen/depgen.task
|
88
|
-
- depgen/depgen_spec.rb
|
89
|
-
- depgen/Rakefile
|
90
|
-
- depgen/README.rdoc
|
91
|
-
- deps.rip
|
92
|
-
- example/example.rb
|
93
|
-
- example/views/index.haml
|
94
|
-
- example/views/layout.haml
|
95
|
-
- example/views/stylesheets/_base.sass
|
96
|
-
- example/views/stylesheets/screen.sass
|
97
|
-
- lib/big_band/advanced_routes.rb
|
98
|
-
- lib/big_band/basic_extensions.rb
|
99
|
-
- lib/big_band/compass/big_band.rb
|
100
|
-
- lib/big_band/compass/stylesheets/_big_band.sass
|
101
|
-
- lib/big_band/compass/stylesheets/big_band/_blueprint.sass
|
102
|
-
- lib/big_band/compass/stylesheets/big_band/_utilities.sass
|
103
|
-
- lib/big_band/compass/stylesheets/big_band/blueprint/_html5.sass
|
104
|
-
- lib/big_band/compass/stylesheets/big_band/layouts/_inspector.sass
|
105
|
-
- lib/big_band/compass/stylesheets/big_band/utilities/_border_radius.sass
|
106
|
-
- lib/big_band/compass/stylesheets/big_band/utilities/_css3_prefix.sass
|
107
|
-
- lib/big_band/compass/stylesheets/big_band/utilities/_fancy_buttons.sass
|
108
|
-
- lib/big_band/compass/stylesheets/big_band/utilities/_html5.sass
|
109
|
-
- lib/big_band/compass.rb
|
110
|
-
- lib/big_band/config_file.rb
|
111
|
-
- lib/big_band/files/overlay-button.png
|
112
|
-
- lib/big_band/integration/bacon.rb
|
113
|
-
- lib/big_band/integration/monk.rb
|
114
|
-
- lib/big_band/integration/rake.rb
|
115
|
-
- lib/big_band/integration/rspec.rb
|
116
|
-
- lib/big_band/integration/test/spec.rb
|
117
|
-
- lib/big_band/integration/test/unit.rb
|
118
|
-
- lib/big_band/integration/test.rb
|
119
|
-
- lib/big_band/integration/test_spec.rb
|
120
|
-
- lib/big_band/integration/test_unit.rb
|
121
|
-
- lib/big_band/integration/yard.rb
|
122
|
-
- lib/big_band/integration.rb
|
123
|
-
- lib/big_band/more_helpers.rb
|
124
|
-
- lib/big_band/more_server/rainbows.rb
|
125
|
-
- lib/big_band/more_server/unicorn.rb
|
126
|
-
- lib/big_band/more_server.rb
|
127
|
-
- lib/big_band/reloader.rb
|
128
|
-
- lib/big_band/sass.rb
|
129
|
-
- lib/big_band/version.rb
|
130
|
-
- lib/big_band/web_inspector.rb
|
131
225
|
- lib/big_band.rb
|
132
|
-
- lib/big_bang.rb
|
133
|
-
- lib/sinatra/big_band/advanced_routes.rb
|
134
|
-
- lib/sinatra/big_band/basic_extensions.rb
|
135
|
-
- lib/sinatra/big_band/compass/big_band.rb
|
136
|
-
- lib/sinatra/big_band/compass.rb
|
137
|
-
- lib/sinatra/big_band/config_file.rb
|
138
|
-
- lib/sinatra/big_band/integration/bacon.rb
|
139
|
-
- lib/sinatra/big_band/integration/monk.rb
|
140
|
-
- lib/sinatra/big_band/integration/rake.rb
|
141
|
-
- lib/sinatra/big_band/integration/rspec.rb
|
142
|
-
- lib/sinatra/big_band/integration/test/spec.rb
|
143
|
-
- lib/sinatra/big_band/integration/test/unit.rb
|
144
|
-
- lib/sinatra/big_band/integration/test.rb
|
145
|
-
- lib/sinatra/big_band/integration/test_spec.rb
|
146
|
-
- lib/sinatra/big_band/integration/test_unit.rb
|
147
|
-
- lib/sinatra/big_band/integration/yard.rb
|
148
|
-
- lib/sinatra/big_band/integration.rb
|
149
|
-
- lib/sinatra/big_band/more_helpers.rb
|
150
|
-
- lib/sinatra/big_band/more_server/rainbows.rb
|
151
|
-
- lib/sinatra/big_band/more_server/unicorn.rb
|
152
|
-
- lib/sinatra/big_band/more_server.rb
|
153
|
-
- lib/sinatra/big_band/reloader.rb
|
154
|
-
- lib/sinatra/big_band/sass.rb
|
155
|
-
- lib/sinatra/big_band/version.rb
|
156
|
-
- lib/sinatra/big_band/web_inspector.rb
|
157
226
|
- lib/sinatra/big_band.rb
|
158
|
-
-
|
159
|
-
- LICENSE
|
160
|
-
- Rakefile
|
161
|
-
- README.rdoc
|
162
|
-
- README.rdoc.erb
|
163
|
-
- spec/big_band/advanced_routes_spec.rb
|
164
|
-
- spec/big_band/basic_extensions_spec.rb
|
165
|
-
- spec/big_band/more_server_spec.rb
|
166
|
-
- spec/big_band/sass_spec.rb
|
167
|
-
- spec/spec.opts
|
227
|
+
- spec/sinatra/big_band_spec.rb
|
168
228
|
- spec/spec_helper.rb
|
169
|
-
-
|
170
|
-
|
229
|
+
- tasks/doc.task
|
230
|
+
- tasks/gem.task
|
231
|
+
- tasks/git.task
|
232
|
+
- tasks/setup.task
|
233
|
+
- tasks/spec.task
|
234
|
+
- subproject.rb
|
235
|
+
- README.md
|
236
|
+
- TODO.md
|
237
|
+
- Rakefile
|
238
|
+
- LICENSE
|
239
|
+
has_rdoc: yard
|
171
240
|
homepage: http://github.com/rkh/big_band
|
172
241
|
licenses: []
|
173
242
|
|
174
243
|
post_install_message:
|
175
|
-
rdoc_options:
|
176
|
-
|
177
|
-
- -S
|
178
|
-
- -N
|
179
|
-
- -m
|
180
|
-
- README.rdoc
|
181
|
-
- -q
|
182
|
-
- -w
|
183
|
-
- "2"
|
184
|
-
- -t
|
185
|
-
- BigBand
|
186
|
-
- -c
|
187
|
-
- UTF-8
|
244
|
+
rdoc_options: []
|
245
|
+
|
188
246
|
require_paths:
|
189
247
|
- lib
|
190
248
|
required_ruby_version: !ruby/object:Gem::Requirement
|
191
249
|
requirements:
|
192
250
|
- - ">="
|
193
251
|
- !ruby/object:Gem::Version
|
252
|
+
segments:
|
253
|
+
- 0
|
194
254
|
version: "0"
|
195
|
-
version:
|
196
255
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
197
256
|
requirements:
|
198
257
|
- - ">="
|
199
258
|
- !ruby/object:Gem::Version
|
259
|
+
segments:
|
260
|
+
- 0
|
200
261
|
version: "0"
|
201
|
-
version:
|
202
262
|
requirements: []
|
203
263
|
|
204
264
|
rubyforge_project:
|
205
|
-
rubygems_version: 1.3.
|
265
|
+
rubygems_version: 1.3.6
|
206
266
|
signing_key:
|
207
|
-
specification_version:
|
208
|
-
summary:
|
267
|
+
specification_version: 3
|
268
|
+
summary: Making Sinatra swing.
|
209
269
|
test_files: []
|
210
270
|
|