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 +4 -4
- data/CHANGELOG.md +7 -2
- data/Gemfile.lock +1 -1
- data/README.md +1 -1
- data/lib/dep_upgrade/command.rb +6 -5
- data/lib/dep_upgrade/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7efaec81267b2faef10eb3d3cd667609c0e945adcbdac4341813d36924686913
|
|
4
|
+
data.tar.gz: dcb534aab46c5f969acb42500bace1cc27f0e52015edb2aa44300464104c9782
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 614b9f253fbd42d0f2c819332cf9b3816c880498c0ebc96752fad9356c0efcb1345006ba7d8d27a9149c35646c971629292cd686fcc84e6f0a2b930ab1411794
|
|
7
|
+
data.tar.gz: 65f400e3193c22c4f84e31488cd07807618b7c2fbc4738eaf3f5ad413a2e1d0f5a566334383a41aeb5b8b35659106591ad0ab8e20f521f3a0438d7d9a9d38add
|
data/CHANGELOG.md
CHANGED
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
# Change Log
|
|
2
|
-
## [
|
|
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.
|
|
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)
|
data/Gemfile.lock
CHANGED
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/
|
|
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
|
|
data/lib/dep_upgrade/command.rb
CHANGED
|
@@ -115,10 +115,8 @@ module DepUpgrade
|
|
|
115
115
|
end
|
|
116
116
|
.compact
|
|
117
117
|
.map do |gem|
|
|
118
|
-
[
|
|
119
|
-
|
|
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
|
|
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
|
|
data/lib/dep_upgrade/version.rb
CHANGED
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.
|
|
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-
|
|
11
|
+
date: 2017-12-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|