govuk_admin_template 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -7,7 +7,7 @@ This gem provides (via a Rails engine):
7
7
  * Bootstrap 3 standard styles and javascript — including HTML5 and respond.js shims necessary for IE <= IE8
8
8
  * An admin layout with header and footer
9
9
  * A [lightweight javascript framework](JAVASCRIPT.md)
10
- * Admin design patterns available from __/style-guide__
10
+ * Admin design patterns available from `/style-guide` (when routes are mounted)
11
11
  * SASS variables for the admin theme
12
12
 
13
13
  ## Usage
@@ -33,6 +33,12 @@ You will also need to include your styles within the `<head>` of your HTML, do t
33
33
  <% end %>
34
34
  ```
35
35
 
36
+ It is recommended that the style guide is also made available within your app at the route `/style-guide`. Add this to your `config/routes.rb` file:
37
+
38
+ ```ruby
39
+ mount GovukAdminTemplate::Engine, at: "/style-guide"
40
+ ```
41
+
36
42
  The gem source includes a [dummy app](spec/dummy) configured to behave like an app using the gem. If you have the gem checked out it can be run from the `spec\dummy` directory using `rails s`.
37
43
 
38
44
  For Javascript usage, available modules and writing modules, see the [Javascript guide](JAVASCRIPT.md).
@@ -1,3 +1,3 @@
1
1
  module GovukAdminTemplate
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: govuk_admin_template
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-05-22 00:00:00.000000000 Z
12
+ date: 2014-05-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -188,7 +188,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
188
188
  version: '0'
189
189
  segments:
190
190
  - 0
191
- hash: -1211471381049981484
191
+ hash: 2528720505833556428
192
192
  required_rubygems_version: !ruby/object:Gem::Requirement
193
193
  none: false
194
194
  requirements:
@@ -197,7 +197,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
197
197
  version: '0'
198
198
  segments:
199
199
  - 0
200
- hash: -1211471381049981484
200
+ hash: 2528720505833556428
201
201
  requirements: []
202
202
  rubyforge_project:
203
203
  rubygems_version: 1.8.23