This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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)}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' | |