https://github.com/zendesk/private_gem
Keeps your private gems private
https://github.com/zendesk/private_gem
Last synced: about 1 year ago
JSON representation
Keeps your private gems private
- Host: GitHub
- URL: https://github.com/zendesk/private_gem
- Owner: zendesk
- License: apache-2.0
- Created: 2014-12-19T20:25:10.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2023-03-21T17:23:21.000Z (over 3 years ago)
- Last Synced: 2025-03-13T08:04:18.074Z (over 1 year ago)
- Language: Ruby
- Homepage:
- Size: 47.9 KB
- Stars: 16
- Watchers: 425
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Private Gem
- rake tasks for building and pushing gems to a private gem server, with added protection against pushing to rubygems.org
- generator for creating new private gems
## Rake Tasks
```ruby
# Rakefile
require 'private_gem/tasks'
```
* `rake build` build a local `.gem` file
* `rake install` build and install the local gem
* `rake release` tag and push gem to private gem server
(Based on the tasks from `bundler/gem_tasks`)
## Private Gem Generator
```bash
private_gem new my_private_library
create my_private_library/Gemfile
create my_private_library/Rakefile
create my_private_library/README.md
...
```
Generates a new local gem called `my_private_library` with the `private_gem` Rake tasks preinstalled.
## License
Copyright 2014 Zendesk
Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at
www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.