
Security News
New Website “Is It Really FOSS?” Tracks Transparency in Open Source Distribution Models
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
App Icon Before:
App Icon After:
This gem will intelligently omit itself from your archive builds, but you can also do it manually via rake.
$ rake rubberstamp:revert
This is aimed at being a development tool, it will create an overlay for your iOS app icon that includes your version, commit and branch information so you can know exactly what version of your app is running on your device, or so that beta testers can easily report which version they are running. If your icons don't need to be updated, the motion-rubberstamp won't do anything.
Add this line to your RubyMotion app's Gemfile:
gem 'motion-rubberstamp'
And then execute:
$ bundle
Or install it manually as:
$ gem install motion-rubberstamp
and add to your RubyMotion app's Rakefile
require 'motion-rubberstamp'
This gem also relies on imagemagick and ghostscript, which can easily be installed via Homebrew:
$ brew install imagemagick
$ brew install ghostscript
Motion-rubberstamp adds itself to the build process, so whenever you run rake
or rake device
it will
automatically invoke rake rubberstamp:run
beforehand.
Smart Cleanup: When you run rake archive
or rake archive:distribution
, motion-rubberstamp will automatically invoke
rake rubberstamp:revert
. This means that development builds will now automatically receive overlays and
release builds will use your original icons.
You can also manually invoke motion-rubberstamp at any time with:
$ rake rubberstamp:run
Or to remove the overlays and restore your original icons, you can run
$ rake rubberstamp:revert
The iOS Simulator is trying to cache your app icons. For this reason we've put in a significant step that will refresh your simulator automatically by closing it, should the stamps be updated. This is a small but notable necessary evil. our build detects that it needs to restamp. It's a small but notable necessary evil.
Motion-rubberstamp currently only checks for app icons in the /resources
path, regardless of what your Rakefile is configured for.
Motion-rubberstamp will only run if your version or git information has changed to prevent invoking ImageMagick and pals more than necessary.
Rubberstamp will not stamp your archive/production apps. No need to leave us like that! But if you must...
To uninstall, simply run rake rubberstamp:revert
to restore your original icons, then
delete motion-rubberstamp from your gemfile or rakefile.
If you have our starter icon, or you've changed your mind on your icon it's easy to switch!
Run rake rubberstamp:revert
and then copy in your new icons to your resource folder.
I've probably made the file management more difficult and rigid than it needs to be, and I have no clue how to write tests for this. But I'll gladly accept any help that's offered.
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)As brought to our attention, this was also done by Clay's Allsopp!, in a most elegant solution! We're hoping to continue progressing this gem to make sure it is useful and provides a wide array of utility regardless :)
Many thanks to Krzysztof Zabłocki and Evan Doll for the idea and implementation details.
FAQs
Unknown package
We found that motion-rubberstamp demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
Security News
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
Security News
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.