Skip to content

Commit ef15b6e

Browse files
committed
#30 updated versions
1 parent 97bc608 commit ef15b6e

File tree

7 files changed

+79
-38
lines changed

7 files changed

+79
-38
lines changed

.rubocop.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ AllCops:
33
- 'bin/**/*'
44
- 'assets/**/*'
55
DisplayCopNames: true
6+
TargetRubyVersion: 2.3
67

78
Lint/RescueException:
89
Enabled: false
@@ -14,5 +15,5 @@ Metrics/AbcSize:
1415
Max: 60
1516
Metrics/BlockLength:
1617
Max: 50
17-
Style/MultilineMethodCallIndentation:
18+
Layout/MultilineMethodCallIndentation:
1819
Enabled: false

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
language: ruby
22
rvm:
3-
- 2.2.2
3+
- 2.6.0
44
branches:
55
only:
66
- master
@@ -10,6 +10,6 @@ script:
1010
- set -e
1111
- git config --global user.email "test@example.com"
1212
- git config --global user.name "Test"
13-
- rake
13+
- bundle exec rake
1414
- ./test.sh
1515

Gemfile

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,24 @@
1+
# frozen_string_literal: true
2+
3+
# Copyright (c) 2014-2019 Yegor Bugayenko
4+
#
5+
# Permission is hereby granted, free of charge, to any person obtaining a copy
6+
# of this software and associated documentation files (the 'Software'), to deal
7+
# in the Software without restriction, including without limitation the rights
8+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
# copies of the Software, and to permit persons to whom the Software is
10+
# furnished to do so, subject to the following conditions:
11+
#
12+
# The above copyright notice and this permission notice shall be included in all
13+
# copies or substantial portions of the Software.
14+
#
15+
# THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
# SOFTWARE.
22+
123
source 'https://rubygems.org'
224
gemspec

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
[![Build Status](https://travis-ci.org/yegor256/jekyll-github-deploy.svg)](https://travis-ci.org/yegor256/jekyll-github-deploy)
88
[![Gem Version](https://badge.fury.io/rb/jgd.svg)](http://badge.fury.io/rb/jgd)
9-
[![Maintainability](https://api.codeclimate.com/v1/badges/591bc6ae3097ea4b28be/maintainability)](https://codeclimate.com/github/yegor256/jekyll-github-deploy/maintainability)
109
[![Hits-of-Code](https://hitsofcode.com/github/yegor256/jekyll-github-deploy)](https://hitsofcode.com/view/github/yegor256/jekyll-github-deploy)
1110
[![License](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/yegor256/jekyll-github-deploy/blob/master/LICENSE.txt)
1211

Rakefile

Lines changed: 4 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
# encoding: utf-8
2-
#
3-
# Copyright (c) 2014 TechnoPark Corp.
4-
# Copyright (c) 2014 Yegor Bugayenko
1+
# frozen_string_literal: true
2+
3+
# Copyright (c) 2014-2019 Yegor Bugayenko
54
#
65
# Permission is hereby granted, free of charge, to any person obtaining a copy
76
# of this software and associated documentation files (the 'Software'), to deal
@@ -23,7 +22,6 @@
2322

2423
require 'rubygems'
2524
require 'rake'
26-
require 'rdoc'
2725
require 'rake/clean'
2826

2927
CLEAN = FileList['coverage', 'rdoc']
@@ -36,27 +34,9 @@ def version
3634
Gem::Specification.load(Dir['*.gemspec'].first).version
3735
end
3836

39-
task default: [:clean, :test, :rubocop]
40-
41-
require 'rake/testtask'
42-
desc 'Run all unit tests'
43-
Rake::TestTask.new(:test) do |test|
44-
test.libs << 'lib' << 'test'
45-
test.pattern = 'test/**/test_*.rb'
46-
test.verbose = false
47-
end
48-
49-
require 'rdoc/task'
50-
desc 'Build RDoc documentation'
51-
Rake::RDocTask.new do |rdoc|
52-
rdoc.rdoc_dir = 'rdoc'
53-
rdoc.title = "#{name} #{version}"
54-
rdoc.rdoc_files.include('README*')
55-
rdoc.rdoc_files.include('lib/**/*.rb')
56-
end
37+
task default: %i[clean rubocop]
5738

5839
require 'rubocop/rake_task'
59-
desc 'Run RuboCop on all directories'
6040
RuboCop::RakeTask.new(:rubocop) do |task|
6141
task.fail_on_error = true
6242
task.requires << 'rubocop-rspec'

bin/jgd

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,25 @@
11
#!/usr/bin/env ruby
2+
#
3+
# Copyright (c) 2014-2019 Yegor Bugayenko
4+
#
5+
# Permission is hereby granted, free of charge, to any person obtaining a copy
6+
# of this software and associated documentation files (the 'Software'), to deal
7+
# in the Software without restriction, including without limitation the rights
8+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
# copies of the Software, and to permit persons to whom the Software is
10+
# furnished to do so, subject to the following conditions:
11+
#
12+
# The above copyright notice and this permission notice shall be included in all
13+
# copies or substantial portions of the Software.
14+
#
15+
# THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
# SOFTWARE.
22+
223
STDOUT.sync = true
324

425
require 'trollop'

jgd.gemspec

Lines changed: 28 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,49 @@
1-
# coding: utf-8
1+
# frozen_string_literal: true
2+
3+
# Copyright (c) 2014-2019 Yegor Bugayenko
4+
#
5+
# Permission is hereby granted, free of charge, to any person obtaining a copy
6+
# of this software and associated documentation files (the 'Software'), to deal
7+
# in the Software without restriction, including without limitation the rights
8+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
# copies of the Software, and to permit persons to whom the Software is
10+
# furnished to do so, subject to the following conditions:
11+
#
12+
# The above copyright notice and this permission notice shall be included in all
13+
# copies or substantial portions of the Software.
14+
#
15+
# THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
# SOFTWARE.
22+
223
require 'English'
24+
325
Gem::Specification.new do |s|
426
s.specification_version = 2 if s.respond_to? :specification_version=
527
if s.respond_to? :required_rubygems_version=
628
s.required_rubygems_version = Gem::Requirement.new('>= 0')
729
end
830
s.rubygems_version = '2.2.2'
9-
s.required_ruby_version = '>= 1.9.3'
31+
s.required_ruby_version = '>= 2.3'
1032
s.name = 'jgd'
1133
s.version = '2.0.snapshot'
1234
s.license = 'MIT'
1335
s.summary = 'Jekyll Github Deploy'
1436
s.description = 'Automated deployment of your Jekyll blog to Github Pages'
1537
s.authors = ['Yegor Bugayenko']
16-
s.email = 'yegor@tpc2.com'
38+
s.email = 'yegor256@gmail.com'
1739
s.homepage = 'http://github.com/yegor256/jekyll-github-deploy'
1840
s.files = `git ls-files`.split($RS)
1941
s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) }
2042
s.test_files = s.files.grep(%r{^(test|spec|features)/})
2143
s.rdoc_options = ['--charset=UTF-8']
2244
s.extra_rdoc_files = ['README.md', 'LICENSE.txt']
23-
s.add_runtime_dependency('trollop', '2.1.2')
2445
s.add_runtime_dependency('jekyll', '>=1.5.1')
25-
s.add_development_dependency 'coveralls', '0.7.0'
26-
s.add_development_dependency 'rdoc', '3.11'
27-
s.add_development_dependency 'minitest', '5.4.0'
28-
s.add_development_dependency 'rubocop', '0.46.0'
29-
s.add_development_dependency 'rubocop-rspec', '1.8.0'
30-
s.add_development_dependency 'rspec-rails', '2.13'
46+
s.add_runtime_dependency('trollop', '2.9.9')
47+
s.add_development_dependency 'rubocop', '0.62.0'
48+
s.add_development_dependency 'rubocop-rspec', '1.31.0'
3149
end

0 commit comments

Comments
 (0)