govuk_frontend_toolkit 1.6.0 → 1.6.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,46 @@
1
+ # 1.6.1
2
+
3
+ - Fix visited link colour to be a colour which passes contrast
4
+
5
+ # 1.6.0
6
+
7
+ - abstraction of the core typography mixins into single core mixin
8
+ - reference to composer module added to README
9
+ - selection buttons added to manifest for localSpecRunner
10
+ - test for sass compilation
11
+ - fix for selection buttons
12
+
13
+ # 1.5.0
14
+
15
+ - polyfill for Function.prototype.bind added
16
+ - selection-buttons script added
17
+ - local runner added for Jasmine tests
18
+
19
+ # 1.4.0
20
+
21
+ - New phase banner styles
22
+ - Removed trailing commas
23
+ - Redrawn important icon
24
+
25
+ # 1.3.0
26
+
27
+ - Adds weighting to multivariant testing
28
+
29
+ # 1.2.0
30
+
31
+ - add three quarters variable to measurements
32
+ - improvements to CSS3 mixins
33
+ - set inner block mixin to use either padding or margin
34
+ - increase button padding to match alphagov/static defaults
35
+
36
+ # 1.1.0
37
+
38
+ Add icons from alphagov/static
39
+
40
+ # 1.0.1
41
+
42
+ Fix contrast on phase banner
43
+
44
+ # 1.0.0
45
+
46
+ Considered stable
@@ -0,0 +1 @@
1
+ 1.6.1
@@ -93,7 +93,7 @@ $white: #fff;
93
93
  $link-colour: $govuk-blue;
94
94
  $link-active-colour: #2e8aca;
95
95
  $link-hover-colour: #2e8aca;
96
- $link-visited-colour: #2e8aca;
96
+ $link-visited-colour: #4c2c92;
97
97
  $button-colour: #00823b;
98
98
  $text-colour: $black; // Standard text colour
99
99
  $secondary-text-colour: $grey-1; // Section headers, help text etc.
@@ -4,7 +4,7 @@ require "govuk_frontend_toolkit/version"
4
4
 
5
5
  Gem::Specification.new do |s|
6
6
  s.name = "govuk_frontend_toolkit"
7
- s.version = GovUKFrontendToolkit::VERSION
7
+ s.version = GovUKFrontendToolkit.toolkit_version
8
8
  s.summary = 'Tools for building frontend applications'
9
9
  s.authors = ['Bradley Wright']
10
10
  s.email = 'bradley.wright@digital.cabinet-office.gov.uk'
data/jenkins.sh CHANGED
@@ -1,8 +1,34 @@
1
1
  #!/bin/sh
2
2
  set -e
3
- git submodule init
4
- git submodule update
3
+
4
+ # Checkout master as we are currently have an individual commit checked out on
5
+ # a detached tree. This means when we commit later it will be on a branch
6
+ git checkout master
7
+ git reset --hard origin/master
8
+
9
+ # Init the submodule and checkout the revision pinned in `.gitmodules`
10
+ git submodule update --init
11
+
12
+ # The version of the toolkit defined by the pinned submodule
13
+ PINNED_SUBMODULE_VERSION=`cat app/assets/VERSION.txt`
14
+
15
+ # Force the submodule to pull the latest and checkout origin/master
16
+ git submodule foreach git pull origin master
17
+
18
+ # The version of the toolkit defined in the submodules master branch
19
+ NEW_SUBMODULE_VERSION=`cat app/assets/VERSION.txt`
20
+
21
+ # Install gem dependencies, run tests, publish gem
5
22
  rm -f Gemfile.lock
6
23
  bundle install --path "${HOME}/bundles/${JOB_NAME}"
7
24
  bundle exec rake
25
+
26
+ # If the submodule has a new version string
27
+ if [ "$PINNED_SUBMODULE_VERSION" != "$NEW_SUBMODULE_VERSION" ]; then
28
+ # Commit the updated submodule and push it to origin
29
+ git commit -am "Bump to version $PINNED_SUBMODULE_VERSION"
30
+ git push origin master
31
+ fi
32
+
33
+ # Publish the new gem
8
34
  bundle exec rake publish_gem
@@ -1,3 +1,5 @@
1
1
  module GovUKFrontendToolkit
2
- VERSION = "1.6.0"
2
+ def self.toolkit_version
3
+ File.read(File.expand_path('../../app/assets/VERSION.txt', File.dirname(__FILE__)))
4
+ end
3
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: govuk_frontend_toolkit
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.0
4
+ version: 1.6.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-09-03 00:00:00.000000000 Z
12
+ date: 2014-09-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
16
- requirement: &19233640 !ruby/object:Gem::Requirement
16
+ requirement: &4863440 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 3.1.0
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *19233640
24
+ version_requirements: *4863440
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: sass
27
- requirement: &19322160 !ruby/object:Gem::Requirement
27
+ requirement: &4860580 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 3.2.0
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *19322160
35
+ version_requirements: *4860580
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: gem_publisher
38
- requirement: &19320800 !ruby/object:Gem::Requirement
38
+ requirement: &4913300 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - =
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: 1.3.1
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *19320800
46
+ version_requirements: *4913300
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: rake
49
- requirement: &19319600 !ruby/object:Gem::Requirement
49
+ requirement: &4912360 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - =
@@ -54,7 +54,7 @@ dependencies:
54
54
  version: 0.9.2.2
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *19319600
57
+ version_requirements: *4912360
58
58
  description:
59
59
  email: bradley.wright@digital.cabinet-office.gov.uk
60
60
  executables: []
@@ -75,10 +75,12 @@ files:
75
75
  - lib/govuk_frontend_toolkit/version.rb
76
76
  - app/assets/.gitignore
77
77
  - app/assets/.travis.yml
78
+ - app/assets/CHANGELOG.md
78
79
  - app/assets/CONTRIBUTING.md
79
80
  - app/assets/Gruntfile.js
80
81
  - app/assets/LICENCE
81
82
  - app/assets/README.md
83
+ - app/assets/VERSION.txt
82
84
  - app/assets/images/accordian-arrow-2x.png
83
85
  - app/assets/images/accordian-arrow.png
84
86
  - app/assets/images/arrow-sprite.png
@@ -252,7 +254,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
252
254
  version: '0'
253
255
  segments:
254
256
  - 0
255
- hash: -4285435164895981672
257
+ hash: -126955949964899397
256
258
  required_rubygems_version: !ruby/object:Gem::Requirement
257
259
  none: false
258
260
  requirements:
@@ -261,7 +263,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
261
263
  version: '0'
262
264
  segments:
263
265
  - 0
264
- hash: -4285435164895981672
266
+ hash: -126955949964899397
265
267
  requirements: []
266
268
  rubyforge_project:
267
269
  rubygems_version: 1.8.11