style_guide 0.1.1 → 0.1.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 +4 -4
- data/README.md +9 -7
- data/lib/style_guide/version.rb +1 -1
- data/style_guide-0.1.0.gem +0 -0
- data/style_guide-0.1.1.gem +0 -0
- data/style_guide.gemspec +2 -2
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9e5542a45d13feac377e73098225fbed650ae4f8
|
|
4
|
+
data.tar.gz: dec9ed6f18958adf74b62d586413719fc74dab65
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fa491d8d38ad677eda1dc0a4f9896cdd42aeef5a081c9293ff6ba1dc037fcd3c1a68cc8574b2a18791a38c3706fbb9535b9ce45272dcab0f6e2bd5ed968c2966
|
|
7
|
+
data.tar.gz: bbf6e0a4a481c3c6a359d446ac065045f391f42f2cb7750e4ee6e59f80534f36e974f881ee2f1482bfa46c74bf66974c8705d806055eddfef11b476fa6393aba
|
data/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
Style-Guide-Boilerplate v0.
|
|
1
|
+
Style-Guide-Boilerplate v0.1.2
|
|
2
2
|
==============================
|
|
3
3
|
|
|
4
4
|
A starting point for crafting living style guides.
|
|
@@ -12,8 +12,11 @@ A starting point for crafting living style guides.
|
|
|
12
12
|
## Getting Started With Style Guide Boilerplate
|
|
13
13
|
|
|
14
14
|
### Download the Style Guide Boilerplate
|
|
15
|
-
|
|
16
|
-
gem 'style_guide'
|
|
15
|
+
insert the following into gemspec
|
|
16
|
+
`gem 'style_guide'`
|
|
17
|
+
|
|
18
|
+
run the following in your bash
|
|
19
|
+
`rake generate style`
|
|
17
20
|
|
|
18
21
|
### Hook up your own CSS into the style guide
|
|
19
22
|
In the `<head>` in the style_guide_layout.html.erb are custom styles for the boilerplate itself. These have all been prefixed with sg- so they hopefully shouldn't cause any conflicts with your website's own styles.
|
|
@@ -27,7 +30,7 @@ The last step is creating your sites custom patterns/modules.
|
|
|
27
30
|
### Create custom patterns
|
|
28
31
|
To create custom patterns like buttons, breadcrumbs, alert messages, etc., create a new .html file and add your HTML markup into the file.
|
|
29
32
|
|
|
30
|
-
Save the file as `pattern-name.html` into the `markup/patterns` directory inside of your `style-guide` directory.
|
|
33
|
+
Save the file as `pattern-name.html` into the `markup/patterns` directory inside of your `lib/assets/style-guide` directory.
|
|
31
34
|
|
|
32
35
|
You should now be able to see the new patterns at `yoursite.com/style-guide/`
|
|
33
36
|
|
|
@@ -82,10 +85,9 @@ If you come across any bugs, or have any other issues with the boilerplate, plea
|
|
|
82
85
|
|
|
83
86
|
## Credit
|
|
84
87
|
Thanks to:
|
|
88
|
+
Brett Jankord for doing the initial [Leg work](https://github.com/bjankord/Style-Guide-Boilerplate).
|
|
85
89
|
|
|
86
90
|
Jeremy Keith for letting me build on top of [Pattern Primer](https://github.com/adactio/Pattern-Primer).
|
|
87
91
|
|
|
88
92
|
## Licensing
|
|
89
|
-
**Style Guide Boilerplate** is licensed under the [MIT License](http://en.wikipedia.org/wiki/MIT_License)
|
|
90
|
-
|
|
91
|
-
Use it, build upon it, make awesome shit with it.
|
|
93
|
+
**Style Guide Boilerplate** is licensed under the [MIT License](http://en.wikipedia.org/wiki/MIT_License)
|
data/lib/style_guide/version.rb
CHANGED
|
Binary file
|
|
Binary file
|
data/style_guide.gemspec
CHANGED
|
@@ -9,9 +9,9 @@ Gem::Specification.new do |s|
|
|
|
9
9
|
s.version = StyleGuide::VERSION
|
|
10
10
|
s.authors = ["Joshua Schultz"]
|
|
11
11
|
s.email = ["me@joshuaschultz.com"]
|
|
12
|
-
s.homepage = "
|
|
12
|
+
s.homepage = "https://github.com/JoshuaMSchultz/Rails_App_Style_Guide"
|
|
13
13
|
s.summary = "Rails-based Style Guide Plugin"
|
|
14
|
-
s.description = "
|
|
14
|
+
s.description = "Used create a living style guide at yoursite.com/style_guide"
|
|
15
15
|
s.license = "MIT"
|
|
16
16
|
|
|
17
17
|
s.files = `git ls-files -z`.split("\x0")
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: style_guide
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Joshua Schultz
|
|
@@ -24,9 +24,7 @@ dependencies:
|
|
|
24
24
|
- - "~>"
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
26
|
version: '4.0'
|
|
27
|
-
description:
|
|
28
|
-
to your rails app allowing you to see/show your style guide. This work is largely
|
|
29
|
-
based off of the idea initiated at https://github.com/bjankord/Style-Guide-Boilerplate
|
|
27
|
+
description: Used create a living style guide at yoursite.com/style_guide
|
|
30
28
|
email:
|
|
31
29
|
- me@joshuaschultz.com
|
|
32
30
|
executables:
|
|
@@ -109,6 +107,8 @@ files:
|
|
|
109
107
|
- lib/style_guide/version.rb
|
|
110
108
|
- lib/tasks/style_guide_tasks.rake
|
|
111
109
|
- style_guide-0.0.1.gem
|
|
110
|
+
- style_guide-0.1.0.gem
|
|
111
|
+
- style_guide-0.1.1.gem
|
|
112
112
|
- style_guide.gemspec
|
|
113
113
|
- test/controllers/style_guide_controller_test.rb
|
|
114
114
|
- test/dummy/README.rdoc
|
|
@@ -188,7 +188,7 @@ files:
|
|
|
188
188
|
- test/lib/generators/style_guide/style_generator_test.rb
|
|
189
189
|
- test/style_guide_test.rb
|
|
190
190
|
- test/test_helper.rb
|
|
191
|
-
homepage:
|
|
191
|
+
homepage: https://github.com/JoshuaMSchultz/Rails_App_Style_Guide
|
|
192
192
|
licenses:
|
|
193
193
|
- MIT
|
|
194
194
|
metadata: {}
|