bundleup 2.1.1 → 2.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 73c79a4ab3ab80dc2b0cc6f0ed3bf395668164f45da633c986499fad0a99cee3
4
- data.tar.gz: 814185883cbdfe1b562a8dbe2bc71168dbc077b63d2cddb4fd816d10b5b7ec4e
3
+ metadata.gz: 7d5e452355464a53bcf221f7fe0ea354d1ec89c08fcfd91a9989eba473b88d93
4
+ data.tar.gz: f5d1604efbe92c487e8783cca06ce38e1709d611121773062171b571f5eaa165
5
5
  SHA512:
6
- metadata.gz: 33542babb9e1178c43e0dc24c525bc2a43bc7d47cd889568265f1c7d8110605a9705769122cdbe29f6109cea1b6a153ddc82456ff2e3dbc0d73904a640c480f0
7
- data.tar.gz: 9fc8b7aeec1a01853dcc4799fdf289674167e1e6487609ca8095f80e40978c099fa9c6e5882b92fb81d667e76a83646812c552dce9a94e204e9cec949872b6de
6
+ metadata.gz: b0a295de79f9e7df972fb00ed879900c4d8ed654ce10496d0d37a820469e26bdc3e526d1fc5e53df5239aebcb692ff186f4b1c2ec37b3c5a76b5dc2a294facbb
7
+ data.tar.gz: 9ca7bd1d309c8b21b297ee61505d23d3a2db4b2e6bbb066061bb38b26c5b9c36d7ba33216b74a58499a02d77107b24df85eb904a1f5bd533f5d25777cf906350
data/LICENSE.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2020 Matt Brictson
3
+ Copyright (c) 2021 Matt Brictson
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # bundleup
2
2
 
3
3
  [![Gem Version](https://badge.fury.io/rb/bundleup.svg)](http://badge.fury.io/rb/bundleup)
4
- [![Build Status](https://travis-ci.com/mattbrictson/bundleup.svg?branch=main)](https://travis-ci.com/github/mattbrictson/bundleup)
4
+ [![Build Status](https://circleci.com/gh/mattbrictson/bundleup/tree/main.svg?style=shield)](https://app.circleci.com/pipelines/github/mattbrictson/bundleup?branch=main)
5
5
 
6
6
  **Run `bundleup` on a Ruby project containing a Gemfile to see what gem dependencies need updating.** It is a friendlier command-line interface to [Bundler’s][bundler] `bundle update` and `bundle outdated`.
7
7
 
@@ -19,7 +19,7 @@ Here it is in action:
19
19
  ## Requirements
20
20
 
21
21
  - Bundler 1.16 or later
22
- - Ruby 2.5 or later
22
+ - Ruby 2.6 or later
23
23
 
24
24
  ## Usage
25
25
 
@@ -12,13 +12,13 @@ module Bundleup
12
12
 
13
13
  def initialize(*paths)
14
14
  @original_contents = paths.each_with_object({}) do |path, hash|
15
- hash[path] = IO.read(path)
15
+ hash[path] = File.read(path)
16
16
  end
17
17
  end
18
18
 
19
19
  def restore
20
20
  original_contents.each do |path, contents|
21
- IO.write(path, contents)
21
+ File.write(path, contents)
22
22
  end
23
23
  end
24
24
 
@@ -4,7 +4,7 @@ module Bundleup
4
4
 
5
5
  def initialize(path="Gemfile")
6
6
  @path = path
7
- @contents = IO.read(path)
7
+ @contents = File.read(path)
8
8
  end
9
9
 
10
10
  def gem_comments
@@ -45,7 +45,7 @@ module Bundleup
45
45
  end
46
46
  raise "Can't rewrite version for #{gem_name}; it does not have a pin" unless found
47
47
 
48
- IO.write(path, contents)
48
+ File.write(path, contents)
49
49
  end
50
50
 
51
51
  attr_reader :contents
@@ -1,3 +1,3 @@
1
1
  module Bundleup
2
- VERSION = "2.1.1".freeze
2
+ VERSION = "2.2.1".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bundleup
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.1
4
+ version: 2.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Brictson
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-12-06 00:00:00.000000000 Z
11
+ date: 2021-10-13 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Use `bundleup` whenever you want to update the locked Gemfile dependencies
14
14
  of a Ruby project. It shows exactly what gems will be updated with color output
@@ -55,14 +55,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
55
55
  requirements:
56
56
  - - ">="
57
57
  - !ruby/object:Gem::Version
58
- version: 2.5.0
58
+ version: 2.6.0
59
59
  required_rubygems_version: !ruby/object:Gem::Requirement
60
60
  requirements:
61
61
  - - ">="
62
62
  - !ruby/object:Gem::Version
63
63
  version: '0'
64
64
  requirements: []
65
- rubygems_version: 3.1.4
65
+ rubygems_version: 3.2.26
66
66
  signing_key:
67
67
  specification_version: 4
68
68
  summary: A friendlier command-line interface for Bundler’s `update` and `outdated`