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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 66db229f65c4665feb06a6543bebf7b05645c4dedb8e7d616428fdc6acd16bd0
4
- data.tar.gz: be71a4ad86a8f5afe3e0fc798e9dbc174db1208b91266adab43b15c41853e6b9
3
+ metadata.gz: 255fd1d8a7fcd8704b2702a84fd8d4a976a9cdbb1cc6dcefde1ae0bace90c401
4
+ data.tar.gz: b2c320fe4366890eeca5fbb61c67928758db5b7af8e0b661db61d56667f848a3
5
5
  SHA512:
6
- metadata.gz: 8c57f6ef97ae81387bfe8e782ef3067c006d0d7ec53bf3559bb4d3d88730e8e5ca6e3d0be90dbd9ef5879087d7064d0667355fe3ed41d98a6cd1cf6dae7849ae
7
- data.tar.gz: 5fc3d09d6fdcf913db44c90565cc6dd702b4d2287ca13930af8f243bf5bfd39ecd659be7f0ca7409016c308236fb3669e73a3d84806e012d6ed2d32737f53f7a
6
+ metadata.gz: a3acd9b9300853fe9d3a0184f63deab83b0beaad4faf0f62c7cc87465acfcfe11e2324d8a98d5724415958d57885f3f2dea409054f9f2a4933386ff8ff801c1d
7
+ data.tar.gz: e8b22bfb0bab88b746dc0ac6675acd8259cffc7bf16339185e3f18710050aa3955e7be5fd457cd60f5f67f5aa5b132ed37a7e908c5da77dc1bcb6231beab97b5
@@ -1,4 +1,3 @@
1
1
  2.5.1
2
2
  2.4.4
3
3
  2.3.7
4
- 2.2.10
@@ -35,17 +35,19 @@ module ProspectusGems
35
35
  private
36
36
 
37
37
  def parse_deps
38
- bundler_deps.map do |x|
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 bundler_deps
46
- @bundler_deps ||= bundle.dependencies.reject do |x|
47
- x.requirements_list == ['>= 0']
48
- end
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
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'prospectus_gems'
3
- s.version = '0.0.2'
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.56.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.2
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-05-28 00:00:00.000000000 Z
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.56.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.56.0
110
+ version: 0.58.0
111
111
  description: Prospectus helpers for gemspecs
112
112
  email: me@lesaker.org
113
113
  executables: []