Joined May 2011
·
Achievements
383 Karma
16,390 Total ProTip Views
Forked 20
Have an established project that's been forked at least 20 times
Raven
Have at least one original repo where some form of shell script is the dominant language
Altruist
Increase developer well-being by sharing at least 20 open source projects
Ashcat
Make Ruby on Rails better for everyone by getting a commit accepted
Bear
Have at least one original repo where Objective-C is the dominant language
Walrus
The walrus is no stranger to variety. Use at least 4 different languages throughout all your repos
Mongoose 3
Have at least three original repos where Ruby is the dominant language
Mongoose
Have at least one original repo where Ruby is the dominant language
Forked
Have a project valued enough to be forked by someone else
Charity
Fork and commit to someone's open source project in need
You could generate a "secret.rb" file at compile time that isn't checked into git. Add something like this to your Rakefile
task :'build:device' => 'secret'
task :'build:simulator' => 'secret'
task :secret do
if ENV['SECRETAPPLICATIONID'].nil? || ENV['SECRETAPIKEY'].nil?
raise 'Need to set the env variables "SECRETAPPLICATIONID" and "SECRETAPIKEY"'
end
File.open('app/secrets.rb', 'w') do |f|
f.write <<-FILE
SECRETAPPLICATIONID = '#{ENV['SECRETAPPLICATIONID']}'
SECRETAPIKEY = '#{ENV['SECRETAPIKEY' ]}'
FILE
end
end