Skip to content

Instantly share code, notes, and snippets.

View professor's full-sized avatar

Todd Sedano professor

  • Carnegie Mellon University
View GitHub Profile
require_relative '../app/utilities/external_apis/phrase_api_client.rb'
require 'active_support'
require 'active_support/core_ext/string'
def process_file(phrase, english_locale_id, branch, key_prefix, existing_file)
menu_with_label_priority_regex = /menu parent: (.+), label: (.+), priority: (.+)/
menu_with_label_regex = /menu parent: (.+), label: (.+)/
active_admin_register_regex = /ActiveAdmin.register (.+) do/
puts "Processing #{File.basename(existing_file)}"
source 'http://rubygems.org'
gem 'rails', '2.3.4'
gem 'aws-s3'
gem 'mechanize', '1.0.0'
gem 'ruby-openid'
gem 'ruby-openid-apps-discovery'
gem 'rack-openid'
source 'http://rubygems.org'
gem 'rails', '2.3.8'
gem 'bundler'
gem 'delayed_job', '2.1.0.pre'
group :plugins do
gem 'calendar_date_select'
end
source 'http://rubygems.org'
gem 'rails', '2.3.4'
gem 'aws-s3'
gem 'mechanize', '1.0.0'
gem 'ruby-openid'
gem 'ruby-openid-apps-discovery'
gem 'rack-openid'