Top Level Namespace
Defined Under Namespace
Modules: Commit Classes: GitCommit
Constant Summary collapse
- KB =
1024- MB =
KB * KB
- GB =
KB * MB
- GITHUB_FREE =
File size limits for git commits depend on the type of your GitHub account:
100 * MB
- GITHUB_PRO =
2 * GB
- GITHUB_TEAM =
4 * GB
- GITHUB_ENTERPRISE_CLOUD =
5 * GB
- GIT_LFS_ENABLED =
false- MAX_SIZE =
Adjust this to suit your GitHub account
GIT_LFS_ENABLED ? GITHUB_FREE : 100 * MB
Instance Method Summary collapse
Instance Method Details
#require_subdirectory(dir) ⇒ Object
5 6 7 8 9 |
# File 'lib/commit.rb', line 5 def require_subdirectory(dir) Dir[File.join(dir, '*.rb')].each do |file| require file unless file == __FILE__ end end |