Changeset 38747 for lang

Show
Ignore:
Timestamp:
12/29/10 13:22:56 (2 years ago)
Author:
yugui
Message:

follows the amazon ews update

Location:
lang/ruby/ruby-committers
Files:
1 added
2 modified

Legend:

Unmodified
Added
Removed
  • lang/ruby/ruby-committers/amazon-image-fetcher.rb

    r38746 r38747  
    88require './isbn' # http://github.com/k16shikano/isbn.rb 
    99 
    10 def configure_ecs(key)  
     10def configure_ecs(key, secret)  
    1111  Amazon::Ecs.configure do |config| 
    1212    config[:aWS_access_key_id] = [ key ] 
     13    config[:aWS_secret_key] = secret 
    1314    config[:country] = :jp 
    1415  end 
  • lang/ruby/ruby-committers/ruby-committers.html.erb

    r38746 r38747  
    66<% include ERB::Util %> 
    77<%  
    8   key = YAML.load_file('config.yml')['aws-key'] 
    9   configure_ecs key 
     8  config = YAML.load_file('config.yml') 
     9  configure_ecs config['aws-key'], config['secret-key'] 
    1010%> 
    1111<% committers = YAML.load_file('ruby-committers.yml') -%>