travis_check_rubies 0.5.0 → 0.5.1

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: 15957908f03062b38d455967278099f4dfe2c238b776dd7b857085b65d8a2874
4
- data.tar.gz: c669a1631123c15e642b57c62a1c50a0ce9a00aa538a9382604fb4f57680f7d2
3
+ metadata.gz: 8cb26b63992baa996d1922cdee91e74f37ed36bc542458fb6325f85063167560
4
+ data.tar.gz: 7e0036257b4ae7cc6c8d11ed1f2ae9b5fa296d79df14f7510276e8c14341474b
5
5
  SHA512:
6
- metadata.gz: 860cbc5c33ecf76f270430024f3c0d6e352431b0b095b7fb011214a57e60f5b0b57297b009f5792b6795968430458d8aeeb5ac6edd77350e9d465a754b50ff42
7
- data.tar.gz: '08a6fe9982b9d32b29b063585574655d6f24ec5e4539ae079d61f8e1c0d0ad6f0a568ab5b53c284b16c452401d997bad4723de3d29576445b39ac6473b8cfe10'
6
+ metadata.gz: 51f56606429e36b3a081906604da422a2e174ab612fbfbac5e094e331bc8e9fe174cc59c9d57c59966ce71144318a44dbfa091c02c6aa7f05ea25da0dc126d19
7
+ data.tar.gz: 99e6f2f37440bcf7cc415ddefffa98ef4d7bd70aa7acd6b29544d6d1a7e43309176318f4a4248724ce318ece24a7d678ca0fede5d067ca08acd01595161f9b36
@@ -3,11 +3,12 @@ dist: trusty
3
3
  language: ruby
4
4
  rvm:
5
5
  - '2.3.8'
6
- - '2.4.7'
7
- - '2.5.6'
8
- - '2.6.4'
6
+ - '2.4.10'
7
+ - '2.5.8'
8
+ - '2.6.6'
9
+ - '2.7.1'
9
10
  - 'jruby-9.1.17.0'
10
- - 'jruby-9.2.7.0'
11
+ - 'jruby-9.2.11.1'
11
12
  before_script:
12
13
  - env
13
14
  - rvm debug
@@ -1,4 +1,4 @@
1
- Copyright (c) 2017-2019 Ivan Kuchin
1
+ Copyright (c) 2017-2020 Ivan Kuchin
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
@@ -43,4 +43,4 @@ bundle exec travis_check_rubies
43
43
 
44
44
  ## Copyright
45
45
 
46
- Copyright (c) 2017-2019 Ivan Kuchin. See [LICENSE.txt](LICENSE.txt) for details.
46
+ Copyright (c) 2017-2020 Ivan Kuchin. See [LICENSE.txt](LICENSE.txt) for details.
@@ -26,6 +26,7 @@ module TravisCheckRubies
26
26
  node = rvm_node.children.find{ |node| suggestion.from == node.to_ruby }
27
27
 
28
28
  lines[node.start_line] = suggestion.choices.map do |version|
29
+ log_change suggestion.from, version, 'rvm'
29
30
  line_with_version_change(lines, node, suggestion.from, version)
30
31
  end.join('')
31
32
  end
@@ -37,9 +38,14 @@ module TravisCheckRubies
37
38
 
38
39
  node = fetch_node_mapping(entry_node, 'rvm')
39
40
 
41
+ log_change suggestion.from, suggestion.to, 'matrix'
40
42
  lines[node.start_line] = line_with_version_change(lines, node, suggestion.from, suggestion.to)
41
43
  end
42
44
 
45
+ def log_change(from, to, section)
46
+ puts "#{from} -> #{to} \# #{section} section"
47
+ end
48
+
43
49
  def root
44
50
  @root ||= Psych::Parser.new(Psych::TreeBuilder.new).parse(content).handler.root.children[0].children[0]
45
51
  end
@@ -2,10 +2,10 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'travis_check_rubies'
5
- s.version = '0.5.0'
5
+ s.version = '0.5.1'
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
- s.homepage = "http://github.com/toy/#{s.name}"
8
+ s.homepage = "https://github.com/toy/#{s.name}"
9
9
  s.authors = ['Ivan Kuchin']
10
10
  s.license = 'MIT'
11
11
 
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.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ivan Kuchin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-09-01 00:00:00.000000000 Z
11
+ date: 2020-04-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fspath
@@ -78,12 +78,12 @@ files:
78
78
  - spec/travis_check_rubies/updater_spec.rb
79
79
  - spec/travis_check_rubies/version_spec.rb
80
80
  - travis_check_rubies.gemspec
81
- homepage: http://github.com/toy/travis_check_rubies
81
+ homepage: https://github.com/toy/travis_check_rubies
82
82
  licenses:
83
83
  - MIT
84
84
  metadata:
85
85
  bug_tracker_uri: https://github.com/toy/travis_check_rubies/issues
86
- documentation_uri: https://www.rubydoc.info/gems/travis_check_rubies/0.5.0
86
+ documentation_uri: https://www.rubydoc.info/gems/travis_check_rubies/0.5.1
87
87
  source_code_uri: https://github.com/toy/travis_check_rubies
88
88
  post_install_message:
89
89
  rdoc_options: []
@@ -100,7 +100,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
100
100
  - !ruby/object:Gem::Version
101
101
  version: '0'
102
102
  requirements: []
103
- rubygems_version: 3.0.6
103
+ rubygems_version: 3.1.2
104
104
  signing_key:
105
105
  specification_version: 4
106
106
  summary: Are you using the latest rubies in .travis.yml?