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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c09a1dee0449065d5c427e2066c56a052545ba24
4
- data.tar.gz: eddae5874f7ad684ac3ba3894f4ecc20d77e6643
3
+ metadata.gz: 0797a8b59f1ab5e24806523599d93976fe25ddf0
4
+ data.tar.gz: b061dbc6d7daa10569ee93a60ff0b3f9fac10a3e
5
5
  SHA512:
6
- metadata.gz: 0f2634e24d49c030f730e00d487713d5f5c08f8f16b4a3a8b0f8975eb2413ea8eb98550f9d356d1f3a2c80335a22fdef6fceacf751ab28b4d63c6896ef5bf3f4
7
- data.tar.gz: 2391abf8ff0bc0a1fdf780c348b0a5f88565e2cc650078dfed9478d7f08cae8233fa20c8afd2aee1bb9c97aca832f23b2ed3c0286a5d7b90db3355cb27913dee
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,4 +1,5 @@
1
- require 'YAML'
1
+ require 'yaml'
2
+ require_relative 'config'
2
3
 
3
4
  module PairingMatrix
4
5
  class ConfigReader
@@ -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
@@ -1,3 +1,3 @@
1
1
  module PairingMatrix
2
- VERSION = '1.0'
2
+ VERSION = '1.0.1'
3
3
  end
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: '1.0'
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-27 00:00:00.000000000 Z
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.5.1
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