prospectus_gems 0.0.2 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circle-ruby +0 -1
- data/lib/prospectus_gems.rb +7 -5
- data/prospectus_gems.gemspec +2 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 255fd1d8a7fcd8704b2702a84fd8d4a976a9cdbb1cc6dcefde1ae0bace90c401
|
4
|
+
data.tar.gz: b2c320fe4366890eeca5fbb61c67928758db5b7af8e0b661db61d56667f848a3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a3acd9b9300853fe9d3a0184f63deab83b0beaad4faf0f62c7cc87465acfcfe11e2324d8a98d5724415958d57885f3f2dea409054f9f2a4933386ff8ff801c1d
|
7
|
+
data.tar.gz: e8b22bfb0bab88b746dc0ac6675acd8259cffc7bf16339185e3f18710050aa3955e7be5fd457cd60f5f67f5aa5b132ed37a7e908c5da77dc1bcb6231beab97b5
|
data/.circle-ruby
CHANGED
data/lib/prospectus_gems.rb
CHANGED
@@ -35,17 +35,19 @@ module ProspectusGems
|
|
35
35
|
private
|
36
36
|
|
37
37
|
def parse_deps
|
38
|
-
|
38
|
+
(runtime_deps + dev_deps).map do |x|
|
39
39
|
latest = Gemspec.lookup_gem(x.name)
|
40
40
|
current = x.match?(x.name, latest) ? latest : x.requirements_list
|
41
41
|
[x.name, current, latest]
|
42
42
|
end
|
43
43
|
end
|
44
44
|
|
45
|
-
def
|
46
|
-
@
|
47
|
-
|
48
|
-
|
45
|
+
def runtime_deps
|
46
|
+
@runtime_deps ||= bundle.resolve[dev_deps.first.name].first.dependencies
|
47
|
+
end
|
48
|
+
|
49
|
+
def dev_deps
|
50
|
+
@dev_deps ||= bundle.dependencies
|
49
51
|
end
|
50
52
|
|
51
53
|
def bundle
|
data/prospectus_gems.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'prospectus_gems'
|
3
|
-
s.version = '0.0
|
3
|
+
s.version = '0.1.0'
|
4
4
|
s.date = Time.now.strftime('%Y-%m-%d')
|
5
5
|
|
6
6
|
s.summary = 'Prospectus helpers for gemspecs'
|
@@ -20,5 +20,5 @@ Gem::Specification.new do |s|
|
|
20
20
|
s.add_development_dependency 'goodcop', '~> 0.5.0'
|
21
21
|
s.add_development_dependency 'rake', '~> 12.3.0'
|
22
22
|
s.add_development_dependency 'rspec', '~> 3.7.0'
|
23
|
-
s.add_development_dependency 'rubocop', '~> 0.
|
23
|
+
s.add_development_dependency 'rubocop', '~> 0.58.0'
|
24
24
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: prospectus_gems
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Les Aker
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-07-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: prospectus
|
@@ -100,14 +100,14 @@ dependencies:
|
|
100
100
|
requirements:
|
101
101
|
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: 0.
|
103
|
+
version: 0.58.0
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: 0.
|
110
|
+
version: 0.58.0
|
111
111
|
description: Prospectus helpers for gemspecs
|
112
112
|
email: me@lesaker.org
|
113
113
|
executables: []
|