ogatstyle 3.2.2 → 3.3.0

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: 7bbb26742afa1b184c0a5e009ba41ba04b3d1f8b
4
- data.tar.gz: f3abb5ad688b43e43e70abfccff2f51dd4053e57
3
+ metadata.gz: 40ad4ee678461727e28e5c41bfec0cfbba65f099
4
+ data.tar.gz: 2ad7b105941d11ddd5e1715e69d48003739f913d
5
5
  SHA512:
6
- metadata.gz: 3a42536370f6464c880f4b899c19baa9d1c9575ef6f54806d7ef69aede591ff14c85ee34b258412fa0fef34f6fddb370cc3b33d23ff794f63032adec646a9b7d
7
- data.tar.gz: 949aad907068e3d803624221ec2e91a94e6c93dec80190b5a721b7379007768be1a7bee8e8338049534f09ce92caaf1d99c9e283801609cc1af73dae9bb74eb7
6
+ metadata.gz: 065427ced681c3e16df861da723722a61c892dcb44eab3bb4afc7bb17db5b7e1aea67ac05c11736a762fce99556fb27900491537c470f5a5f305171d8d9c633b
7
+ data.tar.gz: d820d3d2623256fb26df6bc97a678cfcaed4bbe1cf429fd07163da0fa943a9ceaf782d1713ac0d21f9645c5ecba1a6e07e52a73e7558d178c6797168ce42f7b2
data/.gitattributes ADDED
@@ -0,0 +1 @@
1
+ CHANGELOG.md merge=union
data/.rubocop.yml CHANGED
@@ -4,6 +4,7 @@ AllCops:
4
4
  - '**/Rakefile'
5
5
  Exclude:
6
6
  - 'bin/**/*'
7
+ - 'vendor/**/*'
7
8
 
8
9
  Metrics/LineLength:
9
10
  Max: 80
data/.travis.yml CHANGED
@@ -1,14 +1,17 @@
1
+ sudo: false
1
2
  language: ruby
3
+ cache: bundler
2
4
  rvm:
3
5
  - 2.3.0
4
6
  - 2.0.0
5
7
  addons:
6
8
  code_climate:
7
- repo_token: dbd5bb31c15378fc0f7fa9722aa2c822edcde33ec0172c2dfa055ab354981046
9
+ repo_token: eac2c829d8168c6288ac7bb498a86df0286608b43d17d5f80a765e3bfce689c7
8
10
  before_install: gem install bundler -v 1.13.6
9
11
  script:
10
12
  - bundle exec rubocop
11
- - bundle exec rspec
13
+ - bundle exec rake
14
+ - bundle exec codeclimate-test-reporter
12
15
  deploy:
13
16
  provider: rubygems
14
17
  api_key:
data/CHANGELOG.md CHANGED
@@ -1,4 +1,13 @@
1
- ## development
1
+ # Change Log
2
+
3
+ ## v3.3.0 - 2016-12-16
4
+
5
+ - [OS-25] Setup coverage reporting
6
+ - [OS-32] Specify Gill Sans font-family with fallback rather than use webfont
7
+
8
+ ## v3.2.2 - 2016-11-16
9
+
10
+ - [OS-31] Released ogatstyle through rubygems
2
11
 
3
12
  ## v3.2.1 - 2016-10-3
4
13
 
data/Gemfile CHANGED
@@ -2,3 +2,11 @@ source 'https://rubygems.org'
2
2
 
3
3
  # Specify your gem's dependencies in ogatstyle.gemspec
4
4
  gemspec
5
+
6
+ gem 'rake', '~> 11.2'
7
+ gem 'rspec', '~> 3.2'
8
+ gem 'rubocop', '~> 0.45'
9
+
10
+ group :test do
11
+ gem 'codeclimate-test-reporter', '~> 1.0', require: false
12
+ end
data/README.md CHANGED
@@ -1,6 +1,8 @@
1
1
  # OGAT Style
2
2
 
3
- [![Code Climate](https://codeclimate.com/github/Outwood/ogat-style/badges/gpa.svg)](https://codeclimate.com/github/Outwood/ogat-style)
3
+ [![Code Climate](https://codeclimate.com/github/Outwood/ogatstyle/badges/gpa.svg)](https://codeclimate.com/github/Outwood/ogatstyle)
4
+ [![Build Status](https://travis-ci.org/Outwood/ogatstyle.svg?branch=master)](https://travis-ci.org/Outwood/ogatstyle)
5
+ [![Test Coverage](https://codeclimate.com/github/Outwood/ogatstyle/badges/coverage.svg)](https://codeclimate.com/github/Outwood/ogatstyle/coverage)
4
6
 
5
7
  Base style assets for Outwood websites
6
8
 
@@ -26,8 +28,6 @@ Or install it yourself as:
26
28
 
27
29
  ```scss
28
30
  @import "ogatstyle";
29
- // Optional imports
30
- @import "ogatstyle/gill_sans";
31
31
  ```
32
32
 
33
33
  ### Full-width web app varient
@@ -35,7 +35,6 @@ Or install it yourself as:
35
35
  ```scss
36
36
  @import "ogatstyle_app";
37
37
  // Optional imports
38
- @import "ogatstyle/gill_sans";
39
38
  @import "ogatstyle/apps/purple";
40
39
  ```
41
40
 
@@ -1,16 +1,19 @@
1
1
  p.lead {
2
- font-family: GillSansLightItalic, "Helvetica Neue", Arial, sans-serif;
2
+ font-family: $ogat-font-family;
3
3
  font-style: italic;
4
+ font-weight: lighter;
4
5
  }
5
6
 
6
7
  address strong {
7
- font-family: GillSansBold, "Helvetica Neue", Arial, sans-serif;
8
+ font-family: $ogat-font-family;
8
9
  font-size: 115%;
10
+ font-weight: bold;
9
11
  }
10
12
 
11
13
  blockquote {
12
- font-family: GillSansLightItalic, "Helvetica Neue", Arial, sans-serif;
14
+ font-family: $ogat-font-family;
13
15
  font-style: italic;
16
+ font-weight: lighter;
14
17
 
15
18
  small,
16
19
  cite {
@@ -20,8 +23,9 @@ blockquote {
20
23
  }
21
24
 
22
25
  .alert > strong {
23
- font-family: GillSansBold, "Helvetica Neue", Arial, sans-serif;
26
+ font-family: $ogat-font-family;
24
27
  font-size: 115%;
28
+ font-weight: bold;
25
29
  }
26
30
 
27
31
  .page-header {
@@ -12,3 +12,7 @@ $ogat-gold: #B09C78 !default;
12
12
  // for shades: mix with black
13
13
 
14
14
  $ogat-purple-alt: mix($ogat-purple, white, 60%) !default;
15
+
16
+
17
+ // Brand font
18
+ $ogat-font-family: "Gill Sans", "Gill Sans MT", Calibri, Sans-Serif !default;
@@ -16,10 +16,3 @@
16
16
  td.actions {
17
17
  text-align: right;
18
18
  }
19
-
20
- // Adjust heading line-height in media items to account for GillSansBold
21
- .media-body {
22
- h4 {
23
- line-height: 1.3;
24
- }
25
- }
@@ -10,4 +10,4 @@ $navbar-inverse-brand-color: #fff;
10
10
  $navbar-inverse-brand-hover-color: #efefef;
11
11
  $navbar-inverse-brand-hover-bg: $ogat-purple-alt;
12
12
 
13
- $headings-font-family: GillSansBold, "Helvetica Neue", Arial, sans-serif;
13
+ $headings-font-family: $ogat-font-family;
@@ -10,7 +10,8 @@
10
10
 
11
11
  .navbar-app-title {
12
12
  @extend .navbar-brand;
13
- font-family: GillSansLight;
13
+ font-family: $ogat-font-family;
14
+ font-weight: lighter;
14
15
  margin-left: 0;
15
16
  padding: 10px 15px 10px 5px;
16
17
  text-transform: uppercase;
@@ -1,13 +1,13 @@
1
1
  .container.container-constrained {
2
- max-width: 1200px;
3
- margin-left: auto;
4
- margin-right: auto;
2
+ margin-left: auto;
3
+ margin-right: auto;
4
+ max-width: 1200px;
5
5
  }
6
6
 
7
7
  .grid-row {
8
- margin-bottom: 1em;
8
+ margin-bottom: 1em;
9
9
  }
10
10
 
11
11
  .container-main {
12
- padding-bottom: 1em;
12
+ padding-bottom: 1em;
13
13
  }
@@ -44,13 +44,6 @@ html, body {
44
44
  height: 100%;
45
45
  }
46
46
 
47
- // Adjust heading line-height in media items to account for GillSansBold
48
- .media-body {
49
- h4 {
50
- line-height: 1.3;
51
- }
52
- }
53
-
54
47
  // Fix button text shadow in OGATstyle
55
48
  .btn-primary {
56
49
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
@@ -1,3 +1,3 @@
1
1
  $brand-primary: $ogat-purple;
2
2
 
3
- $headings-font-family: GillSansBold, "Helvetica Neue", Arial, sans-serif;
3
+ $headings-font-family: $ogat-font-family;
@@ -1,6 +1,5 @@
1
1
  @import "ogatstyle/variables";
2
2
  @import "ogatstyle/sites/bootstrap_variables";
3
- @import "ogatstyle/base_fonts";
4
3
  @import "bootstrap-sprockets";
5
4
  @import "bootstrap";
6
5
  @import "bootstrap/theme";
@@ -1,6 +1,5 @@
1
1
  @import "ogatstyle/variables";
2
2
  @import "ogatstyle/apps/bootstrap_variables";
3
- @import "ogatstyle/base_fonts";
4
3
  @import "bootstrap-sprockets";
5
4
  @import "bootstrap";
6
5
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Ogatstyle
4
- VERSION = '3.2.2'.freeze
4
+ VERSION = '3.3.0'.freeze
5
5
  end
data/ogatstyle.gemspec CHANGED
@@ -7,12 +7,13 @@ require 'ogatstyle/version'
7
7
  Gem::Specification.new do |spec|
8
8
  spec.name = 'ogatstyle'
9
9
  spec.version = Ogatstyle::VERSION
10
+ spec.required_ruby_version = '>= 2.0.0'
10
11
  spec.authors = ['Elliot Bowes', 'Tom Crouch']
11
12
  spec.email = ['e.bowes@outwood.com']
12
13
 
13
14
  spec.summary = 'OGAT Style Gem'
14
15
  spec.description = 'Provides SCSS stylesheets and assets for the OGAT Style.'
15
- spec.homepage = 'https://github.com/Outwood/ogat-style'
16
+ spec.homepage = 'https://github.com/Outwood/ogatstyle'
16
17
  spec.license = 'MIT'
17
18
 
18
19
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
@@ -21,10 +22,7 @@ Gem::Specification.new do |spec|
21
22
  spec.require_paths = ['lib']
22
23
 
23
24
  spec.add_development_dependency 'bundler', '~> 1.13'
24
- spec.add_development_dependency 'rake', '~> 11.2'
25
- spec.add_development_dependency 'rspec', '~> 3.2'
26
- spec.add_development_dependency 'rubocop', '~> 0.45'
27
- spec.add_development_dependency 'activesupport', '< 5.0'
25
+ spec.add_development_dependency 'activesupport', '>= 4.0', '< 5.0'
28
26
  spec.add_dependency 'rails', '>= 4.1'
29
27
  spec.add_dependency 'sass-rails', '>= 3.2'
30
28
  spec.add_dependency 'bootstrap-sass', '~> 3.3'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ogatstyle
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.2
4
+ version: 3.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elliot Bowes
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2016-11-16 00:00:00.000000000 Z
12
+ date: 2016-12-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -25,52 +25,13 @@ dependencies:
25
25
  - - "~>"
26
26
  - !ruby/object:Gem::Version
27
27
  version: '1.13'
28
- - !ruby/object:Gem::Dependency
29
- name: rake
30
- requirement: !ruby/object:Gem::Requirement
31
- requirements:
32
- - - "~>"
33
- - !ruby/object:Gem::Version
34
- version: '11.2'
35
- type: :development
36
- prerelease: false
37
- version_requirements: !ruby/object:Gem::Requirement
38
- requirements:
39
- - - "~>"
40
- - !ruby/object:Gem::Version
41
- version: '11.2'
42
- - !ruby/object:Gem::Dependency
43
- name: rspec
44
- requirement: !ruby/object:Gem::Requirement
45
- requirements:
46
- - - "~>"
47
- - !ruby/object:Gem::Version
48
- version: '3.2'
49
- type: :development
50
- prerelease: false
51
- version_requirements: !ruby/object:Gem::Requirement
52
- requirements:
53
- - - "~>"
54
- - !ruby/object:Gem::Version
55
- version: '3.2'
56
- - !ruby/object:Gem::Dependency
57
- name: rubocop
58
- requirement: !ruby/object:Gem::Requirement
59
- requirements:
60
- - - "~>"
61
- - !ruby/object:Gem::Version
62
- version: '0.45'
63
- type: :development
64
- prerelease: false
65
- version_requirements: !ruby/object:Gem::Requirement
66
- requirements:
67
- - - "~>"
68
- - !ruby/object:Gem::Version
69
- version: '0.45'
70
28
  - !ruby/object:Gem::Dependency
71
29
  name: activesupport
72
30
  requirement: !ruby/object:Gem::Requirement
73
31
  requirements:
32
+ - - ">="
33
+ - !ruby/object:Gem::Version
34
+ version: '4.0'
74
35
  - - "<"
75
36
  - !ruby/object:Gem::Version
76
37
  version: '5.0'
@@ -78,6 +39,9 @@ dependencies:
78
39
  prerelease: false
79
40
  version_requirements: !ruby/object:Gem::Requirement
80
41
  requirements:
42
+ - - ">="
43
+ - !ruby/object:Gem::Version
44
+ version: '4.0'
81
45
  - - "<"
82
46
  - !ruby/object:Gem::Version
83
47
  version: '5.0'
@@ -162,6 +126,7 @@ files:
162
126
  - ".csslintrc"
163
127
  - ".eslintignore"
164
128
  - ".eslintrc"
129
+ - ".gitattributes"
165
130
  - ".gitignore"
166
131
  - ".rspec"
167
132
  - ".rubocop.yml"
@@ -171,12 +136,6 @@ files:
171
136
  - LICENSE.txt
172
137
  - README.md
173
138
  - Rakefile
174
- - app/assets/fonts/GillSans.woff
175
- - app/assets/fonts/GillSansBold.woff
176
- - app/assets/fonts/GillSansLight.eot
177
- - app/assets/fonts/GillSansLight.ttf
178
- - app/assets/fonts/GillSansLight.woff
179
- - app/assets/fonts/GillSansLightItalic.woff
180
139
  - app/assets/images/fileicon/archive.png
181
140
  - app/assets/images/fileicon/css.png
182
141
  - app/assets/images/fileicon/default.png
@@ -201,8 +160,6 @@ files:
201
160
  - app/assets/images/ogatstyle/swirl-white-nav.png
202
161
  - app/assets/images/ogatstyle/swirl-white-nav2x.png
203
162
  - app/assets/stylesheets/ogatstyle.scss
204
- - app/assets/stylesheets/ogatstyle/_base_fonts.scss
205
- - app/assets/stylesheets/ogatstyle/_gill_sans.scss
206
163
  - app/assets/stylesheets/ogatstyle/_social.scss
207
164
  - app/assets/stylesheets/ogatstyle/_tables.scss
208
165
  - app/assets/stylesheets/ogatstyle/_type.scss
@@ -224,7 +181,7 @@ files:
224
181
  - lib/ogatstyle/fileicon/mapping.rb
225
182
  - lib/ogatstyle/version.rb
226
183
  - ogatstyle.gemspec
227
- homepage: https://github.com/Outwood/ogat-style
184
+ homepage: https://github.com/Outwood/ogatstyle
228
185
  licenses:
229
186
  - MIT
230
187
  metadata: {}
@@ -236,7 +193,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
236
193
  requirements:
237
194
  - - ">="
238
195
  - !ruby/object:Gem::Version
239
- version: '0'
196
+ version: 2.0.0
240
197
  required_rubygems_version: !ruby/object:Gem::Requirement
241
198
  requirements:
242
199
  - - ">="
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -1,23 +0,0 @@
1
- @font-face {
2
- font-family: 'GillSansLightItalic';
3
- src: font-url('GillSansLightItalic.woff') format('woff');
4
- font-weight: normal;
5
- font-style: italic;
6
- }
7
-
8
- @font-face {
9
- font-family: 'GillSansBold';
10
- src: font-url('GillSansBold.woff') format('woff');
11
- font-weight: bold;
12
- font-style: normal;
13
- }
14
-
15
- @font-face {
16
- font-family: 'GillSansLight';
17
- src: font-url('GillSansLight.eot');
18
- src: font-url('GillSansLight.eot?#iefix') format("embedded-opentype"),
19
- font-url('GillSansLight.woff') format("woff"),
20
- font-url('GillSansLight.ttf') format("truetype");
21
- font-weight: normal;
22
- font-style: normal;
23
- }
@@ -1,6 +0,0 @@
1
- @font-face {
2
- font-family: 'GillSans';
3
- src: font-url('GillSans.woff') format("woff");
4
- font-weight: normal;
5
- font-style: normal;
6
- }