fasterer-github 0.2.0 → 0.2.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: 27d42b5a400f4bf2d8acc16a2b30826fee2e9153
4
- data.tar.gz: e66809d510a4ba74194471a9561c60d94330c9e5
3
+ metadata.gz: 39aff723a1dd72d40c0d711c3177bd04c079d889
4
+ data.tar.gz: c9f007df77043886aa0da06aa6ef5f22e5e8e5c3
5
5
  SHA512:
6
- metadata.gz: a6d0dfa7d0265abc82e5ea80cbd54baff7053eb119d4d007d0f0fefa6f635cdefe06ca5fbbd8a3bd0ead3969ad1101ee02b9245ea0f2f5793e85c1a69cfc8268
7
- data.tar.gz: b63b791420162a94eae825e58d69f56b068e07af1bc9c39289df01fc036a68dbdd06cc4140322b4e7f03929435a2c4dce8bb056f72c2a083cda3cad9a9b62c8c
6
+ metadata.gz: 09575e58febdf74c04b29c3a473624fe2bc82de17d8c98d5ccd22b54a9355f820f7968695ed4b6744fbfeb38088a691f36c150e3d60d8a33d9edec23f064064b
7
+ data.tar.gz: 4021ad0afa8e15467d9e2e4fc35255bf208665e53184309ca7d8a632911f23c3a43a7492d125c3c3306af13cb39eb2f6586e48f194e7719ef22cb387cd32cad0
data/README.md CHANGED
@@ -5,6 +5,8 @@
5
5
 
6
6
  This is a [fasterer](https://github.com/DamirSvrtan/fasterer) extension which allows to scan GitHub repo using GitHub API.
7
7
 
8
+ Fasterer-github will analyze your code and suggest faster ruby idioms. Read more about ruby idoms [here](https://github.com/JuanitoFatas/fast-ruby)
9
+
8
10
 
9
11
  ## Installation
10
12
 
@@ -67,11 +67,15 @@ module Fasterer
67
67
  def load_config_file
68
68
  path_to_config = File.join(Dir.pwd, CONFIG_FILE_NAME)
69
69
  if File.exist?(path_to_config)
70
- YAML.load_file(path_to_config)
70
+ empty_config_hash.merge!(YAML.load_file(path_to_config))
71
71
  else
72
- { SPEEDUPS_KEY => {}, EXCLUDE_PATHS_KEY => [] }
72
+ empty_config_hash
73
73
  end
74
74
  end
75
+
76
+ def empty_config_hash
77
+ { SPEEDUPS_KEY => {}, EXCLUDE_PATHS_KEY => [] }
78
+ end
75
79
  end
76
80
  end
77
81
  end
@@ -1,5 +1,5 @@
1
1
  module Fasterer
2
2
  module Github
3
- VERSION = '0.2.0'
3
+ VERSION = '0.2.1'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fasterer-github
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kacper Goliński
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-11-03 00:00:00.000000000 Z
11
+ date: 2015-11-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler