Skip to content

Commit

Permalink
Remove ym4r_gm from submodule status and reinstall. [#23]
Browse files Browse the repository at this point in the history
  • Loading branch information
marnen committed May 9, 2009
1 parent 1c8d5c7 commit 0b3699d
Show file tree
Hide file tree
Showing 24 changed files with 2,751 additions and 4 deletions.
3 changes: 0 additions & 3 deletions .gitmodules
@@ -1,6 +1,3 @@
[submodule "vendor/plugins/ym4r_gm"]
path = vendor/plugins/ym4r_gm
url = git://github.com/ewildgoose/ym4r_gm.git
[submodule "vendor/plugins/javascript_test"]
path = vendor/plugins/javascript_test
url = git://github.com/rails/javascript_test.git
Expand Down
1 change: 0 additions & 1 deletion vendor/plugins/ym4r_gm
Submodule ym4r_gm deleted from 764d5f
416 changes: 416 additions & 0 deletions vendor/plugins/ym4r_gm/README

Large diffs are not rendered by default.

14 changes: 14 additions & 0 deletions vendor/plugins/ym4r_gm/gmaps_api_key.yml.sample
@@ -0,0 +1,14 @@
#Fill here the Google Maps API keys for your application
#In this sample:
#For development and test, we have only one possible host (localhost:3000), so there is only a single key associated with the mode.
#In production, the app can be accessed through 2 different hosts: thepochisuperstarmegashow.com and exmaple.com. There then needs a 2-key hash. If you deployed to one host, only the API key would be needed (as in development and test).

development:
ABQIAAAAzMUFFnT9uH0xq39J0Y4kbhTJQa0g3IQ9GZqIMmInSLzwtGDKaBR6j135zrztfTGVOm2QlWnkaidDIQ

test:
ABQIAAAAzMUFFnT9uH0xq39J0Y4kbhTJQa0g3IQ9GZqIMmInSLzwtGDKaBR6j135zrztfTGVOm2QlWnkaidDIQ

production:
thepochisuperstarmegashow.com: ABQIAAAAzMUFFnT9uH0Sfg76Y4kbhTJQa0g3IQ9GZqIMmInSLzwtGDmlRT6e90j135zat56yhJKQlWnkaidDIQ
example.com: ABQIAAAAzMUFFnT9uH0Sfg98Y4kbhGFJQa0g3IQ9GZqIMmInSLrthJKGDmlRT98f4j135zat56yjRKQlWnkmod3TB
3 changes: 3 additions & 0 deletions vendor/plugins/ym4r_gm/init.rb
@@ -0,0 +1,3 @@
require 'ym4r_gm'


10 changes: 10 additions & 0 deletions vendor/plugins/ym4r_gm/install.rb
@@ -0,0 +1,10 @@
require 'fileutils'

#Copy the Javascript files
FileUtils.copy(Dir[File.dirname(__FILE__) + '/javascript/*.js'], File.dirname(__FILE__) + '/../../../public/javascripts/')

#copy the gmaps_api_key file
gmaps_config = File.dirname(__FILE__) + '/../../../config/gmaps_api_key.yml'
unless File.exist?(gmaps_config)
FileUtils.copy(File.dirname(__FILE__) + '/gmaps_api_key.yml.sample',gmaps_config)
end

0 comments on commit 0b3699d

Please sign in to comment.