gemr 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +1 -1
- data/lib/gemr/rubygems/versions.rb +1 -1
- data/lib/gemr/version.rb +1 -1
- metadata +8 -11
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 349474b66f4e52ce02fcd6094afee6173126de2cce4624517067afa360975b94
|
4
|
+
data.tar.gz: 54678cb416ea16887ade1e7ad902f01d091e75a858175842131b4eb4d2ce7ee6
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: cabe45567a3759e38d7713a94dde8b6e2249fba0340a989601dadc962e46b496d46a03c08ac71515270ede3f078c6212b5c982eb1b658b8f2b2adb6229fb50d0
|
7
|
+
data.tar.gz: 531b12e5e1396318b2c8080aabf38084c39d9a87f7a0c70bc7834cbd0a9cbe0f58591b59c878bc530a0aa2583f91ab457d7e74120e5030ac3ef7565044fbc9c1
|
data/Gemfile
CHANGED
@@ -6,7 +6,7 @@ module Gemr
|
|
6
6
|
puts "\nFinding latest gem versions...\n\n"
|
7
7
|
gems.each do |g|
|
8
8
|
begin
|
9
|
-
response = open("https://rubygems.org/api/v1/versions/#{g}.json").read
|
9
|
+
response = URI.open("https://rubygems.org/api/v1/versions/#{g}.json").read
|
10
10
|
versions = JSON.parse(response)
|
11
11
|
latest_version = versions.first["number"]
|
12
12
|
puts "gem \"#{g}\", \"~> #{latest_version}\""
|
data/lib/gemr/version.rb
CHANGED
metadata
CHANGED
@@ -1,15 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gemr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.0.6
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Kenny Johnston
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2020-03-23 00:00:00.000000000 Z
|
13
12
|
dependencies: []
|
14
13
|
description: A quick gem for displaying the latest versions of gems.
|
15
14
|
email:
|
@@ -19,7 +18,7 @@ executables:
|
|
19
18
|
extensions: []
|
20
19
|
extra_rdoc_files: []
|
21
20
|
files:
|
22
|
-
- .gitignore
|
21
|
+
- ".gitignore"
|
23
22
|
- Gemfile
|
24
23
|
- README.md
|
25
24
|
- Rakefile
|
@@ -30,26 +29,24 @@ files:
|
|
30
29
|
- lib/gemr/version.rb
|
31
30
|
homepage: https://github.com/kjohnston/gemr
|
32
31
|
licenses: []
|
32
|
+
metadata: {}
|
33
33
|
post_install_message:
|
34
34
|
rdoc_options: []
|
35
35
|
require_paths:
|
36
36
|
- lib
|
37
37
|
required_ruby_version: !ruby/object:Gem::Requirement
|
38
|
-
none: false
|
39
38
|
requirements:
|
40
|
-
- -
|
39
|
+
- - ">="
|
41
40
|
- !ruby/object:Gem::Version
|
42
41
|
version: '0'
|
43
42
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
44
|
-
none: false
|
45
43
|
requirements:
|
46
|
-
- -
|
44
|
+
- - ">="
|
47
45
|
- !ruby/object:Gem::Version
|
48
46
|
version: '0'
|
49
47
|
requirements: []
|
50
|
-
|
51
|
-
rubygems_version: 1.8.15
|
48
|
+
rubygems_version: 3.0.6
|
52
49
|
signing_key:
|
53
|
-
specification_version:
|
50
|
+
specification_version: 4
|
54
51
|
summary: A quick gem for displaying the latest versions of gems.
|
55
52
|
test_files: []
|