Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 26 lines (20 sloc) 0.674 kb
e126774 @courtenay Refactor into more rubyish-looking code - add subdirs, namespaces, one c...
courtenay authored
1 source :gemcutter
2
a869d1c @netpro2k Got it actually working as a standalone gem, though it still throws a bu...
netpro2k authored
3 gemspec
5a308fa @netpro2k put dependencies back in Gemfile for now.. still can't figure out how to...
netpro2k authored
4
7f8a583 @netpro2k Add config file for loading plugins, and convert all plugins to gems aut...
netpro2k authored
5 # load plugins
6 require 'yaml'
7 require 'ostruct'
860ef81 @chendo Added config existence check
chendo authored
8
64dbcc0 @netpro2k Move config files and certs to ~/.siriproxy/
netpro2k authored
9 if !File.exists?(File.expand_path('~/.siriproxy/config.yml'))
860ef81 @chendo Added config existence check
chendo authored
10 $stderr.puts "config.yml not found. Copy config.example.yml to config.yml, then modify it."
11 exit 1
12 end
13
b918855 @chendo Fixed Gemfile entry for cora
chendo authored
14 gem 'cora', '0.0.4'
749ae7d @plamoni Integrated Cora
authored
15
64dbcc0 @netpro2k Move config files and certs to ~/.siriproxy/
netpro2k authored
16 config = OpenStruct.new(YAML.load_file(File.expand_path('~/.siriproxy/config.yml')))
7f8a583 @netpro2k Add config file for loading plugins, and convert all plugins to gems aut...
netpro2k authored
17 if config.plugins
18 config.plugins.each do |plugin|
19 if plugin.is_a? String
20 gem "siriproxy-#{plugin.downcase}"
21 else
468b219 @plamoni 2.3.3 Added filters preview and custom commonName
authored
22 gem "siriproxy-#{plugin['gem'] || plugin['name'].downcase}", :path => plugin['path'], :git => plugin['git'], :branch => plugin['branch'], :require => plugin['require']
7f8a583 @netpro2k Add config file for loading plugins, and convert all plugins to gems aut...
netpro2k authored
23 end
24 end
25 end
Something went wrong with that request. Please try again.