guides_style_18f 2.0.0 → 2.0.1

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.
@@ -0,0 +1,60 @@
1
+ .highlight { background: #ffffff; }
2
+ .highlight .c { color: #999988; font-style: italic } /* Comment */
3
+ .highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */
4
+ .highlight .k { font-weight: bold } /* Keyword */
5
+ .highlight .o { font-weight: bold } /* Operator */
6
+ .highlight .cm { color: #999988; font-style: italic } /* Comment.Multiline */
7
+ .highlight .cp { color: #999999; font-weight: bold } /* Comment.Preproc */
8
+ .highlight .c1 { color: #999988; font-style: italic } /* Comment.Single */
9
+ .highlight .cs { color: #999999; font-weight: bold; font-style: italic } /* Comment.Special */
10
+ .highlight .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
11
+ .highlight .gd .x { color: #000000; background-color: #ffaaaa } /* Generic.Deleted.Specific */
12
+ .highlight .ge { font-style: italic } /* Generic.Emph */
13
+ .highlight .gr { color: #aa0000 } /* Generic.Error */
14
+ .highlight .gh { color: #999999 } /* Generic.Heading */
15
+ .highlight .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
16
+ .highlight .gi .x { color: #000000; background-color: #aaffaa } /* Generic.Inserted.Specific */
17
+ .highlight .go { color: #888888 } /* Generic.Output */
18
+ .highlight .gp { color: #555555 } /* Generic.Prompt */
19
+ .highlight .gs { font-weight: bold } /* Generic.Strong */
20
+ .highlight .gu { color: #aaaaaa } /* Generic.Subheading */
21
+ .highlight .gt { color: #aa0000 } /* Generic.Traceback */
22
+ .highlight .kc { font-weight: bold } /* Keyword.Constant */
23
+ .highlight .kd { font-weight: bold } /* Keyword.Declaration */
24
+ .highlight .kp { font-weight: bold } /* Keyword.Pseudo */
25
+ .highlight .kr { font-weight: bold } /* Keyword.Reserved */
26
+ .highlight .kt { color: #445588; font-weight: bold } /* Keyword.Type */
27
+ .highlight .m { color: #009999 } /* Literal.Number */
28
+ .highlight .s { color: #d14 } /* Literal.String */
29
+ .highlight .na { color: #008080 } /* Name.Attribute */
30
+ .highlight .nb { color: #0086B3 } /* Name.Builtin */
31
+ .highlight .nc { color: #445588; font-weight: bold } /* Name.Class */
32
+ .highlight .no { color: #008080 } /* Name.Constant */
33
+ .highlight .ni { color: #800080 } /* Name.Entity */
34
+ .highlight .ne { color: #990000; font-weight: bold } /* Name.Exception */
35
+ .highlight .nf { color: #990000; font-weight: bold } /* Name.Function */
36
+ .highlight .nn { color: #555555 } /* Name.Namespace */
37
+ .highlight .nt { color: #000080 } /* Name.Tag */
38
+ .highlight .nv { color: #008080 } /* Name.Variable */
39
+ .highlight .ow { font-weight: bold } /* Operator.Word */
40
+ .highlight .w { color: #bbbbbb } /* Text.Whitespace */
41
+ .highlight .mf { color: #009999 } /* Literal.Number.Float */
42
+ .highlight .mh { color: #009999 } /* Literal.Number.Hex */
43
+ .highlight .mi { color: #009999 } /* Literal.Number.Integer */
44
+ .highlight .mo { color: #009999 } /* Literal.Number.Oct */
45
+ .highlight .sb { color: #d14 } /* Literal.String.Backtick */
46
+ .highlight .sc { color: #d14 } /* Literal.String.Char */
47
+ .highlight .sd { color: #d14 } /* Literal.String.Doc */
48
+ .highlight .s2 { color: #d14 } /* Literal.String.Double */
49
+ .highlight .se { color: #d14 } /* Literal.String.Escape */
50
+ .highlight .sh { color: #d14 } /* Literal.String.Heredoc */
51
+ .highlight .si { color: #d14 } /* Literal.String.Interpol */
52
+ .highlight .sx { color: #d14 } /* Literal.String.Other */
53
+ .highlight .sr { color: #009926 } /* Literal.String.Regex */
54
+ .highlight .s1 { color: #d14 } /* Literal.String.Single */
55
+ .highlight .ss { color: #990073 } /* Literal.String.Symbol */
56
+ .highlight .bp { color: #999999 } /* Name.Builtin.Pseudo */
57
+ .highlight .vc { color: #008080 } /* Name.Variable.Class */
58
+ .highlight .vg { color: #008080 } /* Name.Variable.Global */
59
+ .highlight .vi { color: #008080 } /* Name.Variable.Instance */
60
+ .highlight .il { color: #009999 } /* Literal.Number.Integer.Long */
File without changes
@@ -0,0 +1,3 @@
1
+ @import "./_guides_style_18f_main";
2
+ @import "./_guides_style_18f_syntax";
3
+ @import "./_guides_style_18f_custom";
data/go ADDED
@@ -0,0 +1,72 @@
1
+ #! /usr/bin/env ruby
2
+ #
3
+ # The preamble down to the check_ruby_version line was generated by version
4
+ # 0.1.8 of the go_script gem. This preamble tries to load bundler state
5
+ # from Gemfile.lock if present, then the go_script gem for core functionality.
6
+ #
7
+ # This means the ./go script will run `gem install` or `bundle install` as
8
+ # necessary when invoked for the first time, or when dependencies change. It
9
+ # also means that commands invoked within the ./go script do not need to be
10
+ # prefixed with `bundle exec`.
11
+
12
+ require 'English'
13
+
14
+ Dir.chdir File.dirname(__FILE__)
15
+
16
+ # If a require statement fails, the script calls try_command_and_restart to
17
+ # try to install the necessary gems before re-executing itself with the
18
+ # original arguments.
19
+ def try_command_and_restart(command)
20
+ exit $CHILD_STATUS.exitstatus unless system command
21
+
22
+ # If the RUBYOPT environment variable is set, bundler will presume that it
23
+ # has already run. Hence, filtering out RUBYOPT forces bundler to load its
24
+ # state during the re-execution.
25
+ env = {}.merge(ENV)
26
+ env.delete('RUBYOPT')
27
+ exec(env, RbConfig.ruby, *[$PROGRAM_NAME].concat(ARGV))
28
+ end
29
+
30
+ begin
31
+ require 'bundler/setup' if File.exist? 'Gemfile'
32
+ rescue LoadError
33
+ try_command_and_restart 'gem install bundler'
34
+ rescue SystemExit
35
+ try_command_and_restart 'bundle install'
36
+ end
37
+
38
+ begin
39
+ require 'go_script'
40
+ rescue LoadError
41
+ try_command_and_restart 'gem install go_script' unless File.exist? 'Gemfile'
42
+ abort "Please add \"gem 'go_script'\" to your Gemfile"
43
+ end
44
+
45
+ extend GoScript
46
+ check_ruby_version '2.2.4'
47
+
48
+ command_group :dev, 'Development commands'
49
+
50
+ def_command :update_gems, 'Update Ruby gems' do |gems|
51
+ update_gems gems
52
+ end
53
+
54
+ def_command :test, 'Execute automated tests' do |args|
55
+ exec_cmd "rake test #{args_to_string args}"
56
+ end
57
+
58
+ def_command :lint, 'Run style-checking tools' do |files|
59
+ lint_ruby files
60
+ end
61
+
62
+ def_command :build, 'Test and build the gem' do |args|
63
+ test
64
+ exec_cmd "rake build #{args_to_string args}"
65
+ end
66
+
67
+ def_command :release, 'Test, build, and release a new gem' do
68
+ test
69
+ exec_cmd 'rake release'
70
+ end
71
+
72
+ execute_command ARGV
@@ -0,0 +1,36 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'guides_style_18f/version'
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = 'guides_style_18f'
8
+ s.version = GuidesStyle18F::VERSION
9
+ s.authors = ['Mike Bland']
10
+ s.email = ['michael.bland@gsa.gov']
11
+ s.summary = '18F Guides Template style elements'
12
+ s.description = (
13
+ 'Provides consistent style elements for documents based on the ' \
14
+ '18F Guides Template (https://guides-template.18f.gov/). ' \
15
+ 'The 18F Guides theme is based on ' \
16
+ 'DOCter (https://github.com/cfpb/docter/) from ' \
17
+ 'CFPB (http://cfpb.github.io/).'
18
+ )
19
+ s.homepage = 'https://github.com/18F/guides-style'
20
+ s.license = 'CC0'
21
+
22
+ s.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test)}i) }
23
+ s.executables = s.files.grep(%r{^bin/}) { |f| File.basename f }
24
+
25
+ # requires https://github.com/jekyll/jekyll/pull/5364
26
+ s.add_runtime_dependency 'jekyll', '~> 3.3'
27
+ s.add_runtime_dependency 'jekyll_pages_api'
28
+ s.add_runtime_dependency 'jekyll_pages_api_search'
29
+ s.add_development_dependency 'go_script'
30
+ s.add_development_dependency 'rake'
31
+ s.add_development_dependency 'minitest'
32
+ s.add_development_dependency 'codeclimate-test-reporter'
33
+ s.add_development_dependency 'coveralls'
34
+ s.add_development_dependency 'bundler'
35
+ s.add_development_dependency 'rubocop'
36
+ end
@@ -1,5 +1,5 @@
1
1
  # @author Mike Bland (michael.bland@gsa.gov)
2
2
 
3
3
  module GuidesStyle18F
4
- VERSION = '2.0.0'
4
+ VERSION = '2.0.1'
5
5
  end
@@ -0,0 +1,13 @@
1
+ {
2
+ "private": true,
3
+ "author": "18F",
4
+ "license": "CC0-1.0",
5
+ "scripts": {
6
+ "update-uswds": "npm run update-assets && npm run update-sass",
7
+ "update-assets": "rsync -avr --delete node_modules/uswds/dist/ assets/uswds/",
8
+ "update-sass": "rsync -avr --delete node_modules/uswds/src/stylesheets/ _sass/uswds/"
9
+ },
10
+ "dependencies": {
11
+ "uswds": "^1.0.0"
12
+ }
13
+ }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: guides_style_18f
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Bland
@@ -159,9 +159,31 @@ executables: []
159
159
  extensions: []
160
160
  extra_rdoc_files: []
161
161
  files:
162
+ - ".circleci/config.yml"
163
+ - ".gitignore"
164
+ - ".rubocop.yml"
162
165
  - CONTRIBUTING.md
166
+ - Gemfile
163
167
  - LICENSE.md
164
168
  - README.md
169
+ - Rakefile
170
+ - _includes/analytics.html
171
+ - _includes/banner.html
172
+ - _includes/breadcrumbs.html
173
+ - _includes/footer.html
174
+ - _includes/head.html
175
+ - _includes/header.html
176
+ - _includes/scripts.html
177
+ - _includes/sidebar-children.html
178
+ - _includes/sidebar.html
179
+ - _layouts/default.html
180
+ - _layouts/home-redirect.html
181
+ - _layouts/search-results.html
182
+ - _sass/_guides_style_18f_custom.scss
183
+ - _sass/_guides_style_18f_main.scss
184
+ - _sass/_guides_style_18f_syntax.scss
185
+ - _sass/_variables.scss
186
+ - _sass/guides_style_18f.scss
165
187
  - assets/css/main.css
166
188
  - assets/css/page.css
167
189
  - assets/css/search.css
@@ -308,6 +330,8 @@ files:
308
330
  - assets/uswds/js/uswds.js
309
331
  - assets/uswds/js/uswds.min.js
310
332
  - assets/uswds/js/uswds.min.js.map
333
+ - go
334
+ - guides-style-18f.gemspec
311
335
  - lib/guides_style_18f.rb
312
336
  - lib/guides_style_18f/breadcrumbs.rb
313
337
  - lib/guides_style_18f/generated_nodes.rb
@@ -319,6 +343,7 @@ files:
319
343
  - lib/guides_style_18f/tags.rb
320
344
  - lib/guides_style_18f/update.rb
321
345
  - lib/guides_style_18f/version.rb
346
+ - package.json
322
347
  homepage: https://github.com/18F/guides-style
323
348
  licenses:
324
349
  - CC0