bootstrap_leather 0.1.6 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +5 -9
- data/README.rdoc +5 -17
- data/Rakefile +12 -12
- data/VERSION +1 -1
- data/app/helpers/bootstrap_leather_helper.rb +35 -10
- data/app/views/bootstrap_leather/_badge.html.haml +1 -1
- data/app/views/bootstrap_leather/_badge_to.html.haml +4 -0
- data/app/views/bootstrap_leather/_hero_unit.html.haml +1 -1
- data/app/views/bootstrap_leather/_logo_and_title.html.haml +2 -0
- data/app/views/bootstrap_leather/_nav_list.html.haml +1 -1
- data/app/views/bootstrap_leather/_navbar.html.haml +46 -10
- data/app/views/bootstrap_leather/_page_header.html.haml +5 -0
- data/app/views/bootstrap_leather/_widgets.html.haml +9 -2
- data/bootstrap_leather.gemspec +12 -33
- data/lib/bootstrap_leather/configuration.rb +2 -1
- data/lib/generators/bootstrap_leather/install/templates/initializer.rb +1 -0
- metadata +12 -110
- data/app/views/bootstrap_leather/_navbar_in_container.haml +0 -4
- data/app/views/bootstrap_leather/_navbar_with_container.haml +0 -4
- data/app/views/bootstrap_leather/_widget.html.haml +0 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8321ac9b402c4c5b6eccee72222dc6232188eb37
|
4
|
+
data.tar.gz: 9dbca4b7109d4d1568f385432bcbdea6ac45ed2d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: deb9bfe2804206d9ad39b4accb54a62a98579332e1fe39e5963e5aef1c8801808da18e82e4e898380058775bdd9504265b7b4d7dc819948f32a6379eb9088119
|
7
|
+
data.tar.gz: ca60c207a31554a6b85c707295ff0f0d6ef1c718c98cf1fa1efd1e9b7cb2a6fdb9b9af7c1f632b4783378910f5227c72f8965220e0b71486a6b0de9bf8be9d08
|
data/Gemfile
CHANGED
@@ -5,17 +5,13 @@ source 'http://rubygems.org'
|
|
5
5
|
|
6
6
|
# Add dependencies to develop your gem here.
|
7
7
|
# Include everything needed to run rake, tests, features, etc.
|
8
|
-
group :
|
8
|
+
group :test do
|
9
9
|
gem 'rspec'
|
10
10
|
gem 'shoulda-matchers'
|
11
11
|
gem 'capybara'
|
12
|
-
gem 'rdoc'
|
13
|
-
gem 'bundler'
|
14
|
-
gem 'jeweler'
|
15
|
-
gem 'puma'
|
16
|
-
gem 'customizable_bootstrap'
|
17
|
-
gem 'jquery-rails'
|
18
12
|
end
|
19
13
|
|
20
|
-
gem '
|
21
|
-
gem '
|
14
|
+
gem 'bootstrap-sass'
|
15
|
+
gem 'rails', '>= 4.1'
|
16
|
+
gem 'haml'
|
17
|
+
gem 'jeweler'
|
data/README.rdoc
CHANGED
@@ -76,7 +76,7 @@ To add a widget in any of your views:
|
|
76
76
|
%p Not a bootstrap concept, but useful all the same.
|
77
77
|
|
78
78
|
To render the ones you have saved up:
|
79
|
-
= render_widgets
|
79
|
+
= render_widgets 'md', 3
|
80
80
|
|
81
81
|
=== Modals
|
82
82
|
= modal 'Title of the modal here.' do
|
@@ -90,9 +90,11 @@ To render the ones you have saved up:
|
|
90
90
|
= icon 'check'
|
91
91
|
|
92
92
|
=== Navbars
|
93
|
+
|
94
|
+
:container_mode is optional and defaults to :none. Can be one of: [:none, :with, :in]
|
93
95
|
For a wide navbar, try this:
|
94
96
|
|
95
|
-
=
|
97
|
+
= navbar :container_mode => :with, :class => 'navbar-inverse' do
|
96
98
|
= nav_list do
|
97
99
|
= dropdown_nav_item 'Lorem', '#' do
|
98
100
|
= nav_item 'Ipsum', '#'
|
@@ -101,23 +103,9 @@ For a wide navbar, try this:
|
|
101
103
|
= nav_item 'Ipsum', '#'
|
102
104
|
= nav_item 'Dolor', '#'
|
103
105
|
= nav_item 'Sit', '#'
|
104
|
-
= nav_list :class => '
|
106
|
+
= nav_list :class => 'navbar-right' do
|
105
107
|
= nav_item 'Amet', '#', :data => {:toggle => 'modal', :target => '#modal'}
|
106
108
|
|
107
|
-
or for a narrow one:
|
108
|
-
|
109
|
-
= navbar_in_container :class => 'navbar-static-top navbar-inverse' do
|
110
|
-
= nav_list do
|
111
|
-
= dropdown_nav_item 'Lorem', '#' do
|
112
|
-
= nav_item 'Ipsum', '#'
|
113
|
-
= nav_item 'Dolor', '#'
|
114
|
-
= nav_item 'Sit', '#'
|
115
|
-
= nav_item 'Ipsum', '#'
|
116
|
-
= nav_item 'Dolor', '#'
|
117
|
-
= nav_item 'Sit', '#'
|
118
|
-
= nav_list :class => 'pull-right' do
|
119
|
-
= nav_item 'Amet', '#'
|
120
|
-
|
121
109
|
=== Nav List
|
122
110
|
= nav_list :class => 'nav-pills' do
|
123
111
|
= nav_item 'Ipsum', '#'
|
data/Rakefile
CHANGED
@@ -25,18 +25,18 @@ Jeweler::Tasks.new do |gem|
|
|
25
25
|
end
|
26
26
|
Jeweler::RubygemsDotOrgTasks.new
|
27
27
|
|
28
|
-
require 'rspec/core'
|
29
|
-
require 'rspec/core/rake_task'
|
30
|
-
RSpec::Core::RakeTask.new(:spec) do |spec|
|
31
|
-
|
32
|
-
end
|
33
|
-
|
34
|
-
RSpec::Core::RakeTask.new(:rcov) do |spec|
|
35
|
-
|
36
|
-
|
37
|
-
end
|
38
|
-
|
39
|
-
task :default => :spec
|
28
|
+
# require 'rspec/core'
|
29
|
+
# require 'rspec/core/rake_task'
|
30
|
+
# RSpec::Core::RakeTask.new(:spec) do |spec|
|
31
|
+
# spec.pattern = FileList['spec/**/*_spec.rb']
|
32
|
+
# end
|
33
|
+
#
|
34
|
+
# RSpec::Core::RakeTask.new(:rcov) do |spec|
|
35
|
+
# spec.pattern = 'spec/**/*_spec.rb'
|
36
|
+
# spec.rcov = true
|
37
|
+
# end
|
38
|
+
#
|
39
|
+
# task :default => :spec
|
40
40
|
|
41
41
|
require 'rdoc/task'
|
42
42
|
Rake::RDocTask.new do |rdoc|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.2.2
|
@@ -4,6 +4,10 @@ module BootstrapLeatherHelper
|
|
4
4
|
@title = title
|
5
5
|
end
|
6
6
|
|
7
|
+
def add_subtitle(subtitle)
|
8
|
+
@subtitle = subtitle
|
9
|
+
end
|
10
|
+
|
7
11
|
def add_description(description)
|
8
12
|
@description = description
|
9
13
|
end
|
@@ -31,6 +35,7 @@ module BootstrapLeatherHelper
|
|
31
35
|
def render_title
|
32
36
|
page_title = []
|
33
37
|
page_title << @title
|
38
|
+
page_title << @subtitle
|
34
39
|
page_title << BootstrapLeather.configuration.application_title
|
35
40
|
page_title << @keywords
|
36
41
|
content_tag :title, page_title.compact.join(': ')
|
@@ -40,6 +45,10 @@ module BootstrapLeatherHelper
|
|
40
45
|
content_tag :h1, @title, html_options
|
41
46
|
end
|
42
47
|
|
48
|
+
def render_page_header(html_options = {})
|
49
|
+
render(:partial => 'bootstrap_leather/page_header', :locals => {:title => @title, :subtitle => @subtitle, :html_options => html_options})
|
50
|
+
end
|
51
|
+
|
43
52
|
def responsive_meta_tag
|
44
53
|
tag :meta, :name => :viewport, :content => 'width=device-width, initial-scale=1.0'
|
45
54
|
end
|
@@ -73,17 +82,24 @@ module BootstrapLeatherHelper
|
|
73
82
|
end
|
74
83
|
|
75
84
|
def navbar_with_container(html_options = {}, &block)
|
76
|
-
|
85
|
+
html_options[:container_mode] = :with
|
86
|
+
navbar(html_options, &block)
|
77
87
|
end
|
78
88
|
|
79
89
|
def navbar_in_container(html_options = {}, &block)
|
80
|
-
|
90
|
+
html_options[:container_mode] = :in
|
91
|
+
navbar(html_options, &block)
|
81
92
|
end
|
82
93
|
|
83
94
|
def add_widget(html_options = {}, &block)
|
84
|
-
|
85
|
-
|
86
|
-
|
95
|
+
@widgets ||= []
|
96
|
+
@widgets << { html_options: html_options, body: capture(&block) }
|
97
|
+
end
|
98
|
+
|
99
|
+
def render_widgets(device_class = 'md', column_width = 3)
|
100
|
+
html = render(:partial => 'bootstrap_leather/widgets', :locals => {:widgets => @widgets, :column_width => column_width, :device_class => device_class})
|
101
|
+
@widgets = nil
|
102
|
+
html.html_safe
|
87
103
|
end
|
88
104
|
|
89
105
|
def add_hero_unit(&block)
|
@@ -110,7 +126,12 @@ module BootstrapLeatherHelper
|
|
110
126
|
html.html_safe
|
111
127
|
end
|
112
128
|
|
113
|
-
def
|
129
|
+
def badge_to(text, value, link, html_options={})
|
130
|
+
html_options[:href] = url_for link
|
131
|
+
render(:partial => 'bootstrap_leather/badge_to', :locals => {:text => text, :value => value, :html_options => html_options})
|
132
|
+
end
|
133
|
+
|
134
|
+
def badge(content, type = nil)
|
114
135
|
render(:partial => 'bootstrap_leather/badge', :locals => {:content => content, :type => type})
|
115
136
|
end
|
116
137
|
|
@@ -122,6 +143,10 @@ module BootstrapLeatherHelper
|
|
122
143
|
render(:partial => 'bootstrap_leather/icon', :locals => {:type => type})
|
123
144
|
end
|
124
145
|
|
146
|
+
def logo_and_title
|
147
|
+
render(:partial => 'bootstrap_leather/logo_and_title')
|
148
|
+
end
|
149
|
+
|
125
150
|
def alert(css_class, title, message = nil)
|
126
151
|
render(:partial => 'bootstrap_leather/alert', :locals => {:css_class => css_class, :title => title, :message => message})
|
127
152
|
end
|
@@ -140,10 +165,6 @@ module BootstrapLeatherHelper
|
|
140
165
|
end
|
141
166
|
end
|
142
167
|
|
143
|
-
def render_widgets
|
144
|
-
render(:partial => 'bootstrap_leather/widgets')
|
145
|
-
end
|
146
|
-
|
147
168
|
def render_hero_unit
|
148
169
|
render(:partial => 'bootstrap_leather/hero_unit')
|
149
170
|
end
|
@@ -156,6 +177,10 @@ module BootstrapLeatherHelper
|
|
156
177
|
render(:partial => 'bootstrap_leather/footer_javascript')
|
157
178
|
end
|
158
179
|
|
180
|
+
def column_class(device_class, column_width)
|
181
|
+
'col-' + device_class + '-' + column_width.to_s
|
182
|
+
end
|
183
|
+
|
159
184
|
alias_method :nav_bar, :navbar
|
160
185
|
alias_method :nav_bar_in_container, :navbar_in_container
|
161
186
|
alias_method :nav_bar_with_container, :navbar_with_container
|
@@ -1,2 +1,2 @@
|
|
1
|
-
.
|
1
|
+
.jumbotron
|
2
2
|
=yield :hero_unit
|
@@ -1,2 +1,2 @@
|
|
1
|
-
%ul.nav{ html_options }
|
1
|
+
%ul.nav.navbar-nav{ html_options }
|
2
2
|
= block
|
@@ -1,10 +1,46 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
.
|
8
|
-
|
9
|
-
|
10
|
-
|
1
|
+
- container_mode = html_options[:container_mode]
|
2
|
+
- html_options[:container_mode] = nil
|
3
|
+
|
4
|
+
- case container_mode
|
5
|
+
- when :with
|
6
|
+
%nav.navbar.navbar-default
|
7
|
+
.container
|
8
|
+
.row.clearfix
|
9
|
+
.column.col-md-12
|
10
|
+
.navbar-header
|
11
|
+
%button.navbar-toggle{data:{toggle:'collapse', target:'#navbar-to-collapse'},type:'button'}
|
12
|
+
%span.sr-only
|
13
|
+
Toggle navigation
|
14
|
+
%span.icon-bar
|
15
|
+
%span.icon-bar
|
16
|
+
%span.icon-bar
|
17
|
+
= link_to logo_and_title, BootstrapLeather.configuration.application_path, :class => 'navbar-brand'
|
18
|
+
.collapse.navbar-collapse#navbar-to-collapse
|
19
|
+
= block
|
20
|
+
- when :in
|
21
|
+
.container
|
22
|
+
.row.clearfix
|
23
|
+
.column.col-md-12
|
24
|
+
%nav.navbar.navbar-default
|
25
|
+
.navbar-header
|
26
|
+
%button.navbar-toggle{data:{toggle:'collapse', target:'#navbar-to-collapse'},type:'button'}
|
27
|
+
%span.sr-only
|
28
|
+
Toggle navigation
|
29
|
+
%span.icon-bar
|
30
|
+
%span.icon-bar
|
31
|
+
%span.icon-bar
|
32
|
+
= link_to logo_and_title, BootstrapLeather.configuration.application_path, :class => 'navbar-brand'
|
33
|
+
.collapse.navbar-collapse#navbar-to-collapse
|
34
|
+
= block
|
35
|
+
- else
|
36
|
+
%nav.navbar.navbar-default
|
37
|
+
.navbar-header
|
38
|
+
%button.navbar-toggle{data:{toggle:'collapse', target:'#navbar-to-collapse'},type:'button'}
|
39
|
+
%span.sr-only
|
40
|
+
Toggle navigation
|
41
|
+
%span.icon-bar
|
42
|
+
%span.icon-bar
|
43
|
+
%span.icon-bar
|
44
|
+
= link_to logo_and_title, BootstrapLeather.configuration.application_path, :class => 'navbar-brand'
|
45
|
+
.collapse.navbar-collapse#navbar-to-collapse
|
46
|
+
= block
|
@@ -1,2 +1,9 @@
|
|
1
|
-
.
|
2
|
-
|
1
|
+
- unless widgets.nil?
|
2
|
+
- for widget in widgets
|
3
|
+
- html_options = widget[:html_options]
|
4
|
+
- content_class = html_options[:content_class]
|
5
|
+
- html_options[:content_class] = nil
|
6
|
+
- html_options[:class] = 'column ' + column_class(device_class, column_width)
|
7
|
+
%div{ html_options }
|
8
|
+
%div{:class => "well #{content_class}"}
|
9
|
+
=widget[:body]
|
data/bootstrap_leather.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "bootstrap_leather"
|
8
|
-
s.version = "0.
|
8
|
+
s.version = "0.2.2"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Karen Lundgren"]
|
12
|
-
s.date = "
|
12
|
+
s.date = "2014-05-15"
|
13
13
|
s.description = "BootstrapLeather is a collection of view helpers that makes it easier to create apps using Twitter Bootstrap"
|
14
14
|
s.email = "webmaster@sourcherryweb.com"
|
15
15
|
s.extra_rdoc_files = [
|
@@ -28,20 +28,20 @@ Gem::Specification.new do |s|
|
|
28
28
|
"app/views/bootstrap_leather/_alert.html.haml",
|
29
29
|
"app/views/bootstrap_leather/_alert_flash_messages.html.haml",
|
30
30
|
"app/views/bootstrap_leather/_badge.html.haml",
|
31
|
+
"app/views/bootstrap_leather/_badge_to.html.haml",
|
31
32
|
"app/views/bootstrap_leather/_dropdown_nav_item.html.haml",
|
32
33
|
"app/views/bootstrap_leather/_footer_javascript.html.haml",
|
33
34
|
"app/views/bootstrap_leather/_head_css.html.haml",
|
34
35
|
"app/views/bootstrap_leather/_hero_unit.html.haml",
|
35
36
|
"app/views/bootstrap_leather/_icon.html.haml",
|
37
|
+
"app/views/bootstrap_leather/_logo_and_title.html.haml",
|
36
38
|
"app/views/bootstrap_leather/_modal.html.haml",
|
37
39
|
"app/views/bootstrap_leather/_nav_item.html.haml",
|
38
40
|
"app/views/bootstrap_leather/_nav_list.html.haml",
|
39
41
|
"app/views/bootstrap_leather/_navbar.html.haml",
|
40
|
-
"app/views/bootstrap_leather/
|
41
|
-
"app/views/bootstrap_leather/_navbar_with_container.haml",
|
42
|
+
"app/views/bootstrap_leather/_page_header.html.haml",
|
42
43
|
"app/views/bootstrap_leather/_tabs.html.haml",
|
43
44
|
"app/views/bootstrap_leather/_thumbnail.html.haml",
|
44
|
-
"app/views/bootstrap_leather/_widget.html.haml",
|
45
45
|
"app/views/bootstrap_leather/_widgets.html.haml",
|
46
46
|
"bootstrap_leather.gemspec",
|
47
47
|
"lib/bootstrap_leather.rb",
|
@@ -113,42 +113,21 @@ Gem::Specification.new do |s|
|
|
113
113
|
s.specification_version = 4
|
114
114
|
|
115
115
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
116
|
-
s.add_runtime_dependency(%q<
|
116
|
+
s.add_runtime_dependency(%q<bootstrap-sass>, [">= 0"])
|
117
|
+
s.add_runtime_dependency(%q<rails>, [">= 4.1"])
|
117
118
|
s.add_runtime_dependency(%q<haml>, [">= 0"])
|
118
|
-
s.
|
119
|
-
s.add_development_dependency(%q<shoulda-matchers>, [">= 0"])
|
120
|
-
s.add_development_dependency(%q<capybara>, [">= 0"])
|
121
|
-
s.add_development_dependency(%q<rdoc>, [">= 0"])
|
122
|
-
s.add_development_dependency(%q<bundler>, [">= 0"])
|
123
|
-
s.add_development_dependency(%q<jeweler>, [">= 0"])
|
124
|
-
s.add_development_dependency(%q<puma>, [">= 0"])
|
125
|
-
s.add_development_dependency(%q<customizable_bootstrap>, [">= 0"])
|
126
|
-
s.add_development_dependency(%q<jquery-rails>, [">= 0"])
|
119
|
+
s.add_runtime_dependency(%q<jeweler>, [">= 0"])
|
127
120
|
else
|
128
|
-
s.add_dependency(%q<
|
121
|
+
s.add_dependency(%q<bootstrap-sass>, [">= 0"])
|
122
|
+
s.add_dependency(%q<rails>, [">= 4.1"])
|
129
123
|
s.add_dependency(%q<haml>, [">= 0"])
|
130
|
-
s.add_dependency(%q<rspec>, [">= 0"])
|
131
|
-
s.add_dependency(%q<shoulda-matchers>, [">= 0"])
|
132
|
-
s.add_dependency(%q<capybara>, [">= 0"])
|
133
|
-
s.add_dependency(%q<rdoc>, [">= 0"])
|
134
|
-
s.add_dependency(%q<bundler>, [">= 0"])
|
135
124
|
s.add_dependency(%q<jeweler>, [">= 0"])
|
136
|
-
s.add_dependency(%q<puma>, [">= 0"])
|
137
|
-
s.add_dependency(%q<customizable_bootstrap>, [">= 0"])
|
138
|
-
s.add_dependency(%q<jquery-rails>, [">= 0"])
|
139
125
|
end
|
140
126
|
else
|
141
|
-
s.add_dependency(%q<
|
127
|
+
s.add_dependency(%q<bootstrap-sass>, [">= 0"])
|
128
|
+
s.add_dependency(%q<rails>, [">= 4.1"])
|
142
129
|
s.add_dependency(%q<haml>, [">= 0"])
|
143
|
-
s.add_dependency(%q<rspec>, [">= 0"])
|
144
|
-
s.add_dependency(%q<shoulda-matchers>, [">= 0"])
|
145
|
-
s.add_dependency(%q<capybara>, [">= 0"])
|
146
|
-
s.add_dependency(%q<rdoc>, [">= 0"])
|
147
|
-
s.add_dependency(%q<bundler>, [">= 0"])
|
148
130
|
s.add_dependency(%q<jeweler>, [">= 0"])
|
149
|
-
s.add_dependency(%q<puma>, [">= 0"])
|
150
|
-
s.add_dependency(%q<customizable_bootstrap>, [">= 0"])
|
151
|
-
s.add_dependency(%q<jquery-rails>, [">= 0"])
|
152
131
|
end
|
153
132
|
end
|
154
133
|
|
@@ -11,9 +11,10 @@ module BootstrapLeather
|
|
11
11
|
end
|
12
12
|
|
13
13
|
class Configuration
|
14
|
-
attr_accessor :application_title, :application_description, :application_keywords, :application_path
|
14
|
+
attr_accessor :application_title, :application_description, :application_keywords, :application_path, :application_logo
|
15
15
|
|
16
16
|
def initialize
|
17
|
+
self.application_logo = '/assets/logo.svg'
|
17
18
|
self.application_path = '/'
|
18
19
|
self.application_title = 'Run the Generator, Config and Restart'
|
19
20
|
self.application_description = 'Try it, very easy. `rails g bootstrap_leather:install` is the generator command.'
|
metadata
CHANGED
@@ -1,17 +1,17 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bootstrap_leather
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Karen Lundgren
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2014-05-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: bootstrap-sass
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - '>='
|
@@ -25,83 +25,27 @@ dependencies:
|
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: rails
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - '>='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '4.1'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - '>='
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: rspec
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - '>='
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '0'
|
48
|
-
type: :development
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - '>='
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '0'
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: shoulda-matchers
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - '>='
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '0'
|
62
|
-
type: :development
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - '>='
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: '0'
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: capybara
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - '>='
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: '0'
|
76
|
-
type: :development
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - '>='
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: '0'
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
|
-
name: rdoc
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - '>='
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: '0'
|
90
|
-
type: :development
|
91
|
-
prerelease: false
|
92
|
-
version_requirements: !ruby/object:Gem::Requirement
|
93
|
-
requirements:
|
94
|
-
- - '>='
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: '0'
|
40
|
+
version: '4.1'
|
97
41
|
- !ruby/object:Gem::Dependency
|
98
|
-
name:
|
42
|
+
name: haml
|
99
43
|
requirement: !ruby/object:Gem::Requirement
|
100
44
|
requirements:
|
101
45
|
- - '>='
|
102
46
|
- !ruby/object:Gem::Version
|
103
47
|
version: '0'
|
104
|
-
type: :
|
48
|
+
type: :runtime
|
105
49
|
prerelease: false
|
106
50
|
version_requirements: !ruby/object:Gem::Requirement
|
107
51
|
requirements:
|
@@ -115,49 +59,7 @@ dependencies:
|
|
115
59
|
- - '>='
|
116
60
|
- !ruby/object:Gem::Version
|
117
61
|
version: '0'
|
118
|
-
type: :
|
119
|
-
prerelease: false
|
120
|
-
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
requirements:
|
122
|
-
- - '>='
|
123
|
-
- !ruby/object:Gem::Version
|
124
|
-
version: '0'
|
125
|
-
- !ruby/object:Gem::Dependency
|
126
|
-
name: puma
|
127
|
-
requirement: !ruby/object:Gem::Requirement
|
128
|
-
requirements:
|
129
|
-
- - '>='
|
130
|
-
- !ruby/object:Gem::Version
|
131
|
-
version: '0'
|
132
|
-
type: :development
|
133
|
-
prerelease: false
|
134
|
-
version_requirements: !ruby/object:Gem::Requirement
|
135
|
-
requirements:
|
136
|
-
- - '>='
|
137
|
-
- !ruby/object:Gem::Version
|
138
|
-
version: '0'
|
139
|
-
- !ruby/object:Gem::Dependency
|
140
|
-
name: customizable_bootstrap
|
141
|
-
requirement: !ruby/object:Gem::Requirement
|
142
|
-
requirements:
|
143
|
-
- - '>='
|
144
|
-
- !ruby/object:Gem::Version
|
145
|
-
version: '0'
|
146
|
-
type: :development
|
147
|
-
prerelease: false
|
148
|
-
version_requirements: !ruby/object:Gem::Requirement
|
149
|
-
requirements:
|
150
|
-
- - '>='
|
151
|
-
- !ruby/object:Gem::Version
|
152
|
-
version: '0'
|
153
|
-
- !ruby/object:Gem::Dependency
|
154
|
-
name: jquery-rails
|
155
|
-
requirement: !ruby/object:Gem::Requirement
|
156
|
-
requirements:
|
157
|
-
- - '>='
|
158
|
-
- !ruby/object:Gem::Version
|
159
|
-
version: '0'
|
160
|
-
type: :development
|
62
|
+
type: :runtime
|
161
63
|
prerelease: false
|
162
64
|
version_requirements: !ruby/object:Gem::Requirement
|
163
65
|
requirements:
|
@@ -184,20 +86,20 @@ files:
|
|
184
86
|
- app/views/bootstrap_leather/_alert.html.haml
|
185
87
|
- app/views/bootstrap_leather/_alert_flash_messages.html.haml
|
186
88
|
- app/views/bootstrap_leather/_badge.html.haml
|
89
|
+
- app/views/bootstrap_leather/_badge_to.html.haml
|
187
90
|
- app/views/bootstrap_leather/_dropdown_nav_item.html.haml
|
188
91
|
- app/views/bootstrap_leather/_footer_javascript.html.haml
|
189
92
|
- app/views/bootstrap_leather/_head_css.html.haml
|
190
93
|
- app/views/bootstrap_leather/_hero_unit.html.haml
|
191
94
|
- app/views/bootstrap_leather/_icon.html.haml
|
95
|
+
- app/views/bootstrap_leather/_logo_and_title.html.haml
|
192
96
|
- app/views/bootstrap_leather/_modal.html.haml
|
193
97
|
- app/views/bootstrap_leather/_nav_item.html.haml
|
194
98
|
- app/views/bootstrap_leather/_nav_list.html.haml
|
195
99
|
- app/views/bootstrap_leather/_navbar.html.haml
|
196
|
-
- app/views/bootstrap_leather/
|
197
|
-
- app/views/bootstrap_leather/_navbar_with_container.haml
|
100
|
+
- app/views/bootstrap_leather/_page_header.html.haml
|
198
101
|
- app/views/bootstrap_leather/_tabs.html.haml
|
199
102
|
- app/views/bootstrap_leather/_thumbnail.html.haml
|
200
|
-
- app/views/bootstrap_leather/_widget.html.haml
|
201
103
|
- app/views/bootstrap_leather/_widgets.html.haml
|
202
104
|
- bootstrap_leather.gemspec
|
203
105
|
- lib/bootstrap_leather.rb
|