1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
alias __source_distinct__ source
def source(url)
@loaded ||= {}
unless @loaded[url]
@loaded[url] = true
__source_distinct__(url) end end
source 'https://rubygems.org'
group :default do
gem 'oauth', '~> 0.4'
gem 'json_pure', '~> 1.8'
gem 'addressable', '~> 2.3'
gem 'memoize', '~> 1.3'
gem 'ruby-hmac', '~> 0.4'
gem 'typed-array', '~> 0.1'
gem 'delayer', '~> 0.0'
gem 'pluggaloid', '>= 1.0.1', '< 2.0'
gem 'delayer-deferred', '>= 1.0', '< 2.0'
end
group :test do
gem 'test-unit', '~> 3.0'
gem 'rake', '~> 10.1'
gem 'watch', '~> 0.1'
gem 'mocha', '~> 0.14'
gem 'webmock', '~> 1.17'
end
group :plugin do
Dir.glob(File.expand_path(File.join(File.dirname(__FILE__), "core/plugin/*/Gemfile"))){ |path|
eval File.open(path).read
}
Dir.glob(File.expand_path("~/.mikutter/plugin/*/Gemfile")){ |path|
eval File.open(path).read
}
end
|