pairing_matrix 2.3 → 2.3.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
- SHA1:
3
- metadata.gz: 24815eea652dd6a9d7d1f62332b4ffed2466dc51
4
- data.tar.gz: 4307fdc039681b5239a3617a9ff7948167b294f6
2
+ SHA256:
3
+ metadata.gz: 4c837f2df3fcdaf6832044106c46690f1695c46d65b9adb4d5ee699d913a56d6
4
+ data.tar.gz: 548c8c72128f184f0bbacae4b37cb6f9d9512ff5207b2d678b424a671489d93c
5
5
  SHA512:
6
- metadata.gz: 49797662441633cf1d789eba302d0f1c5f5f8f8794fd0780498edb67fc47ceb271cd8530fd21a4ea00a1434243d66990e8d1b267d610d50b0f02301b76cfc3a7
7
- data.tar.gz: 83abc81fff0cf1ca25928b3b343596f1c08c0691f57808ede5839a13e3d18fa03fc1d84f826daf1190d512ad1d88c19ecee492e74f17d18af33286ff64491531
6
+ metadata.gz: 8830b2eac3a1bb58b40633359816ec185a1cb3a967212485671e4e8f81ee3b6db43b890e9f899ff7f08221d8b76ecef55aff120d8d237e2bbda3765bbf6951ec
7
+ data.tar.gz: 72f88bd1fd9de7ae251f31ce62c0c3d3b7b72006d6853af6d1af934a5ff1a924b7c4e476173f554ce18908627a264ed90de9eccebc7ce44eb6321af0a0b368fe
@@ -0,0 +1,46 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.
6
+
7
+ ## Our Standards
8
+
9
+ Examples of behavior that contributes to creating a positive environment include:
10
+
11
+ * Using welcoming and inclusive language
12
+ * Being respectful of differing viewpoints and experiences
13
+ * Gracefully accepting constructive criticism
14
+ * Focusing on what is best for the community
15
+ * Showing empathy towards other community members
16
+
17
+ Examples of unacceptable behavior by participants include:
18
+
19
+ * The use of sexualized language or imagery and unwelcome sexual attention or advances
20
+ * Trolling, insulting/derogatory comments, and personal or political attacks
21
+ * Public or private harassment
22
+ * Publishing others' private information, such as a physical or electronic address, without explicit permission
23
+ * Other conduct which could reasonably be considered inappropriate in a professional setting
24
+
25
+ ## Our Responsibilities
26
+
27
+ Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.
28
+
29
+ Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
30
+
31
+ ## Scope
32
+
33
+ This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.
34
+
35
+ ## Enforcement
36
+
37
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at jeetsingh.ajit@gmail.com. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
38
+
39
+ Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.
40
+
41
+ ## Attribution
42
+
43
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]
44
+
45
+ [homepage]: http://contributor-covenant.org
46
+ [version]: http://contributor-covenant.org/version/1/4/
data/README.md CHANGED
@@ -1,6 +1,8 @@
1
1
  # PairingMatrix
2
2
 
3
+ [![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://GitHub.com/ajitsing/apkToJava/graphs/commit-activity)
3
4
  [![Gem Version](https://badge.fury.io/rb/pairing_matrix.svg)](https://badge.fury.io/rb/pairing_matrix)
5
+ [![HitCount](http://hits.dwyl.io/ajitsing/pairing_matrix.svg)](http://hits.dwyl.io/ajitsing/pairing_matrix)
4
6
  ![Gem Downloads](http://ruby-gem-downloads-badge.herokuapp.com/pairing_matrix?type=total)
5
7
  [![Open Source Love](https://badges.frapsoft.com/os/v1/open-source.svg?v=102)](https://opensource.org/licenses/MIT)
6
8
  [![Twitter Follow](https://img.shields.io/twitter/follow/Ajit5ingh.svg?style=social)](https://twitter.com/Ajit5ingh)
@@ -66,7 +68,7 @@ List your repos which you want to use for matrix. If you have your repos inside
66
68
 
67
69
 
68
70
  Now after installing the pairing matrix gem, simply run the ```pairing_matrix``` command in the repo where you have ```pairing_matrix.yml``` file. This command will start a web server.
69
- Then hit the url ```localhost:4567/matrix``` in the browser.
71
+ Then hit the url [localhost:4567/matrix](http://localhost:4567/matrix) or [localhost:4567](http://localhost:4567) in the browser. In case you want to use the json data, hit [http://localhost:4567/data/:days](http://localhost:4567/data/30)
70
72
 
71
73
  ## Some example of pairing_matrix.yml
72
74
  ### Here is a sample pairing_matrix.yml file
@@ -111,6 +113,13 @@ github_repos:
111
113
  - github_username/repo2
112
114
  ```
113
115
 
116
+ ## Contributors
117
+
118
+ Thanks goes to these wonderful people:
119
+
120
+ [Abhishek Thakur](https://github.com/abhikur)
121
+ [Sumit Gupta](https://github.com/sumitgpt)
122
+
114
123
  ## Contributing
115
124
 
116
125
  1. Fork it ( https://github.com/ajitsing/pairing_matrix/fork )
@@ -23,10 +23,16 @@ module PairingMatrix
23
23
  end.compact.reject(&:empty?)
24
24
  end
25
25
 
26
+ def titleize(name)
27
+ name.gsub(/\w+/) do |word|
28
+ word.capitalize
29
+ end
30
+ end
31
+
26
32
  def authors_with_commits(days)
27
33
  date = (Date.today - days).to_s
28
34
  authors = authors(date)
29
- author_groups = authors.group_by { |n| n }
35
+ author_groups = authors.group_by { |n| titleize(n)}
30
36
  author_groups.map do |k, v|
31
37
  pair = k.split(',')
32
38
  pair.unshift('') if pair.size == 1
@@ -1,3 +1,3 @@
1
1
  module PairingMatrix
2
- VERSION = '2.3'
2
+ VERSION = '2.3.1'
3
3
  end
@@ -20,7 +20,7 @@ Gem::Specification.new do |spec|
20
20
 
21
21
  spec.add_development_dependency 'bundler', '~> 1.6'
22
22
  spec.add_dependency 'sinatra', '~> 1.4.8'
23
- spec.add_dependency 'octokit', '~> 4.6.2'
23
+ spec.add_dependency 'octokit', '~> 4.15.0'
24
24
  spec.add_dependency 'eldritch', '~> 1.1.2'
25
25
  spec.add_dependency 'puma', '~> 3.11.2'
26
26
  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: '2.3'
4
+ version: 2.3.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: 2018-03-19 00:00:00.000000000 Z
11
+ date: 2020-03-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 4.6.2
47
+ version: 4.15.0
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: 4.6.2
54
+ version: 4.15.0
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: eldritch
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -89,6 +89,7 @@ extensions: []
89
89
  extra_rdoc_files: []
90
90
  files:
91
91
  - ".gitignore"
92
+ - CODE_OF_CONDUCT.md
92
93
  - Gemfile
93
94
  - LICENSE.txt
94
95
  - README.md
@@ -127,8 +128,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
127
128
  - !ruby/object:Gem::Version
128
129
  version: '0'
129
130
  requirements: []
130
- rubyforge_project:
131
- rubygems_version: 2.5.2
131
+ rubygems_version: 3.0.4
132
132
  signing_key:
133
133
  specification_version: 4
134
134
  summary: Draw pairing matrix from given repos and configurations