Skip to content

Commit

Permalink
added rultor support for gem pushing to rubygems.org
Browse files Browse the repository at this point in the history
  • Loading branch information
MadBomber committed Dec 12, 2014
1 parent 378101b commit e7822ce
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .rultor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
decrypt:
rubygems.yml: "repo/rubygems.yml.asc"
release:
script: |
rm -rf *.gem
sed -i "s/1.0.snapshot/${tag}/g" debug_me.gemspec
gem build debug_me.gemspec
chmod 0600 /home/r/rubygems.yml
gem push *.gem --config-file /home/r/rubygems.yml
2 changes: 1 addition & 1 deletion debug_me.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ require 'debug_me/version'

Gem::Specification.new do |spec|
spec.name = 'debug_me'
spec.version = DebugMe::VERSION
spec.version = '1.0.snapshot' # replaced by rultor
spec.authors = ['Dewayne VanHoozer']
spec.email = ['dvanhoozer@gmail.com']
spec.summary = 'A tool to print the labeled value of variables.'
Expand Down
17 changes: 17 additions & 0 deletions rubygems.yml.asc
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
-----BEGIN PGP MESSAGE-----
Version: GnuPG v1

hQEMA5qETcGag5w6AQgAmaiIITBNv5VUSyq32o7keQ2O64yFIYfwO8eBP8J3jNTt
CiejhbesdC+gLebBIakZ+NWPQSFAmfda+5kY0i4Ftty0jlCNt4sbGrh/O/WFrd/Z
7xmIcit8n+gETXDatRxOw6RPUyqz8U69vnwr+iFa2tuF/XjlbRoAH8RFlhzPqBlh
ad19FzQWuXehQvP/VK05K3+/mn2qay7ESEjWo6jidq8fp3HTklUJiwQ0HAuI7FLr
OEuGlIGLI2UGRLCZ+T3TSAF2QTNYgi+EscNpOI71dZmGSTudW+HhMk4uHPSffDax
ZlMAzRTBua6LNBjKQ7Iq2Xd8yR8SuHU9E/ZWfGBxFdLARQEU5QW82mQ8uxU8gSGu
kaB7hsK0aeSs2pu9AH9+CsQmjGC26b31helc8r1cy3nrW1esNZSeREUv7xRnUNae
gwqztLDFnSQC8QZGvbw2EBqqTEHhM825mGjzJxvZcI5pgwbcgO+K3NoJHWjslnPa
KdagjI3Mzhi+nPuUU75nnF95SJQGb00UdaTnYhw9zir7DYM5Wws+gtG5LBO7I1/i
3XMAE8uxDG61q8YOUNbbjWXqG4rysKXTHt67vcly35fNSjG4BdO0SL86lsolUZjI
zMfIeNOUkgOZNuwaRD1Z2xvzPQNProD+cbSpR9WpSu/3xL02MwkpFgtAnp9P9OC4
Hm0F9+IV0g==
=dpAM
-----END PGP MESSAGE-----

0 comments on commit e7822ce

Please sign in to comment.