gitlang 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 66c3047930dc30da7e2139fdc6b704b6be9df3c2
4
+ data.tar.gz: 65d905b24e5b7312175211d036d4f39231714b76
5
+ SHA512:
6
+ metadata.gz: 182a51955d5b1ece347471681e2a386c32a8bcda0de8e5ba8060fe731560966525af2f9ca7b2bbb69c8dd120da38facdb00454878459aab351380b5d57fd13cd
7
+ data.tar.gz: 93e23a5ae89588f669e0395867fd46030e775b09b3e556d9260c28022250fa5a0d10a5dfe03f5e622c503cb3f66ca86b832338c8dc0936b6cbf541bfb30bca7c
@@ -0,0 +1,8 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
@@ -0,0 +1,5 @@
1
+ sudo: false
2
+ language: ruby
3
+ rvm:
4
+ - 2.3.1
5
+ before_install: gem install bundler -v 1.16.0
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at kir.velissariou@gmail.com. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [http://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: http://contributor-covenant.org
74
+ [version]: http://contributor-covenant.org/version/1/4/
data/Gemfile ADDED
@@ -0,0 +1,6 @@
1
+ source "https://rubygems.org"
2
+
3
+ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4
+
5
+ # Specify your gem's dependencies in gitlang.gemspec
6
+ gemspec
@@ -0,0 +1,42 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ gitlang (0.1.0)
5
+ lare_round (~> 0.0.1)
6
+ octokit (~> 4.0)
7
+ thor (~> 0.20)
8
+ tty-spinner (~> 0.8)
9
+
10
+ GEM
11
+ remote: https://rubygems.org/
12
+ specs:
13
+ addressable (2.5.2)
14
+ public_suffix (>= 2.0.2, < 4.0)
15
+ faraday (0.12.2)
16
+ multipart-post (>= 1.2, < 3)
17
+ lare_round (0.0.2)
18
+ minitest (5.10.3)
19
+ multipart-post (2.0.0)
20
+ octokit (4.8.0)
21
+ sawyer (~> 0.8.0, >= 0.5.3)
22
+ public_suffix (3.0.1)
23
+ rake (10.4.2)
24
+ sawyer (0.8.1)
25
+ addressable (>= 2.3.5, < 2.6)
26
+ faraday (~> 0.8, < 1.0)
27
+ thor (0.20.0)
28
+ tty-cursor (0.5.0)
29
+ tty-spinner (0.8.0)
30
+ tty-cursor (>= 0.5.0)
31
+
32
+ PLATFORMS
33
+ ruby
34
+
35
+ DEPENDENCIES
36
+ bundler (~> 1.16)
37
+ gitlang!
38
+ minitest (~> 5.0)
39
+ rake (~> 10.0)
40
+
41
+ BUNDLED WITH
42
+ 1.16.0
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2018 Kiriakos Velissariou
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -0,0 +1,53 @@
1
+ # Gitlang
2
+
3
+ Simple gem for displaying information about the programming languages used by a GitHub organization.
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ ```ruby
10
+ gem 'gitlang'
11
+ ```
12
+
13
+ And then execute:
14
+
15
+ $ bundle
16
+
17
+ Or install it yourself as:
18
+
19
+ $ gem install gitlang
20
+
21
+ ## Setup
22
+
23
+ This gem makes several requests to the GitHub API. In order to avoid rate limit restrictions follow the instructions below:
24
+ * Create a Personal Access Token as described in the *Creating a token* section [here](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/).
25
+ * Open your terminal and run:
26
+ ```bash
27
+ export GITHUB_TOKEN=[token]
28
+ ```
29
+ Note that this command sets this variable only for the current session. If you want persistence you can set it in a configuration file, depending on your terminal.
30
+
31
+ ## Usage
32
+
33
+ Open your terminal and run:
34
+ ```bash
35
+ gitlang relative_usage_per_language [organization_name]
36
+
37
+ # Returns a prettified json formatted string, the numbers are expressed as %.
38
+ # {
39
+ # "organization": organization_name,
40
+ # "languages": {
41
+ # "language1": 40.0,
42
+ # "language2": 60.0
43
+ # }
44
+ # }
45
+ ```
46
+ This gem can be used in conjuction with the redirection operators. For example, if you want to store the output in a file you can run:
47
+ ```
48
+ gitlang relative_usage_per_language [organization_name] > [file_name]
49
+ ```
50
+
51
+ ## License
52
+
53
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
@@ -0,0 +1,10 @@
1
+ require "bundler/gem_tasks"
2
+ require "rake/testtask"
3
+
4
+ Rake::TestTask.new(:test) do |t|
5
+ t.libs << "test"
6
+ t.libs << "lib"
7
+ t.test_files = FileList["test/**/*_test.rb"]
8
+ end
9
+
10
+ task :default => :test
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "gitlang"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start(__FILE__)
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,4 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "gitlang"
4
+ Gitlang::CLI.start(ARGV)
@@ -0,0 +1,39 @@
1
+
2
+ lib = File.expand_path("../lib", __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require "gitlang/version"
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "gitlang"
8
+ spec.version = Gitlang::VERSION
9
+ spec.authors = ["Kiriakos Velissariou"]
10
+ spec.email = ["kir.velissariou@gmail.com"]
11
+
12
+ spec.summary = %q{Simple gem for displaying information about the programming languages used by a GitHub organization.}
13
+ spec.homepage = "https://github.com/kiriakosv/gitlang"
14
+ spec.license = "MIT"
15
+
16
+ # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
17
+ # to allow pushing to a single host or delete this section to allow pushing to any host.
18
+ if spec.respond_to?(:metadata)
19
+ spec.metadata["allowed_push_host"] = "https://rubygems.org/"
20
+ else
21
+ raise "RubyGems 2.0 or newer is required to protect against " \
22
+ "public gem pushes."
23
+ end
24
+
25
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
26
+ f.match(%r{^(test|spec|features)/})
27
+ end
28
+ spec.bindir = "exe"
29
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
30
+ spec.require_paths = ["lib"]
31
+
32
+ spec.add_development_dependency "bundler", "~> 1.16"
33
+ spec.add_dependency "lare_round", "~> 0.0.1"
34
+ spec.add_development_dependency "minitest", "~> 5.0"
35
+ spec.add_dependency "octokit", "~> 4.0"
36
+ spec.add_development_dependency "rake", "~> 10.0"
37
+ spec.add_dependency "thor", "~> 0.20"
38
+ spec.add_dependency "tty-spinner", "~> 0.8"
39
+ end
@@ -0,0 +1,37 @@
1
+ require 'thor'
2
+ require 'octokit'
3
+ require 'tty-spinner'
4
+
5
+ require 'gitlang/version'
6
+ require 'gitlang/organization'
7
+ require 'gitlang/formatters/json_formatter'
8
+ require 'gitlang/errors'
9
+
10
+ module Gitlang
11
+ # Class containing the commands that the final user can use.
12
+ class CLI < Thor
13
+ def initialize(*args)
14
+ super
15
+ @client = Octokit::Client.new access_token: ENV['GITHUB_TOKEN']
16
+ @formatter = JsonFormatter.new
17
+ @spinner = TTY::Spinner.new('[:spinner] Data crunching... ')
18
+ end
19
+
20
+ def self.exit_on_failure?
21
+ true
22
+ end
23
+
24
+ desc 'relative_usage_per_language [name]',
25
+ 'Returns the relative usage per language for a given organization.'
26
+ def relative_usage_per_language(organization)
27
+ @spinner.auto_spin
28
+ @organization = Organization.new(organization, @client)
29
+ usage_per_repo = @organization.usage_per_repo
30
+ relative_usage = @organization.relative_usage_per_language(usage_per_repo)
31
+ puts @formatter.format(@organization.name, relative_usage)
32
+ @spinner.success('Done')
33
+ rescue GitlangError => e
34
+ @spinner.error('Failure: - ' + e.message)
35
+ end
36
+ end
37
+ end
@@ -0,0 +1,3 @@
1
+ module Gitlang
2
+ class GitlangError < StandardError; end
3
+ end
@@ -0,0 +1,18 @@
1
+ require 'json'
2
+
3
+ module Gitlang
4
+ # A class for formatting various results to JSON format.
5
+ class JsonFormatter
6
+ # Create a JSON formatted string for the data provided.
7
+ #
8
+ # @param organization_name [String]
9
+ # @param languages [Hash]
10
+ #
11
+ # @example
12
+ # format('acme', { c: 30.0, ruby: 70.0 })
13
+ def format(organization_name, languages)
14
+ JSON.pretty_generate(organization: organization_name,
15
+ languages: languages)
16
+ end
17
+ end
18
+ end
@@ -0,0 +1,39 @@
1
+ require 'bigdecimal'
2
+ require 'lare_round'
3
+
4
+ module Gitlang
5
+ # Module for extracting useful Github statistics.
6
+ module GithubStats
7
+ # Creates a hash with the absolute usage for each language.
8
+ #
9
+ # @param usage_per_repo [Array<Hash>]
10
+ #
11
+ # @example
12
+ # absolute_usage_per_language([{ python: 4, ruby: 2 }, { python: 3 }])
13
+ def absolute_usage_per_language(usage_per_repo)
14
+ usage_per_repo.each_with_object(Hash.new(0)) do |repository, total|
15
+ repository.each { |language, usage| total[language] += usage }
16
+ end
17
+ end
18
+
19
+ # Creates a hash with the relative usage for each language.
20
+ #
21
+ # @param usage_per_repo [Array<Hash>]
22
+ #
23
+ # @example
24
+ # relative_usage_per_language([{ python: 30, ruby: 70 }, { python: 100 }])
25
+ def relative_usage_per_language(usage_per_repo)
26
+ absolute_usage = absolute_usage_per_language(usage_per_repo)
27
+ total = absolute_usage.values.inject(&:+)
28
+ results_pre_lare = absolute_usage.merge(absolute_usage) do |_, usage|
29
+ (BigDecimal.new(usage) / total * 100)
30
+ end
31
+
32
+ # Largest remainder method is used in order to avoid cases where the sum
33
+ # of the relative usage is over or under 100%.
34
+ # More info at https://en.wikipedia.org/wiki/Largest_remainder_method.
35
+ results_after_lare = LareRound.round(results_pre_lare, 2)
36
+ results_after_lare.merge(results_after_lare) { |_, usage| usage.to_f }
37
+ end
38
+ end
39
+ end
@@ -0,0 +1,55 @@
1
+ require 'gitlang/github_stats'
2
+ require 'gitlang/repository'
3
+ require 'gitlang/utilities'
4
+
5
+ module Gitlang
6
+ # Class representing a GitHub organization
7
+ class Organization
8
+ include Gitlang::GithubStats
9
+ include Gitlang::Utilities
10
+
11
+ attr_reader :name, :repositories
12
+
13
+ def initialize(name, client)
14
+ @name = name.downcase
15
+ @client = client
16
+ @repositories = fetch_repo_names.each_with_object([]) do |repo_name, repositories|
17
+ # There is a tight coupling between Organisation and Repository, but I
18
+ # think it's fine regarding the scope of the application.
19
+ repositories << Repository.new(@name, repo_name, @client)
20
+ end
21
+ end
22
+
23
+ # Creates an array of hashes with the language usage for each repository.
24
+ def usage_per_repo
25
+ conditional_rescue do
26
+ @repositories.each_with_object([]) do |repository, result|
27
+ result << repository.languages
28
+ end
29
+ end
30
+ end
31
+
32
+ private
33
+
34
+ def fetch_repo_names
35
+ conditional_rescue { fetch_all_pages.flatten }
36
+ end
37
+
38
+ # Get every repository name. Acts as a helper for fetch_repo_names since
39
+ # we're dealing with an external paginated service.
40
+ def fetch_all_pages
41
+ result = @client.org_repos(name,
42
+ query: { type: 'sources', visibility: 'public' },
43
+ per_page: 100)
44
+ .map(&:name)
45
+ last_response = @client.last_response
46
+
47
+ until last_response.rels[:next].nil?
48
+ last_response = last_response.rels[:next].get
49
+ result << last_response.data.map(&:name)
50
+ end
51
+
52
+ result
53
+ end
54
+ end
55
+ end
@@ -0,0 +1,24 @@
1
+ require 'gitlang/utilities'
2
+
3
+ module Gitlang
4
+ # Class representing a GitHub organization's repository.
5
+ class Repository
6
+ include Gitlang::Utilities
7
+
8
+ def initialize(organization_name, repository_name, client)
9
+ @organization_name = organization_name
10
+ @name = repository_name
11
+ @client = client
12
+ end
13
+
14
+ # Returns the full name of the repository as a string.
15
+ def full_name
16
+ @organization_name + '/' + @name
17
+ end
18
+
19
+ # Returns a hash containing the absolute usage of each language.
20
+ def languages
21
+ conditional_rescue { @client.languages(full_name) }
22
+ end
23
+ end
24
+ end
@@ -0,0 +1,23 @@
1
+ module Gitlang
2
+ # Contains general purpose methods.
3
+ module Utilities
4
+ # Calls the given block and rescues from specific errors.
5
+ #
6
+ # @yield block
7
+ #
8
+ # @example
9
+ # conditional_rescue { @client.call }
10
+ def conditional_rescue
11
+ yield if block_given?
12
+ rescue Octokit::TooManyRequests
13
+ raise Gitlang::GitlangError,
14
+ 'You made too many requests. Please set GITHUB_TOKEN.'
15
+ rescue Octokit::NotFound
16
+ raise Gitlang::GitlangError, 'Resource not found.'
17
+ rescue Octokit::Unauthorized
18
+ raise Gitlang::GitlangError, 'Wrong GITHUB_TOKEN.'
19
+ rescue Faraday::ConnectionFailed
20
+ raise Gitlang::GitlangError, 'Connection failed.'
21
+ end
22
+ end
23
+ end
@@ -0,0 +1,3 @@
1
+ module Gitlang
2
+ VERSION = "0.1.0"
3
+ end
metadata ADDED
@@ -0,0 +1,165 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: gitlang
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Kiriakos Velissariou
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2018-02-06 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.16'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.16'
27
+ - !ruby/object:Gem::Dependency
28
+ name: lare_round
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: 0.0.1
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: 0.0.1
41
+ - !ruby/object:Gem::Dependency
42
+ name: minitest
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '5.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '5.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: octokit
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '4.0'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '4.0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rake
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '10.0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '10.0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: thor
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '0.20'
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '0.20'
97
+ - !ruby/object:Gem::Dependency
98
+ name: tty-spinner
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '0.8'
104
+ type: :runtime
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: '0.8'
111
+ description:
112
+ email:
113
+ - kir.velissariou@gmail.com
114
+ executables:
115
+ - gitlang
116
+ extensions: []
117
+ extra_rdoc_files: []
118
+ files:
119
+ - ".gitignore"
120
+ - ".travis.yml"
121
+ - CODE_OF_CONDUCT.md
122
+ - Gemfile
123
+ - Gemfile.lock
124
+ - LICENSE.txt
125
+ - README.md
126
+ - Rakefile
127
+ - bin/console
128
+ - bin/setup
129
+ - exe/gitlang
130
+ - gitlang.gemspec
131
+ - lib/gitlang.rb
132
+ - lib/gitlang/errors.rb
133
+ - lib/gitlang/formatters/json_formatter.rb
134
+ - lib/gitlang/github_stats.rb
135
+ - lib/gitlang/organization.rb
136
+ - lib/gitlang/repository.rb
137
+ - lib/gitlang/utilities.rb
138
+ - lib/gitlang/version.rb
139
+ homepage: https://github.com/kiriakosv/gitlang
140
+ licenses:
141
+ - MIT
142
+ metadata:
143
+ allowed_push_host: https://rubygems.org/
144
+ post_install_message:
145
+ rdoc_options: []
146
+ require_paths:
147
+ - lib
148
+ required_ruby_version: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ version: '0'
153
+ required_rubygems_version: !ruby/object:Gem::Requirement
154
+ requirements:
155
+ - - ">="
156
+ - !ruby/object:Gem::Version
157
+ version: '0'
158
+ requirements: []
159
+ rubyforge_project:
160
+ rubygems_version: 2.5.1
161
+ signing_key:
162
+ specification_version: 4
163
+ summary: Simple gem for displaying information about the programming languages used
164
+ by a GitHub organization.
165
+ test_files: []