phare 0.7 → 0.7.1

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
  SHA1:
3
- metadata.gz: 07cb8717d161d567751d2fc326c271fa8d865fe6
4
- data.tar.gz: 934dfb629245a3d31d292959f402c65be527cb46
3
+ metadata.gz: 5d342f532b5c065a64dbc6b1eba2cab4cf1f8b68
4
+ data.tar.gz: 171dc0037a16399f7937429fe222624cc53ef57d
5
5
  SHA512:
6
- metadata.gz: 458a51f11e60f39e557cd10e84a2e9d5bf54546cd5584da14d576cb455b3a7d9bd06bd94ea45ef80dc5a3ab1451e79c981ed9f41d50b80dafa22c914f22e83d1
7
- data.tar.gz: 327fadabf0c2e504c8130ca8f253635582f888bc4523528d222e6165dc6566bc1ef2f029bb9bdc55da3b5f0b8c3c9ba9fc7f681363a7fd80e6ade86e53e0b10c
6
+ metadata.gz: ce98e8dfc1bb05d124bd73df59583b20abbc666a4a9c99d2ad4a088394822569eae6185065eaacdf30aeeb7b9bbbcc6fb70cb0f514d21c05676b71e882a2feac
7
+ data.tar.gz: 3a14e83a6ef194f4399f44aa0ed6bb348b3694c4faa84544b77a9cf8da2fa98696bccb63ebdd0ba7f63577cec010af8030a8a3eea9cbd7d49bd2ece26a88fbc4
@@ -29,7 +29,7 @@ module Phare
29
29
  end
30
30
 
31
31
  def configuration_file
32
- @configuration_file ||= File.exist?('.jshintignore') ? File.open('.jshintignore') : false
32
+ @configuration_file ||= File.exist?('.jshintignore') ? File.read('.jshintignore') : false
33
33
  end
34
34
 
35
35
  def binary_exists?
data/lib/phare/cli.rb CHANGED
@@ -51,7 +51,7 @@ module Phare
51
51
  options_to_merge[:version] = true
52
52
  end
53
53
 
54
- opts.on('--directory', 'The directory in which to run the checks (default is the current directory') do |directory|
54
+ opts.on('--directory x', 'The directory in which to run the checks (default is the current directory') do |directory|
55
55
  options_to_merge[:directory] = directory
56
56
  end
57
57
 
data/lib/phare/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Phare
2
- VERSION = '0.7'
2
+ VERSION = '0.7.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phare
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.7'
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rémi Prévost
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-15 00:00:00.000000000 Z
11
+ date: 2015-04-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler