netguru_bootstrapper 0.0.1 → 0.0.2

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6d4d90f25164896fc98135d7d661bf16c393c295
4
- data.tar.gz: 5141258a1c255dc13c5246efa590e5e339b479f0
3
+ metadata.gz: e85cbd752fe7fd31d7ea97b5fda0149a73cd80e7
4
+ data.tar.gz: 2d596f1dac404b9689a86c68097226f586e8f868
5
5
  SHA512:
6
- metadata.gz: 968f1c316151bec48840e0c7486e272148c81fcfee91d6be351f0edcd01ec09459c97a9f181ae73bccd9482c55767389a53ced86ff3f9214aca8473c80b3ecc5
7
- data.tar.gz: 5bc38cce505eadcda91e021ac81a5b7346332e10f142bf07ef1c03afa35ef4309d4193a5429575773ff953865352287235a025f2c2ee3c25011f38145fcb3346
6
+ metadata.gz: 519335b99666a22bc36529884b955da168a8869c7ffe6fd6fb2bdeb6995e6f80b10c2ecb3590dd53cf665f6009619b0a68202b12a496a3be521da6b7a695f5cc
7
+ data.tar.gz: 3d0c4169d72269b7d09706ab279a70293c550b493d5b2ed58d413fd483953d1bd0587103d9df2ae4fc67adaf54331006ce9ad2b880a5a58a66b6201536f967d9
data/README.md CHANGED
@@ -14,6 +14,12 @@ And then execute:
14
14
  $ bundle
15
15
  ```
16
16
 
17
+ Please note that this gem is designed to work with [Bootstrap for Sass](https://github.com/twbs/bootstrap-sass) gem, so you should add:
18
+ ```
19
+ gem 'bootstrap-sass'
20
+ ```
21
+ to your application's Gemfile as well.
22
+
17
23
  ## Usage
18
24
  ```
19
25
  $ rails g netguru_bootstrapper:bootstrap
@@ -32,6 +38,7 @@ $ rails g netguru_bootstrapper:bootstrap
32
38
  │ ├── _bootstrap-components.scss
33
39
  │ ├── _bootstrap-overrides.scss
34
40
  │ ├── _bootstrap-variables.scss
41
+ │ ├── _breakpoint-variables.scss
35
42
  │ ├── _custom-variables.scss
36
43
  │ └── bootstrap-overrides
37
44
  │ └── _bootstrap-overrides-go-here.scss
@@ -4,10 +4,13 @@
4
4
  @import 'settings/custom-variables';
5
5
  @import 'settings/bootstrap-variables';
6
6
 
7
+ @import 'settings/bootstrap-components';
8
+
9
+ @import 'settings/breakpoint-variables';
10
+
7
11
  @import 'utilities/functions';
8
12
  @import 'utilities/mixins';
9
13
  @import 'utilities/shared';
10
14
  @import 'utilities/typography';
11
15
 
12
- @import 'settings/bootstrap-components';
13
16
  @import 'settings/bootstrap-overrides';
@@ -0,0 +1,11 @@
1
+ $xs-only: '(max-width: #{$screen-xs-max})';
2
+
3
+ $sm-up: '(min-width: #{$screen-sm-min})';
4
+ $sm-down: '(max-width: #{$screen-sm-max})';
5
+ $sm-only: '(min-width: #{$screen-sm-min}) and (max-width: #{$screen-sm-max})';
6
+
7
+ $md-up: '(min-width: #{$screen-md-min})';
8
+ $md-down: '(max-width: #{$screen-md-max})';
9
+ $md-only: '(min-width: #{$screen-md-min}) and (max-width: #{$screen-md-max})';
10
+
11
+ $lg-up: '(min-width: #{$screen-lg-min})';
@@ -1,3 +1,3 @@
1
1
  module NetguruBootstrapper
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
data/lib/structure.yml CHANGED
@@ -12,6 +12,7 @@ files:
12
12
  - bootstrap-overrides
13
13
  - custom-variables
14
14
  - z-index-variables
15
+ - breakpoint-variables
15
16
  utilities:
16
17
  - functions
17
18
  - mixins
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: netguru_bootstrapper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mateusz Czajka
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-10-17 00:00:00.000000000 Z
11
+ date: 2014-11-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -57,6 +57,7 @@ files:
57
57
  - lib/netguru_bootstrapper/generators/templates/settings/bootstrap-components.scss
58
58
  - lib/netguru_bootstrapper/generators/templates/settings/bootstrap-overrides.scss
59
59
  - lib/netguru_bootstrapper/generators/templates/settings/bootstrap-variables.scss
60
+ - lib/netguru_bootstrapper/generators/templates/settings/breakpoint-variables.scss
60
61
  - lib/netguru_bootstrapper/generators/templates/settings/custom-variables.scss
61
62
  - lib/netguru_bootstrapper/generators/templates/settings/z-index-variables.scss
62
63
  - lib/netguru_bootstrapper/generators/templates/utilities/functions.scss