prospectus 0.5.8 → 0.6.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: 983c9c3fe3a15f3b41a79b95c6c4d46d0176e24523ef5844d8e310e3f6562fd2
4
- data.tar.gz: a9b1be09fe2fc29c3296a179e1baa6771d4e34b213e3d2e69e59466d404f71b6
3
+ metadata.gz: 9ec6de75aeabfee5d3a182ef93cc6e353d2f2bc6a65bd6a0f383c5fb6cfcc578
4
+ data.tar.gz: b5bbf14e8677773942068b4a08465ec43a34d4e53095b9c30893706627aa9350
5
5
  SHA512:
6
- metadata.gz: 42476708da303f5fd2e0e6bcbaa9d5cf574f9caba48424b68da0e5cf39ad37ba5bd8b391009d59d1575f645c9a403dcfa3372571fd3317fef8485e0f98680021
7
- data.tar.gz: a19f7c792d5226561ca1e600eece6d23efc1f7699d5d554058fdd59cb4f6e139222d44bb410c3d285d65974c04b38e69a64694ef2600efc460de0d05fc94a24a
6
+ metadata.gz: 1ab3758ef7ba3ad2eb53b951a1aceb315509161c09f5370111854df25cd0532db751acf198858f75dd7083117b3f522ec20bd766fcabaa13178b50adc394abdd
7
+ data.tar.gz: 2e227b587f5f4ce696459e4552f3a7b0cd4e0c03e1582fe85ae7b6bf7ade5df592de07687c5502332e2bb88f354a589d5f223b1927072cc423d9ca02b762a86d
data/.circle-ruby CHANGED
@@ -1,4 +1,3 @@
1
1
  2.5.1
2
2
  2.4.4
3
3
  2.3.7
4
- 2.2.10
@@ -6,12 +6,8 @@ module LogCabin
6
6
  def load!
7
7
  raise('No name specified') unless @name
8
8
  cask_file = "Casks/#{@name}.rb"
9
- version_regex = /^\s+version ['"](.+)['"]$/
10
- Prospectus::State.from_block(@option, @state) do
11
- grep
12
- file cask_file
13
- regex version_regex
14
- end
9
+ output = `brew cask _stanza version #{cask_file}`
10
+ @state.value = output.strip
15
11
  end
16
12
 
17
13
  private
@@ -3,5 +3,5 @@
3
3
  ##
4
4
  # Declare package version
5
5
  module Prospectus
6
- VERSION = '0.5.8'.freeze
6
+ VERSION = '0.6.0'.freeze
7
7
  end
data/prospectus.gemspec CHANGED
@@ -26,5 +26,5 @@ Gem::Specification.new do |s|
26
26
  s.add_development_dependency 'goodcop', '~> 0.5.0'
27
27
  s.add_development_dependency 'rake', '~> 12.3.0'
28
28
  s.add_development_dependency 'rspec', '~> 3.7.0'
29
- s.add_development_dependency 'rubocop', '~> 0.56.0'
29
+ s.add_development_dependency 'rubocop', '~> 0.58.0'
30
30
  end
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.5.8
4
+ version: 0.6.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-29 00:00:00.000000000 Z
11
+ date: 2018-07-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: logcabin
@@ -114,14 +114,14 @@ dependencies:
114
114
  requirements:
115
115
  - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: 0.56.0
117
+ version: 0.58.0
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - "~>"
123
123
  - !ruby/object:Gem::Version
124
- version: 0.56.0
124
+ version: 0.58.0
125
125
  description: Tool and DSL for checking expected vs actual state
126
126
  email: me@lesaker.org
127
127
  executables: