https://github.com/sstephenson/hike
A Ruby library for finding files in a set of paths
https://github.com/sstephenson/hike
Keywords from Contributors
rubygems rack
Last synced: about 6 hours ago
JSON representation
Repository metadata
A Ruby library for finding files in a set of paths
- Host: GitHub
- URL: https://github.com/sstephenson/hike
- Owner: sstephenson
- License: mit
- Archived: true
- Created: 2010-10-16T18:20:21.000Z (about 15 years ago)
- Default Branch: master
- Last Pushed: 2015-02-20T00:05:12.000Z (almost 11 years ago)
- Last Synced: 2025-11-28T01:34:08.910Z (14 days ago)
- Language: Ruby
- Homepage:
- Size: 303 KB
- Stars: 139
- Watchers: 5
- Forks: 23
- Open Issues: 1
- Releases: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
README.md
Hike
Hike is a Ruby library for finding files in a set of paths. Use it to
implement search paths, load paths, and the like.
Examples
Find Ruby files in this project:
trail = Hike::Trail.new "/Users/sam/Projects/hike"
trail.append_extension ".rb"
trail.append_paths "lib", "test"
trail.find "hike/trail"
# => "/Users/sam/Projects/hike/lib/hike/trail.rb"
trail.find "test_trail"
# => "/Users/sam/Projects/hike/test/test_trail.rb"
Explore your Ruby load path:
trail = Hike::Trail.new "/"
trail.append_extensions ".rb", ".bundle"
trail.append_paths *$:
trail.find "net/http"
# => "/Users/sam/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/net/http.rb"
trail.find "strscan"
# => "/Users/sam/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/i686-darwin10.4.0/strscan.bundle"
Explore your shell path:
trail = Hike::Trail.new "/"
trail.append_paths *ENV["PATH"].split(":")
trail.find "ls"
# => "/bin/ls"
trail.find "gem"
# => "/Users/sam/.rvm/rubies/ree-1.8.7-2010.02/bin/gem"
Installation
$ gem install hike
License
Copyright (c) 2011 Sam Stephenson.
Released under the MIT license. See LICENSE for details.
Owner metadata
- Name: Sam Stephenson
- Login: sstephenson
- Email:
- Kind: user
- Description:
- Website: https://sls.name
- Location: Chicago
- Twitter:
- Company:
- Icon url: https://avatars.githubusercontent.com/u/2603?u=ebf3eb85eb613942620b81a0930f157857a56e75&v=4
- Repositories: 24
- Last ynced at: 2024-04-14T15:23:46.523Z
- Profile URL: https://github.com/sstephenson
GitHub Events
Total
Last Year
Committers metadata
Last synced: 7 days ago
Total Commits: 107
Total Committers: 7
Avg Commits per committer: 15.286
Development Distribution Score (DDS): 0.383
Commits in past year: 0
Committers in past year: 0
Avg Commits per committer in past year: 0.0
Development Distribution Score (DDS) in past year: 0.0
| Name | Commits | |
|---|---|---|
| Joshua Peek | j****h@j****m | 66 |
| Sam Stephenson | s****m@3****m | 36 |
| Nicolae Claudius | n****s@y****m | 1 |
| Jordi Massaguer Pla | j****a@s****e | 1 |
| Brandon Fish | b****h | 1 |
| Amit Kazmirsky | a****z@g****m | 1 |
| Alex Crichton | a****x@a****m | 1 |
Committer domains:
- alexcrichton.com: 1
- suse.de: 1
- 37signals.com: 1
- joshpeek.com: 1
Issue and Pull Request metadata
Last synced: about 1 month ago
Total issues: 18
Total pull requests: 18
Average time to close issues: 17 days
Average time to close pull requests: 30 days
Total issue authors: 10
Total pull request authors: 12
Average comments per issue: 1.33
Average comments per pull request: 1.83
Merged pull request: 10
Bot issues: 0
Bot pull requests: 0
Past year issues: 0
Past year pull requests: 0
Past year average time to close issues: N/A
Past year average time to close pull requests: N/A
Past year issue authors: 0
Past year pull request authors: 0
Past year average comments per issue: 0
Past year average comments per pull request: 0
Past year merged pull request: 0
Past year bot issues: 0
Past year bot pull requests: 0
Top Issue Authors
- josh (7)
- gutenye (3)
- kmpslm (1)
- darix (1)
- voxik (1)
- hpaulj (1)
- sstephenson (1)
- mrueg (1)
- urielka (1)
- wireframe (1)
Top Pull Request Authors
- josh (7)
- e2 (1)
- urielka (1)
- suresh (1)
- pmahoney (1)
- clyfe (1)
- clonezone (1)
- jordimassaguerpla (1)
- ghost (1)
- amitkaz (1)
- alexcrichton (1)
- bjfish (1)
Top Issue Labels
Top Pull Request Labels
Package metadata
- Total packages: 3
-
Total downloads:
- rubygems: 171,759,020 total
- Total docker downloads: 64,361,054
- Total dependent packages: 15 (may contain duplicates)
- Total dependent repositories: 372,609 (may contain duplicates)
- Total versions: 51
- Total maintainers: 2
gem.coop: hike
A Ruby library for finding files in a set of paths.
- Homepage: http://github.com/sstephenson/hike
- Documentation: http://www.rubydoc.info/gems/hike/
- Licenses: MIT
- Latest release: 2.1.3 (published over 11 years ago)
- Last Synced: 2025-12-09T19:03:26.722Z (2 days ago)
- Versions: 25
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 85,879,510 Total
- Docker Downloads: 32,180,527
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 0.097%
- Downloads: 0.291%
- Maintainers (1)
rubygems.org: hike
A Ruby library for finding files in a set of paths.
- Homepage: http://github.com/sstephenson/hike
- Documentation: http://www.rubydoc.info/gems/hike/
- Licenses: MIT
- Latest release: 2.1.3 (published over 11 years ago)
- Last Synced: 2025-12-09T19:03:26.595Z (2 days ago)
- Versions: 25
- Dependent Packages: 15
- Dependent Repositories: 372,609
- Downloads: 85,879,510 Total
- Docker Downloads: 32,180,527
-
Rankings:
- Dependent repos count: 0.052%
- Downloads: 0.203%
- Docker downloads count: 0.786%
- Dependent packages count: 1.292%
- Average: 2.084%
- Stargazers count: 4.67%
- Forks count: 5.498%
- Maintainers (1)
alpine-v3.3: ruby-hike
A Ruby library for finding files in a set of paths
- Homepage: http://github.com/sstephenson/hike
- Licenses: MIT
- Latest release: 1.2.3-r2 (published about 10 years ago)
- Last Synced: 2025-12-09T20:21:54.821Z (2 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Stargazers count: 3.158%
- Forks count: 4.609%
- Average: 8.766%
- Dependent packages count: 27.296%
- Maintainers (1)
Dependencies
- rake >= 0 development
Score: 26.168983083461946