pairing_matrix 1.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +22 -0
- data/lib/pairing_matrix/config/config_reader.rb +2 -1
- data/lib/pairing_matrix/server/server.rb +3 -0
- data/lib/pairing_matrix/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0797a8b59f1ab5e24806523599d93976fe25ddf0
|
4
|
+
data.tar.gz: b061dbc6d7daa10569ee93a60ff0b3f9fac10a3e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5bb3fa7b719d99f98d706b88ca958c2488225dfe08bea2c39c04347ebd2ac778ec9f1875bbd8f229808faebfc4899f4fee0c7021b484bfd14cc88aec2515ca83
|
7
|
+
data.tar.gz: d162e9fcfea3618855f1b575f7f65db9106d57b672e5944a7b5a6ce14814c7f210bce45495776a0c069d4c0421117dad1c91651ce2a6854fc1b8b33037c2a8cc
|
data/README.md
CHANGED
@@ -34,6 +34,28 @@ repos:
|
|
34
34
|
- /Users/Ajit/projects/project3
|
35
35
|
```
|
36
36
|
|
37
|
+
The above config will fetch data directly from your local repositories.
|
38
|
+
|
39
|
+
### Want to fetch private repos data directly from github?
|
40
|
+
|
41
|
+
```yml
|
42
|
+
authors_regex: ^.*\[([\w]*)(?:\/)?([\w]*)\].*$
|
43
|
+
github_access_token: 000324cff69wes5613f732c345hn679c0knt509c
|
44
|
+
github_repos:
|
45
|
+
- org1/repo1
|
46
|
+
- org1/repo2
|
47
|
+
- github_username/my_private_repo
|
48
|
+
```
|
49
|
+
|
50
|
+
### Fetching data from public github repos
|
51
|
+
|
52
|
+
```yml
|
53
|
+
authors_regex: ^.*\[([\w]*)(?:\/)?([\w]*)\].*$
|
54
|
+
github_repos:
|
55
|
+
- github_username/my_public_repo1
|
56
|
+
- github_username/my_public_repo2
|
57
|
+
```
|
58
|
+
|
37
59
|
authors_regex is the regex which extracts developers name from the commit message. This regex will depend on the commit message format that you follow in your project.
|
38
60
|
|
39
61
|
## Contributing
|
@@ -1,6 +1,9 @@
|
|
1
1
|
require 'sinatra/base'
|
2
2
|
require 'json'
|
3
3
|
require_relative '../../pairing_matrix'
|
4
|
+
require_relative '../config/config_reader'
|
5
|
+
require_relative '../commit_reader'
|
6
|
+
require_relative '../github_commit_reader'
|
4
7
|
|
5
8
|
module PairingMatrix
|
6
9
|
class Server < Sinatra::Base
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pairing_matrix
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ajit Singh
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-03-
|
11
|
+
date: 2017-03-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -99,7 +99,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
99
99
|
version: '0'
|
100
100
|
requirements: []
|
101
101
|
rubyforge_project:
|
102
|
-
rubygems_version: 2.
|
102
|
+
rubygems_version: 2.6.7
|
103
103
|
signing_key:
|
104
104
|
specification_version: 4
|
105
105
|
summary: Draw pairing matrix from given repos and configurations
|