fasterer-github 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +2 -0
- data/lib/fasterer/github/scanner.rb +6 -2
- data/lib/fasterer/github/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 39aff723a1dd72d40c0d711c3177bd04c079d889
|
|
4
|
+
data.tar.gz: c9f007df77043886aa0da06aa6ef5f22e5e8e5c3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
-
|
|
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
|
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.
|
|
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-
|
|
11
|
+
date: 2015-11-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|