netguru_bootstrapper 0.0.3 → 0.0.4

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: e84dcbc341506d8bc015be22e66210729981e264
4
- data.tar.gz: f87b9c50288e6bcb7a95265f92b14d06e272f093
3
+ metadata.gz: ebd17af66e8c5925008d84a84cd9d560291d044f
4
+ data.tar.gz: 737d44abb6396c8bb8148e6888b2a252a5077659
5
5
  SHA512:
6
- metadata.gz: 70bde68232bb3059a01a6914ae388ab0c2cdce6da7129a561bb6048d59bfd42b9dae71fd4deadd9fb53ab02ec05c0b4988e869ef1f5d48e9a97fb1458ca6a7f1
7
- data.tar.gz: f3d23144900b8a9f94e14617928516541f3282497f23d3808f80c5221b527fb7f6fbd5a2c2c5f01039dccb0813a158fe5832af370b974d5c604c75d13898d049
6
+ metadata.gz: 786af7c34366ed4e2e082c3a5da3055003561d4bcd9dfbd0069f8c7cb7fa356b8b257c5065bd741467f6eb55b3aa73b2c59ffc2f2850414974f4085b5c8553a0
7
+ data.tar.gz: da85d0166929debe1de40a9c9b9e927076178ee70e624c522850207347a57b22a18bb8b23a303aa11b94f4d35d06e03366a56815cd2ad3e76b06faa8f1ac4a62
data/README.md CHANGED
@@ -34,16 +34,18 @@ $ rails g netguru_bootstrapper:bootstrap
34
34
  ├── application.scss
35
35
  ├── components
36
36
  │ └── _your-custom-components-go-here.scss
37
- ├── controllers
38
- │ └── _your-controller-based-styles-go-here.scss
37
+ ├── views
38
+ │ └── _your-view-based-styles-go-here.scss
39
+ ├── framework
40
+ │ ├── _components.scss
41
+ │ ├── _overrides.scss
42
+ │ ├── _variables.scss
43
+ │ └── overrides
44
+ │ └── _framework-overrides-go-here.scss
39
45
  ├── settings
40
- │ ├── _bootstrap-components.scss
41
- │ ├── _bootstrap-overrides.scss
42
- │ ├── _bootstrap-variables.scss
46
+ │ ├── _z-index-variables.scss
43
47
  │ ├── _breakpoint-variables.scss
44
- ├── _custom-variables.scss
45
- │ └── bootstrap-overrides
46
- │ └── _bootstrap-overrides-go-here.scss
48
+ └── _variables.scss
47
49
  └── utilities
48
50
  ├── _functions.scss
49
51
  ├── _mixins.scss
@@ -53,10 +55,10 @@ $ rails g netguru_bootstrapper:bootstrap
53
55
 
54
56
  ### Important files
55
57
 
56
- #### <code>settings/bootstrap-components.scss</code>
58
+ #### <code>framework/_components.scss</code>
57
59
  This file is a copy of [bootstrap.scss](https://github.com/twbs/bootstrap-sass/blob/master/assets/stylesheets/_bootstrap.scss) file from [bootstrap-sass](https://github.com/twbs/bootstrap-sass) gem. You can comment out components that you're not going to use.
58
60
 
59
- #### <code>settings/bootstrap-variables.scss</code>
61
+ #### <code>framework/_variables.scss</code>
60
62
  Copy of [bootstrap/variables.scss](https://github.com/twbs/bootstrap-sass/blob/master/assets/stylesheets/bootstrap/_variables.scss). To override variable simply uncomment line and remove <code>!default</code> flag.
61
63
 
62
64
  For example:
@@ -69,7 +71,7 @@ Becomes:
69
71
  $font-size-base: 16px;
70
72
  ```
71
73
 
72
- #### <code>settings/bootstrap-overrides.scss</code>
74
+ #### <code>framework/_overrides.scss</code>
73
75
 
74
76
  Similar to Boostrap Components - all overrides are commented out by default. After uncommenting an override you need to add proper file to <code>settings/bootstrap-overrides</code> directory.
75
77
 
@@ -1,10 +1,10 @@
1
1
  @import 'bootstrap-sprockets';
2
2
 
3
3
  @import 'settings/z-index-variables';
4
- @import 'settings/custom-variables';
5
- @import 'settings/bootstrap-variables';
4
+ @import 'settings/variables';
5
+ @import 'framework/variables';
6
6
 
7
- @import 'settings/bootstrap-components';
7
+ @import 'framework/components';
8
8
 
9
9
  @import 'settings/breakpoint-variables';
10
10
 
@@ -13,4 +13,4 @@
13
13
  @import 'utilities/shared';
14
14
  @import 'utilities/typography';
15
15
 
16
- @import 'settings/bootstrap-overrides';
16
+ @import 'framework/overrides';
@@ -0,0 +1,53 @@
1
+ // Please do not change the order of these files. More more information see:
2
+ // https://github.com/twbs/bootstrap-sass/blob/master/assets/stylesheets/_bootstrap.scss
3
+
4
+ // Core variables and mixins
5
+ // @import "overrides/variables";
6
+ // @import "overrides/mixins";
7
+
8
+ // Reset and dependencies
9
+ // @import "overrides/normalize";
10
+ // @import "overrides/print";
11
+ // @import "overrides/glyphicons";
12
+
13
+ // Core CSS
14
+ // @import "overrides/scaffolding";
15
+ // @import "overrides/type";
16
+ // @import "overrides/code";
17
+ // @import "overrides/grid";
18
+ // @import "overrides/tables";
19
+ // @import "overrides/forms";
20
+ // @import "overrides/buttons";
21
+
22
+ // Components
23
+ // @import "overrides/component-animations";
24
+ // @import "overrides/dropdowns";
25
+ // @import "overrides/button-groups";
26
+ // @import "overrides/input-groups";
27
+ // @import "overrides/navs";
28
+ // @import "overrides/navbar";
29
+ // @import "overrides/breadcrumbs";
30
+ // @import "overrides/pagination";
31
+ // @import "overrides/pager";
32
+ // @import "overrides/labels";
33
+ // @import "overrides/badges";
34
+ // @import "overrides/jumbotron";
35
+ // @import "overrides/thumbnails";
36
+ // @import "overrides/alerts";
37
+ // @import "overrides/progress-bars";
38
+ // @import "overrides/media";
39
+ // @import "overrides/list-group";
40
+ // @import "overrides/panels";
41
+ // @import "overrides/responsive-embed";
42
+ // @import "overrides/wells";
43
+ // @import "overrides/close";
44
+
45
+ // Components w/ JavaScript
46
+ // @import "overrides/modals";
47
+ // @import "overrides/tooltip";
48
+ // @import "overrides/popovers";
49
+ // @import "overrides/carousel";
50
+
51
+ // Utility classes
52
+ // @import "overrides/utilities";
53
+ // @import "overrides/responsive-utilities";
@@ -1,3 +1,3 @@
1
1
  module NetguruBootstrapper
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
data/lib/structure.yml CHANGED
@@ -2,15 +2,17 @@ directories:
2
2
  - settings
3
3
  - utilities
4
4
  - components
5
- - controllers
6
- - settings/bootstrap-overrides
5
+ - views
6
+ - framework
7
+ - framework/overrides
7
8
 
8
9
  files:
10
+ framework:
11
+ - _variables
12
+ - _components
13
+ - _overrides
9
14
  settings:
10
- - _bootstrap-variables
11
- - _bootstrap-components
12
- - _bootstrap-overrides
13
- - _custom-variables
15
+ - _variables
14
16
  - _z-index-variables
15
17
  - _breakpoint-variables
16
18
  utilities:
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.3
4
+ version: 0.0.4
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-11-11 00:00:00.000000000 Z
11
+ date: 2015-03-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -54,11 +54,11 @@ files:
54
54
  - lib/netguru_bootstrapper/engine.rb
55
55
  - lib/netguru_bootstrapper/generators/netguru_bootstrapper/bootstrap_generator.rb
56
56
  - lib/netguru_bootstrapper/generators/templates/application.scss
57
- - lib/netguru_bootstrapper/generators/templates/settings/_bootstrap-components.scss
58
- - lib/netguru_bootstrapper/generators/templates/settings/_bootstrap-overrides.scss
59
- - lib/netguru_bootstrapper/generators/templates/settings/_bootstrap-variables.scss
57
+ - lib/netguru_bootstrapper/generators/templates/framework/_components.scss
58
+ - lib/netguru_bootstrapper/generators/templates/framework/_overrides.scss
59
+ - lib/netguru_bootstrapper/generators/templates/framework/_variables.scss
60
60
  - lib/netguru_bootstrapper/generators/templates/settings/_breakpoint-variables.scss
61
- - lib/netguru_bootstrapper/generators/templates/settings/_custom-variables.scss
61
+ - lib/netguru_bootstrapper/generators/templates/settings/_variables.scss
62
62
  - lib/netguru_bootstrapper/generators/templates/settings/_z-index-variables.scss
63
63
  - lib/netguru_bootstrapper/generators/templates/utilities/_functions.scss
64
64
  - lib/netguru_bootstrapper/generators/templates/utilities/_mixins.scss
@@ -88,7 +88,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
88
88
  version: '0'
89
89
  requirements: []
90
90
  rubyforge_project:
91
- rubygems_version: 2.2.2
91
+ rubygems_version: 2.4.5
92
92
  signing_key:
93
93
  specification_version: 4
94
94
  summary: Twitter Bootstrap generator for Rails
@@ -1,53 +0,0 @@
1
- // Please do not change the order of these files. More more information see:
2
- // https://github.com/twbs/bootstrap-sass/blob/master/assets/stylesheets/_bootstrap.scss
3
-
4
- // Core variables and mixins
5
- // @import "bootstrap-overrides/variables";
6
- // @import "bootstrap-overrides/mixins";
7
-
8
- // Reset and dependencies
9
- // @import "bootstrap-overrides/normalize";
10
- // @import "bootstrap-overrides/print";
11
- // @import "bootstrap-overrides/glyphicons";
12
-
13
- // Core CSS
14
- // @import "bootstrap-overrides/scaffolding";
15
- // @import "bootstrap-overrides/type";
16
- // @import "bootstrap-overrides/code";
17
- // @import "bootstrap-overrides/grid";
18
- // @import "bootstrap-overrides/tables";
19
- // @import "bootstrap-overrides/forms";
20
- // @import "bootstrap-overrides/buttons";
21
-
22
- // Components
23
- // @import "bootstrap-overrides/component-animations";
24
- // @import "bootstrap-overrides/dropdowns";
25
- // @import "bootstrap-overrides/button-groups";
26
- // @import "bootstrap-overrides/input-groups";
27
- // @import "bootstrap-overrides/navs";
28
- // @import "bootstrap-overrides/navbar";
29
- // @import "bootstrap-overrides/breadcrumbs";
30
- // @import "bootstrap-overrides/pagination";
31
- // @import "bootstrap-overrides/pager";
32
- // @import "bootstrap-overrides/labels";
33
- // @import "bootstrap-overrides/badges";
34
- // @import "bootstrap-overrides/jumbotron";
35
- // @import "bootstrap-overrides/thumbnails";
36
- // @import "bootstrap-overrides/alerts";
37
- // @import "bootstrap-overrides/progress-bars";
38
- // @import "bootstrap-overrides/media";
39
- // @import "bootstrap-overrides/list-group";
40
- // @import "bootstrap-overrides/panels";
41
- // @import "bootstrap-overrides/responsive-embed";
42
- // @import "bootstrap-overrides/wells";
43
- // @import "bootstrap-overrides/close";
44
-
45
- // Components w/ JavaScript
46
- // @import "bootstrap-overrides/modals";
47
- // @import "bootstrap-overrides/tooltip";
48
- // @import "bootstrap-overrides/popovers";
49
- // @import "bootstrap-overrides/carousel";
50
-
51
- // Utility classes
52
- // @import "bootstrap-overrides/utilities";
53
- // @import "bootstrap-overrides/responsive-utilities";