prospectus 0.1.1 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/prospectus/modules/homebrew_formula.rb +4 -6
- data/lib/prospectus/version.rb +1 -1
- data/prospectus.gemspec +2 -2
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dbc96a9ea158ebcc23030c2fbcc23ae5be421dfd
|
4
|
+
data.tar.gz: 188cd8a8f9f303a8b27e9a252fa5449c02cce8de
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 16929c66708d2e628d411bfa59966c23a2ecf97f376212ac11869d85e1917d33219c7638eea5fe995920223371f968266fb2c2f2ceec7bb2caec79a7f2a35d61
|
7
|
+
data.tar.gz: 7d3f88689b39c81c2707200c5b63e026464baed1f4eb7075d86889e0faffcad89ac79220c7944332b1267280f273b29c52365c766eafa67c254d439800682014
|
data/README.md
CHANGED
@@ -3,7 +3,7 @@ prospectus
|
|
3
3
|
|
4
4
|
[![Gem Version](https://img.shields.io/gem/v/prospectus.svg)](https://rubygems.org/gems/prospectus)
|
5
5
|
[![Dependency Status](https://img.shields.io/gemnasium/akerl/prospectus.svg)](https://gemnasium.com/akerl/prospectus)
|
6
|
-
[![Build Status](https://img.shields.io/circleci/project/akerl/prospectus.svg)](https://circleci.com/gh/akerl/prospectus)
|
6
|
+
[![Build Status](https://img.shields.io/circleci/project/akerl/prospectus/master.svg)](https://circleci.com/gh/akerl/prospectus)
|
7
7
|
[![Coverage Status](https://img.shields.io/codecov/c/github/akerl/prospectus.svg)](https://codecov.io/github/akerl/prospectus)
|
8
8
|
[![Code Quality](https://img.shields.io/codacy/36b84b3bc7b24cd4991c4753f7788850.svg)](https://www.codacy.com/app/akerl/prospectus)
|
9
9
|
[![MIT Licensed](https://img.shields.io/badge/license-MIT-green.svg)](https://tldrlegal.com/license/mit-license)
|
@@ -1,3 +1,5 @@
|
|
1
|
+
require 'json'
|
2
|
+
|
1
3
|
module LogCabin
|
2
4
|
module Modules
|
3
5
|
##
|
@@ -6,12 +8,8 @@ module LogCabin
|
|
6
8
|
def load!
|
7
9
|
raise('No name specified') unless @name
|
8
10
|
cask_file = "Formula/#{@name}.rb"
|
9
|
-
|
10
|
-
|
11
|
-
grep
|
12
|
-
file cask_file
|
13
|
-
regex version_regex
|
14
|
-
end
|
11
|
+
output = `brew info --json=v1 #{cask_file}`
|
12
|
+
@state.value = JSON.parse(output).first.dig('versions', 'stable')
|
15
13
|
end
|
16
14
|
|
17
15
|
private
|
data/lib/prospectus/version.rb
CHANGED
data/prospectus.gemspec
CHANGED
@@ -20,8 +20,8 @@ Gem::Specification.new do |s|
|
|
20
20
|
s.add_dependency 'mercenary', '~> 0.3.4'
|
21
21
|
s.add_dependency 'logcabin', '~> 0.1.3'
|
22
22
|
|
23
|
-
s.add_development_dependency 'rubocop', '~> 0.
|
24
|
-
s.add_development_dependency 'rake', '~> 11.
|
23
|
+
s.add_development_dependency 'rubocop', '~> 0.43.0'
|
24
|
+
s.add_development_dependency 'rake', '~> 11.3.0'
|
25
25
|
s.add_development_dependency 'codecov', '~> 0.1.1'
|
26
26
|
s.add_development_dependency 'rspec', '~> 3.5.0'
|
27
27
|
s.add_development_dependency 'fuubar', '~> 2.2.0'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: prospectus
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.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: 2016-
|
11
|
+
date: 2016-10-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mercenary
|
@@ -44,28 +44,28 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 0.
|
47
|
+
version: 0.43.0
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 0.
|
54
|
+
version: 0.43.0
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rake
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 11.
|
61
|
+
version: 11.3.0
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 11.
|
68
|
+
version: 11.3.0
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: codecov
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|