From 1618dbdefd417b9be5d9acd6322a442713c10c24 Mon Sep 17 00:00:00 2001 From: Yegor Bugayenko Date: Sun, 3 Jan 2016 10:34:07 +0200 Subject: [PATCH] year updated to 2016 --- .travis.yml | 5 ++++- Gruntfile.js | 15 ++++++++++++--- LICENSE | 2 +- package.json | 1 + scss/_defs.scss | 2 +- scss/_forms.scss | 2 +- scss/_grid.scss | 2 +- scss/_headings.scss | 2 +- scss/_pre.scss | 2 +- scss/_responsive.scss | 12 ++++++------ scss/_tables.scss | 4 ++-- scss/_typography.scss | 2 +- scss/main.scss | 2 +- 13 files changed, 33 insertions(+), 20 deletions(-) diff --git a/.travis.yml b/.travis.yml index 8794c05..68f2a96 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,8 +3,11 @@ git: depth: 10 node_js: - "0.12" +addons: + apt: + packages: + - ruby before_install: - - sudo apt-get install -y ruby - npm install -g grunt-cli - gem install --no-ri compass - gem install --no-ri scss-lint diff --git a/Gruntfile.js b/Gruntfile.js index 4c03998..1bcfb37 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -1,7 +1,7 @@ /** * The MIT License (MIT) * - * Copyright (c) 2015 Yegor Bugayenko + * Copyright (c) 2015-2016 Yegor Bugayenko * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal @@ -72,14 +72,23 @@ module.exports = function (grunt) { config: '.scss-lint.yml', colorizeOutput: true }, + }, + shell: { + target: { + command: 'grep -q -r 2015-' + new Date().getFullYear() + + ' --include "*.scss"' + + ' --include "*.js"' + + ' .' + } } } ); require('load-grunt-tasks') (grunt, { scope: 'devDependencies' }); grunt.loadNpmTasks('grunt-contrib-sass'); grunt.loadNpmTasks('grunt-scss-lint'); - grunt.registerTask('default', ['scsslint', 'sass:dist']); - grunt.registerTask('rultor', ['scsslint', 'sass:dist', 'sass:uncompressed']); + grunt.loadNpmTasks('grunt-shell'); + grunt.registerTask('default', ['scsslint', 'sass:dist', 'shell']); + grunt.registerTask('rultor', ['scsslint', 'sass:dist', 'sass:uncompressed', 'shell']); grunt.registerTask('dev', ['scsslint', 'sass:dev', 'watch']); } diff --git a/LICENSE b/LICENSE index 1fd16af..4c9250e 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2015 Yegor Bugayenko +Copyright (c) 2015-2016 Yegor Bugayenko Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/package.json b/package.json index 7e65198..25482e1 100644 --- a/package.json +++ b/package.json @@ -30,6 +30,7 @@ "homepage": "https://github.com/yegor256/tacit", "devDependencies": { "grunt": "0.4.5", + "grunt-shell": "1.1.2", "grunt-contrib-sass": "0.9.2", "grunt-contrib-watch": "0.6.1", "grunt-scss-lint": "0.3.8", diff --git a/scss/_defs.scss b/scss/_defs.scss index 8565ba8..1b00adb 100644 --- a/scss/_defs.scss +++ b/scss/_defs.scss @@ -1,6 +1,6 @@ // The MIT License (MIT) // -// Copyright (c) 2015 Yegor Bugayenko +// Copyright (c) 2015-2016 Yegor Bugayenko // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/scss/_forms.scss b/scss/_forms.scss index 7056523..010e077 100644 --- a/scss/_forms.scss +++ b/scss/_forms.scss @@ -1,6 +1,6 @@ // The MIT License (MIT) // -// Copyright (c) 2015 Yegor Bugayenko +// Copyright (c) 2015-2016 Yegor Bugayenko // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/scss/_grid.scss b/scss/_grid.scss index a566743..110dd27 100644 --- a/scss/_grid.scss +++ b/scss/_grid.scss @@ -1,6 +1,6 @@ // The MIT License (MIT) // -// Copyright (c) 2015 Yegor Bugayenko +// Copyright (c) 2015-2016 Yegor Bugayenko // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/scss/_headings.scss b/scss/_headings.scss index 411b1c8..3fc2b3e 100644 --- a/scss/_headings.scss +++ b/scss/_headings.scss @@ -1,6 +1,6 @@ // The MIT License (MIT) // -// Copyright (c) 2015 Yegor Bugayenko +// Copyright (c) 2015-2016 Yegor Bugayenko // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/scss/_pre.scss b/scss/_pre.scss index 054d75e..cb6f252 100644 --- a/scss/_pre.scss +++ b/scss/_pre.scss @@ -1,6 +1,6 @@ // The MIT License (MIT) // -// Copyright (c) 2015 Yegor Bugayenko +// Copyright (c) 2015-2016 Yegor Bugayenko // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/scss/_responsive.scss b/scss/_responsive.scss index 6a46b8a..efc9fe1 100644 --- a/scss/_responsive.scss +++ b/scss/_responsive.scss @@ -1,6 +1,6 @@ // The MIT License (MIT) // -// Copyright (c) 2015 Yegor Bugayenko +// Copyright (c) 2015-2016 Yegor Bugayenko // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal @@ -24,30 +24,30 @@ body { padding: $em; } - + article { border-radius: 0; margin: -$em; padding: $em; } - + textarea, input, select { max-width: 100%; } - + fieldset { // The following line fixes fieldset overflow in webkit browsers. // For further info see: // http://stackoverflow.com/questions/17408815/fieldset-resizes-wrong-appears-to-have-unremovable-min-width-min-content/17863685#17863685 min-width: 0; } - + section { width: auto; } - + fieldset, x:-moz-any-link { // The following lines fixes fieldset overflow bug in Firefox browser. diff --git a/scss/_tables.scss b/scss/_tables.scss index 594fb16..984309a 100644 --- a/scss/_tables.scss +++ b/scss/_tables.scss @@ -1,6 +1,6 @@ // The MIT License (MIT) // -// Copyright (c) 2015 Yegor Bugayenko +// Copyright (c) 2015-2016 Yegor Bugayenko // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal @@ -36,7 +36,7 @@ thead th { border-bottom-width: .12 * $em; padding-bottom: .35 * $em; } - + table { display: block; max-width: 100%; diff --git a/scss/_typography.scss b/scss/_typography.scss index 3a3b167..5a154d5 100644 --- a/scss/_typography.scss +++ b/scss/_typography.scss @@ -1,6 +1,6 @@ // The MIT License (MIT) // -// Copyright (c) 2015 Yegor Bugayenko +// Copyright (c) 2015-2016 Yegor Bugayenko // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/scss/main.scss b/scss/main.scss index 875bbf4..4a70b80 100644 --- a/scss/main.scss +++ b/scss/main.scss @@ -1,6 +1,6 @@ // The MIT License (MIT) // -// Copyright (c) 2015 Yegor Bugayenko +// Copyright (c) 2015-2016 Yegor Bugayenko // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal