org_lang_stats 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 5a4cf6bd27b43b55926c9329267482e7ba1d2632
4
+ data.tar.gz: 52f1d991751eac4c4201d2fed5424d768d94bceb
5
+ SHA512:
6
+ metadata.gz: f2efcd994f0717c49d2ab027be27851bb7f2422ecba0da97393389dfd3612881470d35af077f6bd10055d7588452e4b4d28fff1932b2c9d6e013a02c8203a5bd
7
+ data.tar.gz: e4a5fe7e20f732c026d04f5eb4bc7953f4317ea65d479109d06f073c31b50df99f16f97755fdcc1e4010067cb12fed68023acf563050f7c3823a400299a38f36
data/.gitignore ADDED
@@ -0,0 +1,10 @@
1
+ *.gem
2
+ Gemfile.lock
3
+ /.bundle/
4
+ /.yardoc
5
+ /_yardoc/
6
+ /coverage/
7
+ /doc/
8
+ /pkg/
9
+ /spec/reports/
10
+ /tmp/
data/.travis.yml ADDED
@@ -0,0 +1,5 @@
1
+ sudo: false
2
+ language: ruby
3
+ rvm:
4
+ - 2.4.2
5
+ before_install: gem install bundler -v 1.16.0.pre.3
@@ -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 dimitrisiliascs@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,4 @@
1
+ source "https://rubygems.org"
2
+
3
+ # Specify your gem's dependencies in org_lang_stats.gemspec
4
+ gemspec
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2018 Dimitris Ilias
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 all
13
+ 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 THE
21
+ SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,55 @@
1
+
2
+ Org Lang Stats
3
+ ======
4
+
5
+ [![Maintainability](https://api.codeclimate.com/v1/badges/b820cd0c3fe8775cd50d/maintainability)](https://codeclimate.com/github/Dimitris-Ilias/org_lang_stats/maintainability)
6
+ [![Test Coverage](https://api.codeclimate.com/v1/badges/b820cd0c3fe8775cd50d/test_coverage)](https://codeclimate.com/github/Dimitris-Ilias/org_lang_stats/test_coverage)
7
+
8
+
9
+ ## Overview
10
+ Did you know Google's own public repos consist of 59% C code? Org Lang Stats is a cli tool that will let you find out the languages an organization uses in their repositories and their volume in bytes or percent values.
11
+
12
+ ## Dependancies
13
+ To run org_lang_stats you will need:
14
+ - Ruby 2.1 +
15
+
16
+ ## Installation
17
+
18
+ gem install org_lang_stats
19
+
20
+ ## Usage
21
+ Basic usage:
22
+
23
+ org_lang_stats --org workable > workable.json
24
+
25
+ Options:
26
+
27
+ --help Show this message
28
+ --org string Organization name as appeared on github (required)
29
+ --token string Github Personal Access Token. (found at https://github.com/settings/developers)
30
+ --threads [1..100] Adjusts the concurrency (default: 10)
31
+ --debug If enabled, adds debug messages to the output (will not produce valid json)
32
+ --percent If enabled, converts absolute values (bytes) to percent values
33
+
34
+ Example with all options used:
35
+
36
+ org_lang_stats --org workable --threads 10 --token yourtokenhere --debug --percent
37
+
38
+ ## Authentication
39
+ - No authentication required! However Github limits requests for non authenticated requests to only 60 per hour.
40
+ Refresh your IP to reset the rate limit or input a --token.
41
+
42
+
43
+ ## Tests
44
+
45
+ To run the tests:
46
+
47
+ bundle install
48
+ rake test
49
+
50
+ A test coverage report will be generated by simplecov when the tests are run on folder **coverage**
51
+
52
+ ## TODO
53
+ Add graphic representation using https://github.com/ankane/chartkick
54
+ Use a framework like https://github.com/vcr/vcr to generate fixtures
55
+ Use github's new GraphQL API
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "org_lang_stats"
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__)
data/bin/setup ADDED
@@ -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,12 @@
1
+ #!/usr/bin/env ruby
2
+ require 'org_lang_stats/my_opt_parser'
3
+ require 'org_lang_stats/logging'
4
+ require 'org_lang_stats'
5
+ include Logging
6
+
7
+
8
+ options = MyOptParser.new.options
9
+ logger.enable if options[:debug]
10
+ api = GithubApi.new(options[:token])
11
+ output = OrgLangStats.proccess(api, options[:org], options[:threads], options[:percent])
12
+ puts JSON.pretty_generate(output)
@@ -0,0 +1,82 @@
1
+ require 'org_lang_stats/logging'
2
+ require 'rest-client'
3
+ require 'base64'
4
+ require 'json'
5
+
6
+ # This class is a basic GitHub API client library.
7
+ # The only function that is exposed publically, get_all_pages, will auto-paginate
8
+ # when needed and if not needeed will just return the hash payload.
9
+ # Most failures that could happen while calling an api are also handled here.
10
+ class GithubApi
11
+ include Logging
12
+
13
+ def initialize(token = nil)
14
+ @token = token
15
+ @params = { per_page: 100 }
16
+ @default_sleep = 10
17
+ @max_retries = 6
18
+ end
19
+
20
+ def auth_string
21
+ "Basic #{Base64.strict_encode64(':' + @token)}" if @token
22
+ end
23
+
24
+ def get_all_pages(url:, params: {}, all_pages: [])
25
+
26
+ response = get_page(url, params)
27
+ logger.debug "Url:#{url} returned succesfully!"
28
+
29
+ resp_body = JSON.parse(response)
30
+
31
+ return resp_body if resp_body.is_a?(Hash)
32
+ all_pages += resp_body
33
+
34
+ begin
35
+ next_url = get_next_url(response)
36
+ return get_all_pages(url: next_url, params: params, all_pages: all_pages)
37
+ rescue NoMethodError
38
+ # Ends the recursion
39
+ return all_pages
40
+ end
41
+ end
42
+
43
+ def get_page(url, params = {})
44
+ begin
45
+ tries ||= @max_retries
46
+ RestClient.get(url, params: @params.merge(params), Authorization: auth_string)
47
+ # Soft error codes
48
+ rescue RestClient::Forbidden, RestClient::Exceptions::OpenTimeout, Errno::ECONNRESET, SocketError => ex
49
+
50
+ rate_lim_reached(ex) if ex.class.name == 'RestClient::Forbidden'
51
+ sleep_with_msg(ex)
52
+ retry unless (tries -= 1).zero?
53
+ abort_max_retries
54
+ # Hard error codes
55
+ rescue RestClient::NotFound
56
+ abort "Url #{url} not found!"
57
+ end
58
+ end
59
+
60
+ def get_next_url(response)
61
+ response.headers[:link].split(',')
62
+ .select { |link| link.include? 'rel="next"' }.first
63
+ .split(';').first[/<(.+)>/, 1]
64
+ end
65
+
66
+ def sleep_with_msg(ex)
67
+ logger.debug "An error of type #{ex.class} happened, message is #{ex.message}"
68
+ logger.debug "Request will be retried in #{@default_sleep} seconds\n"
69
+ sleep @default_sleep
70
+ end
71
+
72
+ def rate_lim_reached(ex)
73
+ reset_in = ex.response.headers[:x_ratelimit_reset].to_i - Time.now.to_i
74
+ logger.debug "Rate limit reached! Limits will be reset in #{reset_in / 60} minutes"
75
+ logger.debug "Sleeping until then...Refresh your IP and rerun if you don't want to wait!"
76
+ sleep reset_in
77
+ end
78
+
79
+ def abort_max_retries
80
+ abort 'Max retries limit reached! Run in --debug mode for more info'
81
+ end
82
+ end
@@ -0,0 +1,23 @@
1
+ require 'logger'
2
+
3
+
4
+ module Logging
5
+ def self.logger
6
+ @logger ||= begin
7
+ maybe_logger = Logger.new(STDOUT)
8
+ maybe_logger.formatter = proc do |severity, datetime, _, msg|
9
+ "#{severity} - #{datetime.strftime('%H:%M:%S')} - #{msg}\n"
10
+ end
11
+ maybe_logger.level = Logger::ERROR
12
+ maybe_logger
13
+ end
14
+ end
15
+
16
+ def logger
17
+ Logging.logger
18
+ end
19
+
20
+ def enable
21
+ Logging.logger.level = Logger::DEBUG
22
+ end
23
+ end
@@ -0,0 +1,32 @@
1
+ require 'optparse'
2
+
3
+
4
+ class MyOptParser
5
+ attr_reader :options
6
+
7
+ def initialize
8
+ @options = { org: nil, debug: false, threads: 10, token: nil, percent: false }
9
+ parse_options
10
+ validate_options
11
+ end
12
+
13
+ def parse_options
14
+
15
+ opt_parser = OptionParser.new do |opts|
16
+ opts.banner = "\nExample usage: org_lang_stats --org workable --threads 10 --token yourtokenhere --debug --percent\n\nOptions:"
17
+
18
+ opts.on('--org string', String, 'Organization name as appeared on github (required)') { |org| @options[:org] = org }
19
+ opts.on('--token string', String, 'Github Personal Access Token') { |token| @options[:token] = token }
20
+ opts.on('--threads [1..100]', Integer, 'Adjusts the concurrency (default: 10)') { |threads| @options[:threads] = threads }
21
+ opts.on('--debug', 'If enabled, adds debug messages to the output (will not produce valid json)') { @options[:debug] = true }
22
+ opts.on('--percent', 'If enabled, converts absolute values (bytes) to percent values') { @options[:percent] = true }
23
+ end
24
+
25
+ opt_parser.parse!
26
+ end
27
+
28
+ def validate_options
29
+ abort '--org option missing' if @options[:org].nil?
30
+ abort '--threads should be between 1 and 100' unless (1..100).cover?(@options[:threads])
31
+ end
32
+ end
@@ -0,0 +1,22 @@
1
+ require 'thread'
2
+
3
+
4
+ class ThreadPool
5
+ def initialize(threads)
6
+ @pool = Queue.new
7
+ threads.times { @pool << 1 }
8
+ @workers = []
9
+ end
10
+
11
+ def run(&block)
12
+ @pool.pop
13
+ @workers << Thread.new do
14
+ block[]
15
+ @pool << 1
16
+ end
17
+ end
18
+
19
+ def join_workers
20
+ @workers.map(&:join)
21
+ end
22
+ end
@@ -0,0 +1,3 @@
1
+ class OrgLangStats
2
+ VERSION = "0.1.0"
3
+ end
@@ -0,0 +1,73 @@
1
+ require 'org_lang_stats/github_api'
2
+ require 'org_lang_stats/thread_pool'
3
+
4
+ # This class contains the business logic of the project.
5
+ # It utilizes components such as the Logger, the Threadpool
6
+ # and the api wrapper to put everything together
7
+ class OrgLangStats
8
+ def self.proccess(api, org, threads, percent)
9
+ OrgLangStats.new(api, org).proccess(percent, threads)
10
+ end
11
+
12
+ def initialize(api, org)
13
+ @aggr = nil
14
+ @repos = nil
15
+ @api = api
16
+ @org = org
17
+ end
18
+
19
+ def proccess(percent, threads)
20
+ @repos = parallel_get_lang_stats(threads)
21
+ @aggr = calc_aggregate_stats
22
+ bytes_to_percent if percent
23
+ { @org => { 'aggregate_stats' => @aggr, 'repositories' => @repos } }
24
+ end
25
+
26
+ def parallel_get_lang_stats(threads)
27
+ result = {}
28
+ pool = ThreadPool.new threads
29
+
30
+ non_forked_repos.map do |repo|
31
+ pool.run do
32
+ repo_stats = @api.get_all_pages(url: repo['languages_url'])
33
+ result.merge! Hash[repo['name'], repo_stats]
34
+ end
35
+ end
36
+
37
+ pool.join_workers
38
+ result
39
+ end
40
+
41
+ def non_forked_repos
42
+ @api.get_all_pages(url: repos_url, params: { type: 'source' })
43
+ end
44
+
45
+ def repos_url
46
+ "https://api.github.com/orgs/#{@org}/repos"
47
+ end
48
+
49
+ def calc_aggregate_stats
50
+ @repos.values.each_with_object(Hash.new(0)) do |repo, hash|
51
+ repo.each { |lang, bytes| hash[lang] += bytes }
52
+ end
53
+ end
54
+
55
+ def bytes_to_percent
56
+ @repos = @repos.map do |r_name, stats|
57
+ Hash[r_name, hash_values_to_percent(stats)]
58
+ end.inject(:merge)
59
+
60
+ @aggr = hash_values_to_percent @aggr
61
+ end
62
+
63
+ def hash_values_to_percent(hash)
64
+ total = hash.values.inject(:+)
65
+ hash.map do |key, value|
66
+ Hash[key, num_to_percent(value, total)]
67
+ end.inject(:merge)
68
+ end
69
+
70
+ def num_to_percent(num, num_total)
71
+ (100.0 * num / num_total).round(1).to_s + '%'
72
+ end
73
+ end
@@ -0,0 +1,38 @@
1
+
2
+ lib = File.expand_path("../lib", __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require "org_lang_stats/version"
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "org_lang_stats"
8
+ spec.version = OrgLangStats::VERSION
9
+ spec.authors = ["Dimitris Ilias"]
10
+ spec.email = ["dimitrisiliascs@gmail.com"]
11
+
12
+ spec.summary = %q{Retrieves language stats from GitHub, for public repositories of an organization}
13
+ spec.homepage = "https://github.com/Dimitris-Ilias/org_lang_stats"
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 public gem pushes."
22
+ end
23
+
24
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
25
+ f.match(%r{^(test|spec|features)/})
26
+ end
27
+ spec.bindir = "exe"
28
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
29
+ spec.require_paths = ["lib"]
30
+
31
+ spec.required_ruby_version = '>= 2.1'
32
+ spec.add_dependency "rest-client", "~> 2.0"
33
+ spec.add_development_dependency "rake", "~> 10.0"
34
+ spec.add_development_dependency "minitest", "~> 5.11"
35
+ spec.add_development_dependency "webmock", "~> 3.3"
36
+ spec.add_development_dependency "simplecov", "~> 0.15"
37
+ spec.add_development_dependency "minitest-reporters", "~> 1.1"
38
+ end
data/rakefile ADDED
@@ -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
metadata ADDED
@@ -0,0 +1,147 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: org_lang_stats
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Dimitris Ilias
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2018-03-07 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rest-client
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '2.0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '2.0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
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.11'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '5.11'
55
+ - !ruby/object:Gem::Dependency
56
+ name: webmock
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '3.3'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '3.3'
69
+ - !ruby/object:Gem::Dependency
70
+ name: simplecov
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '0.15'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '0.15'
83
+ - !ruby/object:Gem::Dependency
84
+ name: minitest-reporters
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '1.1'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '1.1'
97
+ description:
98
+ email:
99
+ - dimitrisiliascs@gmail.com
100
+ executables:
101
+ - org_lang_stats
102
+ extensions: []
103
+ extra_rdoc_files: []
104
+ files:
105
+ - ".gitignore"
106
+ - ".travis.yml"
107
+ - CODE_OF_CONDUCT.md
108
+ - Gemfile
109
+ - LICENSE
110
+ - README.md
111
+ - bin/console
112
+ - bin/setup
113
+ - exe/org_lang_stats
114
+ - lib/org_lang_stats.rb
115
+ - lib/org_lang_stats/github_api.rb
116
+ - lib/org_lang_stats/logging.rb
117
+ - lib/org_lang_stats/my_opt_parser.rb
118
+ - lib/org_lang_stats/thread_pool.rb
119
+ - lib/org_lang_stats/version.rb
120
+ - org_lang_stats.gemspec
121
+ - rakefile
122
+ homepage: https://github.com/Dimitris-Ilias/org_lang_stats
123
+ licenses:
124
+ - MIT
125
+ metadata:
126
+ allowed_push_host: https://rubygems.org/
127
+ post_install_message:
128
+ rdoc_options: []
129
+ require_paths:
130
+ - lib
131
+ required_ruby_version: !ruby/object:Gem::Requirement
132
+ requirements:
133
+ - - ">="
134
+ - !ruby/object:Gem::Version
135
+ version: '2.1'
136
+ required_rubygems_version: !ruby/object:Gem::Requirement
137
+ requirements:
138
+ - - ">="
139
+ - !ruby/object:Gem::Version
140
+ version: '0'
141
+ requirements: []
142
+ rubyforge_project:
143
+ rubygems_version: 2.6.14
144
+ signing_key:
145
+ specification_version: 4
146
+ summary: Retrieves language stats from GitHub, for public repositories of an organization
147
+ test_files: []