Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 47 lines (24 sloc) 1.072 kb
ec6ea665 »
2011-11-04 Implement first version.
1 # FakeGemPush
2
3 A RubyGems plugin that stubs out the `gem push` command but still displays a
4 simulated `gem push` output.
5
6
7 ## Background
8
9 This Gem was created for use in screencast recording, so you can record the
10 pushing of the same Gem and version through multiple takes without affecting
11 the production RubyGems.org server.
12
13
14 ## Usage
15
16 After installing the Gem, just use `gem push` like you normally would:
17
18 $ gem push my_fake_gem-1.0.4.gem
19
20 You'll then see output that mirrors what you would see during a real `gem push`
21 without the Gem installed:
22
23 Pushing gem to RubyGems.org...
24 Successfully registered gem: my_fake_gem (1.0.4)
25
26 But the Gem won't actually be pushed up to the RubyGems.org server.
27
28 Be sure to uninstall the Gem before trying to do an actual push.
29
30
31 ## Installation
32
33 Run the following command to install the Gem:
34
35 $ gem install ruby_gem_push
36
37 Or add the `ruby_gem_push` gem to your `Gemfile`:
38
39 gem 'ruby_gem_push'
40
41 Then run `bundle install` to install the gem.
42
43
44 ## Copyright
45
46 Copyright © 2011 Tyler Hunt. See LICENSE for details.
Something went wrong with that request. Please try again.