travis_check_rubies 0.2.2 → 0.2.3
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 +4 -4
- data/.travis.yml +3 -3
- data/bin/travis_check_rubies +11 -1
- data/travis_check_rubies.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 705f3daf747e41d10b3741675911bc8e4e8c2a0b
|
|
4
|
+
data.tar.gz: e6f8c836ab2219974821ebbf9d574cb85a75e496
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ef52802f01db0665985b173ad44a12e01a5c9ad86f338d2123a4a5f3c3cccace827700f8958ba2b51a946076f10cc78303c3444ef8858c758d017da9c6ebd697
|
|
7
|
+
data.tar.gz: 70c2ad0b29ca21d23d5180c8beb9527c8ccf747537724d986a0c5091f82c169d3e535c7558023c07e6fdf5bca1bda2c5e8964af59f5658e179c7e1f2a09af9fc
|
data/.travis.yml
CHANGED
data/bin/travis_check_rubies
CHANGED
|
@@ -2,10 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
require 'travis_check_rubies/travis_yml'
|
|
4
4
|
require 'optparse'
|
|
5
|
+
require 'yaml'
|
|
5
6
|
|
|
6
|
-
|
|
7
|
+
CONFIG_FILE = '.travis_check_rubies.yml'
|
|
8
|
+
|
|
9
|
+
options = if File.exist?(CONFIG_FILE)
|
|
10
|
+
yaml = YAML.load_file(CONFIG_FILE) || {}
|
|
11
|
+
fail "#{CONFIG_FILE} doesn't contain options hash" unless yaml.is_a?(Hash)
|
|
12
|
+
yaml.map{ |key, value| [key.to_sym, value] }.to_h
|
|
13
|
+
else
|
|
14
|
+
{}
|
|
15
|
+
end
|
|
7
16
|
|
|
8
17
|
op = OptionParser.new
|
|
18
|
+
op.banner += "\nOptions can be also specified in .travis_check_rubies.yml"
|
|
9
19
|
op.on('--parts N|M..N', 'Match updates by how many parts (0..2 by default)') do |parts|
|
|
10
20
|
options[:parts] = case parts
|
|
11
21
|
when /\A\d+\z/
|
data/travis_check_rubies.gemspec
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Gem::Specification.new do |s|
|
|
4
4
|
s.name = 'travis_check_rubies'
|
|
5
|
-
s.version = '0.2.
|
|
5
|
+
s.version = '0.2.3'
|
|
6
6
|
s.summary = 'Are you using the latest rubies in .travis.yml?'
|
|
7
7
|
s.description = 'Check if `.travis.yml` specifies latest available rubies from listed on https://rubies.travis-ci.org and propose changes'
|
|
8
8
|
s.homepage = "http://github.com/toy/#{s.name}"
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: travis_check_rubies
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ivan Kuchin
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-
|
|
11
|
+
date: 2017-09-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: fspath
|
|
@@ -77,7 +77,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
77
77
|
version: '0'
|
|
78
78
|
requirements: []
|
|
79
79
|
rubyforge_project:
|
|
80
|
-
rubygems_version: 2.6.
|
|
80
|
+
rubygems_version: 2.6.13
|
|
81
81
|
signing_key:
|
|
82
82
|
specification_version: 4
|
|
83
83
|
summary: Are you using the latest rubies in .travis.yml?
|