clashinator 1.1.3 → 1.1.4

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: ba3e143a77eeaa5412502fe8a8c9c126139f3047
4
- data.tar.gz: 6d0078fe36e756046b63f66b27a0d06f36b62d75
3
+ metadata.gz: 9487e8a8a6753e307450d6a9197873aaae81a23c
4
+ data.tar.gz: de938d429b4cb9354795118f3cc407fc26d5a4f8
5
5
  SHA512:
6
- metadata.gz: 9d85a61c216eb6ef9dd4f226035f128615702527b0bd83bca82fa58acb9f43ae7533cd53ab6d986816ec6efeb98a2ff90d187c97353cb17cfd7cc0884759ede9
7
- data.tar.gz: 08e5500f8eb4a6029032f64ac92218d58a9e5650ea7731666caf4388c7c3dc0b18c473dc10b8a1e7ab836b074fcc382405eadf5cf36da7be10c5619f829c752a
6
+ metadata.gz: 0a652bdd65a2e084a02d0a6c4b35fe147f55023bb0b643be7dd6783a643955ccfb97733815d5ae8bb9c201d99fa4d56223ed622d30f85999d2c49cb4e278f15a
7
+ data.tar.gz: 033f293c2d63ebba8b89672a189b0099d18d738de31336ccd600a43c2e34aa01f090fb3c6a68d81a017b821cde8288b4cec94538160690e02ba820c760a43ffd
@@ -1,4 +1,5 @@
1
1
  // Place your settings in this file to overwrite default and user settings.
2
2
  {
3
- "ruby.rubocop.onSave": false
3
+ "ruby.rubocop.executePath": "/home/leonardo/.rvm/gems/ruby-2.3.3/bin/",
4
+ "ruby.rubocop.configFilePath": "/home/leonardo/rubocop.json"
4
5
  }
@@ -7,7 +7,8 @@ module Clashinator
7
7
 
8
8
  def initialize(token)
9
9
  @token = token
10
- @uri = YAML.load_file('config/config.yml')['url']
10
+ file_path = File.join(File.dirname(__FILE__), 'config/config.yml')
11
+ @uri = YAML.load_file(file_path)['url']
11
12
  @headers = { 'Authorization' => "Bearer #{@token}" }
12
13
  @conn = Faraday.new(
13
14
  url: @uri,
@@ -1,3 +1,3 @@
1
1
  module Clashinator
2
- VERSION = '1.1.3'.freeze
2
+ VERSION = '1.1.4'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: clashinator
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.3
4
+ version: 1.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Leonardo Cabeza
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-12-28 00:00:00.000000000 Z
11
+ date: 2017-03-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler