bootstrap-more 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
@@ -15,4 +15,4 @@ rdoc
15
15
  spec/reports
16
16
  test/tmp
17
17
  test/version_tmp
18
- tmp
18
+ tmp
data/Gemfile CHANGED
@@ -1,4 +1,4 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
3
  # Specify your gem's dependencies in bootstrap-more.gemspec
4
- gemspec
4
+ gemspec
data/Rakefile CHANGED
@@ -1 +1,2 @@
1
- require "bundler/gem_tasks"
1
+ #encoding: utf-8
2
+ require "bundler/gem_tasks"
@@ -20,8 +20,10 @@
20
20
  line-height: 1.4;
21
21
  }
22
22
 
23
- .container & {
24
- border-radius: $border-radius-large; // Only round corners at higher resolutions if contained in a container
23
+ @include validate-enabled-border-radius {
24
+ .container & {
25
+ border-radius: $border-radius-large; // Only round corners at higher resolutions if contained in a container
26
+ }
25
27
  }
26
28
 
27
29
  @media screen and (min-width: $screen-sm-min) {
@@ -13,10 +13,15 @@
13
13
  } @else { border: none; }
14
14
  }
15
15
 
16
- @mixin validate-enabled-border-radius($type){
17
- @if $enable-border-radius != false { @if $type != false {
18
- @content;
19
- }}
16
+ @mixin validate-enabled-border-radius($type:null){
17
+ @if $enable-border-radius != false {
18
+ @if $type == null {
19
+ @content;
20
+ }
21
+ @else if $type != false {
22
+ @content;
23
+ }
24
+ }
20
25
  }
21
26
 
22
27
  @mixin validate-enabled-box-shadow($type){
@@ -1,4 +1,5 @@
1
- # coding: utf-8
1
+ #encoding: utf-8
2
+
2
3
  lib = File.expand_path('../lib', __FILE__)
3
4
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
5
  require 'bootstrap-more/version'
@@ -20,4 +21,4 @@ Gem::Specification.new do |gem|
20
21
 
21
22
  gem.add_development_dependency "bundler", "~> 1.3"
22
23
  gem.add_development_dependency "rake"
23
- end
24
+ end
@@ -1,2 +1,2 @@
1
- @import "settings";
1
+ @import "bootstrap-settings";
2
2
  @import "bootstrap-more";
@@ -2,6 +2,6 @@ require "bootstrap-more/version"
2
2
 
3
3
  module Bootstrap
4
4
  module More
5
- # Your code goes here...
5
+ require 'bootstrap-more/engine' if defined?(Rails)
6
6
  end
7
- end
7
+ end
@@ -0,0 +1,6 @@
1
+ module Bootstrap
2
+ module More
3
+   class Engine < ::Rails::Engine
4
+   end
5
+   end
6
+ end
@@ -1,5 +1,5 @@
1
1
  module Bootstrap
2
2
  module More
3
- VERSION = "0.0.1"
3
+ VERSION = "0.0.2"
4
4
  end
5
- end
5
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bootstrap-more
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -73,7 +73,7 @@ files:
73
73
  - app/assets/javascripts/bootstrap/tab.js
74
74
  - app/assets/javascripts/bootstrap/tooltip.js
75
75
  - app/assets/javascripts/bootstrap/transition.js
76
- - app/assets/stylesheets/_bootstrap-more.scss
76
+ - app/assets/stylesheets/bootstrap-more.scss
77
77
  - app/assets/stylesheets/bootstrap/_alerts.scss
78
78
  - app/assets/stylesheets/bootstrap/_badges.scss
79
79
  - app/assets/stylesheets/bootstrap/_breadcrumbs.scss
@@ -130,7 +130,7 @@ files:
130
130
  - docs/source/assets/javascripts/vendor/.gitkeep
131
131
  - docs/source/assets/javascripts/vendor/holder.js
132
132
  - docs/source/assets/javascripts/vendor/ie8-responsive-file-warning.js
133
- - docs/source/assets/stylesheets/_settings.scss
133
+ - docs/source/assets/stylesheets/_bootstrap-settings.scss
134
134
  - docs/source/assets/stylesheets/bootstrap.scss
135
135
  - docs/source/assets/stylesheets/pygments-manni.css
136
136
  - docs/source/assets/stylesheets/styles.scss
@@ -156,6 +156,7 @@ files:
156
156
  - docs/source/layouts/home.html.erb
157
157
  - docs/source/layouts/layout.html.erb
158
158
  - lib/bootstrap-more.rb
159
+ - lib/bootstrap-more/engine.rb
159
160
  - lib/bootstrap-more/version.rb
160
161
  homepage: ''
161
162
  licenses: