bootstrap-on 0.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (71) hide show
  1. data/.document +5 -0
  2. data/Gemfile +13 -0
  3. data/Gemfile.lock +90 -0
  4. data/LICENSE.txt +20 -0
  5. data/README.md +98 -0
  6. data/Rakefile +38 -0
  7. data/VERSION +1 -0
  8. data/bootstrap-on.gemspec +127 -0
  9. data/lib/bootstrap-on.rb +6 -0
  10. data/lib/bootstrap-on/bs_admin.rb +138 -0
  11. data/lib/bootstrap-on/bs_admin_page.rb +55 -0
  12. data/lib/bootstrap-on/templates/.DS_Store +0 -0
  13. data/lib/bootstrap-on/templates/account/.DS_Store +0 -0
  14. data/lib/bootstrap-on/templates/account/activerecord.rb.tt +38 -0
  15. data/lib/bootstrap-on/templates/account/couchrest.rb.tt +66 -0
  16. data/lib/bootstrap-on/templates/account/datamapper.rb.tt +55 -0
  17. data/lib/bootstrap-on/templates/account/mini_record.rb.tt +41 -0
  18. data/lib/bootstrap-on/templates/account/mongoid.rb.tt +53 -0
  19. data/lib/bootstrap-on/templates/account/mongomapper.rb.tt +46 -0
  20. data/lib/bootstrap-on/templates/account/seeds.rb.tt +28 -0
  21. data/lib/bootstrap-on/templates/account/sequel.rb.tt +52 -0
  22. data/lib/bootstrap-on/templates/app.rb.tt +36 -0
  23. data/lib/bootstrap-on/templates/app/controllers/base.rb +6 -0
  24. data/lib/bootstrap-on/templates/app/controllers/sessions.rb.tt +26 -0
  25. data/lib/bootstrap-on/templates/app/helpers/application_helper.rb +23 -0
  26. data/lib/bootstrap-on/templates/assets/.DS_Store +0 -0
  27. data/lib/bootstrap-on/templates/assets/css/bootstrap-responsive.css +815 -0
  28. data/lib/bootstrap-on/templates/assets/css/bootstrap-responsive.min.css +9 -0
  29. data/lib/bootstrap-on/templates/assets/css/bootstrap.css +4983 -0
  30. data/lib/bootstrap-on/templates/assets/css/bootstrap.min.css +9 -0
  31. data/lib/bootstrap-on/templates/assets/ico/apple-touch-icon-114-precomposed.png +0 -0
  32. data/lib/bootstrap-on/templates/assets/ico/apple-touch-icon-144-precomposed.png +0 -0
  33. data/lib/bootstrap-on/templates/assets/ico/apple-touch-icon-57-precomposed.png +0 -0
  34. data/lib/bootstrap-on/templates/assets/ico/apple-touch-icon-72-precomposed.png +0 -0
  35. data/lib/bootstrap-on/templates/assets/ico/favicon.ico +0 -0
  36. data/lib/bootstrap-on/templates/assets/img/glyphicons-halflings-white.png +0 -0
  37. data/lib/bootstrap-on/templates/assets/img/glyphicons-halflings.png +0 -0
  38. data/lib/bootstrap-on/templates/assets/js/.DS_Store +0 -0
  39. data/lib/bootstrap-on/templates/assets/js/bootstrap.js +1825 -0
  40. data/lib/bootstrap-on/templates/assets/js/bootstrap.min.js +6 -0
  41. data/lib/bootstrap-on/templates/assets/js/jquery-min.js +4 -0
  42. data/lib/bootstrap-on/templates/assets/js/jquery-ujs.js +92 -0
  43. data/lib/bootstrap-on/templates/assets/js/jquery.js +9404 -0
  44. data/lib/bootstrap-on/templates/erb/app/base/index.erb.tt +16 -0
  45. data/lib/bootstrap-on/templates/erb/app/layouts/application.erb.tt +79 -0
  46. data/lib/bootstrap-on/templates/erb/app/sessions/new.erb.tt +98 -0
  47. data/lib/bootstrap-on/templates/erb/page/_form.erb.tt +16 -0
  48. data/lib/bootstrap-on/templates/erb/page/edit.erb.tt +26 -0
  49. data/lib/bootstrap-on/templates/erb/page/index.erb.tt +41 -0
  50. data/lib/bootstrap-on/templates/erb/page/new.erb.tt +23 -0
  51. data/lib/bootstrap-on/templates/haml/app/base/index.haml.tt +23 -0
  52. data/lib/bootstrap-on/templates/haml/app/layouts/application.haml.tt +31 -0
  53. data/lib/bootstrap-on/templates/haml/app/sessions/new.haml.tt +30 -0
  54. data/lib/bootstrap-on/templates/haml/page/_form.haml.tt +12 -0
  55. data/lib/bootstrap-on/templates/haml/page/edit.haml.tt +15 -0
  56. data/lib/bootstrap-on/templates/haml/page/index.haml.tt +29 -0
  57. data/lib/bootstrap-on/templates/haml/page/new.haml.tt +14 -0
  58. data/lib/bootstrap-on/templates/page/controller.rb.tt +47 -0
  59. data/lib/bootstrap-on/templates/slim/app/base/index.slim.tt +23 -0
  60. data/lib/bootstrap-on/templates/slim/app/layouts/application.slim.tt +31 -0
  61. data/lib/bootstrap-on/templates/slim/app/sessions/new.slim.tt +31 -0
  62. data/lib/bootstrap-on/templates/slim/page/_form.slim.tt +14 -0
  63. data/lib/bootstrap-on/templates/slim/page/edit.slim.tt +16 -0
  64. data/lib/bootstrap-on/templates/slim/page/index.slim.tt +30 -0
  65. data/lib/bootstrap-on/templates/slim/page/new.slim.tt +15 -0
  66. data/test/bootstrap-on/test_bs_admin_generator.rb +332 -0
  67. data/test/bootstrap-on/test_bs_admin_page_generator.rb +132 -0
  68. data/test/helper.rb +98 -0
  69. data/test/load_paths.rb +6 -0
  70. data/test/test_bootstrap-on.rb +15 -0
  71. metadata +240 -0
@@ -0,0 +1,132 @@
1
+ require 'helper'
2
+
3
+ class Person
4
+ def self.columns
5
+ [:id, :name, :age, :email].map { |c| OpenStruct.new(:name => c) }
6
+ end
7
+ end
8
+
9
+ class Page
10
+ def self.columns
11
+ [:id, :name, :body].map { |c| OpenStruct.new(:name => c) }
12
+ end
13
+ end
14
+
15
+ describe "BootstrappedAdminPageGenerator" do
16
+
17
+ def setup
18
+ @apptmp = "#{Dir.tmpdir}/padrino-tests/#{UUID.new.generate}"
19
+ `mkdir -p #{@apptmp}`
20
+ end
21
+
22
+ def teardown
23
+ `rm -rf #{@apptmp}`
24
+ end
25
+
26
+ describe 'the admin page generator' do
27
+
28
+ it 'should fail outside app root' do
29
+ out, err = capture_io { generate(:admin_page, 'foo', "-r=#{@apptmp}/sample_project") }
30
+ assert_match(/not at the root/, out)
31
+ assert_no_file_exists('/tmp/admin')
32
+ end
33
+
34
+ it 'should fail without argument and model' do
35
+ capture_io { generate(:project, 'sample_project', "--root=#{@apptmp}", '-d=activerecord') }
36
+ capture_io { generate(:admin_app, "--root=#{@apptmp}/sample_project") }
37
+ assert_raises(Padrino::Admin::Generators::OrmError) { generate(:admin_page, 'foo', "-r=#{@apptmp}/sample_project") }
38
+ end
39
+
40
+ it 'should correctly generate a new padrino admin application default renderer' do
41
+ capture_io { generate(:project, 'sample_project', "--root=#{@apptmp}", '-d=activerecord','-e=haml') }
42
+ capture_io { generate(:admin_app, "--root=#{@apptmp}/sample_project") }
43
+ capture_io { generate(:model, 'person', "name:string", "age:integer", "email:string", "--root=#{@apptmp}/sample_project") }
44
+ capture_io { generate(:admin_page, 'person', "--root=#{@apptmp}/sample_project") }
45
+ assert_file_exists "#{@apptmp}/sample_project/admin/controllers/people.rb"
46
+ assert_file_exists "#{@apptmp}/sample_project/admin/views/people/_form.haml"
47
+ assert_file_exists "#{@apptmp}/sample_project/admin/views/people/edit.haml"
48
+ assert_file_exists "#{@apptmp}/sample_project/admin/views/people/index.haml"
49
+ assert_file_exists "#{@apptmp}/sample_project/admin/views/people/new.haml"
50
+ %w(name age email).each do |field|
51
+ assert_match_in_file "label :#{field}", "#{@apptmp}/sample_project/admin/views/people/_form.haml"
52
+ assert_match_in_file "text_field :#{field}", "#{@apptmp}/sample_project/admin/views/people/_form.haml"
53
+ end
54
+ assert_match_in_file "role.project_module :people, '/people'", "#{@apptmp}/sample_project/admin/app.rb"
55
+ assert_match_in_file "elsif Padrino.env == :development && params[:bypass]", "#{@apptmp}/sample_project/admin/controllers/sessions.rb"
56
+ assert_match_in_file "check_box_tag :bypass", "#{@apptmp}/sample_project/admin/views/sessions/new.haml"
57
+ end
58
+
59
+ it "should store and apply session_secret" do
60
+ capture_io { generate(:project, 'sample_project', "--root=#{@apptmp}", '-d=activerecord','-e=haml') }
61
+ assert_match_in_file(/set :session_secret, '[0-9A-z]*'/, "#{@apptmp}/sample_project/config/apps.rb")
62
+ end
63
+
64
+ it 'should correctly generate a new padrino admin application with erb renderer' do
65
+ capture_io { generate(:project, 'sample_project', "--root=#{@apptmp}", '-d=activerecord', '-e=erb') }
66
+ capture_io { generate(:admin_app, "--root=#{@apptmp}/sample_project") }
67
+ capture_io { generate(:model, 'person', "name:string", "age:integer", "email:string", "-root=#{@apptmp}/sample_project") }
68
+ capture_io { generate(:admin_page, 'person', "--root=#{@apptmp}/sample_project") }
69
+ assert_file_exists "#{@apptmp}/sample_project/admin/controllers/people.rb"
70
+ assert_file_exists "#{@apptmp}/sample_project/admin/views/people/_form.erb"
71
+ assert_file_exists "#{@apptmp}/sample_project/admin/views/people/edit.erb"
72
+ assert_file_exists "#{@apptmp}/sample_project/admin/views/people/index.erb"
73
+ assert_file_exists "#{@apptmp}/sample_project/admin/views/people/new.erb"
74
+ %w(name age email).each do |field|
75
+ assert_match_in_file "label :#{field}", "#{@apptmp}/sample_project/admin/views/people/_form.erb"
76
+ assert_match_in_file "text_field :#{field}", "#{@apptmp}/sample_project/admin/views/people/_form.erb"
77
+ end
78
+ assert_match_in_file "role.project_module :people, '/people'", "#{@apptmp}/sample_project/admin/app.rb"
79
+ assert_match_in_file "elsif Padrino.env == :development && params[:bypass]", "#{@apptmp}/sample_project/admin/controllers/sessions.rb"
80
+ assert_match_in_file "check_box_tag :bypass", "#{@apptmp}/sample_project/admin/views/sessions/new.erb"
81
+ end
82
+
83
+ it 'should correctly generate a new padrino admin application with slim renderer' do
84
+ capture_io { generate(:project, 'sample_project', "--root=#{@apptmp}", '-d=activerecord', '-e=slim') }
85
+ capture_io { generate(:admin_app, "--root=#{@apptmp}/sample_project") }
86
+ capture_io { generate(:model, 'person', "name:string", "age:integer", "email:string", "-root=#{@apptmp}/sample_project") }
87
+ capture_io { generate(:admin_page, 'person', "--root=#{@apptmp}/sample_project") }
88
+ assert_file_exists "#{@apptmp}/sample_project/admin/controllers/people.rb"
89
+ assert_file_exists "#{@apptmp}/sample_project/admin/views/people/_form.slim"
90
+ assert_file_exists "#{@apptmp}/sample_project/admin/views/people/edit.slim"
91
+ assert_file_exists "#{@apptmp}/sample_project/admin/views/people/index.slim"
92
+ assert_file_exists "#{@apptmp}/sample_project/admin/views/people/new.slim"
93
+ %w(name age email).each do |field|
94
+ assert_match_in_file "label :#{field}", "#{@apptmp}/sample_project/admin/views/people/_form.slim"
95
+ assert_match_in_file "text_field :#{field}", "#{@apptmp}/sample_project/admin/views/people/_form.slim"
96
+ end
97
+ assert_match_in_file "role.project_module :people, '/people'", "#{@apptmp}/sample_project/admin/app.rb"
98
+ assert_match_in_file "elsif Padrino.env == :development && params[:bypass]", "#{@apptmp}/sample_project/admin/controllers/sessions.rb"
99
+ assert_match_in_file "check_box_tag :bypass", "#{@apptmp}/sample_project/admin/views/sessions/new.slim"
100
+ end
101
+
102
+ it 'should correctly generate a new padrino admin application with multiple models' do
103
+ capture_io { generate(:project, 'sample_project', "--root=#{@apptmp}", '-d=activerecord','-e=haml') }
104
+ capture_io { generate(:admin_app, "--root=#{@apptmp}/sample_project") }
105
+ capture_io { generate(:model, 'person', "name:string", "age:integer", "email:string", "-root=#{@apptmp}/sample_project") }
106
+ capture_io { generate(:model, 'page', "name:string", "body:string", "-root=#{@apptmp}/sample_project") }
107
+ capture_io { generate(:admin_page, 'person', 'page', "--root=#{@apptmp}/sample_project") }
108
+ # For Person
109
+ assert_file_exists "#{@apptmp}/sample_project/admin/controllers/people.rb"
110
+ assert_file_exists "#{@apptmp}/sample_project/admin/views/people/_form.haml"
111
+ assert_file_exists "#{@apptmp}/sample_project/admin/views/people/edit.haml"
112
+ assert_file_exists "#{@apptmp}/sample_project/admin/views/people/index.haml"
113
+ assert_file_exists "#{@apptmp}/sample_project/admin/views/people/new.haml"
114
+ %w(name age email).each do |field|
115
+ assert_match_in_file "label :#{field}", "#{@apptmp}/sample_project/admin/views/people/_form.haml"
116
+ assert_match_in_file "text_field :#{field}", "#{@apptmp}/sample_project/admin/views/people/_form.haml"
117
+ end
118
+ assert_match_in_file "role.project_module :people, '/people'", "#{@apptmp}/sample_project/admin/app.rb"
119
+ # For Page
120
+ assert_file_exists "#{@apptmp}/sample_project/admin/controllers/pages.rb"
121
+ assert_file_exists "#{@apptmp}/sample_project/admin/views/pages/_form.haml"
122
+ assert_file_exists "#{@apptmp}/sample_project/admin/views/pages/edit.haml"
123
+ assert_file_exists "#{@apptmp}/sample_project/admin/views/pages/index.haml"
124
+ assert_file_exists "#{@apptmp}/sample_project/admin/views/pages/new.haml"
125
+ %w(name body).each do |field|
126
+ assert_match_in_file "label :#{field}", "#{@apptmp}/sample_project/admin/views/pages/_form.haml"
127
+ assert_match_in_file "text_field :#{field}", "#{@apptmp}/sample_project/admin/views/pages/_form.haml"
128
+ end
129
+ assert_match_in_file "role.project_module :pages, '/pages'", "#{@apptmp}/sample_project/admin/app.rb"
130
+ end
131
+ end
132
+ end
data/test/helper.rb ADDED
@@ -0,0 +1,98 @@
1
+ ENV['PADRINO_ENV'] = 'test'
2
+ PADRINO_ROOT = File.dirname(__FILE__) unless defined? PADRINO_ROOT
3
+
4
+ if defined?(Gem)
5
+ gem 'bundler'
6
+ else
7
+ require 'rubygems'
8
+ end
9
+ require 'bundler/setup'
10
+
11
+ require 'minitest/autorun'
12
+ # require 'rack/test'
13
+ require 'rack'
14
+ require 'uuid'
15
+ require 'thor/group'
16
+ require 'padrino-core/support_lite' unless defined?(SupportLite)
17
+ require 'padrino-admin'
18
+ require File.dirname(__FILE__) + '/../lib/bootstrap-on.rb'
19
+
20
+ begin; require 'turn/autorun'; rescue LoadError; end
21
+
22
+ Padrino::Generators.load_components!
23
+
24
+ module Kernel
25
+ def load_fixture(file)
26
+ Object.send(:remove_const, :Account) if defined?(Account)
27
+ Object.send(:remove_const, :Category) if defined?(Category)
28
+ file += ".rb" if file !~ /.rb$/
29
+ capture_io { load File.join(File.dirname(__FILE__), "fixtures", file) }
30
+ end
31
+ end
32
+
33
+ #class Class
34
+ # # Allow assertions in request context
35
+ # include MiniTest::Assertions
36
+ #end
37
+
38
+ class MiniTest::Unit::TestCase
39
+ # include Rack::Test::Methods
40
+
41
+ # # Sets up a Sinatra::Base subclass defined with the block
42
+ # # given. Used in setup or individual spec methods to establish
43
+ # # the application.
44
+ # def mock_app(base=Padrino::Application, &block)
45
+ # @app = Sinatra.new(base, &block)
46
+ # @app.send :include, MiniTest::Assertions
47
+ # @app.register Padrino::Helpers
48
+ # end
49
+
50
+ def app
51
+ Rack::Lint.new(@app)
52
+ end
53
+
54
+ # Creates a project and inserts lazy-head-gen reference into GemFile
55
+ def create_project(app_tmp, project_dir)
56
+ capture_io { generate(:project, project_dir, "--root=#{app_tmp}", '-d=activerecord', '-e=erb', '-t=minitest') }
57
+
58
+ # Hitting it with the command line hammer as I was having problems getting
59
+ # Thor's insert_into_file to work. Yes it is dirty!
60
+ gem_path = File.expand_path(File.join(File.dirname(__FILE__)))
61
+ capture_io { `echo "gem 'lazy-head-gen', :path => '#{gem_path}'" >> #{app_tmp}/#{project_dir}/GemFile` }
62
+ end
63
+
64
+ # generate(:admin_app, "-r=#{@apptmp}/sample_project")
65
+ def generate(name, *params)
66
+ "Padrino::Generators::#{name.to_s.camelize}".constantize.start(params)
67
+ end
68
+
69
+ # Assert_file_exists('/tmp/app')
70
+ def assert_file_exists(file_path)
71
+ assert File.exist?(file_path), "File at path '#{file_path}' does not exist!"
72
+ end
73
+
74
+ # Assert_no_file_exists('/tmp/app')
75
+ def assert_no_file_exists(file_path)
76
+ assert !File.exist?(file_path), "File should not exist at path '#{file_path}' but was found!"
77
+ end
78
+
79
+ # Asserts that a file matches the pattern
80
+ def assert_match_in_file(pattern, file)
81
+ File.exist?(file) ? assert_match(pattern, File.read(file)) : assert_file_exists(file)
82
+ end
83
+
84
+ def assert_no_match_in_file(pattern, file)
85
+ File.exists?(file) ? refute_match(pattern, File.read(file)) : assert_file_exists(file)
86
+ end
87
+
88
+ # Delegate other missing methods to response.
89
+ # def method_missing(name, *args, &block)
90
+ # if response && response.respond_to?(name)
91
+ # response.send(name, *args, &block)
92
+ # else
93
+ # super(name, *args, &block)
94
+ # end
95
+ # end
96
+
97
+ # alias :response :last_response
98
+ end
@@ -0,0 +1,6 @@
1
+ if defined?(Gem)
2
+ gem 'bundler'
3
+ else
4
+ require 'rubygems'
5
+ end
6
+ require 'bundler/setup'
@@ -0,0 +1,15 @@
1
+ require 'helper'
2
+
3
+ describe "BootstrapOn" do
4
+
5
+ describe "the generator" do
6
+ it "should have default generators" do
7
+ %w{controller mailer migration model app plugin bs_admin bs_admin_page}.each do |gen|
8
+ assert Padrino::Generators.mappings.has_key?(gen.to_sym)
9
+ assert_equal "Padrino::Generators::#{gen.camelize}", Padrino::Generators.mappings[gen.to_sym].name
10
+ assert Padrino::Generators.mappings[gen.to_sym].respond_to?(:start)
11
+ end
12
+ end
13
+ end
14
+
15
+ end
metadata ADDED
@@ -0,0 +1,240 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: bootstrap-on
3
+ version: !ruby/object:Gem::Version
4
+ hash: 31
5
+ prerelease:
6
+ segments:
7
+ - 0
8
+ - 0
9
+ - 0
10
+ version: 0.0.0
11
+ platform: ruby
12
+ authors:
13
+ - Stuart Chinery
14
+ autorequire:
15
+ bindir: bin
16
+ cert_chain: []
17
+
18
+ date: 2012-07-05 00:00:00 Z
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
21
+ type: :development
22
+ requirement: &id001 !ruby/object:Gem::Requirement
23
+ none: false
24
+ requirements:
25
+ - - ">="
26
+ - !ruby/object:Gem::Version
27
+ hash: 3
28
+ segments:
29
+ - 0
30
+ version: "0"
31
+ version_requirements: *id001
32
+ name: minitest
33
+ prerelease: false
34
+ - !ruby/object:Gem::Dependency
35
+ type: :development
36
+ requirement: &id002 !ruby/object:Gem::Requirement
37
+ none: false
38
+ requirements:
39
+ - - ~>
40
+ - !ruby/object:Gem::Version
41
+ hash: 49
42
+ segments:
43
+ - 0
44
+ - 9
45
+ - 5
46
+ version: 0.9.5
47
+ version_requirements: *id002
48
+ name: turn
49
+ prerelease: false
50
+ - !ruby/object:Gem::Dependency
51
+ type: :development
52
+ requirement: &id003 !ruby/object:Gem::Requirement
53
+ none: false
54
+ requirements:
55
+ - - ~>
56
+ - !ruby/object:Gem::Version
57
+ hash: 27
58
+ segments:
59
+ - 1
60
+ - 1
61
+ - 4
62
+ version: 1.1.4
63
+ version_requirements: *id003
64
+ name: bundler
65
+ prerelease: false
66
+ - !ruby/object:Gem::Dependency
67
+ type: :development
68
+ requirement: &id004 !ruby/object:Gem::Requirement
69
+ none: false
70
+ requirements:
71
+ - - ~>
72
+ - !ruby/object:Gem::Version
73
+ hash: 49
74
+ segments:
75
+ - 1
76
+ - 8
77
+ - 3
78
+ version: 1.8.3
79
+ version_requirements: *id004
80
+ name: jeweler
81
+ prerelease: false
82
+ - !ruby/object:Gem::Dependency
83
+ type: :development
84
+ requirement: &id005 !ruby/object:Gem::Requirement
85
+ none: false
86
+ requirements:
87
+ - - ~>
88
+ - !ruby/object:Gem::Version
89
+ hash: 7
90
+ segments:
91
+ - 0
92
+ - 6
93
+ - 0
94
+ version: 0.6.0
95
+ version_requirements: *id005
96
+ name: yard
97
+ prerelease: false
98
+ - !ruby/object:Gem::Dependency
99
+ type: :development
100
+ requirement: &id006 !ruby/object:Gem::Requirement
101
+ none: false
102
+ requirements:
103
+ - - ">="
104
+ - !ruby/object:Gem::Version
105
+ hash: 3
106
+ segments:
107
+ - 0
108
+ version: "0"
109
+ version_requirements: *id006
110
+ name: padrino
111
+ prerelease: false
112
+ - !ruby/object:Gem::Dependency
113
+ type: :development
114
+ requirement: &id007 !ruby/object:Gem::Requirement
115
+ none: false
116
+ requirements:
117
+ - - ">="
118
+ - !ruby/object:Gem::Version
119
+ hash: 3
120
+ segments:
121
+ - 0
122
+ version: "0"
123
+ version_requirements: *id007
124
+ name: uuid
125
+ prerelease: false
126
+ description: Padrino admin generators with Twitter Bootstrap integration
127
+ email: stuart.chinery@headlondon.com
128
+ executables: []
129
+
130
+ extensions: []
131
+
132
+ extra_rdoc_files:
133
+ - LICENSE.txt
134
+ - README.md
135
+ files:
136
+ - .document
137
+ - Gemfile
138
+ - Gemfile.lock
139
+ - LICENSE.txt
140
+ - README.md
141
+ - Rakefile
142
+ - VERSION
143
+ - bootstrap-on.gemspec
144
+ - lib/bootstrap-on.rb
145
+ - lib/bootstrap-on/bs_admin.rb
146
+ - lib/bootstrap-on/bs_admin_page.rb
147
+ - lib/bootstrap-on/templates/.DS_Store
148
+ - lib/bootstrap-on/templates/account/.DS_Store
149
+ - lib/bootstrap-on/templates/account/activerecord.rb.tt
150
+ - lib/bootstrap-on/templates/account/couchrest.rb.tt
151
+ - lib/bootstrap-on/templates/account/datamapper.rb.tt
152
+ - lib/bootstrap-on/templates/account/mini_record.rb.tt
153
+ - lib/bootstrap-on/templates/account/mongoid.rb.tt
154
+ - lib/bootstrap-on/templates/account/mongomapper.rb.tt
155
+ - lib/bootstrap-on/templates/account/seeds.rb.tt
156
+ - lib/bootstrap-on/templates/account/sequel.rb.tt
157
+ - lib/bootstrap-on/templates/app.rb.tt
158
+ - lib/bootstrap-on/templates/app/controllers/base.rb
159
+ - lib/bootstrap-on/templates/app/controllers/sessions.rb.tt
160
+ - lib/bootstrap-on/templates/app/helpers/application_helper.rb
161
+ - lib/bootstrap-on/templates/assets/.DS_Store
162
+ - lib/bootstrap-on/templates/assets/css/bootstrap-responsive.css
163
+ - lib/bootstrap-on/templates/assets/css/bootstrap-responsive.min.css
164
+ - lib/bootstrap-on/templates/assets/css/bootstrap.css
165
+ - lib/bootstrap-on/templates/assets/css/bootstrap.min.css
166
+ - lib/bootstrap-on/templates/assets/ico/apple-touch-icon-114-precomposed.png
167
+ - lib/bootstrap-on/templates/assets/ico/apple-touch-icon-144-precomposed.png
168
+ - lib/bootstrap-on/templates/assets/ico/apple-touch-icon-57-precomposed.png
169
+ - lib/bootstrap-on/templates/assets/ico/apple-touch-icon-72-precomposed.png
170
+ - lib/bootstrap-on/templates/assets/ico/favicon.ico
171
+ - lib/bootstrap-on/templates/assets/img/glyphicons-halflings-white.png
172
+ - lib/bootstrap-on/templates/assets/img/glyphicons-halflings.png
173
+ - lib/bootstrap-on/templates/assets/js/.DS_Store
174
+ - lib/bootstrap-on/templates/assets/js/bootstrap.js
175
+ - lib/bootstrap-on/templates/assets/js/bootstrap.min.js
176
+ - lib/bootstrap-on/templates/assets/js/jquery-min.js
177
+ - lib/bootstrap-on/templates/assets/js/jquery-ujs.js
178
+ - lib/bootstrap-on/templates/assets/js/jquery.js
179
+ - lib/bootstrap-on/templates/erb/app/base/index.erb.tt
180
+ - lib/bootstrap-on/templates/erb/app/layouts/application.erb.tt
181
+ - lib/bootstrap-on/templates/erb/app/sessions/new.erb.tt
182
+ - lib/bootstrap-on/templates/erb/page/_form.erb.tt
183
+ - lib/bootstrap-on/templates/erb/page/edit.erb.tt
184
+ - lib/bootstrap-on/templates/erb/page/index.erb.tt
185
+ - lib/bootstrap-on/templates/erb/page/new.erb.tt
186
+ - lib/bootstrap-on/templates/haml/app/base/index.haml.tt
187
+ - lib/bootstrap-on/templates/haml/app/layouts/application.haml.tt
188
+ - lib/bootstrap-on/templates/haml/app/sessions/new.haml.tt
189
+ - lib/bootstrap-on/templates/haml/page/_form.haml.tt
190
+ - lib/bootstrap-on/templates/haml/page/edit.haml.tt
191
+ - lib/bootstrap-on/templates/haml/page/index.haml.tt
192
+ - lib/bootstrap-on/templates/haml/page/new.haml.tt
193
+ - lib/bootstrap-on/templates/page/controller.rb.tt
194
+ - lib/bootstrap-on/templates/slim/app/base/index.slim.tt
195
+ - lib/bootstrap-on/templates/slim/app/layouts/application.slim.tt
196
+ - lib/bootstrap-on/templates/slim/app/sessions/new.slim.tt
197
+ - lib/bootstrap-on/templates/slim/page/_form.slim.tt
198
+ - lib/bootstrap-on/templates/slim/page/edit.slim.tt
199
+ - lib/bootstrap-on/templates/slim/page/index.slim.tt
200
+ - lib/bootstrap-on/templates/slim/page/new.slim.tt
201
+ - test/bootstrap-on/test_bs_admin_generator.rb
202
+ - test/bootstrap-on/test_bs_admin_page_generator.rb
203
+ - test/helper.rb
204
+ - test/load_paths.rb
205
+ - test/test_bootstrap-on.rb
206
+ homepage: http://github.com/sleepingstu/bootstrap-on
207
+ licenses:
208
+ - MIT
209
+ post_install_message:
210
+ rdoc_options: []
211
+
212
+ require_paths:
213
+ - lib
214
+ required_ruby_version: !ruby/object:Gem::Requirement
215
+ none: false
216
+ requirements:
217
+ - - ">="
218
+ - !ruby/object:Gem::Version
219
+ hash: 3
220
+ segments:
221
+ - 0
222
+ version: "0"
223
+ required_rubygems_version: !ruby/object:Gem::Requirement
224
+ none: false
225
+ requirements:
226
+ - - ">="
227
+ - !ruby/object:Gem::Version
228
+ hash: 3
229
+ segments:
230
+ - 0
231
+ version: "0"
232
+ requirements: []
233
+
234
+ rubyforge_project:
235
+ rubygems_version: 1.8.19
236
+ signing_key:
237
+ specification_version: 3
238
+ summary: Padrino admin generators with Twitter Bootstrap integration
239
+ test_files: []
240
+