dep_upgrade 0.2.0 → 0.3.0

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: e7097a4a3ff76a5c723ea01ba53e0437d65904e53392b261044525126e481e18
4
- data.tar.gz: 75a3e741f8a653ddf70ce67e19ea42183aa1430bdca8ccdf3aaeb21f99d48a83
3
+ metadata.gz: 7efaec81267b2faef10eb3d3cd667609c0e945adcbdac4341813d36924686913
4
+ data.tar.gz: dcb534aab46c5f969acb42500bace1cc27f0e52015edb2aa44300464104c9782
5
5
  SHA512:
6
- metadata.gz: ad6c8ddb7b123ef9501a9269aacf8c82236d400d5909f1533da5f3d16ac3a51007ba2aeb63b6081396f8a7a2bbd710f759a0f1693a20c8344623e070b4e48f80
7
- data.tar.gz: f11c45ce9eb6e461b04b9eac84a58b10a01de4ba989d09873b227f30882bc2f221cbf235233fab3a08ec3ad4e0ca31ad45de71d07364f868b84d8281ebc19c59
6
+ metadata.gz: 614b9f253fbd42d0f2c819332cf9b3816c880498c0ebc96752fad9356c0efcb1345006ba7d8d27a9149c35646c971629292cd686fcc84e6f0a2b930ab1411794
7
+ data.tar.gz: 65f400e3193c22c4f84e31488cd07807618b7c2fbc4738eaf3f5ad413a2e1d0f5a566334383a41aeb5b8b35659106591ad0ab8e20f521f3a0438d7d9a9d38add
@@ -1,7 +1,12 @@
1
1
  # Change Log
2
- ## [0.2.0](https://github.com/blacktangent/dep_upgrade/tree/0.2.0)
2
+ ## [v0.3.0](https://github.com/blacktangent/dep_upgrade/tree/v0.3.0)
3
3
 
4
- [Full Changelog](https://github.com/blacktangent/dep_upgrade/compare/v0.1.0...0.2.0)
4
+ [Full Changelog](https://github.com/blacktangent/dep_upgrade/compare/v0.2.0...v0.3.0)
5
+ * 2017-12-08 - Update gemnasium links in the summary [#5](https://github.com/blacktangent/dep_upgrade/pull/5)
6
+
7
+ ## [v0.2.0](https://github.com/blacktangent/dep_upgrade/tree/v0.2.0)
8
+
9
+ [Full Changelog](https://github.com/blacktangent/dep_upgrade/compare/v0.1.0...v0.2.0)
5
10
  * 2017-12-03 - Detect Gemfile, package.json and run commands accordingly [#4](https://github.com/blacktangent/dep_upgrade/pull/4)
6
11
 
7
12
  ## [v0.1.0](https://github.com/blacktangent/dep_upgrade/tree/v0.1.0)
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- dep_upgrade (0.2.0)
4
+ dep_upgrade (0.3.0)
5
5
  bundler
6
6
  bundler-audit
7
7
  rake
data/README.md CHANGED
@@ -59,7 +59,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
59
59
 
60
60
  ## Contributing
61
61
 
62
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/dep_upgrade. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
62
+ Bug reports and pull requests are welcome on GitHub at https://github.com/blacktangent/dep_upgrade. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
63
63
 
64
64
  ## License
65
65
 
@@ -115,10 +115,8 @@ module DepUpgrade
115
115
  end
116
116
  .compact
117
117
  .map do |gem|
118
- [
119
- "#{gem['name']} [(#{gem['from']} -> #{gem['to']})]",
120
- "(https://gemnasium.com/gems/#{gem['name']})"
121
- ].join
118
+ "#{gem['name']} [(#{gem['from']} -> #{gem['to']})]" \
119
+ "(https://gemnasium.com/gems/#{gem['name']}/versions/#{gem['to']})"
122
120
  end
123
121
  .each { |line| puts "* #{line}" }
124
122
  end
@@ -129,7 +127,10 @@ module DepUpgrade
129
127
  puts "\nyarn upgrade:"
130
128
  self.yarn_outdated_output["data"]["body"]
131
129
  .select { |package| package[1] != package[2] } # Current != Wanted
132
- .map { |package| "#{package[0]} (#{package[1]} -> #{package[2]})" }
130
+ .map do |package|
131
+ "#{package[0]} [(#{package[1]} -> #{package[2]})]" \
132
+ "(https://gemnasium.com/npms/#{package[0]}/versions/#{package[2]})"
133
+ end
133
134
  .each { |line| puts "* #{line}" }
134
135
  end
135
136
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DepUpgrade
4
- VERSION = "0.2.0"
4
+ VERSION = "0.3.0"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dep_upgrade
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Huiming Teo
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-12-03 00:00:00.000000000 Z
11
+ date: 2017-12-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler