ogatstyle 3.4.0 → 3.5.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
  SHA256:
3
- metadata.gz: 9e7ef1303609484a196d4110e1382f086d20bf1e3a1799f7efd06e873221d571
4
- data.tar.gz: 0ae5abaf8a27a8ee2d791b5a4a9429d5d3d2d6a75fda503b455168800c55c418
3
+ metadata.gz: 667c92d3b67dd434cc2d8484bdd0176d9d94c30888218aedf8ec137fb1569995
4
+ data.tar.gz: e2a810ea1cded5effce64f46722fb6b039b3e51a43c6687369be8f9883fb1943
5
5
  SHA512:
6
- metadata.gz: 5e7a133c3597765ed1c641420827c40ef5ea9fe6edb0bdcb5f9936bc7a0ffd8c278663a405fe579b7c33ceb6422cb048b2ebbf5a9d78b6192789de9a9368e4ef
7
- data.tar.gz: 487a9fe041d8203eb674d169705be002d209cd50d46bc71726f62451a8f194f7aaf0ec249616601ffbd57d7d7f123a892ae2d9d4aa25bde74e49918de3f22e4d
6
+ metadata.gz: d9ac13e0c3a98c415943a14c22165902814c986a83a135a91dc3fbe60724885e4e76909d7c998ef004c45d2642bb40e8bf2b00c1b1d93b70964c8d637adf74a5
7
+ data.tar.gz: c0ab921fd4376645f34bc71df899d26cc520b1fdb76584b4f931bd0b9f2c438401691f295184cb25937355bcdcf34adf8222bea82afbdba1912a8c906a5897fc
@@ -1,6 +1,11 @@
1
+ inherit_from:
2
+ - .rubocop_todo.yml
3
+ - .rubocop_metrics_todo.yml
4
+
1
5
  inherit_gem:
2
6
  rubocop-ogat:
3
7
  - config/default.yml
8
+
4
9
  AllCops:
5
10
  TargetRubyVersion: 2.3
6
11
 
@@ -0,0 +1,54 @@
1
+ Metrics/AbcSize:
2
+ Exclude:
3
+ - db/**/*
4
+ - spec/**/*
5
+ - config/routes.rb
6
+
7
+ Metrics/BlockLength:
8
+ Exclude:
9
+ - db/**/*
10
+ - spec/**/*
11
+ - config/routes.rb
12
+
13
+ Metrics/BlockNesting:
14
+ Exclude:
15
+ - db/**/*
16
+ - spec/**/*
17
+ - config/routes.rb
18
+
19
+ Metrics/ClassLength:
20
+ Exclude:
21
+ - db/**/*
22
+ - spec/**/*
23
+ - config/routes.rb
24
+
25
+ Metrics/CyclomaticComplexity:
26
+ Exclude:
27
+ - db/**/*
28
+ - spec/**/*
29
+ - config/routes.rb
30
+
31
+ Metrics/MethodLength:
32
+ Exclude:
33
+ - db/**/*
34
+ - spec/**/*
35
+ - config/routes.rb
36
+
37
+ Metrics/ModuleLength:
38
+ Exclude:
39
+ - db/**/*
40
+ - spec/**/*
41
+ - config/routes.rb
42
+
43
+ Metrics/ParameterLists:
44
+ Exclude:
45
+ - db/**/*
46
+ - spec/**/*
47
+ - config/routes.rb
48
+
49
+ Metrics/PerceivedComplexity:
50
+ Exclude:
51
+ - db/**/*
52
+ - spec/**/*
53
+ - config/routes.rb
54
+
@@ -0,0 +1,18 @@
1
+ # This configuration was generated by
2
+ # `rubocop --auto-gen-config --exclude-limit 1000 --no-offense-counts --no-auto-gen-timestamp`
3
+ # using RuboCop version 0.66.0.
4
+ # The point is for the user to remove these configuration records
5
+ # one by one as the offenses are removed from the code base.
6
+ # Note that changes in the inspected code, or installation of new
7
+ # versions of RuboCop, may require this file to be generated again.
8
+
9
+ # Configuration parameters: Include, Whitelist.
10
+ # Include: **/*.gemfile, **/Gemfile, **/gems.rb
11
+ Bundler/GemComment:
12
+ Exclude:
13
+ - 'Gemfile'
14
+
15
+ Style/ConstantVisibility:
16
+ Exclude:
17
+ - 'lib/ogatstyle/fileicon/mapping.rb'
18
+ - 'lib/ogatstyle/version.rb'
@@ -2,15 +2,15 @@ sudo: false
2
2
  language: ruby
3
3
  cache: bundler
4
4
  rvm:
5
- - 2.3.6
6
- - 2.4.3
7
- - 2.5.0
5
+ - 2.4.6
6
+ - 2.5.5
7
+ - 2.6.3
8
8
  - ruby-head
9
9
  matrix:
10
10
  allow_failures:
11
11
  - rvm: ruby-head
12
12
  fast_finish: true
13
- before_install: gem install bundler -v 1.16.1
13
+ before_install: gem install bundler -v '~> 1.17.3'
14
14
  script:
15
15
  - bundle exec rubocop
16
16
  - bundle exec rake
@@ -21,7 +21,7 @@ deploy:
21
21
  secure: sFLffEqNmjfv0atXzQNifV3N6ChQrqwmV8fuu3YFFMUzkfyQEkcjdc6AkhlHtA9NkqQrXpjOtQb5CpcGVYHgB49JaRKYiAkObzv2omvq8BaxC+IMaszYEBVLuACIGmxX2nouP88QfNye1RjM059jnHCFrEih5Opj3G0j4ux89ukfEuskC8hME+tIumO9p6iqQOnRH3JuOQese1N/oPSBdW5M1/vL39j2juzBTidFVRwQSVekHA1pWO8JzcIBzjsBnRxDdp9D4SLOwmMYhBqaeIhx+rTblcv1wfp4/oyQAUrDg9777KGiLHJREEuosjdTeaYeWWqmgh6v7OFzXV21v54cCnqjoJoeC9DXLiSuw2eaQZO9+ce3o0f3K7/bRCO4NpRVmbEcitBZxoD7fqqdlE4JhEfpNCIw+TnHNXDIpoT0CsNHfuPtYh6p6Sbjs/9hOfbCR3tskTgMi3USJyqUHCySky/1DzW4DddnQaIRKWuqaOF7FWZroQ2BqPI2oSBwr5v0n/FpBkzoxRvLqcPqPtia/P5g+dFYhlV02WUBSecS1oRahqK+MlHzGytqAOyiwp+aFZ/blxhJYgYDxLgsidnTp1vwun2shgkyUtPWLh/VX3HFrR7RUkbXKn7VObgqr7PSgCke4TGJwMY8RZiQH5hPszfKDsiuW854eZUZR3I=
22
22
  gem: ogatstyle
23
23
  on:
24
- rvm: 2.4.3
24
+ rvm: 2.4.6
25
25
  tags: true
26
26
  repo: Outwood/ogatstyle
27
27
  addons:
data/README.md CHANGED
@@ -30,7 +30,7 @@ Or install it yourself as:
30
30
  @import "ogatstyle";
31
31
  ```
32
32
 
33
- ### Full-width web app varient
33
+ ### Full-width web app variant
34
34
 
35
35
  ```scss
36
36
  @import "ogatstyle_app";
@@ -1,6 +1,5 @@
1
1
  p.lead {
2
2
  font-family: $ogat-font-family;
3
- font-style: italic;
4
3
  font-weight: lighter;
5
4
  }
6
5
 
@@ -12,3 +12,5 @@ $navbar-inverse-brand-hover-bg: $ogat-purple-alt;
12
12
 
13
13
  $headings-font-family: $ogat-font-family;
14
14
  $headings-font-weight: bold !default;
15
+
16
+ $link-color: mix($ogat-purple, white, 80%);
@@ -3,3 +3,5 @@ $brand-primary: $ogat-purple;
3
3
  $headings-font-family: $ogat-font-family;
4
4
  // Gill Sans does not appear to support weight 500
5
5
  $headings-font-weight: bold !default;
6
+
7
+ $link-color: mix($ogat-purple, white, 80%);
@@ -3,67 +3,67 @@
3
3
  module Ogatstyle
4
4
  module Fileicon
5
5
  MAPPING = {
6
- 'bmp' => 'image',
7
- 'gif' => 'image',
6
+ 'bmp' => 'image',
7
+ 'gif' => 'image',
8
8
  'jpeg' => 'image',
9
- 'jpg' => 'image',
10
- 'png' => 'image',
11
- 'svg' => 'image',
9
+ 'jpg' => 'image',
10
+ 'png' => 'image',
11
+ 'svg' => 'image',
12
12
  'tiff' => 'image',
13
13
 
14
- '7z' => 'archive',
15
- 'bz2' => 'archive',
16
- 'gz' => 'archive',
17
- 'rar' => 'archive',
18
- 'sit' => 'archive',
14
+ '7z' => 'archive',
15
+ 'bz2' => 'archive',
16
+ 'gz' => 'archive',
17
+ 'rar' => 'archive',
18
+ 'sit' => 'archive',
19
19
  'sitx' => 'archive',
20
- 'tar' => 'archive',
21
- 'tgz' => 'archive',
22
- 'zip' => 'archive',
20
+ 'tar' => 'archive',
21
+ 'tgz' => 'archive',
22
+ 'zip' => 'archive',
23
23
  'zipx' => 'archive',
24
24
 
25
25
  'css' => 'css',
26
26
 
27
- 'htm' => 'html',
27
+ 'htm' => 'html',
28
28
  'html' => 'html',
29
29
 
30
- 'xls' => 'excel',
30
+ 'xls' => 'excel',
31
31
  'xlsx' => 'excel',
32
32
 
33
- 'ppt' => 'powerpoint',
33
+ 'ppt' => 'powerpoint',
34
34
  'pptx' => 'powerpoint',
35
35
 
36
- 'doc' => 'word',
36
+ 'doc' => 'word',
37
37
  'docx' => 'word',
38
38
 
39
39
  'pdd' => 'photoshop',
40
40
  'psb' => 'photoshop',
41
41
  'psd' => 'photoshop',
42
42
 
43
- 'ai' => 'illustrator',
43
+ 'ai' => 'illustrator',
44
44
  'pdf' => 'pdf',
45
45
  'swf' => 'flash',
46
46
  'txt' => 'text',
47
47
 
48
- 'aac' => 'music',
49
- 'aif' => 'music',
48
+ 'aac' => 'music',
49
+ 'aif' => 'music',
50
50
  'aiff' => 'music',
51
51
  'flac' => 'music',
52
- 'm4a' => 'music',
53
- 'm4p' => 'music',
54
- 'mp3' => 'music',
55
- 'ogg' => 'music',
56
- 'vob' => 'music',
57
- 'wav' => 'music',
58
- 'wma' => 'music',
52
+ 'm4a' => 'music',
53
+ 'm4p' => 'music',
54
+ 'mp3' => 'music',
55
+ 'ogg' => 'music',
56
+ 'vob' => 'music',
57
+ 'wav' => 'music',
58
+ 'wma' => 'music',
59
59
 
60
- 'avi' => 'movie',
60
+ 'avi' => 'movie',
61
61
  'divx' => 'movie',
62
- 'm4v' => 'movie',
63
- 'mkv' => 'movie',
64
- 'mov' => 'movie',
62
+ 'm4v' => 'movie',
63
+ 'mkv' => 'movie',
64
+ 'mov' => 'movie',
65
65
  'mpeg' => 'movie',
66
- 'mpg' => 'movie'
66
+ 'mpg' => 'movie'
67
67
  }.freeze
68
68
  end
69
69
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Ogatstyle
4
- VERSION = '3.4.0'
4
+ VERSION = '3.5.0'
5
5
  end
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- lib = File.expand_path('../lib', __FILE__)
3
+ lib = File.expand_path('lib', __dir__)
4
4
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
5
  require 'ogatstyle/version'
6
6
 
@@ -26,12 +26,12 @@ Gem::Specification.new do |spec|
26
26
 
27
27
  spec.add_development_dependency 'activesupport', '>= 4.0', '< 6.0'
28
28
  spec.add_development_dependency 'bundler', '~> 1.16'
29
- spec.add_development_dependency 'rake', '~> 12.3'
29
+ spec.add_development_dependency 'rake', '~> 13.0'
30
30
  spec.add_development_dependency 'rspec', '~> 3.2'
31
- spec.add_development_dependency 'rubocop-ogat', '~> 1.1.0'
31
+ spec.add_development_dependency 'rubocop-ogat', '~> 1.39.0'
32
32
  spec.add_dependency 'bootstrap-sass', '~> 3.3'
33
33
  spec.add_dependency 'font-awesome-sass', '>= 4.2', '< 6.0'
34
34
  spec.add_dependency 'rails', '>= 4.1'
35
- spec.add_dependency 'sass-rails', '>= 3.2'
35
+ spec.add_dependency 'sassc-rails', '~> 2.1'
36
36
  spec.add_dependency 'sprockets-rails', '>= 3'
37
37
  end
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.4.0
4
+ version: 3.5.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: 2018-02-28 00:00:00.000000000 Z
12
+ date: 2019-11-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport
@@ -51,14 +51,14 @@ dependencies:
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '12.3'
54
+ version: '13.0'
55
55
  type: :development
56
56
  prerelease: false
57
57
  version_requirements: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '12.3'
61
+ version: '13.0'
62
62
  - !ruby/object:Gem::Dependency
63
63
  name: rspec
64
64
  requirement: !ruby/object:Gem::Requirement
@@ -79,14 +79,14 @@ dependencies:
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: 1.1.0
82
+ version: 1.39.0
83
83
  type: :development
84
84
  prerelease: false
85
85
  version_requirements: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: 1.1.0
89
+ version: 1.39.0
90
90
  - !ruby/object:Gem::Dependency
91
91
  name: bootstrap-sass
92
92
  requirement: !ruby/object:Gem::Requirement
@@ -136,19 +136,19 @@ dependencies:
136
136
  - !ruby/object:Gem::Version
137
137
  version: '4.1'
138
138
  - !ruby/object:Gem::Dependency
139
- name: sass-rails
139
+ name: sassc-rails
140
140
  requirement: !ruby/object:Gem::Requirement
141
141
  requirements:
142
- - - ">="
142
+ - - "~>"
143
143
  - !ruby/object:Gem::Version
144
- version: '3.2'
144
+ version: '2.1'
145
145
  type: :runtime
146
146
  prerelease: false
147
147
  version_requirements: !ruby/object:Gem::Requirement
148
148
  requirements:
149
- - - ">="
149
+ - - "~>"
150
150
  - !ruby/object:Gem::Version
151
- version: '3.2'
151
+ version: '2.1'
152
152
  - !ruby/object:Gem::Dependency
153
153
  name: sprockets-rails
154
154
  requirement: !ruby/object:Gem::Requirement
@@ -178,6 +178,8 @@ files:
178
178
  - ".gitignore"
179
179
  - ".rspec"
180
180
  - ".rubocop.yml"
181
+ - ".rubocop_metrics_todo.yml"
182
+ - ".rubocop_todo.yml"
181
183
  - ".travis.yml"
182
184
  - CHANGELOG.md
183
185
  - Gemfile
@@ -249,8 +251,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
249
251
  - !ruby/object:Gem::Version
250
252
  version: '0'
251
253
  requirements: []
252
- rubyforge_project:
253
- rubygems_version: 2.7.6
254
+ rubygems_version: 3.0.3
254
255
  signing_key:
255
256
  specification_version: 4
256
257
  summary: OGAT Style Gem